chore: Add vscode devcontainer
This commit is contained in:
parent
7160613349
commit
3e33579947
5 changed files with 64 additions and 3 deletions
29
.devcontainer/devcontainer.json
Normal file
29
.devcontainer/devcontainer.json
Normal file
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"name": "Node",
|
||||
"build": {
|
||||
"dockerfile": "../Dockerfile",
|
||||
"context": "..",
|
||||
"args": {
|
||||
"NODE_VERSION": "12.18.1"
|
||||
}
|
||||
},
|
||||
|
||||
// Set *default* container specific settings.json values on container create.
|
||||
"settings": {
|
||||
"terminal.integrated.shell.linux": "/bin/bash"
|
||||
},
|
||||
|
||||
// Add the IDs of extensions you want installed when the container is created.
|
||||
"extensions": [
|
||||
"editorconfig.editorconfig"
|
||||
],
|
||||
|
||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||
// "forwardPorts": [],
|
||||
|
||||
// Use 'postCreateCommand' to run commands after the container is created.
|
||||
"postCreateCommand": "npm ci",
|
||||
|
||||
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
|
||||
// "remoteUser": "vscode"
|
||||
}
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -4,3 +4,4 @@ coverage
|
|||
.eslintcache
|
||||
.env
|
||||
node_modules
|
||||
.vscode/settings.json
|
||||
|
|
19
.vscode/extensions.json
vendored
Normal file
19
.vscode/extensions.json
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"recommendations": [
|
||||
"ms-vscode-remote.vscode-remote-extensionpack",
|
||||
"ms-azuretools.vscode-docker",
|
||||
"bungcip.better-toml",
|
||||
"editorconfig.editorconfig",
|
||||
"lfs.vscode-emacs-friendly",
|
||||
"donjayamanne.githistory",
|
||||
"github.vscode-pull-request-github",
|
||||
"eamodio.gitlens",
|
||||
"oderwat.indent-rainbow",
|
||||
"yzhang.markdown-all-in-one",
|
||||
"shd101wyy.markdown-preview-enhanced",
|
||||
"christian-kohler.path-intellisense",
|
||||
"satokaz.vscode-bs-ctrlchar-remover",
|
||||
"visualstudioexptteam.vscodeintellicode",
|
||||
"esbenp.prettier-vscode"
|
||||
]
|
||||
}
|
15
.vscode/launch.json
vendored
Normal file
15
.vscode/launch.json
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.1.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"name": "Node (Integrated Terminal)",
|
||||
"program": "${workspaceFolder}/src/index.ts",
|
||||
"console": "integratedTerminal"
|
||||
}
|
||||
]
|
||||
}
|
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"git.ignoreLimitWarning": true
|
||||
}
|
Loading…
Reference in a new issue