Skip to content

fix(cli): pin elkjs exactly so a CLI version always lays out the same - #65

Merged
hyamero merged 1 commit into
stagingfrom
fix/pin-elkjs
Oct 24, 2026
Merged

hyamero merged 1 commit into
stagingfrom
fix/pin-elkjs

Conversation

@hyamero

@hyamero hyamero commented Oct 23, 2026

Copy link
Copy Markdown
Member

What and why

deliver promises the same file byte for byte for the same JSON, and the skill pins an exact CLI version. But the CLI's one runtime dependency, elkjs, was ^0.12.0, and npm users don't get our lockfile. Once elkjs ships a 0.12.x patch, the same CLI version could lay out differently depending on install date.

Both packages/cli and packages/layout now pin elkjs to 0.12.0. A test in skill.test.ts fails if the CLI's spec stops being exact or drifts from the layout package's. bun.lock changes only in those two spec lines.

How it was checked

  • The new test passes, and it fails with the caret range restored.
  • bun install --frozen-lockfile passes.
  • bun run test, bun run typecheck, bun run build and the deliver determinism smoke pass.

@vercel

vercel Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
stackmap-site Ready Ready Preview Oct 23, 2026 4:43pm UTC

@hyamero
hyamero merged commit b560cc9 into staging Oct 24, 2026
7 checks passed
@hyamero
hyamero deleted the fix/pin-elkjs branch October 24, 2026 04:08
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.6.1-rc.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.6.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

This branch was successfully deployed

1 active deployment
Preview — 865441f6 Deployed Oct 23, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant