Commit Graph

105 Commits

Author SHA1 Message Date
Connor Peet
4355270543 fix: use inline sourcemaps in watch task 2021-06-11 14:20:48 -07:00
João Moreno
fc4b40b633 fix type casts 2021-01-04 15:54:59 +01:00
Alexandru Dima
c1eb24b027 Load expensive node modules lazily 2020-12-22 19:55:56 +01:00
Alex Dima
dd6bd3ae6a Reduce the number of folders where we use TS 2020-09-24 17:39:48 +02:00
Johannes Rieken
26c6cd5c40 check for totalmem before starting compiling 2020-07-03 09:56:04 +02:00
Joao Moreno
cc5dd0c98b refactor build 2020-02-21 15:30:01 +01:00
Rachel Macfarlane
eed39324b6 Add GitHub authentication provider extension, closes #90384 2020-02-20 10:56:16 -08:00
Benjamin Pasero
2977cfea26 encoding - more tests 2019-11-12 09:57:58 +01:00
Johannes Rieken
5a9913099c undo usage of tsProjectSrc-stream 2019-09-10 14:58:08 +02:00
Johannes Rieken
9ab449f3bd use tsb 4.0.2 use project files as src-stream, https://github.com/microsoft/vscode/issues/80632 2019-09-10 12:48:04 +02:00
Rob Lourens
bb02180904 Delay gulp-watch read so watch task isn't broken on slower disks.
vscode writes files non-atomically. This is useful on an azure devbox over ssh.
2019-09-09 14:39:13 -07:00
Johannes Rieken
2b46fe4c30 adopt gulp-tsb 4.0.0, remove postinstall hacks 2019-09-06 17:21:36 +02:00
Alex Dima
cb3b792b50 Fixes #70205: Switch to polling based watcher that does not miss events 2019-07-05 18:11:44 +02:00
Alex Dima
af95b7d343 Adopt task.define (better task names) 2019-02-12 20:43:55 +01:00
Alex Dima
7d38cdcb51 Render more task names 2019-02-08 15:55:19 +01:00
Alex Dima
b4445a9f73 Move away from deprecated gulp-util 2019-02-05 22:21:05 +01:00
Alex Dima
8c09d4f476 Add error handlers to watchers 2018-12-17 15:23:07 +01:00
Alex Dima
072eef20ac Show monaco.d.ts output only when something has changed 2018-10-24 16:11:48 +02:00
Alex Dima
9deb8d4a42 Read monaco.d.ts.recipe files as needed (don't prepare them up front) 2018-10-24 16:11:48 +02:00
Alex Dima
7e8384ba86 Execute just once after N changes 2018-10-24 16:11:48 +02:00
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
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
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
4b2aed7bb2 let -> const 2018-10-04 19:01:34 -07:00
Matt Bierner
494395f62f Adding correct typings for event-stream this values 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
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
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
Alex Dima
52c252b8c9 Remove unused code 2017-12-15 06:12:41 -08: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
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