Skip to content

Build before testing in the all script - #45

Merged
bachmacintosh merged 1 commit into
mainfrom
chore/all-script-order
Oct 16, 2026
Merged

bachmacintosh merged 1 commit into
mainfrom
chore/all-script-order

Conversation

@bachmacintosh

Copy link
Copy Markdown
Contributor

Summary

pnpm all now runs pnpm build before pnpm test. This matches the CI order from #44. The rule tests run oxlint --rules, which loads the repo's oxlint.config.ts, and that file imports the built dist/oxlint/index.mjs. On a fresh clone with no dist/, pnpm all failed at its first step.

Testing

Deleted dist/, then ran pnpm all: the build, all 2718 tests, typecheck, docs, format and lint passed, and the only change in the working tree was this one.


Generated by Claude Code

The rule tests load oxlint.config.ts, which imports the built dist/
output, so `pnpm all` failed on a fresh clone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TLBzrsN4hMwi77PvoAzqq8
@bachmacintosh
bachmacintosh marked this pull request as ready for review October 16, 2026 21:22
@bachmacintosh
bachmacintosh added this pull request to the merge queue Oct 16, 2026
Merged via the queue into main with commit dd43a92 Oct 16, 2026
2 checks passed
@bachmacintosh
bachmacintosh deleted the chore/all-script-order branch October 16, 2026 21:28
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.

2 participants