Commit Graph
2003 Commits
Author SHA1 Message Date
Benjamin Pasero db6ebe93f8 remove now obsolete code 2018-10-11 12:56:54 +02:00
Matt Bierner 517469041f Add strict null checks scripts to precommit and to tfs builds 2018-10-10 15:42:29 -07:00
Matt Bierner 104275cb9f Add tsconfig.strictNullChecks.json
Part of #60565

Adds a new `tsconfig.strictNullChecks.json` project that does not emit anything and is only used for enabling strict null checks on a subset of the vscode codebase.

Opt `iterator.ts` into strict null checking.

Fix our build scripts to properly handle `extends`
2018-10-10 14:55:06 -07:00
Joao Moreno 0bbe8e28c4 update minimatch 2018-10-10 11:43:44 +02:00
Alex Dima d729e50521 Fix standalone editor gulp scripts.
Tree Shaking:
- do not proceed with tree shaking when there are compilation errors
- load .d.ts files in the language service
- adopt TS 3.1.1 in symbol resolution
- use the real tsconfig.json / with "node" resolution

Bundling:
- fix issue where files were being looked for in out-build instead of out-editor-build
2018-10-10 11:09:29 +02:00
Alex Dima fdf2dec52d Remove usage of TPromise from public editor API (#53526) 2018-10-09 09:46:54 +02:00
Benjamin Pasero a2455b79a0 revert "exploration" 2018-10-08 16:54:33 +02:00
Johannes Rieken 005858ed7c add missing compile 2018-10-08 10:23:06 +02:00
Douglas Gabriel 414da9bf7e Removing dead code from 2018-10-05 10:24:19 -03:00
Johannes Rieken ba0448d8bf add missing compile 2018-10-05 11:48:42 +02:00
Matt Bierner 4b2aed7bb2 let -> const 2018-10-04 19:01:34 -07:00
Matt Bierner 8ecebfb761 var -> let 2018-10-04 19:01:34 -07:00
Matt Bierner e8475ad59f Enable noUnusedParameters in build scripts 2018-10-03 17:26:47 -07:00
Matt Bierner 5de9c9bf8b Compile build in strict mode 2018-10-03 17:26:47 -07:00
Matt Bierner 494395f62f Adding correct typings for event-stream this values 2018-10-03 17:26:47 -07:00
Matt Bierner 86fbc62cf1 Remove some unused types and variables 2018-10-03 17:26:47 -07:00
Matt Bierner b3f85e5f19 Add explicit any typings for this
Prep to compile build in strict mode
2018-10-03 17:26:47 -07:00
Matt Bierner 1470548b0f Remove duplicated typescript dependency
We should use the typescript dependency from the root in this case. This ensures the workspace is using the same version as the build
2018-10-03 15:30:34 -07:00
Matt Bierner a9944e6595 Move some build specific packages into build
These packages are only used in build and also have their typings defined in this folder
2018-10-03 15:30:34 -07:00
Matt Bierner f7456ebf90 Switch to use standard @types/node types instead of our customized version
Using a custom version of the node typings is causing a lot of pain while trying to upgrade our build to use `@types` instead of the `d.ts` files we have to maintain. I believe we primarily maintain our own version for two reason:

- Custom require function
- setTimeout and other timer functions return NodeJs.timer instead of a number

These can both be delt with, the first by using interface augmentation and the second by switching to use any types for timer. I believe that the pain of maintaining our own node `d.ts` outweighs the benefits here

This change switches us to use the standard @types/node package for our node typings
2018-10-03 14:18:36 -07:00
Matt Bierner 63e3162bc9 Switch to use @types for pump 2018-10-03 14:18:36 -07:00
Matt Bierner 38fbec9568 Converting some require imports to import from imports
This ensures we pick up the correct typings for these imports
2018-10-03 14:18:36 -07:00
Matt Bierner 7026335451 Switching to use @types where possible in build 2018-10-03 10:47:32 -07:00
Matt Bierner ac737307d7 Enable noImplicitAny in build 2018-10-03 10:47:32 -07:00
Matt Bierner a54e5f54d6 Enable strict null checks 2018-10-03 10:47:32 -07:00
Matt Bierner fe45a7d21f Fix remaining strict null errors in build scripts 2018-10-03 10:47:32 -07:00
Matt Bierner 5862b41657 Fixing strict null rules in tslint 2018-10-03 10:47:32 -07:00
Matt Bierner 31e0752065 Fixing strict null checks in build util 2018-10-03 10:47:32 -07:00
Matt Bierner 56a161042c Fix strict null errors in api 2018-10-03 10:47:32 -07:00
Matt Bierner 0d3682e6bb Fix strict null errors in tfs 2018-10-03 10:47:32 -07:00
Matt Bierner ddc5eeee01 Fixing more strict null errors in build 2018-10-03 10:47:32 -07:00
Matt Bierner 6b9ec57923 Fix bundle.ts for strict null checks 2018-10-03 10:47:32 -07:00
Matt Bierner 0434bd7915 Clean up type inclusion logic 2018-10-02 15:59:35 -07:00
Matt Bierner f5850c9510 Try using @types for typings instead of our custom versions in src/typings 2018-10-02 14:07:19 -07:00
Matt Bierner fb51020ae3 Switch to use node module resolution
This is the modern form of module resolution  recommend by typescript
2018-10-02 10:24:20 -07:00
Joao Moreno 4c963c0895 Merge branch 'win-sign' 2018-10-02 10:52:37 +02:00
Joao Moreno 38a5ab89ef optionally sign windows setup
fixes #59697
2018-10-02 10:05:45 +02:00
Benjamin Pasero ee321dcd2c build - auto release "exploration" builds 2018-10-02 09:31:17 +02:00
Matt Bierner feffb38103 Make sure the configs values are overriden properly 2018-10-01 16:49:24 -07:00
Matt Bierner 402106a699 Introduce a shared tsconfig for extensions
Setup a baseline tsconfig for extensions to extend. This will help make sure thatof our built-in extensions are using the recommended settings for target and so on. it also reduces duplicated code and will make updating tsconfig settings easier
2018-10-01 16:35:43 -07:00
Matt Bierner d37076a596 Build VS Code using TypeScript 3.1.1
Fixes #59757
2018-10-01 10:55:16 -07:00
Miguel Solorio 931223d9d3 Fix sass file reference 2018-10-01 10:13:12 -07:00
Samuel Attard 8ee605ede4 feat: force mojave dark mode support on even though Electron is not built on the 10.14 SDK (#59742) 2018-10-01 18:25:15 +02:00
Joao Moreno 20566a4404 fix windows continuous build 2018-10-01 18:03:21 +02:00
Joao Moreno 01c138cd7d update continuous build 2018-10-01 17:49:28 +02:00
Joao Moreno 6617952c18 prevent old yarn usage 2018-10-01 17:42:00 +02:00
Joao Moreno e3bb3e769b linux build: limit child concurrency 2018-10-01 14:47:09 +02:00
Joao Moreno 9c042522bf linux build: use tmp for home 2018-10-01 14:39:47 +02:00
Joao Moreno 40f3405131 update darwin node and yarn versions 2018-10-01 13:02:37 +02:00
Joao Moreno f5f602bdf4 update linux build node and yarn versions 2018-10-01 13:02:37 +02:00