Johannes
87e54a0759
consume swc as libaray and wire up into the existing transpiler logic
2022-09-07 10:46:27 +02:00
Johannes
7ec1ebdd5f
* tweak createSwcClientStream to have async exec
...
* add `transpileClientSWC` and corresponding gulp task
2022-08-26 15:02:01 +02:00
João Moreno
3e014a7459
argh, still wrong EOL ( #159160 )
2022-08-25 08:48:58 -04:00
João Moreno
76758809f1
fix api proposal generation EOL ( #155991 )
...
on Windows, my files are checked out with LF. the script which generates extensionApiProposals.ts always uses os.EOL, so it always is dirty on my repo every time I compile
2022-07-22 14:21:20 -07:00
Johannes
214e276bd5
have compilation#transpileTask as a separate place for tweaks
2022-06-23 17:32:20 +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 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
eda80f2065
Merge branch 'main' into joh/voluminous-lobster
2022-06-09 16:47:09 +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
c13d581bce
move gulp-tsb into the build/lib remove as dependency
2022-05-05 11:35:33 +02:00
Matt Bierner
433bf7cd88
Update build scripts to target es2020
2022-02-28 14:00:17 -08:00
Joao Moreno
acdd512060
make api proposal names task play better with gulp
...
cc @jrieken
2021-12-13 11:36:37 +01:00
Joao Moreno
18214d3dbd
fix EOL for generated extensionsApiProposals.ts
2021-12-08 15:19:51 +01:00
Johannes Rieken
7ac327281a
make sure proposal name generation is sorted, https://github.com/microsoft/vscode/issues/131165
2021-11-12 11:05:56 +01:00
Johannes Rieken
788d959222
simplify extensionsApiProposals, https://github.com/microsoft/vscode/issues/131165
2021-11-11 17:17:21 +01:00
Johannes Rieken
b48a7f385e
tweak generation of propsal file a little bit
2021-11-11 12:55:28 +01:00
Johannes Rieken
0613f0caf2
generate apiProposalNames as ReadonlySet
2021-11-10 15:20:44 +01:00
Johannes Rieken
fe6b867b00
declare proposed API properties for package.json and link them with actual proposal names
2021-11-10 12:34:07 +01:00
Johannes Rieken
da967b591e
add generated file api proposal names, add compile script that generates this file
2021-11-10 11:54:24 +01:00
Matt Bierner
0762d23ae7
Build VS Code using TS 4.4 ( #127823 )
...
* Build VS Code using TS 4.4
* Remove usages of deprecated `ClientRectList`
* Add any casts for missing `caretRangeFromPoint`
* Add temporary any casts for `zoom` css propery
This non-standard css property no longer exists in lib.dom.d.ts
* MouseWheelEvent -> WheelEvent
* Pick up new TS nightly
Co-authored-by: Alexandru Dima <alexdima@microsoft.com >
2021-07-08 14:27:39 -07:00
Robo
92999c339e
fix: setuid helper permission ( #126798 )
...
* ci: fix setuid helper binary permission
* ci: allow privilege for CLONE_NEWPID | CLONE_NEWNET
* ci: fix chrome-sandbox permission with rpm
* ci: fix permissions on snap
* ci: download electron earlier for arm builds
2021-06-22 08:42:30 -07:00
Connor Peet
4355270543
fix: use inline sourcemaps in watch task
2021-06-11 14:20:48 -07:00
Benjamin Pasero
15aca96cd5
build - unblock lauching
2021-06-03 07:21:15 +02:00
João Moreno
0a7a69f190
fix build compilation
2021-05-26 13:30:43 +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
Johannes Rieken
26c6cd5c40
check for totalmem before starting compiling
2020-07-03 09:56:04 +02:00
Matt Bierner
ff253a8f60
Build VS Code with TS 3.9-nightly
2020-02-29 11:45:48 -08: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
0ec1207e40
build - compile leftover
2019-11-13 07:38:16 +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