Skip to content

chore: pin internal workspace deps exact, version independently - #59

Merged
ivanbanov merged 1 commit into
mainfrom
chore/versioning
Aug 15, 2026
Merged

chore: pin internal workspace deps exact, version independently#59
ivanbanov merged 1 commit into
mainfrom
chore/versioning

Conversation

@ivanbanov

Copy link
Copy Markdown
Member

Copies the versioning strategy from dunky-dev/ui#24:

  • .changeset/config.json: the @dunky.dev/* fixed group is dropped — every package versions independently, so a release never bumps a package whose code didn't change (no more empty ## 0.4.0 changelog headings like core got in chore(release): version packages #58).
  • workspace:^workspace:* on all internal deps of the published packages (react ×3, native ×4, opentui ×2). Publish now writes exact versions instead of caret ranges: with independent versions, a caret range between siblings above a shared dependency can resolve two physical copies of it in a consumer's install (a dependency diamond), silently breaking anything identity-sensitive — a singleton, a WeakMap, module-level state. An exact pin fails at publish time instead.
  • .npmrc: save-workspace-protocol=rollingtrue, so future pnpm add of a sibling saves workspace:* by default.
  • ARCHITECTURE.md gains a ## Versioning section documenting the policy; a changeset covers the three packages whose published manifests change.

Private consumers (benchmark, sandbox/*, website) keep workspace:^ — they're never published, so the pin is meaningless there.

🤖 Generated with Claude Code

Copies the ui repo's strategy (dunky-dev/ui#24): drop the @dunky.dev/*
fixed group so packages version independently, pin sibling deps
workspace:* so publish writes exact versions, and save-workspace-protocol
now saves new deps pinned. Rationale documented in ARCHITECTURE.md.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
dunky-state-machine Ready Ready Preview Aug 15, 2026 12:55am

@ivanbanov
ivanbanov merged commit 59f279e into main Aug 15, 2026
8 checks passed
@ivanbanov
ivanbanov deleted the chore/versioning branch August 15, 2026 00:56
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