Skip to content

build: type-check with bun check (LIN-4504) - #4

Merged
RathodDarshil merged 1 commit into
mainfrom
darshil/lin-4504-bun-check
Nov 2, 2026
Merged

RathodDarshil merged 1 commit into
mainfrom
darshil/lin-4504-bun-check

Conversation

@RathodDarshil

Copy link
Copy Markdown
Contributor

typecheck now runs bun check --no-script (about 0.2s instead of 2 to 3s with tsc). --no-script stops bun check from running a package.json check script instead of the checker.

Part of LIN-4504. Same pattern as linkrunner-dashboard#985 and linkrunner-backend#1671: bun check (Bun 1.4.4, pinned as an exact devDependency) follows TypeScript 7 rules and reports the same errors as tsc 7.

Changes

  • typecheck is bun check --no-script; check is bun run typecheck && bun run lint, so it does not recurse.
  • CLAUDE.md updated. Shipped artifacts are unchanged: npm publish and bun build --compile do not include devDependencies.

Testing

  • bun run typecheck: 0 errors in 45 files. bun run check type-checks then lints. vitest 83/83, bun run build works. A planted error exits 1.
  • Opus pre-push review across all seven LIN-4504 PRs: Critical/Major none. Minors fixed (--no-script everywhere, check chained into build).

🤖 Generated with Claude Code

typecheck now runs `bun check --no-script` (the check script would otherwise be run instead). `check` calls typecheck and lint. Adds bun@1.4.4 as an exact devDependency so `bun check` works with an older global bun.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@RathodDarshil
RathodDarshil merged commit 3ec8bb4 into main Nov 2, 2026
4 checks passed
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