Skip to content

chore(release): 0.11.2 — fix cli workspace:* dependency - #51

Merged
jbrecht merged 1 commit into
mainfrom
release-0.11.2-fix-cli-dep
Jun 15, 2026
Merged

jbrecht merged 1 commit into
mainfrom
release-0.11.2-fix-cli-dep

Conversation

@jbrecht

@jbrecht jbrecht commented Jun 15, 2026

Copy link
Copy Markdown
Owner

Why

tutorial-forge-cli@0.11.1 is install-broken. It was published with npm publish, which (unlike pnpm publish) does not rewrite the workspace:* protocol — so it shipped depending on the literal tutorial-forge: workspace:*, which the public registry cannot resolve. It's the current latest tag.

The tutorial-forge library 0.11.1 is unaffected (no workspace deps) — the PolyForm relicense is live and valid there.

Fix

  • Lockstep bump both packages to 0.11.2.
  • Republish via pnpm publish (rewrites workspace:* → real version).
  • Deprecate the broken tutorial-forge-cli@0.11.1.

No source changes — dist/ is identical to 0.11.1 apart from the version field.

Publish steps (after merge)

git checkout main && git pull
pnpm install && pnpm build
pnpm --filter tutorial-forge publish
pnpm --filter tutorial-forge-cli publish
npm deprecate tutorial-forge-cli@0.11.1 "Broken: workspace:* dependency not rewritten; use 0.11.2+"
git tag v0.11.2 && git push origin v0.11.2

🤖 Generated with Claude Code

tutorial-forge-cli@0.11.1 was published with `npm publish`, which does not
rewrite the workspace protocol, so it shipped an unresolvable
`tutorial-forge: workspace:*` dependency (install-breaking). Bump both
packages in lockstep and republish via `pnpm publish`, which rewrites the
spec to a real version. The 0.11.1 CLI is deprecated; the library 0.11.1
was unaffected.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jbrecht
jbrecht merged commit 724e5fe into main Jun 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant