Skip to content

Commit

Permalink
chore: add .devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Oct 3, 2023
1 parent 5dda5d3 commit b8f9fd3
Show file tree
Hide file tree
Showing 2 changed files with 22 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"]
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ dist
.vscode
.nuxt
nuxt-app
.pnpm-store

0 comments on commit b8f9fd3

Please sign in to comment.