Alex Dima
67eacaa4a8
Use const enums (and generate non-const ones for standalone editor)
2018-10-22 09:59:30 +02:00
Joao Moreno
9c3627d18f
remove smoketests from continuous build
2018-10-18 15:09:05 -07:00
Rob Lourens
9e83209ed5
Bump node2
2018-10-17 21:03:24 -07:00
Alex Dima
4b8f928808
Faster monaco.d.ts generation
2018-10-17 23:19:20 +02:00
Alex Dima
4f09f1aa4a
Cache TS source files between runs of generator
2018-10-17 16:54:45 +02:00
Alex Dima
238440b738
Change how monaco.d.ts is generated:
...
- do not use the .d.ts files coming in from gulp-tsb
- remove the generation of .d.ts files
- run before compilation starts
- install file watchers directly
2018-10-17 16:54:45 +02:00
Matt Bierner
a3fa7ad178
Adding some typings in npm scripts
2018-10-15 17:39:33 -07:00
Matt Bierner
63d0559cff
Don't use strict mode on gulp ts files
...
Fixes #61000
2018-10-15 17:39:33 -07:00
Johannes Rieken
e3062841eb
fix incremental compiler
2018-10-15 11:54:47 +02:00
Benjamin Pasero
05e1c11111
Merge pull request #60875 from Microsoft/ben/sqlite
...
Introduce SQLite (in-memory) for localStorage
2018-10-15 09:10:24 +02:00
Joao Moreno
0f71aebcb5
fix build
2018-10-14 23:33:55 +02:00
Benjamin Pasero
a6c1151b32
sqlite - stricter rules for *.node files
2018-10-14 19:06:26 +02:00
Benjamin Pasero
c61ee508be
use vscode-sqlite3@4.0.2
2018-10-14 11:53:41 +02:00
Benjamin Pasero
e7c47cdf9c
sqlite - fix compile
2018-10-14 10:44:59 +02:00
Benjamin Pasero
e7ddb88e1e
sqlite - fix compilation
2018-10-14 08:35:31 +02:00
Benjamin Pasero
32f401fb93
sqlite - storage => legacy storage
2018-10-13 17:45:43 +02:00
Benjamin Pasero
e4b21b6794
Merge branch 'master' into ben/sqlite
2018-10-13 16:38:26 +02:00
Matt Bierner
3fcb671444
Use es2017 as target for build scripts ( #60707 )
...
Upgrades our build scripts to target ES2017 since they are run on modern versions of node
This allows us to remove shims for es6 features such as `Object.assign`, and also remove a few extra typings packages
2018-10-12 11:24:15 -07:00
Benjamin Pasero
90fd44c102
Merge branch 'master' into ben/sqlite
2018-10-12 09:16:30 +02:00
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
Benjamin Pasero
bac418779f
Merge branch 'master' into ben/sqlite
2018-10-10 07:36:03 +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
Benjamin Pasero
59f367a8b0
Merge branch 'master' into ben/sqlite
2018-10-08 11:08:35 +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
Benjamin Pasero
b8b7c3c3a6
sqlite - initial version of storage library
2018-10-05 15:12:50 +02: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