Skip to content

Commit

Permalink
feat: vscode dev container support (#195)
Browse files Browse the repository at this point in the history
* Dev container config

* dev container
  • Loading branch information
ilteoood authored Nov 29, 2022
1 parent f036d0d commit 4c82422
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM node:lts-alpine

RUN apk add git && npm i -g npm pnpm
22 changes: 22 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "lyra devcontainer",
"extensions": [
"esbenp.prettier-vscode",
"usernamehw.errorlens",
"dbaeumer.vscode-eslint",
"yzhang.markdown-all-in-one",
"christian-kohler.path-intellisense",
"pflannery.vscode-versionlens",
"ms-azuretools.vscode-docker"
],
"build": {
"dockerfile": "Dockerfile"
},
"waitFor": "onCreateCommand",
"updateContentCommand": "pnpm install",
"customizations": {
"codespaces": {
"openFiles": ["CONTRIBUTING.md", "README.md"]
}
}
}

0 comments on commit 4c82422

Please sign in to comment.