Skip to content

fix: run full check in prepublishOnly before publish#122

Merged
SutuSebastian merged 1 commit into
mainfrom
fix/prepublish-check-validation
May 20, 2026
Merged

fix: run full check in prepublishOnly before publish#122
SutuSebastian merged 1 commit into
mainfrom
fix/prepublish-check-validation

Conversation

@SutuSebastian
Copy link
Copy Markdown
Contributor

Summary

  • prepublishOnly now runs bun run check (build, format, lint, tests, typecheck, golden) instead of build-only.
  • Regression test asserts publish preflight matches the check script.

Test plan

  • bun test src/package-scripts.test.ts

npm publish preflight now matches CI validation instead of build-only.
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 20, 2026

🦋 Changeset detected

Latest commit: f16cac9

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 20, 2026

Warning

Rate limit exceeded

@SutuSebastian has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 36 minutes and 14 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 7c60ddd6-b56c-46fa-b9ab-a5f3983dacaf

📥 Commits

Reviewing files that changed from the base of the PR and between f5d013c and f16cac9.

📒 Files selected for processing (4)
  • .changeset/fix-prepublish-check-validation.md
  • docs/packaging.md
  • package.json
  • src/package-scripts.test.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/prepublish-check-validation

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@SutuSebastian SutuSebastian merged commit 4e191ba into main May 20, 2026
12 checks passed
@SutuSebastian SutuSebastian deleted the fix/prepublish-check-validation branch May 20, 2026 16:47
@github-actions github-actions Bot mentioned this pull request May 20, 2026
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