Skip to content

Commit

Permalink
Merge pull request #33 from khawkins/remove_remove
Browse files Browse the repository at this point in the history
Pruning dev is breaking vsce packaging
  • Loading branch information
khawkins authored Jun 30, 2023
2 parents 0904097 + 01a3910 commit db0c333
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-<version>.vsix
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit db0c333

Please sign in to comment.