Skip to content

Upgrade all deps and use modern toolchain - #21

Merged
0x80 merged 3 commits into
mainfrom
thijs/0217-upgrade-deps
Feb 17, 2026
Merged

Upgrade all deps and use modern toolchain#21
0x80 merged 3 commits into
mainfrom
thijs/0217-upgrade-deps

Conversation

@0x80

@0x80 0x80 commented Feb 17, 2026

Copy link
Copy Markdown
Owner

Replace ESLint + Prettier with oxlint + oxfmt, and tsup + tsc + tsc-alias with tsdown. Upgrade all dependencies to latest versions.

  • Linting: oxlint with type-aware rules via oxlint-tsgolint (import, typescript, unicorn plugins)
  • Formatting: oxfmt
  • Building: tsdown with unbundled ESM output (.mjs + .d.mts)
  • tsconfig now extends @codecompose/typescript-config v2 (renamed preset)
  • lint script renamed to check-lint (CI workflow updated accordingly)

- Replace ESLint + Prettier with oxlint + oxfmt for linting and formatting
- Replace tsup + tsc + tsc-alias with tsdown for building
- Upgrade all dependencies to latest versions
- Update tsconfig to use @codecompose/typescript-config v2
- Reformat codebase with oxfmt
@0x80 0x80 changed the title Replace ESLint/Prettier with oxlint/oxfmt and tsup with tsdown Upgrade all deps and use more modern linting formatting and bundling Feb 17, 2026
@0x80 0x80 changed the title Upgrade all deps and use more modern linting formatting and bundling Upgrade all deps and use more modern toolchain Feb 17, 2026
@0x80 0x80 changed the title Upgrade all deps and use more modern toolchain Upgrade all deps and use modern toolchain Feb 17, 2026
@0x80
0x80 requested a review from Copilot February 17, 2026 12:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR modernizes the toolchain by replacing ESLint + Prettier with oxlint + oxfmt, and tsup + tsc + tsc-alias with tsdown. All dependencies have been upgraded to their latest versions, and the build output format has been changed from .js/.d.ts to .mjs/.d.mts to better align with modern ESM practices.

Changes:

  • Replaced linting and formatting tools: oxlint with type-aware rules and oxfmt replace ESLint and Prettier
  • Replaced build tool: tsdown with unbundled ESM output replaces the tsup + tsc + tsc-alias pipeline
  • Updated all dependencies to latest versions, including @codecompose/typescript-config v2
  • Changed build output extensions from .js/.d.ts to .mjs/.d.mts
  • Renamed lint script to check-lint and updated CI workflows accordingly
  • Applied consistent trailing comma formatting across all TypeScript files per oxfmt configuration

Reviewed changes

Copilot reviewed 39 out of 41 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tsup.config.ts Removed old tsup configuration
tsdown.config.ts Added new tsdown configuration with unbundled ESM output targeting node22
tsconfig.json Simplified to extend @codecompose/typescript-config/library v2
package.json Updated all dependencies, changed main/types to .mjs/.d.mts, renamed lint script
eslint.config.js Removed ESLint configuration
.prettierrc.json Removed Prettier configuration
.oxlintrc.json Added oxlint configuration with type-aware rules
.oxfmtrc.jsonc Added oxfmt configuration
.oxfmtignore Added dist directory to ignore list
src/**/*.ts Applied trailing comma formatting to all function parameters
README.md Applied trailing comma formatting to code examples
CLAUDE.md Updated documentation to reflect new toolchain
.github/workflows/checks.yml Updated to use check-lint instead of lint
.github/workflows/publish.yml Minor formatting adjustment

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tsdown.config.ts
Comment thread package.json
@0x80
0x80 merged commit 77d1563 into main Feb 17, 2026
5 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.

2 participants