diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 547df146ff721051be4e4abaf388b63b9c25775e..f1dc18332869ed3b969d628f69fdbf3fabb7d404 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -4,6 +4,9 @@ { "type": "shell", "command": "./buildClient.sh", + "windows": { + "command": ".\\buildClient.bat" + }, "group": { "kind": "build", "isDefault": true diff --git a/buildClient.bat b/buildClient.bat new file mode 100644 index 0000000000000000000000000000000000000000..f6ce14b74d4723af295d63754ca87a758aced546 --- /dev/null +++ b/buildClient.bat @@ -0,0 +1,15 @@ +@echo off + +echo Building VS Code Extension Client... + +echo Compiling TypeScript... +cd client +call npm i +call npm run build + +echo Building Addon Manager WebVue... +cd webvue +call npm i +call npm run build + +echo Build complete! diff --git a/client/package.json b/client/package.json index 413fc21a3518792aa944eea82d394e9fd4e69193..c568495420079da59dfab49fa3dde83621fab51c 100644 --- a/client/package.json +++ b/client/package.json @@ -7,8 +7,7 @@ "publisher": "vscode", "scripts": { "lint": "npx eslint src/", - "build": "tsc", - "postbuild": "cp package*.json out && cd out && npm ci --omit=dev" + "build": "tsc" }, "repository": { "type": "git", diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index 0b5f2cf4b8a528acefbab9b988a3ccc04c90b6d4..fb689ea899a42187681d818e587b1fcfbee7ede3 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -1,6 +1,6 @@ { "name": "lua", - "version": "3.6.11", + "version": "3.6.12", "lockfileVersion": 3, "requires": true, "packages": {}