feat: use devconatiner

This commit is contained in:
Jacky 2025-02-03 14:41:16 +08:00
parent 68a425b3d3
commit 00f4855dce
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
25 changed files with 520 additions and 119 deletions

48
.vscode/tasks.json vendored Normal file
View file

@ -0,0 +1,48 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Start Backend",
"type": "shell",
"command": "air",
"isBackground": true,
"presentation": {
"panel": "new"
},
"problemMatcher": []
},
{
"label": "Start Frontend",
"type": "shell",
"command": "cd app && pnpm dev",
"isBackground": true,
"presentation": {
"panel": "new"
}
},
{
"label": "Start Documentation",
"type": "shell",
"command": "cd docs && pnpm docs:dev",
"isBackground": true,
"presentation": {
"panel": "new"
},
"problemMatcher": []
},
{
"label": "Start All Services",
"dependsOrder": "parallel",
"dependsOn": [
"Start Backend",
"Start Frontend",
"Start Documentation"
],
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": []
}
]
}