You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(scripts/publish): refuse to publish with a dirty working tree
Mirrors the guard in scripts/bump.mts. Without this, a developer with
uncommitted edits in src/ could run pnpm publish and ship unreviewed
code to npm. Adds a checkGitStatus() helper (same shape as bump.mts's)
and a gate at the top of main() that aborts unless --force is passed.
0 commit comments