Commit graph

29 commits

Author SHA1 Message Date
Johannes Rieken 236d5dc072
sha256 over md5 (#202985)
* `sha256` over `md5`

* add missing JS file
2024-01-22 14:40:18 +01: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
Johannes eeae481e47
set emit-target and libs to ES2022, avoid static-blocks, fix Error#cause conflict
https://github.com/microsoft/vscode/issues/185991
2023-06-30 11:43:19 +02:00
Johannes 56c917debf
update SWC config to disable useDefineForClassFields 2023-06-23 12:55:32 +02:00
Matt Bierner 03540d605f
Pick up latest TS for building VS code (#180706) 2023-04-24 20:14:30 +02:00
Johannes f7f42dbd63
print/fwd SWC errors properly
https://github.com/microsoft/vscode/issues/173074
2023-02-02 11:57:38 +01:00
Matt Bierner d67db9d358
Pick up latest TS for building VS Code (#172033) 2023-01-23 11:39:28 -08:00
Johannes 0d5f87e9dd
change source map merge logic to be like applying line edits to the typescript source maps (based on the input source maps) 2022-12-14 15:57:55 +01:00
Johannes f73bb21f27
wip 2022-12-02 13:03:16 +01: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
Johannes d6f5727021
also use SWC for extensions transpile 2022-09-07 11:18:53 +02:00
Johannes 87e54a0759
consume swc as libaray and wire up into the existing transpiler logic 2022-09-07 10:46:27 +02:00
Johannes Rieken 0182e175eb
fix transpile on windows (#153285)
make sure to normalize paths before entering internal TS API, also add better error logging to know what file paths fail
2022-06-27 12:01:17 +02:00
Johannes b942d2ea65
use a different _internal_ API to get the output file names for a TS input file and its config... way faster than creating a program and using its internal API but needs some massage... 2022-06-23 16:20:21 +02:00
Johannes Rieken 9e21aff42e
joh/ts transpile (#152199)
transpile-only tasks for client and extensions

* extract transpile into its own file
* add transpile-client task, polish transpiler
* add transpile-extensions, improve transpile logic
* move declaration of "const enum" above it usage so that it can be used with const-enum-inlining
* (ugly) make d.ts transpilation configurable because it is needed for extensions but a problem for client
* hack my way around so that `getOwnEmitOutputFilePath` is reusable by our transpile
* honor `noEmit` flag
2022-06-15 16:52:48 +02:00
Johannes 175e81149c
make sure ts-builder instance is being re-used 2022-06-11 13:50:06 +02:00
Johannes eda80f2065
Merge branch 'main' into joh/voluminous-lobster 2022-06-09 16:47:09 +02:00
Johannes dadeb05148
missing compile output 2022-06-09 15:19:24 +02:00
Johannes ba66d68c76
add transpile only stream to tsb, using ts.transpile.
https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API#a-simple-transform-function
2022-06-09 15:00:55 +02:00
Johannes 2c004b870f
recompile build folder with const over let 2022-06-09 10:59:11 +02:00
Johannes 43c31079ee
manual fixing of prefer-const violations 2022-06-09 10:19:56 +02:00
Johannes 0656d21d11
auto-fixed prefer-const violation 2022-06-08 17:49:21 +02:00
Johannes 1105ead47b
add a transpileOnly option to gulp-tsb 2022-06-08 17:33:54 +02:00
João Moreno 5854ef865c
Generate policies again (#149322)
* Generate ADMX/ADML policy declaration files from static analysis

Fixes: #148941

* fix build

* move to optional dependencies
2022-05-12 09:16:03 +02:00
Joyce Er ba8ced85c5
Revert "Generate ADMX/ADML policy declaration files from static analysis" (#149194)
This reverts commit dcfe6b3b84.
2022-05-10 16:30:34 -07:00
João Moreno dcfe6b3b84
Generate ADMX/ADML policy declaration files from static analysis
Fixes: #148941
2022-05-10 13:17:05 +02:00
Johannes c13d581bce
move gulp-tsb into the build/lib remove as dependency 2022-05-05 11:35:33 +02:00