chore: publish gate — lockfile sync, 0.13.1 bump, prepublishOnly (AIT-177) - #19
Conversation
Lockfile on main lagged the 0.13.0 version bump; regenerated to match.
Publish-readiness gate for the next npm release: lockfile synced with package.json (0.13.0/node>=20 drift), version bumped to 0.13.1 so the already-merged AIT-164/AIT-151 fixes can ship, and prepublishOnly runs build + unit tests so a stale dist or red suite can't be published.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe CLI package version is updated to 0.13.1. Pre-publishing now builds and runs unit tests, while the npm publish workflow documents the rebuild and passes release environment variables through. ChangesPackage release configuration
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
⚔️ Resolve merge conflicts
Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ac0f8a29b7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@coderabbitai review |
✅ Action performedReview finished.
|
…-177) (#19) * chore: sync package-lock.json with package.json (0.13.0, node >=20) Lockfile on main lagged the 0.13.0 version bump; regenerated to match. * chore: bump to 0.13.1 + prepublishOnly gate (AIT-177) Publish-readiness gate for the next npm release: lockfile synced with package.json (0.13.0/node>=20 drift), version bumped to 0.13.1 so the already-merged AIT-164/AIT-151 fixes can ship, and prepublishOnly runs build + unit tests so a stale dist or red suite can't be published. * fix: pass release env to npm publish step so prepublishOnly rebuild keeps baked values (AIT-177)
Summary
package-lock.jsonwithpackage.json(version 0.13.0 +node >=20had drifted —npm cifailed the publish audit).billing manage --json, AIT-151 coded-403 surfacing) can ship to npm — published 0.13.0 predates them.prepublishOnly: npm run build && npm run test:unitso a staledist/or red unit suite can never be published.Test plan
npm run test:unit— 937/937 passnpm install --package-lock-only— lockfile diff is version fields only (no drift)billing manage --jsonagainst a dead API emits pure JSON, no browser (AIT-164 verification)Fixes AIT-177
Refs AIT-164 (fix already on main via #16; ships with this release)
Summary by CodeRabbit
New Features
Bug Fixes