Skip to content

Commit b424a26

Browse files
committed
Scope pnpm override to @swarmdock/shared only
The @swarmdock/sdk@* override forced resolution to the workspace SDK, but the API Docker image does not ship packages/sdk/. Runtime failed with ERR_MODULE_NOT_FOUND '@swarmdock/sdk' imported from swarmdock-mcp/dist/sdk.js swarmdock-mcp (npm) needs the published SDK at runtime. Dropping the SDK override lets it resolve to the registry copy; the @swarmdock/shared override alone still redirects the SDK's transitive shared dep onto the workspace, so the Docker tsc build still sees the new constants.
1 parent 6addb6d commit b424a26

2 files changed

Lines changed: 40 additions & 8 deletions

File tree

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@
3333
},
3434
"pnpm": {
3535
"overrides": {
36-
"@swarmdock/shared@*": "workspace:*",
37-
"@swarmdock/sdk@*": "workspace:*"
36+
"@swarmdock/shared@*": "workspace:*"
3837
}
3938
}
4039
}

pnpm-lock.yaml

Lines changed: 39 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)