Skip to content

Commit

Permalink
chore: add .devcontainer (#1633)
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 authored Sep 15, 2023
1 parent 058bacf commit cb2034c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// https://code.visualstudio.com/docs/devcontainers/containers
// https://containers.dev/implementors/json_reference/
{
"name": "nitro-devcontainer",
"forwardPorts": [3000],
"image": "node:18",
"features": {},
"customizations": {
"vscode": {
"settings": {},
"extensions": [
"ms-azuretools.vscode-docker",
"dbaeumer.vscode-eslint",
"github.vscode-github-actions",
"esbenp.prettier-vscode"
]
}
},
"postStartCommand": "corepack enable && pnpm install",
"mounts": ["type=volume,target=${containerWorkspaceFolder}/node_modules"]
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,5 @@ staticwebapp.config.json
playground/firebase.json

test/fixture/functions

.pnpm-store

0 comments on commit cb2034c

Please sign in to comment.