Commit Graph

44 Commits

Author SHA1 Message Date
Matt Bierner fe8fc75455 Pick up latest TS native preview
Fixes the emit for copyright headers
2025-10-28 09:18:27 -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 1174f9b951 Compile build scripts too 2025-10-02 23:46:45 -07:00
Matt Bierner d865a99c49 Clean up some typings in build
- Adding ts-check in a few more js files
- Switching to use `@types` for a few more packages
- Remove some unused code
2025-08-07 09:38:52 -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
João Moreno ce2c2f3c79 fix build (#238530)
* fix build

* fix build

* one more fix
2025-01-23 09:41:55 +01: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 332b89f198 esm - remove AMD build scripts, tests and variables 2024-09-27 08:04:01 +02:00
Benjamin Pasero ca42f649a7 Allow to build an AMD version of VS Code (#227240) 2024-09-02 09:36:19 +02:00
Benjamin Pasero 6b924c5152 ESM merge to main (#227184)
Co-authored-by: Johannes Rieken <jrieken@microsoft.com>
Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2024-08-30 10:31:46 +02:00
Benjamin Pasero 0dea4804f4 esm - introduce VSCODE_BUILD_ESM variable (#225586) 2024-08-14 14:49:26 +02:00
Benjamin Pasero 284a605d61 NLS can get mixed up when stable overwrites insider metadata (fix #224385) (#224405) 2024-07-31 19:20:45 +02:00
Benjamin Pasero f6f90e0163 Implement NLS without AMD loader (#214588) 2024-06-28 11:55:48 +02:00
Matt Bierner 6403b4367b Pick up latest TS for building VS Code (#207096) 2024-03-07 12:59:59 -08:00
Matt Bierner 0404d17da6 Fix nls build script on line such as localize2(...) ... localize(...) (#203851)
For #203842

I believe we need to apply the patches in character order. Otherwise the line ends up corrupted after the patching
2024-01-31 01:40:20 +01:00
João Moreno e469272e45 remove inline sourcemaps from build files (#198842) 2023-11-22 14:05:46 +01:00
Tyler James Leonhardt a27dc7725c Introduce localize2 function (#194750)
* Introduce `localize2` function

This is syntax sugar around:
```
{ value localize('id', "Hello"), original: 'Hello' }
```

That will now be returned when you do:
```
localize2('id', "Hello");
```

* fix merge conflic

* new source map due to updated deps
2023-10-04 12:57:38 -07:00
Matt Bierner 10d94ba0f3 Pick up latest TS nightly for building VS Code (#194631) 2023-10-02 19:40:35 +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
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
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
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
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
Matt Bierner ddc5eeee01 Fixing more strict null errors in build 2018-10-03 10:47:32 -07:00
Joao Moreno 9d6f619140 error, missing compilation 2018-04-11 11:17:22 +02:00
Joao Moreno 1217419309 missing build compilation 2018-02-26 17:25:09 +01:00
Joao a6fca8270d missing compilation 2017-09-04 11:02:50 +02:00
Joao Moreno 8c7689c925 fixes #28650 2017-06-16 16:09:09 +02:00
Joao Moreno 74fab50d5d consolidate build package.json 2017-05-16 08:56:21 +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
Joao Moreno 1c38df7823 fixes #18363 2017-01-11 11:55:58 +01:00
Alex Dima 5ae54dd9d0 Reduce devDependencies 2016-10-20 15:00:00 +02: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 0ffd699ef5 Create nls files for vscode core 2016-03-08 11:26:24 +01:00
Joao Moreno b027a0c492 fix up lint errors, cleanup build folder 2016-03-07 12:56:32 +01:00
Erich Gamma 8f35cc4768 Hello Code 2015-11-13 14:39:38 +01:00