Skip to content

chore: migrate tooling to bun, vitest, oxc and typescript 7 - #269

Merged
co-sic merged 1 commit into
mainfrom
pk/migrate-tooling-bun-oxc-ts7
Nov 13, 2026
Merged

co-sic merged 1 commit into
mainfrom
pk/migrate-tooling-bun-oxc-ts7

Conversation

@co-sic

@co-sic co-sic commented Nov 13, 2026

Copy link
Copy Markdown
Collaborator

Brings the repo in line with the calendar-date setup.

  • bun replaces yarn (bun.lock, all scripts and CI)
  • oxfmt / oxlint replace prettier / eslint 8, with the same formatting options
  • TypeScript 7: drops baseUrl and sets rootDir; build output is byte-identical to the published 2.2.0
  • Vitest replaces Jest, since ts-jest can't run on TS 7. CI now runs codegen + tsc:check, because Vitest doesn't type-check tests the way ts-jest did
  • CI tests on Node 22, 24 and 26 plus a bun runtime job, and uses the current action versions
  • Dev dependencies updated to latest (graphql-codegen 8, graphql 17, graphql-request 7). The graphql peer range stays >=15
  • .npmignore is replaced by "files": ["dist", "CHANGELOG.md"], so src/ is no longer included in the npm package

The new typescript-operations plugin only types __typename on union members when it is selected, so the test operations now select it. The library already requires it at runtime.

bun audit drops from the 3 critical / 35 high findings reported by repo-health to 2 moderate.

Once merged, this supersedes Renovate PRs #107, #108, #210, #247, #259, #260 and #262–#265.

🤖 Generated with Claude Code

Replace yarn with bun, eslint/prettier with oxlint/oxfmt, jest with vitest and update TypeScript to 7. Update dev dependencies to their latest versions and run CI on Node 22, 24, 26 and bun.
@co-sic
co-sic merged commit 6dc72bc into main Nov 13, 2026
6 checks passed
@co-sic
co-sic deleted the pk/migrate-tooling-bun-oxc-ts7 branch November 13, 2026 23:59
@gastrobot

Copy link
Copy Markdown

🎉 This PR is included in version 2.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants