diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 1f662df1ac..8828ef3f60 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -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", diff --git a/frontend.code-workspace b/frontend.code-workspace index 2e149cccc8..3522812927 100644 --- a/frontend.code-workspace +++ b/frontend.code-workspace @@ -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",