From 7d025344aeec0e80c08e31c29a93271880ecd608 Mon Sep 17 00:00:00 2001 From: Kevin Hawkins Date: Thu, 29 Jun 2023 17:34:24 -0700 Subject: [PATCH 1/2] Pruning dev is breaking vsce packaging --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0f98d62..1c6cad8 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "prettier:write": "prettier --write \"src/**/*.{ts, js}\"", "prettier:verify": "prettier --list-different \"src/**/*.{ts, js}\"", "bundle:extension": "esbuild ./src/extension.ts --bundle --outdir=out --format=cjs --target=es2020 --platform=node --external:vscode --external:@oclif/core --minify --sourcemap", - "vscode:prepublish": "npm run clean && npm run bundle:extension && npm prune --omit=dev" + "vscode:prepublish": "npm run clean && npm run bundle:extension" }, "devDependencies": { "@istanbuljs/nyc-config-typescript": "^1.0.2", From 01a3910be3fa2b8448084e56c8981cc2e7698714 Mon Sep 17 00:00:00 2001 From: Kevin Hawkins Date: Fri, 30 Jun 2023 09:11:03 -0700 Subject: [PATCH 2/2] Not pruning dev anymore, updated RELEASE doc --- RELEASE.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index e9c31dd..f9cd415 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -14,8 +14,6 @@ The following instructions will create the extension package (`salesforcedx-vsco npx vsce package - **NOTE:** The packaging workflow prunes the dev dependencies out of the `node_modules/` tree, so you'll need to re-run `npm install` to reinstall dev dependencies and continue development work. - 3. Install the generated .vsix file and test as you will: code --install-extension salesforcedx-vscode-mobile-.vsix