meta: update devcontainer to the latest schema

PR-URL: https://github.com/nodejs/node/pull/54347
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Aviv Keller 2025-08-23 10:20:51 -04:00 committed by GitHub
parent 0fab11805f
commit 19d2cee62c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 26 additions and 20 deletions

25
.devcontainer.json Normal file
View File

@ -0,0 +1,25 @@
{
"name": "Node.js Core Developer Environment",
"runArgs": [
"--platform=linux/amd64"
],
"customizations": {
"vscode": {
"extensions": [
"github.vscode-pull-request-github",
"ms-vsliveshare.vsliveshare",
"vscode-icons-team.vscode-icons",
"visualstudioexptteam.vscodeintellicode"
],
"settings": {
"terminal.integrated.profiles.linux": {
"zsh (login)": {
"path": "zsh",
"args": ["-l"]
}
}
}
}
},
"image": "nodejs/devcontainer:nightly"
}

View File

@ -1,18 +0,0 @@
{
"name": "Node.js Core Developer Environment",
"extensions": [
"github.vscode-pull-request-github",
"ms-vsliveshare.vsliveshare",
"vscode-icons-team.vscode-icons",
"visualstudioexptteam.vscodeintellicode"
],
"image": "nodejs/devcontainer:nightly",
"settings": {
"terminal.integrated.profiles.linux": {
"zsh (login)": {
"path": "zsh",
"args": ["-l"]
}
}
}
}

3
.gitignore vendored
View File

@ -7,8 +7,7 @@
.*
# Exclude specific dotfiles that we want to track.
!deps/**/.*
!.devcontainer/
!.devcontainer/.devcontainer.json
!.devcontainer.json
!test/fixtures/**/.*
!.clang-format
!.cpplint