Commit Graph

272 Commits

Author SHA1 Message Date
dependabot[bot]
aaa3025b86 Bump tar from 7.5.10 to 7.5.11 in /build/npm/gyp (#300619)
Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.10 to 7.5.11.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v7.5.10...v7.5.11)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.11
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-11 09:32:19 -07:00
dependabot[bot]
e85cb66e53 Bump tar from 7.5.9 to 7.5.10 in /build/npm/gyp (#299352)
Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.9 to 7.5.10.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v7.5.9...v7.5.10)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.10
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-05 21:46:45 -08:00
Henning Dieterichs
a1ef9c86f2 fixes change detection in vscode-extras 2026-03-04 20:40:28 +01:00
Henning Dieterichs
06b198fdd9 improves npm cache logic 2026-03-03 15:16:52 +01:00
dependabot[bot]
a432b6a01d Bump minimatch from 9.0.5 to 9.0.9 in /build/npm/gyp (#298336)
Bumps [minimatch](https://github.com/isaacs/minimatch) from 9.0.5 to 9.0.9.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v9.0.5...v9.0.9)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-version: 9.0.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-02 09:29:01 +01:00
Henning Dieterichs
f85c0b3c83 improves npm caching (#298608) 2026-03-01 18:35:08 -08:00
Henning Dieterichs
5b7dafcb12 Add vscode-extras extension with npm up-to-date feature and related configurations (#298295) 2026-02-27 17:16:26 +00:00
dependabot[bot]
9a403498a8 Bump tar from 7.5.7 to 7.5.9 in /build/npm/gyp (#295930)
Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.7 to 7.5.9.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v7.5.7...v7.5.9)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-18 09:05:28 -08:00
dependabot[bot]
8936d7e785 Bump tar from 7.5.6 to 7.5.7 in /build/npm/gyp (#291362)
Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.6 to 7.5.7.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v7.5.6...v7.5.7)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-29 12:01:31 -08:00
Robo
9f5995dd3f ci: restore reliability of terrapin check (#291484)
* ci: remove continueOnError setting

* fix: misconfigured peerdepedency setting for subfolders during postinstall

* fix: restore package lock urls for reliable git check
2026-01-28 22:13:32 -08:00
Alex Ross
de6f371a92 Revert codicon change (#289683)
Revert "Copy codicons file as part of the build (#289411)"

This reverts commit 08d958aa2b.
2026-01-22 17:08:50 +00:00
Alex Ross
08d958aa2b Copy codicons file as part of the build (#289411)
* Copy codicons file as part of the build

Part of #283823

* Merge branch 'main' into alexr00/inadequate-skink

* Remove unneeded changes

* Add readme

* Merge branch 'main' into alexr00/inadequate-skink

* Error handling for copy

* Do copy for editor

* Merge branch 'main' into alexr00/inadequate-skink

* Bump codicon version
2026-01-22 15:57:44 +01:00
Raymond Zhao
6f6a479500 chore: bump tar (#289513) 2026-01-21 23:30:18 +00:00
Raymond Zhao
e03af17fbb Revert "Bump tar from 7.4.3 to 7.5.6 in /build/npm/gyp" (#289459)
Revert "Bump tar from 7.4.3 to 7.5.6 in /build/npm/gyp (#289415)"

This reverts commit 81f871e6aa.
2026-01-21 19:17:54 +00:00
dependabot[bot]
81f871e6aa Bump tar from 7.4.3 to 7.5.6 in /build/npm/gyp (#289415)
Bumps [tar](https://github.com/isaacs/node-tar) from 7.4.3 to 7.5.6.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v7.4.3...v7.5.6)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.6
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-21 09:41:48 -08:00
Benjamin Pasero
fe665a91f6 watcher - update to latest version (#286484) 2026-01-09 07:07:37 +01:00
Dmitriy Vasyura
c8fdd1650c Update TextMate grammars from upstream sources (#286560)
* Update TextMate grammars from upstream sources
* Fix integration test on Windows to run TypeScript file directly
* Baseline update
2026-01-08 16:24:04 +00:00
Benjamin Pasero
43b3987e74 debt - adopt @vscode/watcher with some newer fixes (#285247) 2025-12-29 03:57:05 -08:00
Raymond Zhao
41997d514d chore: npm audit fix (#279437)
* chore: npm audit fix

* chore: npm audit fix in extensions

* chore: npm audit fix in tests

* Catch last few
2025-11-25 20:29:09 +00:00
Matt Bierner
e779f86b17 Build script cleanup
For #277526

Quick cleanup pass after converting these scripts
2025-11-24 14:07:28 -08:00
Matt Bierner
72eee73887 Convert npm scripts to ts
For #277526

Converting last of the main build scripts to typescript
2025-11-24 11:05:23 -08:00
dependabot[bot]
6ab096b474 Bump glob from 10.4.5 to 10.5.0 in /build/npm/gyp (#278273)
Bumps [glob](https://github.com/isaacs/node-glob) from 10.4.5 to 10.5.0.
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v10.4.5...v10.5.0)

---
updated-dependencies:
- dependency-name: glob
  dependency-version: 10.5.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24 11:53:24 +01:00
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
Henning Dieterichs
a335d51f66 Adds hot reload launch config (#277123)
* Adds hot reload launch config

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2025-11-21 11:18:47 +01:00
Matt Bierner
c2a92e5eec Get required node version from nvmrc
This makes sure the preinstall check stays in sync with the nvmrc file
2025-11-13 23:27:01 -08:00
Robo
f2531f1c56 chore: update to Electron 39 (#275786)
* chore: bump electron@39.0.0

* chore: update build

* chore: bump distro

* chore: update debian deps

* chore: exclude dlls from symbol scan

* chore: test with patch v8 headers

* chore: bump rpm dependencies

* chore: cleanup preinstall.js

* chore: bump electron@39.1.1

* chore: remove unsupported FontationsLinuxSystemFonts feature flag

* chore: bump electron@39.1.2

* chore: update nodejs build

* temp: update distro

* ci: fix location of preinstall invocation

* chore: bump distro
2025-11-13 08:25:14 +00:00
Henning Dieterichs
b6b78218fe adds monaco editor playground launch config 2025-11-11 18:32:36 +01:00
Matt Bierner
d2af782f2e Fix terminal-suggest not running npm install 2025-10-13 13:31:58 -07:00
João Moreno
d5b7cbacce fix alpine builds (#268164)
* fix alpine builds

make sure npmrc file is available in docker env

* bust cache

* Revert "bust cache"

This reverts commit 341112e426.
2025-09-24 13:58:54 +00:00
João Moreno
5a1b2a7929 use correct nodejs version, even in musl environments (#268116) 2025-09-24 09:11:29 +00:00
Matt Bierner
36713d57bf Merge branch 'main' into dev/mjbvz/mermaid-core 2025-09-22 12:44:19 -07:00
Tyler James Leonhardt
b20a91e37a Add data prompt (#267543)
For querying telemetry data. Uses the Azure MCP Server's kusto tool.
2025-09-19 16:00:11 -07:00
Matt Bierner
c7e7a779e8 Add basic mermaid rendering support in core
For #257761

Ports over extension sample + a few improvements to core
2025-09-10 18:22:39 -07:00
Copilot
966ec14154 Improve error message for Visual Studio detection in build process (#262879)
* Initial plan

* Improve Visual Studio detection for custom installation paths

Co-authored-by: deepak1556 <964386+deepak1556@users.noreply.github.com>

* chore: cleanup

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: deepak1556 <964386+deepak1556@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com>
2025-09-01 23:32:21 +00:00
Tyler James Leonhardt
bc9eaa3315 Install deps in mcp (#262591)
Gotta do this.
2025-08-20 22:31:55 +00:00
Matt Bierner
e51d57aa5c Update target for build and test scripts 2025-08-04 17:28:08 -07:00
Robo
eee3294912 build: update preinstall check for node@22.15.1 (#253248) 2025-07-01 13:13:53 +02:00
Robo
5e8f6f2bb4 chore: use node-gyp from build dir for the project (#250981)
* chore: bump node-gyp on windows to 11.2.0

improves reliability of builds on windows

includes https://github.com/nodejs/node-gyp/pull/3113 and https://github.com/nodejs/node-gyp/pull/3112

* use preinstalled node-gyp

* use bundled node-gyp for subdirs too

* chore: revert changes to package-lock.json

* chore: rebuild package-lock.json

* ci: rebuild cache

---------

Co-authored-by: Aman Karmani <aman@tmm1.net>
2025-06-09 17:53:41 +09:00
Robo
12326f9906 chore: update to Electron 35 (#245423)
* chore: bump electron@35.0.1

* chore: update types/node@22.x

* chore: update web types for node v22.x

* chore: bump electron@35.1.2

* chore: update node.js build

* chore: update app.dock usage

Refs 71f3ff6bf2

* chore: bump electron@35.1.4

* chore: bump electron@35.1.5

* ci: bump sysroot to glibc 2.28 and gcc 10.5.0

* ci: enable timeout for smoketests

* chore: bump min glibcxx to 3.4.26 for server

* Revert "ci: enable timeout for smoketests"

This reverts commit afb637e85d.

* chore: update debian dependencies

* fix: workaround npm.ps1 argument parsing with powershell

* chore: update rpm dependencies

* test: partially revert changes from 242535

* test: remove redudant keybinding dispatch for selectTab

* test: fix test failure from running configured tasks

* test: focus settings editor for preferences.test.ts

* node - adopt compile cache (#246835)

* node - adopt compile cache

* adopt for utility process

* tweaks

* log state of compilation cache

* Revert "log state of compilation cache"

This reverts commit f3840387a583013834762e2c44f6e8424929297f.

* Revert "node - adopt compile cache (#246835)"

This reverts commit 673a00cab66c9bac87f3cd27b80efa41c80150f1.

* chore: update builds

* chore: bump electron@35.2.0

* chore: bump electron@35.2.1

* chore: bump electron@35.2.2

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2025-05-09 19:03:36 +09:00
Robo
7933f52914 fix: clang variable for native module installs from build dir (#242601) 2025-03-04 21:19:05 +01:00
Aaron Munger
3e048f17b0 Provide error message when it looks like node arch does not match the system (#239364) 2025-01-31 12:44:55 -08:00
Christof Marti
da4fcc54ac @vscode/proxy-agent 0.29.0 2025-01-09 17:12:10 +01:00
Benjamin Pasero
679a9f1ace 🆙 @parcel/watcher@2.5.0 (#235710) 2024-12-11 09:19:48 +01:00
Alex Ross
e6f2cc2f0a Add an easy way to run performance tests for tree-sitter (#233072)
* Add an easy way to run performance tests for tree-sitter
Part os #210475

* Compile build folder
2024-11-05 15:35:58 +01:00
Robo
804f450ca9 fix: remote folder compilation on macOS with node.js v20.18.0 (#231928)
* fix: remote folder compilation on macOS with node.js v20.18.0

* chore: update debian deps

* chore: update rpm deps
2024-10-22 15:26:13 +02:00
Robo
e178455531 ci: check for clean git state in npm validation (#230479) 2024-10-04 11:04:18 -07:00
Robo
8422282f04 chore: update to Electron 32 (#218245)
* chore: update electron@31.0.1

* chore: bump electron@31.1.0

* chore: update sysroot download url

* chore: bump electron@31.3.0

* chore: update rpm deps for arm64

* chore: bump electron@31.4.0

* chore: bump electron@32.0.0

* fix: compile stage

* fix: install on windows

* fix: override node-addon-api to support c++20 with gcc-11

Brings in fed13534c5
to support compilation with gcc>=11

* ci: use gnu++2a for gcc <=9

* ci: fix sdl pipeline

* ci: web stage

* ci: fix alpine stage

* ci: fix legacy server stage

* fix: node-addon-api resolution for remote

* ci: fix legacy arm stage

* chore: sync npm dependencies

* chore: bump electron@32.0.1

* ci: fix monaco editor checks

* ci: fix legacy server stage

* ci: possible concurrent execution

* ci: use foreground scripts on windows

* chore: bump electron@32.0.2

* fix: compilation

Refs 204011c3f2

* Revert "wco - hardcode devtools location on Linux (#227084)"

This reverts commit dfb96d11d3.

* chore: bump electron@32.1.2

* ci: remove workaround for missing c++20 flags

* ci: use gnu++2a for gcc <=9

* chore: bump distro

* ci: use gnu++17 for legacy arm servers

* fixup! override node-addon-api to support c++20 with gcc-11

Scope to only the affected package versions

* chore: bump @vscode/policy-watcher

* chore: bump @vscode/sqlite3

* chore: bump node.js v20.17.0

* chore: bump distro

* chore: update @vscode/windows-ca-certs

* chore: update builds for electron@32.1.2

* chore: bump distro

* chore: bump dependencies

* ci: fix arm legacy servers
2024-10-04 19:19:06 +09:00
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
9b29e85e0c fix: install scripts for windows arm64 target (#225629) 2024-08-14 18:17:39 -07:00
Rob Lourens
57c57f2ffc Support VS IntPreview in yarn (#224317) 2024-07-30 10:16:44 -07:00