mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
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.
|
||||
!deps/**/.*
|
||||
!.devcontainer/
|
||||
!.devcontainer/.devcontainer.json
|
||||
!test/fixtures/**/.*
|
||||
!.clang-format
|
||||
!.cpplint
|
||||
|
Loading…
Reference in New Issue
Block a user