File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,13 @@ jobs:
172172 if : ${{ steps.changelog.outputs.skipped == 'false' && steps.release.outputs.id != '' }}
173173 run : |
174174 cd packages/mcp
175+ rm -rf node_modules
176+ mkdir $TMPDIR/mcp-shrinkwrap
177+ cp -r . $TMPDIR/mcp-shrinkwrap
178+ cd $TMPDIR/mcp-shrinkwrap
179+ npm install
180+ npm shrinkwrap
181+
175182 echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
176183
177184 # Determine npm dist-tag
Original file line number Diff line number Diff line change 11{
2+ "scripts": {
3+ "prepack": "echo 'no prepack script'"
4+ },
25 "devDepOverrides": [
36 "eslint-config-salesforce-license",
47 "@types/node"
Original file line number Diff line number Diff line change 2222 "lint-fix" : " yarn sf-lint --fix" ,
2323 "package" : " yarn pack" ,
2424 "postpack" : " sf-clean --ignore-signing-artifacts" ,
25+ "prepack" : " echo 'no prepack script'" ,
2526 "prepare" : " sf-install" ,
27+ "prepublishOnly" : " npm shrinkwrap" ,
2628 "start" : " yarn build && npm link && mcp-inspector sf-mcp-server" ,
2729 "test" : " wireit" ,
2830 "test:only" : " wireit"
3840 " !lib/**/*.map" ,
3941 " messages" ,
4042 " LICENSE.txt" ,
43+ " npm-shrinkwrap.json" ,
4144 " package.json"
4245 ],
4346 "dependencies" : {
You can’t perform that action at this time.
0 commit comments