Added new client tasks

This commit is contained in:
Alexey Safronov 2023-11-21 15:49:56 +04:00
parent c25fe8d82f
commit 28aed2a68f
2 changed files with 40 additions and 0 deletions

30
.vscode/tasks.json vendored
View File

@ -167,6 +167,21 @@
"close": false
}
},
{
"label": "Frontend | update yarn.lock",
"type": "shell",
"command": "cd ${workspaceFolder} ; yarn wipe && yarn install",
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "new",
"focus": true,
"close": false
}
},
{
"label": "Frontend | build",
"type": "shell",
@ -212,6 +227,21 @@
"close": false
}
},
{
"label": "Frontend | build-and-start-prod",
"type": "shell",
"command": "cd ${workspaceFolder} ; yarn build && yarn start-prod",
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "new",
"focus": true,
"close": false
}
},
{
"label": "Test | frontend-translations",
"type": "shell",

View File

@ -107,11 +107,21 @@
"task": "Frontend | install",
"tooltip": "🛠️ Start the \"frontend install packages\" task"
},
{
"label": "Update yarn.lock",
"task": "Frontend | update yarn.lock",
"tooltip": "🛠️ Start the \"frontend update yarn.lock\" task"
},
{
"label": "Build",
"task": "Frontend | build",
"tooltip": "🛠️ Start the \"frontend build\" task"
},
{
"label": "Build and start prod",
"task": "Frontend | build-and-start-prod",
"tooltip": "🛠️ Start the \"frontend build and start production\" task"
},
{
"label": "Start",
"task": "Frontend | start",