From 7908d755106da2bd49b40e1d84829aa2d121e76c Mon Sep 17 00:00:00 2001 From: Devin Gould Date: Fri, 10 May 2024 13:27:52 -0400 Subject: [PATCH] Add --no-dependencies to vsce package (#1255) This is not needed because we bundle first with esbuild, and vsce pack has issues with modern package managers. see: microsoft/vscode-vsce#421 (comment) --- extensions/vscode/scripts/package.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/vscode/scripts/package.js b/extensions/vscode/scripts/package.js index 615ee8bbb4..73d5cc5e4f 100644 --- a/extensions/vscode/scripts/package.js +++ b/extensions/vscode/scripts/package.js @@ -9,8 +9,8 @@ if (!fs.existsSync("build")) { } const command = isPreRelease - ? "npx vsce package --out ./build patch --pre-release" // --yarn" - : "npx vsce package --out ./build patch"; // --yarn"; + ? "npx vsce package --out ./build patch --pre-release --no-dependencies" // --yarn" + : "npx vsce package --out ./build patch --no-dependencies"; // --yarn"; exec(command, (error) => { if (error) throw error;