Skip to content

Update dependencies and adopt TypeScript 7 - #34

Merged
KayleeWilliams merged 1 commit into
KayleeWilliams/ci-lint-typecheckfrom
KayleeWilliams/update-deps-ts7
Aug 11, 2026
Merged

Update dependencies and adopt TypeScript 7#34
KayleeWilliams merged 1 commit into
KayleeWilliams/ci-lint-typecheckfrom
KayleeWilliams/update-deps-ts7

Conversation

@KayleeWilliams

Copy link
Copy Markdown
Owner

Bump typescript to 7.0.2, @types/node to 26.2.0, oxfmt to 0.63.0,
oxlint to 1.78.0, ultracite to 7.10.2 and @changesets/cli to 2.31.1.

TypeScript 7 is the released native compiler port and no longer exports
the compiler JS API from the package root, which breaks the
rollup-plugin-dts that tsup uses for declaration generation. Declarations
are now emitted by tsc via tsconfig.build.json after tsup bundles the
JavaScript. The exported type surface is unchanged.

Since TypeScript 7 is the release of the port that @typescript/native-preview
previewed, drop that package and typecheck with tsc so the same compiler
is used for building and checking.

The newer oxlint and oxfmt add rules that required source changes:
named capture groups in the perf report parser, a direct re-export in the
oxfmt config, and markdown reflowing. unicorn/prefer-number-coercion is
disabled because Math.trunc(Number(x)) does not match the Number.parseInt
semantics the CLI argument parsing relies on.


Stack created with GitHub Stacks CLIGive Feedback 💬

@KayleeWilliams
KayleeWilliams marked this pull request as ready for review August 11, 2026 12:39
@KayleeWilliams
KayleeWilliams force-pushed the KayleeWilliams/update-deps-ts7 branch from 06fb3f8 to 0531f1c Compare August 11, 2026 12:43
@KayleeWilliams
KayleeWilliams force-pushed the KayleeWilliams/update-deps-ts7 branch from 0531f1c to 6ae20b7 Compare August 11, 2026 12:58
Bump typescript to 7.0.2, @types/node to 26.2.0, oxfmt to 0.63.0,
oxlint to 1.78.0, ultracite to 7.10.2 and @changesets/cli to 2.31.1.

TypeScript 7 is the released native compiler port and no longer exports
the compiler JS API from the package root, which breaks the
rollup-plugin-dts that tsup uses for declaration generation. Declarations
are now emitted by tsc via tsconfig.build.json after tsup bundles the
JavaScript. The exported type surface is unchanged.

Since TypeScript 7 is the release of the port that @typescript/native-preview
previewed, drop that package and typecheck with tsc so the same compiler
is used for building and checking.

The newer oxlint and oxfmt add rules that required source changes:
named capture groups in the perf report parser, a direct re-export in the
oxfmt config, and markdown reflowing. unicorn/prefer-number-coercion is
disabled because Math.trunc(Number(x)) does not match the Number.parseInt
semantics the CLI argument parsing relies on.
@KayleeWilliams
KayleeWilliams force-pushed the KayleeWilliams/update-deps-ts7 branch from 6ae20b7 to 946dc6d Compare August 11, 2026 13:16
@KayleeWilliams
KayleeWilliams merged commit 02fac51 into main Aug 11, 2026
1 check passed
@KayleeWilliams
KayleeWilliams deleted the KayleeWilliams/update-deps-ts7 branch August 11, 2026 13:19
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