Upgrade all deps and use modern toolchain - #21
Merged
Conversation
- 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
There was a problem hiding this comment.
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
lintscript tocheck-lintand 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replace ESLint + Prettier with oxlint + oxfmt, and tsup + tsc + tsc-alias with tsdown. Upgrade all dependencies to latest versions.
lintscript renamed tocheck-lint(CI workflow updated accordingly)