Skip to content

chore: upgrade deps, node v26, ts v6.#46

Merged
knightedcodemonkey merged 2 commits into
mainfrom
bananas
May 24, 2026
Merged

chore: upgrade deps, node v26, ts v6.#46
knightedcodemonkey merged 2 commits into
mainfrom
bananas

Conversation

@knightedcodemonkey
Copy link
Copy Markdown
Owner

  • BREAKING CHANGE: Drop node v20 support.

Copilot AI review requested due to automatic review settings May 24, 2026 20:51
@codecov
Copy link
Copy Markdown

codecov Bot commented May 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (ddc6e22) to head (65a6048).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

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 adjust src/format.ts to use oxc-parser’s Visitor.
  • 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.

Comment thread .husky/pre-commit
Comment thread .husky/pre-push
@knightedcodemonkey knightedcodemonkey merged commit 08e8f43 into main May 24, 2026
8 checks passed
@knightedcodemonkey knightedcodemonkey deleted the bananas branch May 24, 2026 20:57
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