Robo
5216c04428
chore: update to electron 29 ( #209818 )
...
* chore: update electron@29.1.0
* chore: update typings to 20.x
* chore: bump electron@29.1.5
* ci: fix crash in compiling extensions-ci
* chore: disable .d.ts check for build/
$ ../node_modules/.bin/tsc -p tsconfig.build.json
node_modules/@types/chokidar/index.d.ts:21:14 - error TS2420: Class 'import("/Users/demohan/github/vscode/build/node_modules/@types/chokidar/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'.
Type 'FSWatcher' is missing the following properties from type 'FSWatcher': ref, unref
21 export class FSWatcher extends EventEmitter implements fs.FSWatcher {
~~~~~~~~~
node_modules/chokidar/types/index.d.ts:8:14 - error TS2420: Class 'import("/Users/demohan/github/vscode/build/node_modules/chokidar/types/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'.
Type 'FSWatcher' is missing the following properties from type 'FSWatcher': ref, unref
8 export class FSWatcher extends EventEmitter implements fs.FSWatcher {
~~~~~~~~~
Found 2 errors in 2 files.
Errors Files
1 node_modules/@types/chokidar/index.d.ts:21
1 node_modules/chokidar/types/index.d.ts:8
Refs a0f9e09f64
* chore: update core types
* temp: fix layer validation
* chore: update nodejs checksums
* ci: use latest v20 LTS for missing node-gyp
Refs eacec5f490
* ci: define LIBCPP_HARDENING_MODE
* ci: fix crash in vscode-web-min-ci
* chore: update rpm deps-list
* chore: bump tree-sitter-typescript@0.20.5
* chore: bump electron@29.3.0
* chore: bump electron@29.3.1
* chore: update rpm deps-list for x86_64
* ci: disable io_uring UV backend on linux
* ci: disable io_uring backend for oss as well
* chore: update typings to 20.x
* ci: add TODO for io_uring workaround
* chore: bump distro
* chore: update preinstall node version checks
* chore: update @types/gulp
Refs https://github.com/microsoft/vscode/issues/212442
* ci: disable io_uring in more test suites
2024-05-11 01:20:28 +09:00
Robo
0114696106
chore: bump tree-sitter-typescript@0.20.5 ( #211941 )
2024-05-03 15:50:09 +02:00
Tyler James Leonhardt
f861341624
Revert "Use graceful-fs to buffer fs calls ( #210696 )" ( #210786 )
...
This reverts commit 2cc4b3d115
.
2024-04-19 22:11:41 +02:00
Tyler James Leonhardt
2cc4b3d115
Use graceful-fs to buffer fs calls ( #210696 )
...
Fixes `EMFILE: too many open files` thrown in the localization pipeline
Co-authored-by: Tyler Leonhardt <tyleonha@microsoft.com>
2024-04-18 22:11:48 +02:00
Connor Peet
87780c04c8
eng: fix CSS tooling crashes watch task ( #209278 )
...
Get rid of the gulp-postcss plugin and just implement our own, I couldn't get it to work.
Fixes #207827
2024-04-01 20:15:25 +02:00
Benjamin Pasero
a54c7531d0
🆙 esbuild@0.20.0
( #203626 )
2024-02-02 11:47:17 +01:00
Connor Peet
0f323440e5
eng: allow css nesting via postcss plugin ( #203726 )
...
* eng: allow css nesting via postcss plugin
CSS nesting has landed in most browsers at this point, but we don't want
to break users who are still stuck on old browser (mainly older iOS
devices.) This PR adds a postcss plugin to the build process that
de-nests nested CSS.
The plugin required a newer version of postcss as well, so I have
updated that and a couple other modules to their latest versions.
* update build's package.json versions too
2024-01-29 11:19:37 -08:00
Raymond Zhao
80750ef3eb
chore: bump electron/get to 2.0.3 ( #203055 )
...
chore: bump electron/get to ^2.0.0
2024-01-22 20:00:31 +01:00
João Moreno
87e7f8b5e1
replace node-fetch with native fetch ( #198408 )
...
* replace node-fetch with native fetch
* fix dep version
* handle terminated error from fetch
* more error handling
2023-11-16 17:29:35 +01:00
João Moreno
0b111a09a1
Publish to new CDN ( #198154 )
2023-11-16 07:19:59 +01:00
Raymond Zhao
e20515c62e
Bump dependencies for debug sub-dependency ( #195513 )
2023-10-13 09:01:12 -07:00
João Moreno
a5d71aad39
Cleanup dependencies ( #195026 )
...
* move build dependencies to devDependencies
* build: bump tree-sitter
* dependencies cleanup
* remove leftover file
2023-10-09 09:34:15 +02:00
Robo
ea490e5545
chore: update to Electron 25 ( #188268 )
...
* chore: update electron@25.3.0
* ci: update NodeTool version
* chore: update @types/node
* add more common types to layers checker
* chore: update debian dependencies
* chore: update rpm dependencies
* fix: use legacy dns result order of Node.js
* ci: remove deprecated always-auth npm config
Refs npm/cli@72a7eeb
* chore: update deb and rpm dependencies
* chore: update armhf rpm dependencies
* chore: update x64 debian dependencies
* chore: update x64 rpm dependencies
* chore: update electron@25.3.1
* chore: update electron@25.4.0
* chore: bump distro
* chore: bump distro
---------
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2023-08-07 21:46:27 +09:00
Connor Peet
ef8b1483fc
build: use new cli patch method ( #187629 )
2023-07-11 13:47:08 -07:00
Matt Bierner
debcf16fcd
Mangle exported symbols ( #182935 )
...
* Mangle exported functions
For #180461
This prototype tries to mangle exported functions, saving a further 440kb from the bundle size
* Fix missing call
* Also try mangling top level exported consts too
* Fixing errors
* Don't run on build files
* Skip a few more manglings and revert change to namespace
* Skip a few more monaco files
* Also mangle consts that shadow types
This increases savings up to 3325
* Also mangle exported classes
* Skip mangling more localization functions for now
* Opt out pfs
* Update build script
* Run find locations task in parallel
This should speed up compile
* Cleanup before close
* Limit workers to avoid hitting memory limit
* Limit pool size
* Skip one more mangling
* Exclude entrypoints from mangling
* Try to fix web build and clean up code
* Exempt a few more projects
* Exempt another file
* Also exempt html
* Skip mangling ext entrypoints
* Use prefix that can't be confused with rpc calls
* Fix max call stack error
* Switch prefixes
* Don't mangle ambient declarations
* Use correct way of checking modifier flags
* Workaround getCombinedModifierFlags not doing what I'd expect
Maybe needs the checker to be enabled too? Just check parent chain instead for now
* Clean up code and add logic showing how enum mangling could work
* Remove a few more skipMangles
Use entrypoints instead
* Fix entrypoint name
2023-06-13 08:18:05 +02:00
Connor Peet
42015fe01c
build: support structured toml patches to reduce build breakage ( #184201 )
...
Currently the Cargo.toml patches are git patches, but these can break
easily when surrounding lines are changed. Instead this lets us make
"Cargo.patch.toml" which gets a structured merge.
2023-06-02 12:09:16 -07:00
Martin Aeschlimann
f1258a5fbe
replace 'got' with 'node-fetch' ( #182629 )
...
replace 'got' with 'node-fetch' (for #182624 )
2023-05-17 06:20:31 +02:00
Martin Aeschlimann
899cdd5ace
remove request dependency ( #179149 )
...
* remove request dependency
* replace gulp-remote-retry-src in build scripts
* fix retry delay & polish
2023-04-05 16:05:16 +02:00
Martin Aeschlimann
e5c82ebdde
update azure dependencies ( #179141 )
2023-04-05 10:59:59 +02:00
Benjamin Pasero
f481836a89
🆙 esbuild@0.17.14
( #178664 )
2023-04-04 12:43:16 +02:00
Martin Aeschlimann
59608d3aee
Update webpack, css/file & style loaders ( #179008 )
2023-04-03 16:10:40 +02:00
João Moreno
aac80c3f0a
Adopt new distro format ( #178689 )
...
* Simplify distro
Also a ton of drive-by fixing around builds:
- simplified many oneliners
- fixed missing custom npm registry call setups
- remove unnecessary and duplicate work during builds
- many many fixes
2023-04-02 09:35:39 +02:00
João Moreno
c6fbb48ec4
Revert "Update webpack ( #177265 )"
...
This reverts commit e88eb65966
.
2023-03-17 18:55:15 +01:00
Martin Aeschlimann
e88eb65966
Update webpack ( #177265 )
...
* update webpack
* update `@types/webpack`
* update copy-webpack-plugin
* update @types/webpack in build
* fix compile error in @types/eslint
2023-03-17 15:07:05 +01:00
Connor Peet
314d7b6c47
debug: allow setting breakpoints in plain .js files ( #168921 )
...
* debug: allow setting breakpoints in plain .js files
Fixes #159684
* fixup! don't change sourceURLs in build
2023-01-06 09:22:46 +01:00
João Moreno
326876fa9e
bump vsce ( #168071 )
...
* bump vsce
* remainder
* use latest vsce
* compile build output
2022-12-22 17:00:21 +01:00
Benjamin Pasero
2ba046482d
bump esbuild@1.15.5
( #159533 )
...
bump esbuild
2022-08-30 12:52:31 +02:00
Matt Bierner
5e92794be6
Re-enable running our eslint rules using ts-node ( #159495 )
...
Resubmission of #157532 with the following changes:
- Use `eslint-plugin-local` instead of `yarn` link to run our plugins
- Move our plugins to a top level `.eslintplugin` dir (as required by `eslint-plugin-local`)
- Update all names to `local/`
2022-08-30 08:40:04 +02:00
Logan Ramos
d6114a70be
Remove app insights ( #154296 )
...
* Remove app insights
* Update product service to remove asimovKey
2022-07-06 22:23:30 -04:00
dependabot[bot]
909f841785
Bump got from 11.8.1 to 11.8.5 in /build ( #152788 )
...
Bumps [got](https://github.com/sindresorhus/got ) from 11.8.1 to 11.8.5.
- [Release notes](https://github.com/sindresorhus/got/releases )
- [Commits](https://github.com/sindresorhus/got/compare/v11.8.1...v11.8.5 )
---
updated-dependencies:
- dependency-name: got
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2022-06-26 19:27:42 +00: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
Benjamin Pasero
c6bd448948
debt - bring @types/mocha
up to date with version 9.x
2022-05-02 08:30:27 +02:00
Joao Moreno
2aa78c8cfb
bump gulp-shell
2022-04-13 16:07:12 +02:00
Connor Peet
5e86e40fab
extensions: pull from github in OSS build ( #146863 )
...
* extensions: pull from github in OSS build
* fixup! address pr comment
2022-04-10 22:36:12 -07:00
Joao Moreno
65a91b2bc6
⬆️ @azure/identity
2022-03-25 09:40:58 +01:00
Robo
5f09c54449
chore: replace plist with plutil ( #145392 )
2022-03-18 07:48:48 -07:00
Matt Bierner
f911411c46
Revert "Pick up new TS version for building VS Code"
...
This reverts commit cd522655a1
.
This breaks some of our build scripts. Needs more work
2022-03-15 10:06:22 -07:00
Matt Bierner
cd522655a1
Pick up new TS version for building VS Code
2022-03-15 09:53:01 -07:00
Robo
32d40cf44e
chore: update to electron 17 ( #143223 )
...
* chore: bump electron@17.0.0
* Revert "chore: revert to electron@13 (#143851 )"
This reverts commit df645f1450
.
* chore: bump electron@17.1.0
* Revert "ci: fix build with latest node-gyp"
This reverts commit c3e948aa30
.
* chore: revert ci changes for node v16
* chore: update yarn.lock
* chore: bump electron@17.1.1
2022-03-11 00:51:37 +09:00
Robo
df645f1450
chore: revert to electron@13 ( #143851 )
...
* Revert "chore: update to electron 16 (#137241 )"
This reverts commit 01df559c18
.
This reverts commit 46301339b7
* ci: fix remote compiler for sdl-scan
* chore: fix remote/.yarnrc
* chore: fix build/npm/postinstall.js
* chore: rm crash reporter from shared process
* chore: rm crash reporter from ext host
* chore: fix build/lib/layersChecker.ts
* :chore: preserve some more changes
* fix tests
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2022-02-24 17:49:49 +01:00
Robo
01df559c18
chore: update to electron 16 ( #137241 )
...
* chore: bump electron@15.3.0
* chore: bump node@16.x
* chore: enable render process reuse
* Revert "watcher - use `type` property for crash reporter location"
This reverts commit bfa488dd8f
.
* Revert "watcher - enable crash reports on linux (#136264 )"
This reverts commit af261488f8
.
* chore: enable crashpad on linux
* chore: bump electron@15.3.1
* chore: update api changes
* chore: bump @vscode/sqlite3@5.0.3
* spec: skip non-context aware module unittests
* chore: fix perf hook integration with node environment
* fix: adopt fs api changes
* chore: fix integration tests
* chore: bump electron@15.3.2
* chore: bump electron@16.0.0
* temp(macOS): kill test instances in OSS
* Revert "temp(macOS): kill test instances in OSS"
This reverts commit b0d796c8d64227a5ec012c060bbbee7d9da27568.
* chore: update chromium version for clang downloader
* some 💄 changes
* align with changes
* adopt more fs.rm
* 💄
* chore: bump @vscode/sqlite3@5.0.4
* fix layers check to account for duplicated types from node.js
* update todo for type casts
* smoke - fix compile issue
* chore: update module cache
* watcher - fix unhandled rejection (fix #137416 )
* ci: update node version
* enable stack dumping
* update electron types to 16.x
* chore: bump @vscode/sqlite3@5.0.5
Refs https://github.com/microsoft/vscode/issues/137496
* fix layer issue
* add `AbortSignal` to core types
* chore: update linux compile flags
Refs 797723ec83
* ci: fix linux build
* ci: update github ci cache
* ci: fix remote build in github ci
* ci: better fix for remote build
* chore: bump azure cache
* chore: fix merge conflict
* :chore: update to electron@16.0.2
* chore: bump @vscode/sqlite3@5.0.7
* ci: update to gcc-4.9 for remote
Refs https://github.com/microsoft/vscode/issues/137659
* ci: switch to buster for linux arm
Refs https://github.com/microsoft/vscode/issues/137927
* ci: fix build on linux arm64
* ci: fix arm client compiler toolchain
Refs #137927
* chore: bump electron@16.0.3
* ci: fix compile flags for the c toolchain
* chore: bump electron@16.0.4
* Add experimental dark mode flag (#139109 )
* Add experimental dark mode flag
* Apply PR feedback
* chore: bump electron@16.0.6
* chore: bump electron@16.0.7
Fixes https://github.com/microsoft/vscode/issues/138792
Fixes https://github.com/microsoft/vscode/issues/139300
* chore: experimental highlight API
* smoke - fix compile issue
* FIXME: custom ELECTRON_RUN_AS_NODE with node worker
* Revert "chore: bump electron@16.0.7"
This reverts commit 5fd01cf37c
.
* Revert "Revert "chore: bump electron@16.0.7""
This reverts commit a7f1b73951
.
* chore: fix github linux workflow
* chore: address review feedback
* chore: bump electron@16.0.8
* ci: revert to stretch distro for linux arm
Refs https://github.com/microsoft/vscode/issues/137927
* ci: force build
* chore: update yarn.lock
* address feedback
* Revert "FIXME: custom ELECTRON_RUN_AS_NODE with node worker"
This reverts commit 7b48fa3732
.
* ci: fix remote folder build
* chore: fix github linux ci
* 🆙 `versionSpec`
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Raymond Zhao <raymondzhao@microsoft.com>
2022-02-08 20:09:00 +01:00
Matt Bierner
870bbbfea4
Update typescript-eslint/experimental-utils
...
Fixes #141653
2022-01-27 12:08:26 -08:00
Alex Dima
f0c9dd6f86
Update scripts to point to tsc
one folder up
2022-01-27 17:41:26 +01:00
Matt Bierner
f30dba5430
Bumping eslint versions ( #141121 )
...
* hBumping eslint versions
- Bump eslint and typescript/eslint versions to latest
- Fixing `code-no-unused-expression` for `x?.(b);` type statements
- Fixed a few new semicolon errors from upgrade
* Bump eslint parser in build
* Fix eslint errors in d.ts
2022-01-26 16:29:14 -08:00
Benjamin Pasero
9be2757019
🆙 playwright@1.18
( #140767 )
...
* tests - use `@playwright/test@1.18.0-rc1`
* fix bad dependency
* clear more weird ts dependencies
2022-01-15 09:35:39 +01:00
Benjamin Pasero
eecbd962ef
debt - rename iconv-lite-umd
package ( #140650 )
2022-01-14 07:28:41 +01:00
Matt Bierner
a535507e06
Pull in new TS version for building VS Code
2022-01-10 15:28:07 -08:00
Matt Bierner
7e4ed924c1
Pick up new TS version for building VS Code
2022-01-05 14:06:11 -08:00