Matt Bierner
fe8fc75455
Pick up latest TS native preview
...
Fixes the emit for copyright headers
2025-10-28 09:18:27 -07:00
Henning Dieterichs
5e18e088a9
Fixes treeshaking on windows ( #272899 )
2025-10-23 13:38:06 +00:00
Matt Bierner
6c42761e58
Copy out marked and dompurify too
2025-10-12 23:46:42 -07:00
Matt Bierner
1eee7ae230
Switch monaco to off of moduleResolution: classic
...
Fixes #270408
Trying to move some of the monaco related checks/tconfigs off of `moduleResolution: classic`. This legacy config is causing a lot of pain while trying to update the trusted-types typings, which is itself blocking picking up the latest dompurify
I initially tried a more scoped change but just could not get it working. So instead I ended up trying to rework our `LanguageServiceHost` to be more standard
2025-10-10 16:02:03 -07:00
Matt Bierner
383842fe0d
Re-use TypeScriptLanguageServiceHostfor monaco and treeshaker build steps
...
For #270408
There are currently duplicated `LanguageServiceHost` definitions in our build folder. As far as I can tell they are the same except for the default lib name
As part of #270408 I'll have to touch the service hosts and having a single definition will make this easier
2025-10-08 10:12:47 -07:00
João Moreno
f4c2700d45
cleanup any casts ( #270371 )
...
related to #269213
cc @mjbvz @jrieken
2025-10-08 14:05:31 +00:00
Matt Bierner
68fb92d6e0
Use real maps for monaco-api/treeshaking
...
Working on understanding this code and trying to modernize it a little
2025-10-07 16:56:14 -07:00
Matt Bierner
1174f9b951
Compile build scripts too
2025-10-02 23:46:45 -07:00
Matt Bierner
e4e8f2ad79
Update build TS versions
2025-08-25 10:32:36 -07:00
Matt Bierner
bd031dafbc
Convert const enums
2025-08-06 11:47:45 -07:00
Matt Bierner
12a275ffe7
Use ts-native to compile our build scripts
...
There are a few minor differences in output, mostly around formatting/comments. Const enums are also not inlined but that seems fine in these cases
2025-08-06 11:41:52 -07:00
Aman Karmani
e76c50f20e
build: switch build/tsconfig.json to module: nodenext ( #238426 )
...
* build/tsconfig: switch to module: nodenext for bun compat
* build: rewrite imports for nodenext compat
* build: re-generate
2025-01-22 20:12:39 +01:00
Benjamin Pasero
eed219db5f
ESM: figure out the monaco-standalone ESM build story ( fix #227192 ) ( #227536 )
2024-09-06 18:26:40 +02:00
Alex Ross
977f832a30
Simple tree sitter based syntax highlighting for typescript ( #225252 )
...
* Simple tree sitter based syntax highlighting for typescript
Part of #210475
* Implement onceIf using filter
* Mix monaco
* Fix tests
* Switch back to classic
* PR feedback
* Fix bug causing test failure
* Update tree-sitter-wasm
* Fix monaco editor tree shaking
* Fix running monaco checks on Windows
* Use dummy tree sitter service in standalone
* PR feedback
2024-08-19 21:56:31 +02:00
Matt Bierner
6403b4367b
Pick up latest TS for building VS Code ( #207096 )
2024-03-07 12:59:59 -08:00
João Moreno
e469272e45
remove inline sourcemaps from build files ( #198842 )
2023-11-22 14:05:46 +01:00
Matt Bierner
10d94ba0f3
Pick up latest TS nightly for building VS Code ( #194631 )
2023-10-02 19:40:35 +01:00
Matt Bierner
03540d605f
Pick up latest TS for building VS code ( #180706 )
2023-04-24 20:14:30 +02:00
Johannes
696c1cf199
build utils with source map to enable JS debug console
2022-11-10 15:05:47 +01:00
Matt Bierner
e7e403d83f
Bump target for build scripts ( #165287 )
2022-11-03 12:19:54 -07:00
Tyler James Leonhardt
3e4e351816
Enforce ILocalizedString usage with f1 property via types ( #162991 )
...
* Enforce ILocalizedString usage with f1 property via types
* complete comment
* Visit all symbols when encountering a union type
* use ILocalizedString
* fix tests
Co-authored-by: Alex Dima <alexdima@microsoft.com >
2022-10-11 21:24:43 -07:00
Alexandru Dima
a649d8f404
Explicitly enqueue files that only forward symbols ( #156150 )
...
Fixes #154083 : Explicitly enqueue files that only forward symbols
2022-07-25 15:07:54 +02:00
Henning Dieterichs
5f21c372de
Make treeshaking work on windows ( #155952 )
2022-07-22 14:07:44 +02:00
Matt Bierner
2a84b0fb6d
Enable alwaysStrict for build scripts ( #152778 )
...
Turns on `alwaysStrict` and removes `'use strict';` from our `.ts` files
2022-06-21 19:00:43 +00:00
Johannes
2c004b870f
recompile build folder with const over let
2022-06-09 10:59:11 +02:00
Benjamin Pasero
dc0eb750b6
fix missing compile
2022-03-21 15:58:23 +01:00
João Moreno
8dd386bddf
missing compile
2022-03-21 14:41:36 +01:00
Matt Bierner
bc9de9e7eb
Pick up TS 4.7 for building VS Code ( #145273 )
...
Adds fixes for https://github.com/microsoft/TypeScript/issues/48276
2022-03-17 11:10:35 -07:00
Alex Dima
6851b106e0
Improve test checking for createDecorator or refineServiceDecorator
2022-01-11 17:41:07 +01:00
Alex Dima
bd8c42ac44
Fixes microsoft/monaco-editor#2842 : Keep static members with initializers that might have side effects
2021-12-20 17:06:00 +01:00
Alexandru Dima
7d5de2d449
Fixes microsoft/monaco-editor#2822
2021-12-14 21:45:42 +01:00
João Moreno
0a7a69f190
fix build compilation
2021-05-26 13:30:43 +02:00
Benjamin Pasero
04b6291eed
build - push missing compile artifacts
2021-04-07 08:00:38 +02:00
Alexandru Dima
c1eb24b027
Load expensive node modules lazily
2020-12-22 19:55:56 +01:00
Alexandru Dima
d1fff1a083
Check in .js files from the /build/ folder to improve build speeds
2020-12-14 11:13:16 +01:00
João Moreno
2469bf6832
remove build compilation output
2020-09-22 11:12:55 +02:00
Alex Dima
4578463f90
Do not tree shake interfaces or classes that extend or inherit from symbols defined in the default library
2020-05-08 14:41:03 +02:00
Johannes Rieken
fef9b12da1
fix tree shaker fyi @alexdima
2020-05-06 09:28:32 +02:00
Alex Dima
33f8b720d1
Fix tree shaking
2020-03-16 14:11:33 +01:00
Alex Dima
8192262a14
Add more support for exported imports in tree shaking
2020-03-05 18:25:28 +01:00
Alex Dima
39fed576a4
Better support for shorthand property assignment in the treeshaker
2020-03-05 15:58:37 +01:00
Alex Dima
68351085db
Fix treeshaking, not all export clauses should be kept
2020-03-05 10:25:06 +01:00
Johannes Rieken
4a9931ec4e
treeshaker should keep [Symbol.iterator]-members because there are implict references from for-of loops
2020-03-03 11:56:12 +01:00
Johannes Rieken
27bc032975
nuke special lib options and use compiler option's lib instead
2020-03-02 13:44:22 +01:00
Matt Bierner
ff253a8f60
Build VS Code with TS 3.9-nightly
2020-02-29 11:45:48 -08:00
Alexandru Dima
b5ce6014d7
Improve output in case of errors and generate an analysis folder with the source content (for easy diffing)
2019-11-13 11:15:38 +01:00
Alexandru Dima
032925e74e
Improve error reporting during treeshaking
2019-11-13 11:15:36 +01: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
Joao Moreno
a6ebfe5082
missing compilation
2019-01-04 11:24:53 +01:00
Alex Dima
e4b1db51cc
Fixes #65040
2018-12-17 15:43:09 +01:00