build: add devcontainer configuration
PR-URL: https://github.com/nodejs/node/pull/40825 Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
595b2b3fd2
commit
0c5f253339
19
.devcontainer/.devcontainer.json
Normal file
19
.devcontainer/.devcontainer.json
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"name": "Node.js Core Developer Environment",
|
||||||
|
"extensions": [
|
||||||
|
"github.vscode-pull-request-github",
|
||||||
|
"ms-vsliveshare.vsliveshare",
|
||||||
|
"vscode-icons-team.vscode-icons",
|
||||||
|
"visualstudioexptteam.vscodeintellicode"
|
||||||
|
],
|
||||||
|
"dockerFile": "Dockerfile",
|
||||||
|
"initializeCommand": "docker system prune -f -a",
|
||||||
|
"settings": {
|
||||||
|
"terminal.integrated.profiles.linux": {
|
||||||
|
"zsh (login)": {
|
||||||
|
"path": "zsh",
|
||||||
|
"args": ["-l"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
1
.devcontainer/Dockerfile
Normal file
1
.devcontainer/Dockerfile
Normal file
@ -0,0 +1 @@
|
|||||||
|
FROM nodejs/devcontainer:nightly
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -7,6 +7,8 @@
|
|||||||
.*
|
.*
|
||||||
# Exclude specific dotfiles that we want to track.
|
# Exclude specific dotfiles that we want to track.
|
||||||
!deps/**/.*
|
!deps/**/.*
|
||||||
|
!.devcontainer/
|
||||||
|
!.devcontainer/.devcontainer.json
|
||||||
!test/fixtures/**/.*
|
!test/fixtures/**/.*
|
||||||
!.clang-format
|
!.clang-format
|
||||||
!.cpplint
|
!.cpplint
|
||||||
|
Loading…
x
Reference in New Issue
Block a user