Files
nginx-ui/.vscode/tasks.json
2026-04-17 19:36:03 +08:00

107 lines
2.2 KiB
JSON

{
"version": "2.0.0",
"tasks": [
{
"label": "[Go] Start Backend",
"type": "shell",
"command": "air",
"isBackground": true,
"presentation": {
"panel": "shared",
"group": "dev"
},
"problemMatcher": []
},
{
"label": "[App] Start Frontend",
"type": "shell",
"command": "pnpm dev",
"isBackground": true,
"presentation": {
"panel": "shared",
"group": "dev"
},
"problemMatcher": []
},
{
"label": "[Docs] Start Documentation",
"type": "shell",
"command": "pnpm docs:dev",
"isBackground": true,
"presentation": {
"panel": "shared",
"group": "dev"
},
"problemMatcher": []
},
{
"label": "[All] Start All Services",
"dependsOrder": "parallel",
"dependsOn": [
"[Go] Start Backend",
"[App] Start Frontend",
"[Docs] Start Documentation"
],
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": []
},
{
"label": "[App] Gettext Extract",
"type": "shell",
"command": "pnpm gettext:extract",
"isBackground": true,
"presentation": {
"panel": "new"
},
"problemMatcher": []
},
{
"label": "[App] ESLint Fix",
"type": "shell",
"command": "pnpm lint --fix",
"presentation": {
"panel": "new"
},
"problemMatcher": []
},
{
"label": "[App] Typecheck",
"type": "shell",
"command": "pnpm typecheck",
"presentation": {
"panel": "new"
},
"problemMatcher": []
},
{
"label": "[App] Build",
"type": "shell",
"command": "pnpm build",
"presentation": {
"panel": "new"
},
"problemMatcher": []
},
{
"label": "[Go] Generate",
"type": "shell",
"command": "go generate",
"presentation": {
"panel": "new"
},
"problemMatcher": []
},
{
"label": "[All] Bump Version",
"type": "shell",
"command": "./version.sh",
"presentation": {
"panel": "new"
},
"problemMatcher": []
}
]
}