Commit Graph

46 Commits

Author SHA1 Message Date
Matt Bierner
ff253a8f60 Build VS Code with TS 3.9-nightly 2020-02-29 11:45:48 -08:00
Alex Dima
c95e2e4bf2 Support members with dots in their name 2020-02-22 15:40:20 +01:00
Alexandru Dima
10603fe212 Rerun monacodts on latest and replace " with ' in strings 2020-01-14 16:31:17 +01:00
Alexandru Dima
b4a79d682a Add getters for computed editor options (Fixes microsoft/monaco-editor#1734) 2020-01-14 16:31:16 +01:00
Matt Bierner
9d125dd690 Re-enable building VS Code with TS 3.7 (#82289)
* Re-enable building VS Code with TS 3.7

Reverts 5b0cdadc87

Blocked from check in due to https://github.com/microsoft/TypeScript/issues/33936

* update d.ts for ts 3.7
2019-10-17 14:14:20 -07:00
Alex Dima
363b976941 Convert more editor options 2019-09-02 23:05:00 +02:00
Alex Dima
135c473ddf Fixes #77454:
- do not cary over unnecessary "extends" in tsconfig.json
- keep members ending with `Brand`, but do it at the right phase
- remove shorthand literal usage which confuses tree-shaker
- add back noImplicitAny
2019-07-29 15:39:29 +02:00
Alex Dima
b4445a9f73 Move away from deprecated gulp-util 2019-02-05 22:21:05 +01:00
Alex Dima
ec4652f1cc Use also mtime to validate source file cache 2019-01-07 11:58:40 +01:00
Alex Dima
f21c227349 Make sure to always write with normalized line endings 2018-10-24 16:28:42 +02:00
Alex Dima
4823e0e2da Use yellow for monaco.d.ts errors 2018-10-24 16:22:32 +02: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
c88064a3ad Make sure standaloneEnums have consistent line endings 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
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
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
Johannes Rieken
005858ed7c add missing compile 2018-10-08 10:23:06 +02: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
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
56a161042c Fix strict null errors in api 2018-10-03 10:47:32 -07:00
Alex Dima
09ec2eb1e4 Use the new optimize-editor task 2018-07-20 11:26:32 +02:00
Alex Dima
8d9db1808e Add ability to generate standalone editor usages file 2018-07-19 15:19:42 +02:00
Matt Bierner
82be8c8b01 Build with TS 2.7 (#45348)
* Pick up TS 2.7

* Fix formatter in build script

* Fix build error for ts 2.7

* Pick up new ts format and tslint versions

* Update lock

* use 2.7.2 for build

* Formatting
2018-03-08 16:58:32 -08:00
Joao Moreno
f11c13d8ae endl monaco.d.ts 2018-03-07 08:35:58 +01:00
Joao Moreno
8ba5faed36 fix line endings 2018-03-06 15:29:40 +01: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
Joao Moreno
1c38df7823 fixes #18363 2017-01-11 11:55:58 +01:00
Matt Bierner
97ba3fddce Pick up ts 2.1.4 (#18061) 2017-01-05 12:30:42 -08:00
Joao Moreno
1ef9a66db0 Revert "revert changes to gulp files"
This reverts commit 23afe96996.
2016-07-12 17:12:38 +02:00
Joao Moreno
23afe96996 revert changes to gulp files
Revert "oops"

This reverts commit 2be0f1d8cd.

Revert "cleanup top level gulpfile"

This reverts commit 849311713d.

Revert "use strict"

This reverts commit b6b7e82041.

Revert "forgot top level"

This reverts commit 1552828709.

Revert "remove VSCODE_BUILD_QUIET"

This reverts commit 8df5e70d12.
2016-07-12 11:47:48 +02:00
Joao Moreno
8df5e70d12 remove VSCODE_BUILD_QUIET 2016-07-12 10:47:19 +02:00
Dirk Baeumer
4e2e9302d3 Fixing monaco.d.ts generation 2016-06-24 11:15:39 +02:00
Alex Dima
8fd51f85b9 Generate monaco.d.ts continuously and check it in build 2016-06-10 18:40:32 +02:00
Alex Dima
7ec0f25030 Improve editor-distro gulp task 2016-05-31 16:31:35 +02:00
Alex Dima
561cd05099 Bring in monaco.d.ts into the /src/ folder such that editor API can be typechecked to be exported correctly 2016-05-31 16:31:35 +02:00