From 653ecb818289e14924a6dacf41e0751e67d86fdf Mon Sep 17 00:00:00 2001 From: Ghislain B Date: Wed, 21 Mar 2018 00:02:29 -0400 Subject: [PATCH] fix(tasks): VSCode Taks command were broken in new VSCode insiders - npm/yarn commands needs to be written in 1 line - referenced to closed VSCode issue https://github.com/Microsoft/vscode/issues/46207 --- .vscode/tasks.json | 36 +++++++----------------------------- 1 file changed, 7 insertions(+), 29 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index ecf30cf36..0620a861b 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -3,66 +3,44 @@ "tasks": [ { "label": "Build Library", - "command": "yarn", + "command": "yarn run build", "type": "shell", - "args": [ - "run", - "build" - ], "problemMatcher": [] }, { "label": "Build Github Demo Page", - "command": "yarn", + "command": "yarn build:github-demo", "type": "shell", - "args": [ - "build:github-demo" - ], "problemMatcher": [] }, { "label": "Start Library Development", - "command": "yarn", + "command": "yarn start:dev", "type": "shell", - "args": [ - "start:dev" - ], "problemMatcher": [] }, { "label": "Start Client-CLI", - "command": "yarn", + "command": "yarn start:client-cli", "type": "shell", - "args": [ - "start:client-cli" - ], "problemMatcher": [] }, { "label": "Start Github Demo Page", - "command": "yarn", + "command": "yarn start:github-demo", "type": "shell", - "args": [ - "start:github-demo" - ], "problemMatcher": [] }, { "label": "Prepare Release as Minor (0.x.0)", - "command": "yarn", + "command": "yarn run release -- --release-as minor --infile ./doc/CHANGELOG.md", "type": "shell", - "args": [ - "run release -- --release-as minor --infile ./doc/CHANGELOG.md" - ], "problemMatcher": [] }, { "label": "Prepare Release as Patch (0.0.x)", - "command": "yarn", + "command": "yarn run release -- --release-as patch --infile ./doc/CHANGELOG.md", "type": "shell", - "args": [ - "run release -- --release-as patch --infile ./doc/CHANGELOG.md" - ], "problemMatcher": [] } ]