Skip to content

Commit 915e19d

Browse files
cristiand391svc-cli-botiowillhoit
authored
fix: add shrinkwrap lockfile @W-19291869@ (#188)
* fix: add shrinkwrap lockfile * chore(release): 0.19.2-dev.0 [skip ci] * chore: use gha runner tempdir * chore(release): 0.19.2-dev.1 [skip ci] * chore: remove git markers, add comment [skip ci] * chore(release): 0.23.5-dev.0 [skip ci] * chore: fix workflow [skip ci] * chore(release): 0.23.5-dev.1 [skip ci] * chore: typo [skip ci] --------- Co-authored-by: svc-cli-bot <Svc_cli_bot@salesforce.com> Co-authored-by: Willhoit <iowillhoit@users.noreply.github.com>
1 parent 1abc80a commit 915e19d

File tree

4 files changed

+49
-2
lines changed

4 files changed

+49
-2
lines changed

.github/workflows/publish-mcp-server.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,17 @@ jobs:
198198
if: ${{ steps.changelog.outputs.skipped == 'false' && steps.release.outputs.id != '' }}
199199
run: |
200200
cd packages/mcp
201+
rm -rf node_modules
202+
203+
# `npm shrinkwrap` doesn't support monorepos so we
204+
# copy `packages/mcp` to a tmp dir for it to be a single npm project
205+
mkdir ${{ runner.temp }}/mcp-shrinkwrap
206+
# Use -L flag to dereference symlinks (e.g., README.md -> ../../README.md)
207+
cp -rL . ${{ runner.temp }}/mcp-shrinkwrap
208+
cd ${{ runner.temp }}/mcp-shrinkwrap
209+
npm install
210+
npm shrinkwrap
211+
201212
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
202213
203214
# Determine npm dist-tag

packages/mcp/.sfdevrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"scripts": {
3+
"prepack": "echo 'no prepack script'"
4+
},
25
"devDepOverrides": [
36
"eslint-config-salesforce-license",
47
"@types/node"

packages/mcp/CHANGELOG.md

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
## [0.23.5-dev.1](https://github.com/salesforcecli/mcp/compare/0.23.5-dev.0...0.23.5-dev.1) (2025-10-24)
2+
3+
4+
5+
## [0.23.5-dev.0](https://github.com/salesforcecli/mcp/compare/0.23.4...0.23.5-dev.0) (2025-10-24)
6+
7+
8+
### Bug Fixes
9+
10+
* listen on `SIGTERM` for telemetry ([#296](https://github.com/salesforcecli/mcp/issues/296)) ([2115e37](https://github.com/salesforcecli/mcp/commit/2115e3733f7bb8cbfc997635bbe7b807333d931b))
11+
* **telemetry:** always set `isError` for tool events ([#308](https://github.com/salesforcecli/mcp/issues/308)) ([a7f9568](https://github.com/salesforcecli/mcp/commit/a7f95689d650d30900b920b5ee609b3af488b0e1))
12+
13+
14+
15+
## [0.19.2-dev.1](https://github.com/salesforcecli/mcp/compare/0.19.1...0.19.2-dev.1) (2025-09-05)
16+
17+
18+
### Bug Fixes
19+
20+
* add shrinkwrap lockfile ([400fe7a](https://github.com/salesforcecli/mcp/commit/400fe7a1852956aa8d25f5f299334f67acb36ea6))
21+
22+
23+
124
## [0.23.4](https://github.com/salesforcecli/mcp/compare/0.23.3...0.23.4) (2025-10-06)
225

326

@@ -108,7 +131,16 @@
108131

109132

110133

111-
## [0.19.2](https://github.com/salesforcecli/mcp/compare/0.19.1...0.19.2) (2025-09-16)
134+
## [0.19.2](https://github.com/salesforcecli/mcp/compare/0.19.2-dev.1...0.19.2) (2025-09-16)
135+
136+
137+
138+
## [0.19.2-dev.1](https://github.com/salesforcecli/mcp/compare/0.19.1...0.19.2-dev.1) (2025-09-05)
139+
140+
141+
### Bug Fixes
142+
143+
* add shrinkwrap lockfile ([400fe7a](https://github.com/salesforcecli/mcp/commit/400fe7a1852956aa8d25f5f299334f67acb36ea6))
112144

113145

114146

packages/mcp/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@salesforce/mcp",
3-
"version": "0.23.4",
3+
"version": "0.23.5-dev.1",
44
"description": "MCP Server for interacting with Salesforce instances",
55
"bin": {
66
"sf-mcp-server": "bin/run.js"
@@ -31,6 +31,7 @@
3131
"!lib/**/*.map",
3232
"messages",
3333
"LICENSE.txt",
34+
"npm-shrinkwrap.json",
3435
"package.json"
3536
],
3637
"engines": {

0 commit comments

Comments
 (0)