Commit graph

34 commits

Author SHA1 Message Date
Alex Dima baf8b88b1d Add versioning to monaco.d.ts generation 2018-10-24 16:11:48 +02:00
Alex Dima 67eacaa4a8 Use const enums (and generate non-const ones for standalone editor) 2018-10-22 09:59:30 +02: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
Johannes Rieken e3062841eb fix incremental compiler 2018-10-15 11:54:47 +02:00
Benjamin Pasero 32f401fb93 sqlite - storage => legacy storage 2018-10-13 17:45:43 +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
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
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 fe45a7d21f Fix remaining strict null errors in build scripts 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
Matt Bierner cb81c2c241
Build using ts 3.0 (#57906)
* Build VS Code using TS 3.0

Fixes #57151
2018-09-04 15:25:39 -07:00
Alex Dima d8e13dc717 Add a compile-editor-build task 2018-07-20 11:26:31 +02:00
Joao Moreno 9d6f619140 error, missing compilation 2018-04-11 11:17:22 +02:00
Joao Moreno 100e9fc4e7 fix line endings in monaco.d.ts 2018-03-06 18:00:34 +01:00
Alex Dima 198667a8f1 Add option to disable sourcemaps for those in a hurry 2017-12-15 16:07:15 +01:00
Alex Dima 17bda4b25c Do not write .d.ts files to disk, as they are not needed there 2017-12-15 15:58:58 +01:00
Ramya Achutha Rao 7be031a686 Fixing build break as per #29330 2017-06-23 11:29:01 -07:00
Johannes Rieken c75389b974 break loader plugins into build and runtime version to keep the size low 2017-06-23 16:31:32 +02:00
Joao Moreno 74fab50d5d consolidate build package.json 2017-05-16 08:56:21 +02:00
Johannes Rieken f737b01757 update monaco.d.ts generation, recompile build-folder 2017-04-26 17:59:30 +02:00
Joao Moreno a85a6a22de 👷 update build files 2017-03-21 11:28:10 +01:00
Benjamin Pasero 61efd8fb23 build build/lib folder with latest 2017-03-06 16:32:23 +01:00
Alex Dima 1645d0d150 Fixes #21892: Do not read .d.ts files from disk when generating monaco.d.ts 2017-03-06 12:14:41 +01:00
Alex Dima a68c9d0102 Fix gulp watch 2017-03-01 10:01:48 +01:00
Alex Dima 9893aaf825 reload typescript node module only at build time 2017-03-01 09:24:47 +01:00
Alex Dima f9ccfe7cbc Try to free memory after TS compilation finishes 2017-02-28 16:44:51 +01:00
Matt Bierner 22fdff9baf Use @types for a few d.ts files in src (#20157) 2017-02-07 17:12:47 -08:00
Benjamin Pasero a6175d0756 Fix build (#18492) 2017-01-13 07:15:26 +01:00
Joao Moreno 1c38df7823 fixes #18363 2017-01-11 11:55:58 +01:00
Alex Dima 9f0f868c65 Extract client compilation code out of gulpfile.js 2016-10-20 15:00:05 +02:00