Commit graph

35 commits

Author SHA1 Message Date
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
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
Douglas Gabriel
414da9bf7e Removing dead code from 2018-10-05 10:24:19 -03: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
Johannes Rieken
f737b01757 update monaco.d.ts generation, recompile build-folder 2017-04-26 17:59:30 +02:00
Magnus Hiie
95f0c15bf5 Expose insert..Braces rule in VS Code settings (#21649)
* Expose insert..Braces rule in VS Code settings

Fixes #18043

* Add requirement blurb for insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces

* Revert tsfmt change
2017-04-13 16:35:40 -07: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
Matt Bierner
46e5dddeab Bump Monaco to TS 2.1.4 (#18413)
Fixes #18393
2017-01-12 12:14:07 -08:00
Matt Bierner
97ba3fddce Pick up ts 2.1.4 (#18061) 2017-01-05 12:30:42 -08: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
Renamed from build/lib/monaco.ts (Browse further)