Skip to content

Upgrade typescript to 6.0.3 - #102

Merged
heavyrubberslave merged 1 commit into
mainfrom
chore/upgrade-typescript-6
Aug 2, 2026
Merged

heavyrubberslave merged 1 commit into
mainfrom
chore/upgrade-typescript-6

Conversation

@heavyrubberslave

@heavyrubberslave heavyrubberslave commented Aug 2, 2026

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • Chores
    • Updated development tooling to support the latest TypeScript capabilities.
    • Improved build-time support for Web USB integrations.
    • Enhanced task processing infrastructure for more reliable sequential operations.
    • No changes were made to the public API or user-facing functionality.

TypeScript 7 (native Go compiler) is not viable yet: typescript-eslint
has no release supporting it (programmatic Program API used by
typescript-eslint is not implemented in the native compiler yet, hard
crashes on lint). Upgraded to 6.0.3, the latest release on the
JS-based (Strada) line, which typescript-eslint still supports.

Since TS 6.0, @types packages are no longer auto-included by default
unless referenced by an explicit import or listed in 'types'. The usb
package's own .d.ts relies on ambient globals from @types/w3c-web-usb
without importing/referencing it, so it silently stopped resolving
(usb itself targets typescript ^6.0.3, so this is a config gap on our
side, not a bug in usb). Added an explicit 'types: ["w3c-web-usb"]'
to restore resolution without disabling lib checking project-wide.
@types/node globals (process, Buffer, etc.) keep resolving fine
without being listed since they're pulled in transitively via
triple-slash references whenever a node builtin module is imported.
@coderabbitai

coderabbitai Bot commented Aug 2, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 634920eb-71bb-4410-a84d-9f46b2dbeb80

📥 Commits

Reviewing files that changed from the base of the PR and between 8e2b062 and 4779a83.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (2)
  • package.json
  • tsconfig.json

📝 Walkthrough

Walkthrough

The project adds @timesplinter/sequential-task-queue, upgrades TypeScript to ^6.0.3, and enables w3c-web-usb compiler types.

Changes

Configuration updates

Layer / File(s) Summary
Dependency and TypeScript configuration
package.json, tsconfig.json
Adds the sequential task queue production dependency, upgrades TypeScript, and adds w3c-web-usb to the compiler types.

Estimated code review effort: 1 (Trivial) | ~5 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the primary change: upgrading the TypeScript dependency to version 6.0.3.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/upgrade-typescript-6

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@heavyrubberslave heavyrubberslave added patch Creates a new patch/bugfix release if merged and removed patch Creates a new patch/bugfix release if merged labels Aug 2, 2026
@heavyrubberslave
heavyrubberslave merged commit cda97d1 into main Aug 2, 2026
7 checks passed
@heavyrubberslave
heavyrubberslave deleted the chore/upgrade-typescript-6 branch August 2, 2026 20:20
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.

1 participant