Commit graph

180 commits

Author SHA1 Message Date
Robo b5a6aa14a8
feat: switch to npm as default package manager (#226927)
* feat: move from yarn to npm

* chore: skip yarn.lock files

* fix: playwright download

* chore: fix compile and hygiene

* chore: bump vsce@2.17.0

Refs 8b49e9dfdf

* test: update results for bat and sh colorizer tests

* fix: add missing lock files for windows

* fix: switch to legacy-peer-deps

* chore: update markdown-it@14.1.0

Refs 737c95a129

esbuild step in extensions-ci-pr was previously using markdown-it
from root which had userland punycode and was able to compile successfully.

* ci: increase pr timeout for windows integration tests

* chore: fix product build

* build: ignore extension dev dependency for rcedit

* build: fix working directory inside container

* build: fix dependency generation

* npm: update dependencies

* ci: use global npmrc

* ci: update cache

* ci: setup global npmrc for private npm auth

* build: fix extension bundling

* chore: sync npm dependencies

* ci: debug env variables for container

* ci: fix win32 cli pipeline

* build: fix npmrc config usage for build/ and remote/ dirs

* fix: windows build

* fix: container builds

* fix: markdown-language-features tests and bundling

```
[03:58:22] Error: Command failed: /Users/demohan/.nvm/versions/node/v20.15.1/bin/node /Users/demohan/github/vscode/extensions/markdown-language-features/esbuild-notebook.js --outputRoot /Users/demohan/github/vscode/.build/extensions/markdown-language-features
✘ [ERROR] Could not resolve "punycode"

    extensions/markdown-language-features/node_modules/markdown-it/lib/index.js:14:27:
      14 │ var punycode     = require('punycode');
         ╵                            ~~~~~~~~~~

  The package "punycode" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
```

Adds userland package based on beed9aee2c

* fix: container builds for distro

* chore: update yarn occurrences

* fixup! chore: bump vsce@2.17.0

Uses the closest version to `main` branch that does not
include d3cc84cdec
while still having the fix 8b49e9dfdf

* chore: sync npm dependencies

* chore: sync npm dependencies

* chore: sync npm dependencies

* chore: throw error when yarn is used for installation

* chore: add review feedback

* chore: switch exec => run where needed

* chore: npm sync dependencies

* fix: markdown-language-features bundling

```
✘ [ERROR] Could not resolve "punycode"

    extensions/markdown-language-features/node_modules/markdown-it/lib/index.js:14:27:
      14 │ var punycode     = require('punycode');
         ╵                            ~~~~~~~~~~

  The package "punycode" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
```

Adds missing userland package based on markdown-it/markdown-it@beed9ae,
can be removed once we update markdown-it >= 14.1.0

* ci: rename no-yarn-lock-changes.yml

* chore: sync npm dependencies

* ci: restore no-yarn-lock-changes.yml

We can disable it in a separate PR to keep the required
checks happy and also need workflow edit perms.

* chore: sync npm dependencies

* ci: rebuild cache

* ci: fix no-package-lock-changes.yml

* chore: bump distro

* chore: rm yarn.lock files

* chore: rm yarn.lock files without dependencies

* chore: add vscode-selfhost-import-aid to postinstall dirs

* chore: bump distro
2024-09-06 22:18:02 +09:00
Robo 46b8004c31
chore: update electron@30.4.0 (#226594)
* chore: update electron@30.4.0

* chore: bump distro
2024-08-26 12:30:43 +02:00
Robo af676cd8b0
Revert "chore: update electron@30.4.0 (#226385)" (#226426)
* Revert "chore: update electron@30.4.0 (#226385)"

This reverts commit 598184c50e.

* chore: bump distro
2024-08-23 15:58:43 +02:00
Robo 598184c50e
chore: update electron@30.4.0 (#226385)
* chore: update electron@30.4.0

* chore: bump distro
2024-08-23 08:03:49 +02:00
Robo 00427fda20
chore: update electron@30.3.1 (#225106)
* chore: update electron@30.3.1

* temp: update distro

* chore: update node.js builds

* temp: update distro

* temp: revert node-pty

* Revert "temp: revert node-pty"

This reverts commit e834f75959ffd0078708db764457e05ec0f3b6b6.

* temp: test with oss electron

* chore: update node.js checksums

* Revert "temp: test with oss electron"

This reverts commit 18506aaa82b2cf44e4b5780eac1b929bbf98ac11.

* temp: disable sandbox for smoke tests

* Revert "temp: disable sandbox for smoke tests"

This reverts commit 8596ef5fcc776cc9a14b4546f9e448ccba2acbad.

* test: skip icon validation task smoke tests

* chore: bump distro
2024-08-09 23:44:42 +00:00
Robo 56bfd21a7c
Revert "chore: bump electron@30.2.0 (#222756)" (#223494)
* Revert "chore: bump electron@30.2.0 (#222756)"

This reverts commit 6c199b09f8.

* chore: bump distro
2024-07-24 06:49:38 -07:00
Robo 6c199b09f8
chore: bump electron@30.2.0 (#222756)
* chore: bump electron@30.2.0

* chore: update build for node.js v20.15.0

* chore: bump distro
2024-07-22 08:24:55 -07:00
Robo cf08702ebb
fix: prompt auth dialog for basic requests from utility process (#221552)
* fix: prompt auth dialog for basic requests from utility process

* chore: bump distro
2024-07-12 18:08:15 -07:00
Robo 2fe0527205
chore: update to electron 30 (#215406)
* chore: update electron@30.0.9

* chore: update rpm deps

* chore: bump electron@30.1.2

* fix: update kerberos for Node.js 20.x

Refs c1f7acafb2

* fix: use shell when spawning .bat or .cmd files

Refs https://github.com/nodejs/node/commit/6627222409

* fix: update @vscode/test-electron@2.4.0

Refs 3f7a3cc5c5

* fixup! use shell when spawning .bat or .cmd files

* chore: bump nodejs@20.14.0 internal build

* ci: skip nodejsMirror for 20.14.0 due to missing builds

* fixup! use shell when spawning .bat or .cmd files

* chore: update debian deps

* fixup! skip nodejsMirror for 20.14.0 due to missing builds

* fix: universal build

- Updates vscode-universal-bundler to support x64ArchFiles option
- Kerberos starts building universal binaries which should now be
  skipped from lipo step via x64ArchFiles
- Skips bundling *.mk files

* chore: bump distro
2024-07-09 14:33:22 +09:00
Robo 4b19907cc8
fix[x11]: crash in gpu process with software compositor (#216661)
* fix[x11]: crash in gpu process with software compositor

* chore: bump distro
2024-06-20 07:02:04 +02:00
Robo 28ebd9176f
chore: bump electron@29.4.0 (#213050)
* chore: bump electron@29.4.0

* chore: remove io_uring workaround

* chore: bump distro

* chore: update dialog result for canceled save dialogs

Refs fe01ed750a

* chore: add back io_uring workaround for remote oss tests

* chore: update nodejs v20.9.0 build

* chore: add back io_uring workaround for remote tests
2024-05-20 08:31:44 -07:00
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 6f287b276e
chore: bump electron@28.2.8 (#208868)
* chore: bump electron@28.2.8

* chore: bump distro
2024-03-27 08:47:13 +01:00
Robo 6c1e897687
chore: update electron@28.2.6 (#207388)
* chore: update electron@28.2.6

* chore: update distro
2024-03-12 08:42:05 +01:00
Robo 069f4d91f3
chore: bump electron@28.2.5 (#206822)
* chore: bump electron@28.2.5

* chore: bump distro
2024-03-04 19:56:04 +01:00
Robo 974c6b3fb9
chore: update to electron 28 (#203956)
* chore: update electron@28.1.4

* ci: use latest Node.js v18 release

18.18.2 has npm version that has removed the node-gyp script
which will cause native modules fail to build that rely on
something like `install: node-gyp rebuild`

Refs c93edb55f5

* chore: update rpm dependencies

* chore: bump electron@28.2.1

* chore: bump nodejs@18.18.2

* chore: bump electron@28.2.2

* chore: bump distro
2024-02-26 12:11:47 +01:00
Robo 983a3bc0ae
chore: bump electron@27.3.2 (#204960)
* chore: bump electron@27.3.2

* chore: bump distro
2024-02-12 06:42:48 +01:00
Robo 926d4e5fd1
chore: update electron@27.3.1 (#204580)
* chore: update electron@27.3.1

* chore: bump distro
2024-02-07 12:08:06 +01:00
Robo cc6f22bf75
chore: update builds for electron@27.2.3 (#203346)
* chore: update builds for electron@27.2.3

* chore: bump distro
2024-01-24 17:49:21 +01:00
Robo 39fe2dab67
chore: bump electron@27.2.3 (#202771)
* chore: bump electron@27.2.3

* chore: bump distro
2024-01-22 20:25:03 +01:00
Robo fb76955440
chore: update electron@27.2.1 (#202053)
* chore: bump electron@27.2.1

* chore: enable code cache support for custom standard schemes

Refs 267cbc841e

* chore: remove --ms-enable-electron-run-as-node

Removed in favor of f842ead6bc

* chore: update distro
2024-01-09 08:33:34 +01:00
Robo 12fece34ed
chore: update to electron 27 (#197539)
* chore: update electron@27.0.2

* chore: update debian dependencies

* chore: bump electron@27.0.4

* chore: bump electron@27.1.0

* chore: bump electron@27.1.3

* chore: bump distro
2023-12-07 10:48:24 +01:00
Robo ef804e738b
chore: update electron@25.9.7 (#199854)
* chore: update electron@25.9.7

* chore: bump distro
2023-12-02 08:17:36 -07:00
Robo b4ab48bcf2
chore: update builds for electron@25.9.6 (#199727)
* chore: update builds for electron@25.9.6

* chore: bump distro
2023-12-01 07:24:42 +01:00
Robo 83ba577c3f
chore: bump electron@25.9.6 (#199179) 2023-11-27 17:45:25 +01:00
Robo e49ea372a1
chore: update electron@25.9.4 (#198142)
* chore: update electron@25.9.4

* chore: bump distro
2023-11-13 20:44:42 +01:00
João Moreno 2c973350c5
chore: bump electron@25.9.2 (#196249)
* chore: bump electron@25.9.2

* chore: bump distro

* install setuptools

https://github.com/nodejs/node-gyp/issues/2915
2023-10-23 14:43:33 +02:00
Robo c6482f7f4b
chore: bump electron@25.9.1 (#195755)
* chore: bump electron@25.9.1

* chore: bump distro
2023-10-17 08:31:39 +02:00
João Moreno 318f421af3
chore: bump electron@25.8.4 (#194488) 2023-09-29 16:48:48 +01:00
Robo a556eb6abb
chore: bump electron@25.8.2 (#193798)
* chore: bump electron@25.8.2

* chore: bump distro
2023-09-22 15:51:59 +01:00
Robo 7b0ae6cf9d
chore: bump electron@25.8.1 (#193060)
* chore: bump electron@25.8.1

* chore: bump distro
2023-09-14 04:47:41 +01:00
Robo 5f7b620db8
chore: bump electron@25.8.0 (#191905)
* chore: bump electron@25.8.0

* chore: update internal build id

* chore: bump distro
2023-09-01 08:32:05 +02:00
Robo 35be9bf683
chore: update electron@25.7.0 (#191282)
* chore: update electron@25.7.0

* chore: update internal build id

* chore: bump distro
2023-08-30 06:03:40 +02:00
Robo 6d939f466e
chore: bump electron@25.5.0 (#190490)
* chore: bump electron@25.5.0

* chore: bump distro
2023-08-15 17:31:11 +01:00
Robo 6dd6bdfb00
chore: update Electron v25.4.0 (#189904)
* chore: some cleanups from the Electron v25 update

* chore: update Electron@25.4.0

* chore: update issue reference

* chore: bump distro
2023-08-09 11:30:08 +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
Robo 6d355a1ed5
chore: update electron@22.3.18 (#189049)
* chore: update electron@22.3.18

* chore: bump distro
2023-07-27 15:22:42 +01:00
Robo 53e7651c52
chore: update electron@22.3.17 (#188272)
* chore: update electron@22.3.17

* chore: bump distro
2023-07-19 08:30:17 -07:00
Robo 6067bb4ebe
chore: bump electron@22.3.14 (#185983)
* chore: bump electron@22.3.14

* chore: bump distro
2023-06-23 15:43:02 +02:00
Robo 4dac9b530d
chore: bump electron@22.3.13 (#185687)
* chore: bump electron@22.3.13

* chore: bump distro
2023-06-20 18:55:16 +02:00
Robo 8fb5ea0142
feat: use custom tag instead of custom version for MS electron releases (#181309)
* feat: use custom tag instead of custom version for MS electron releases

* chore: bump @vscode/gulp-electron

* chore: move build id to .yarnrc

* chore: rename enableUNCAccessChecks => restrictUNCAccess

* chore: update electron@22.3.11

* chore: add build info to about dialog

* chore: simplify helper function

* chore: remove unused node.js checksums

* chore: bump nodejs internal version

* chore: bump distro

* fix: revert changes to sign.ts

* chore: bump distro
2023-06-17 03:03:35 +02:00
Robo ced29a4346
chore: update electron@22.3.10 (#183116) 2023-05-22 16:34:36 +02:00
Robo a24f964ea1
Revert "chore: update electron@22.4.6 (#179947)" (#179991)
This reverts commit 316995c8b6.
2023-04-14 18:37:17 +01:00
Robo 316995c8b6
chore: update electron@22.4.6 (#179947) 2023-04-14 09:45:30 +01:00
Robo 34c8b46830
chore: bump electron@22.3.5 (#179357) 2023-04-06 09:16:54 +02:00
Robo e5f61433b5
chore: update to Electron 22 (#177600)
* Revert "chore: revert to Electron 19 (#175851)"

This reverts commit 3a11b47eee.

* chore: bump electron@22.3.3

* build: use custom version for V8 sandbox

* chore: update electron@22.4.1

* chore: enable forceAllocationsToV8Sandbox for extension host

* chore: bump electron@22.4.2

* chore: bump electron@22.4.3

* sandbox - cleanup from electron 22 update (#178919)

* Revert "chore: revert to Electron 19 (#175851)"

This reverts commit 3a11b47eee.

* chore: bump electron@22.3.3

* build: use custom version for V8 sandbox

* chore: update electron@22.4.1

* chore: enable forceAllocationsToV8Sandbox for extension host

* chore: bump electron@22.4.2

* chore: bump electron@22.4.3

* temp: update distro

* sandbox - cleanup from electron 22 update

* missing comile

* more changes

* fix build

* restore

* 💄

* compile

---------

Co-authored-by: deepak1556 <hop2deep@gmail.com>

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2023-04-03 09:09:31 +02:00
Robo 3a11b47eee
chore: revert to Electron 19 (#175851)
* Revert "Update to min supported version of node (#175723)"

This reverts commit f749e6be2d.

* Revert "chore: update min node version for development (#175663)"

This reverts commit f2a822fbe9.

* Revert "electron 22 sandbox - enable for OSS (#175659)"

This reverts commit 2551af21f8.

* Revert "chore: update to Electron 22 (#166430)"

This reverts commit 6e85d2b51e.
2023-03-02 02:58:46 -08:00
Robo 6e85d2b51e
chore: update to Electron 22 (#166430)
* chore: bump electron@22.0.0-beta.5

* chore: bump electron@22.0.0-beta.7

* chore: update libc++ flags

* chore: switch to c++17

* chore: bump electron@22.0.0

* chore: bump electron@22.0.2

* chore: cleanup build config for linux

* chore: update debian dependencies

* chore: update rpm dependencies

* chore: update electron@22.0.3

* chore: bump electron@22.2.0

* chore: remove deprecated utility process invoker

* chore: bump electron@22.2.1

* chore: remove unused methods

* chore: update internal electron version

* chore: bump electron@22.3.0

* temp: update electron with default PGO

* chore: bump electron@22.3.1

* cleanup

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2023-02-28 07:04:00 -08:00
Robo f807491a92
chore: update electron@19.1.9 (#170879) 2023-01-09 18:34:53 +01:00
Robo 9908b3d5ae
chore: update electron@19.1.8 (#167677) 2022-11-29 18:28:23 -08:00