Skip to content

Commit

Permalink
Split devcontainer into frontend and file
Browse files Browse the repository at this point in the history
  • Loading branch information
berrydenhartog committed Jun 26, 2024
1 parent 9fd2c22 commit 987fdf2
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Ubuntu",
"name": "File",
"image": "mcr.microsoft.com/devcontainers/python:3.11",
"postCreateCommand": "sudo apt install jq && pip install -r requirements.txt",
"customizations": {
Expand All @@ -18,5 +18,4 @@
}
}
}
}

}
40 changes: 40 additions & 0 deletions .devcontainer/frontend/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"name": "Frontend",
"image": "mcr.microsoft.com/devcontainers/javascript-node:20",
"forwardPorts": [
5173
],
"postCreateCommand": "cd frontend; npm install",
"customizations": {
"vscode": {
"extensions": [
"editorconfig.editorconfig",
"streetsidesoftware.code-spell-checker",
"mhutchie.git-graph",
"ms-vsliveshare.vsliveshare",
"Vue.volar",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
],
"settings": {
"editor.formatOnPaste": false,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.renderWhitespace": "boundary",
"files.trimTrailingWhitespace": true,
"terminal.integrated.inheritEnv": true,
"debug.toolBarLocation": "commandCenter",
"terminal.integrated.profiles.linux": {
"zsh": {
"path": "/usr/bin/zsh"
}
},
"terminal.integrated.defaultProfile.linux": "zsh",
"editor.codeActionsOnSave": {
"source.fixAll": "explicit"
},
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
}
}
11 changes: 11 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"recommendations": [
"editorconfig.editorconfig",
"streetsidesoftware.code-spell-checker",
"mhutchie.git-graph",
"Vue.volar",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"redhat.vscode-yaml"
]
}

0 comments on commit 987fdf2

Please sign in to comment.