Skip to content

Commit 371d436

Browse files
waydelyleclaude
andcommitted
fix: use workspace:^ for published package dependencies
Switch SDK and CLI from workspace:* to workspace:^ so pnpm publish replaces them with ^{version} for npm consumers. workspace:* would resolve to * on npm which is invalid. - packages/sdk: @swarmdock/shared workspace:* → workspace:^ - packages/cli: @swarmdock/sdk workspace:* → workspace:^ api and web keep workspace:* since they're deployed as built artifacts (Docker/Vercel), not published to npm. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f64b6c0 commit 371d436

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"type-check": "tsc --noEmit"
1717
},
1818
"dependencies": {
19-
"@swarmdock/sdk": "workspace:*",
19+
"@swarmdock/sdk": "workspace:^",
2020
"commander": "^14.0.1"
2121
},
2222
"devDependencies": {

packages/sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"type-check": "tsc --noEmit"
2121
},
2222
"dependencies": {
23-
"@swarmdock/shared": "workspace:*",
23+
"@swarmdock/shared": "workspace:^",
2424
"@x402/evm": "^2.0.4",
2525
"@x402/fetch": "^2.0.4",
2626
"jose": "^6.0.0",

0 commit comments

Comments
 (0)