Matt Bierner
2648263d3e
Run our build scripts directly as typescript ( #277567 )
...
* Run our build scripts directly as typescript #277567
Follow up on #276864
For #277526
* Remove a few more ts-node references
* Fix linux and script reference
* Remove `_build-script` ref
* Fix script missing closing quote
* use type only import
* Fix export
* Make sure to run copy-policy-dto
* Make sure we run the copy-policy-dto script
* Enable `verbatimModuleSyntax`
* Pipelines fixes
* Try adding explicit ext to path
* Fix bad edit
* Revert extra `--`
---------
Co-authored-by: João Moreno <joaomoreno@users.noreply.github.com >
2025-11-21 14:56:00 +01:00
Matt Bierner
42410acd73
Add proper typings for a few more build script dependencies
...
For #276864
2025-11-12 16:22:40 -08:00
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
360c9fd134
Add lint rule for as any and bulk ignore all existing breaks
...
For #269213
This adds a new eslint rule for `as any` and `<any>({... })`. We'd like to remove almost all of these, however right now the first goal is to prevent them in new code. That's why with this first PR I simply add `eslint-disable` comments for all breaks
Trying to get this change in soon after branching off for release to hopefully minimize disruption during debt week work
2025-10-02 23:38:33 -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
Connor Peet
26120e5bf4
testing: add temporary failure tracker to the selfhost test runner ( #212134 )
...
For /fixTestFailures, I want to get more 'real world' tests and test
fixes. This makes a change in the selfhost test provider such that when
a test fails and is then fixed, we record the code changes into a JSON
file in the `.build` directory. In a few days I'll follow up with team
members to collect their test failures and use them as evaluation tests
for copilot. The FailureTracker will be removed when I've gotten enough
data.
2024-05-07 00:54:33 +02: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
696c1cf199
build utils with source map to enable JS debug console
2022-11-10 15:05:47 +01: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 Rieken
4a130c40ed
enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391
2022-02-02 14:35:33 +01:00
dependabot[bot]
48bcb4a831
Bump glob-parent from 5.1.1 to 5.1.2 in /build/lib/watch ( #125832 )
...
Bumps [glob-parent](https://github.com/gulpjs/glob-parent ) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases )
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2 )
---
updated-dependencies:
- dependency-name: glob-parent
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-09 04:38:40 -07:00
Benjamin Pasero
384ef20251
🆙 vscode-gulp-watch (fixes high CPU on Apple SI)
2021-01-29 10:31:22 +01:00
Alexandru Dima
428008f3a5
Align versions across package.json files
2020-12-14 20:06:18 +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
Alex Dima
57f4c1bf74
Convert build/lib/watch/ to .ts
2020-09-24 17:24:24 +02:00
João Moreno
1ef5d986de
upgrade dependencies in build
2020-04-03 07:49:06 +02:00
Matt Bierner
273a4a389d
Convert most ts-ignore-calls to ts-expect-error ( #93617 )
...
Changes over to use ts-expect-error: https://devblogs.microsoft.com/typescript/announcing-typescript-3-9-beta/#ts-expect-error-comments
This revealed a number of places where we no longer need to supress errors
2020-03-30 17:31:37 -07:00
Benjamin Pasero
14c3b2e486
Update build to use node.js 12.x ( #83967 )
...
* build - update to node.js 12x for building
* fix it
* adopt vscode-gulp-watch
2019-11-05 09:53:15 +01:00
Johannes Rieken
c695729eb1
remove gulp-tsb hack, fixes #80629
2019-09-10 14:51:46 +02:00
Benjamin Pasero
9e09089a19
eng - bump gulp-watch to stay compatible with our node version
2019-07-15 15:09:22 +02:00
Aurélien Pupier
7a5bca9faf
Add License field to package.jsons #68423 ( #68771 )
...
it should avoid to have "warning XXX: No license field" during yarn
build
Signed-off-by: Aurélien Pupier <apupier@redhat.com >
2019-06-06 11:44:50 +02:00
Rob Lourens
ef2547d547
replace void 0 with undefined
2019-01-03 11:20:19 -08:00
Joao Moreno
707787c5b8
update yarn.lock files to use integrity
2018-09-30 16:34:43 +02:00
Benjamin Pasero
cd1f0f2758
debt - remove nsfw from build dependencies
2018-08-10 14:58:42 +02:00
Joao Moreno
838f4024b3
fixes #43973
2018-02-27 15:41:46 +01:00
Benjamin Pasero
a23edada50
debt - avoid deprecated Buffer ctors
2018-02-26 13:09:54 +01:00
Joao Moreno
c9fc911330
fix formatting
2018-02-12 12:40:53 +01:00
Erich Gamma
5e41d2aafb
enable checkJS
2018-02-01 14:39:12 +01:00
Joao Moreno
ff5561568c
fix nsfw for gulp watch
2017-11-16 10:21:52 +01:00
Joao Moreno
b6bc9ecd4d
yarn: missing yarn.lock files
2017-11-13 23:07:17 +01:00
Benjamin Pasero
9c78e13b29
Gulp watch fails to trigger recompilation while TypeScript compiles ( fixes #36214 )
2017-10-13 12:15:52 +02:00
Benjamin Pasero
6d09da44cc
better message for gulp watch failing with nsfw
2017-06-29 11:12:32 +02:00
Benjamin Pasero
db88728d44
more output for failing nsfw watcher
2017-06-29 10:51:11 +02:00
Joao Moreno
11e3f1bfc4
failover nsfw to gulp-watch
2017-06-27 10:48:27 +02:00
Joao Moreno
be68fdbd07
remove package-lock.json
2017-06-26 08:29:26 +02:00
Benjamin Pasero
b4327aa772
Use nsfw for gulp watch ( #29203 )
2017-06-26 08:12:50 +02:00
Matt Bierner
a460624f88
Fix more Compiler Errors for TS 2.4 in the VSCode codebase ( #29055 )
...
* Fix more Compiler Errors for TS 2.4 in the VSCode codebase
* Fix compile error for 2.3
2017-06-20 14:49:10 -07:00
Benjamin Pasero
af877ffb53
fix gulp watch
2016-09-14 17:44:06 +02:00
Joao Moreno
94eb60a292
fix fsevents compatibility for build tools
2016-09-14 17:00:23 +02:00
João Moreno
b61dd976f6
fixes #1948
2016-03-07 12:09:15 +01:00
Alex Dima
e609a6f409
gulp win32 watcher -- filter as soon as possible fs events
2016-02-02 12:21:01 +01:00
Erich Gamma
8f35cc4768
Hello Code
2015-11-13 14:39:38 +01:00