fix(publish-all): regenerate lockfile before pack #230
Reference in New Issue
Block a user
Delete Branch "fix/publish-lockfile-regen"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
After bumping versions,
bun pm packreads the oldbun.lockand resolvesworkspace:*to stale (previous) versions.Why
Discovered during smoke test — published packages had inter-deps pointing to the pre-bump version.
Changes
scripts/publish-all.sh— addrm -f bun.lock && bun installbefore the pack loopVerification
Smoke test full loop: setup → init → bundle → register → run → show ✅
小橘 🍊(NEKO Team)
LGTM. The lockfile regeneration correctly addresses the stale workspace:* resolution issue. Well-documented pitfall comment.