chore: upgrade deps, node v26, ts v6.#46
Merged
Merged
Conversation
Owner
knightedcodemonkey
commented
May 24, 2026
- BREAKING CHANGE: Drop node v20 support.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #46 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 3 3
Lines 326 321 -5
Branches 46 40 -6
=========================================
- Hits 326 321 -5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
Updates the project to newer runtime/tooling (Node 26, TypeScript 6) and aligns parsing/traversal logic with the upgraded oxc-parser API, while tightening local and CI automation for lint/type-check/test.
Changes:
- Drop Node 20 support; bump package major version and update Node engine/CI matrices to Node 22/24/26.
- Upgrade key dependencies/devDependencies (notably
oxc-parser, TS, ESLint) and adjustsrc/format.tsto useoxc-parser’sVisitor. - Add Husky + lint-staged wiring and minor TypeScript compiler option updates.
Reviewed changes
Copilot reviewed 6 out of 8 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| tsconfig.json | Sets rootDir and explicitly includes Node types for TS6/tooling alignment. |
| src/format.ts | Replaces @knighted/walk traversal with oxc-parser Visitor and updates TS import-type handling. |
| package.json | Major version bump; Node engine range update; dependency upgrades; adds Husky/lint-staged config and scripts. |
| .husky/pre-push | Adds pre-push hook commands (lint-staged + typecheck). |
| .husky/pre-commit | Adds pre-commit hook command (lint-staged). |
| .github/workflows/publish.yml | Updates action versions and publishing Node version. |
| .github/workflows/ci.yml | Expands Node test matrix and updates action versions. |
💡 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.