From ee503c7833ad7708c7f7c90a796991bd98637fcb Mon Sep 17 00:00:00 2001 From: Gregory Smith Date: Wed, 29 Jun 2022 13:56:25 -0600 Subject: [PATCH] Use npm 6 for build & packaging This is to work around several issues use npm 7 or 8 with vscode packaging: * microsoft/vscode-vsce#439 * microsoft/vscode-vsce#673 --- package.json | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index b3a91974..4beb52b8 100644 --- a/package.json +++ b/package.json @@ -1,4 +1,17 @@ { + "name": "analyticsdx-vscode", + "license": "BSD-3-Clause", + "repository": { + "type": "git", + "url": "git+https://github.com/forcedotcom/analyticsdx-vscode.git" + }, + "engines": { + "node": ">=16.13.0" + }, + "dependencies": { + "node": "^16.13.0", + "npm": "^6" + }, "devDependencies": { "@salesforce/dev-config": "1.5.0", "@types/lerna-alias": "3.0.0", @@ -42,10 +55,5 @@ "build-all-vsixs": "node scripts/build-all-vsixs.js", "update-sha256": "node scripts/update-sha256.js", "publish-all-vsixs": "node scripts/publish-all-vsixs.js" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/forcedotcom/analyticsdx-vscode.git" - }, - "license": "BSD-3-Clause" + } }