From 6b6242290341ad9d2241d6bb5d89c74f0d19610c Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 14 Dec 2022 09:19:24 +0100 Subject: [PATCH] Update scripts for the use in workspace --- ConnectForce.code-workspace | 33 +++++++++++++++++++++++++++------ 1 file changed, 27 insertions(+), 6 deletions(-) diff --git a/ConnectForce.code-workspace b/ConnectForce.code-workspace index 0861cea..3841c60 100644 --- a/ConnectForce.code-workspace +++ b/ConnectForce.code-workspace @@ -33,8 +33,15 @@ "tasks": [ { "label": "Build", - "type": "npm", - "script": "watch", + "type": "shell", + "options": { + "cwd": "${workspaceFolder:Solution Items}" + }, + "command": "npm", + "args": [ + "run", + "watch" + ], "group": { "kind": "build", "isDefault": true @@ -63,8 +70,15 @@ }, { "label": "Rebuild", - "type": "npm", - "script": "rebuild", + "type": "shell", + "options": { + "cwd": "${workspaceFolder:Solution Items}" + }, + "command": "npm", + "args": [ + "run", + "rebuild" + ], "problemMatcher": [], "presentation": { "reveal": "never" @@ -72,8 +86,15 @@ }, { "label": "Lint", - "type": "npm", - "script": "lint-ide", + "type": "shell", + "options": { + "cwd": "${workspaceFolder:Solution Items}" + }, + "command": "npm", + "args": [ + "run", + "lint-ide" + ], "problemMatcher": "$eslint-stylish", "presentation": { "reveal": "never"