Skip to content

fix(release): stamp versions after lint/test to avoid biome formatting failure#19

Merged
twatson83 merged 1 commit into
masterfrom
fix/release-stamp-order
Jul 10, 2026
Merged

fix(release): stamp versions after lint/test to avoid biome formatting failure#19
twatson83 merged 1 commit into
masterfrom
fix/release-stamp-order

Conversation

@twatson83

Copy link
Copy Markdown
Collaborator

The release run for v3.0.0-beta.1 failed at Lint: the Set package versions from tag step runs npm pkg set version, which rewrites every package.json and expands single-line arrays/objects (e.g. "files": ["dist"]) to multiline — which biome's formatter rejects. Lint ran after the stamp, so it failed for every package before publish.

Fix: reorder so the version stamp happens immediately before publish; lint/test/e2e run on the pristine, biome-clean tree. Verified locally: pnpm build && pnpm lint && pnpm test all pass. Nothing embeds its own package.json version at build time, so building before the stamp is safe.

🤖 Generated with Claude Code

npm pkg set version reformats package.json (expanding single-line
arrays/objects), which biome's formatter rejects — so stamping before the
Lint step failed the release for every package. Move the version stamp to
immediately before publish so lint/test run on the pristine, biome-clean
tree. Nothing embeds its own package.json version at build time, so
building before the stamp is safe.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@twatson83 twatson83 merged commit 078938c into master Jul 10, 2026
7 of 8 checks passed
@twatson83 twatson83 deleted the fix/release-stamp-order branch July 10, 2026 20:12
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