Skip to content

Commit 5b5771c

Browse files
committed
Fix SDK publish: resolve workspace:* deps via pnpm pack
Same fix as CLI — pnpm pack resolves workspace:* before npm publish. Bumps SDK to 0.1.3.
1 parent 30a66cf commit 5b5771c

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/sdk-typescript-publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,8 @@ jobs:
5353
run: pnpm --filter @nimblebrain/mpak-sdk... build
5454

5555
- name: Publish to npm
56-
run: npm publish --provenance --access public
56+
run: |
57+
# pnpm pack resolves workspace:* to real versions; npm publish keeps provenance
58+
pnpm pack
59+
npm publish nimblebrain-mpak-sdk-*.tgz --provenance --access public
5760
working-directory: packages/sdk-typescript

packages/sdk-typescript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nimblebrain/mpak-sdk",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "TypeScript SDK for mpak registry - MCPB bundles and Agent Skills",
55
"author": "NimbleBrain Inc <engineering@mpak.dev>",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)