Skip to content

Fix import sort order failing publish check - #72

Merged
tai2 merged 1 commit into
mainfrom
fix-publish-fail
Jun 24, 2026
Merged

Fix import sort order failing publish check#72
tai2 merged 1 commit into
mainfrom
fix-publish-fail

Conversation

@tai2

@tai2 tai2 commented Jun 24, 2026

Copy link
Copy Markdown
Owner

Summary

The publish workflow failed at release time because biome check enforces import sorting, stricter than the format:check run elsewhere. Commit af85b89 (--version support) added import pkg from '../package.json' at the bottom of the import block instead of grouped with the external imports at the top, so biome check rejected it.

This bug is in tag v0.2.4, which is why the v0.2.4 publish failed.

Fix

Move the package.json import to its biome-sorted position in src/cli.ts. pnpm run check now passes clean (119 files, no fixes).

🤖 Generated with Claude Code

biome check (run by the publish workflow) enforces import sorting; the
package.json import added for --version landed unsorted, failing release.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@tai2 tai2 added the refactor label Jun 24, 2026
@tai2
tai2 merged commit f2e620b into main Jun 24, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant