Skip to content

chore(deps-dev): bump typescript from 5.9.3 to 7.0.2 - #418

Open
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/typescript-7.0.2
Open

dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/typescript-7.0.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 25, 2026

Copy link
Copy Markdown
Contributor

Bumps typescript from 5.9.3 to 7.0.2.

Release notes

Sourced from typescript's releases.

TypeScript 6.0.3

For release notes, check out the release announcement blog post.

Downloads are available on:

TypeScript 6.0

For release notes, check out the release announcement blog post.

Downloads are available on:

TypeScript 6.0 Beta

For release notes, check out the release announcement.

Downloads are available on:

Commits
Maintainer changes

This version was pushed to npm by microsoft1es, a new releaser for typescript since your current version.


Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.9.3 to 7.0.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](https://github.com/microsoft/TypeScript/commits)

---
updated-dependencies:
- dependency-name: typescript
  dependency-version: 7.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 25, 2026
Dependabot does not update bun.lock in a Bun workspace
(dependabot-core#14223), so `bun install --frozen-lockfile` reds every CI
job on its PRs before any real signal is produced. Regenerated from the
bumped manifest per the mitigation documented in .github/dependabot.yml.
@Shironex

Copy link
Copy Markdown
Collaborator

Refreshed bun.lock here so CI gets past bun install --frozen-lockfile and produces real signal (Dependabot doesn't update bun.lock in a Bun workspace — dependabot-core#14223).

The result: two distinct blockers, tracked in #426.

  1. Hard blocker (not ours): the dts build for @nightcore/eslint-plugin and @noctcore/harness crashes under TS 7 — TypeError: Cannot read properties of undefined (reading 'useCaseSensitiveFileNames') — because TS 7's compiler API changed. Since lint:plugin builds the plugin first, this reds bun run lint as a whole.
  2. Ours, fixable today: apps/web/tsconfig.json(21,5): error TS5102: Option 'baseUrl' has been removed. Dropping baseUrl and making paths self-relative works on 5.9.x too, so it's worth doing now to de-risk the eventual bump.

Shironex added a commit that referenced this pull request Aug 31, 2026
…script-eslint bump

Retargets the pending TypeScript major from Dependabot's proposed 7.0.2 to
6.0.3. TS 7 is the Go-ported compiler and ships no classic Compiler API — its
root export is lib/version.cjs, and only unstable/* entries expose the new
JSON-RPC client. That breaks two things here outright: typescript-eslint pins
`typescript: ">=4.8.4 <6.1.0"` on every 8.x sub-package (the request to support
7.0.2 was closed not-planned), so `eslint .` would fail repo-wide; and
tools/codegen/gen-settings-scope.ts calls ts.createSourceFile directly, which
would throw. 6.0.3 is the last stable 6.x and the top of that supported window.

Rationale and the full breaking-change analysis: docs/migrations/2026-08-31-typescript.md.

Changes:

- typescript ^5.9.3/^5.6.0 -> ^6.0.3 in the four manifests declaring it.
- @typescript-eslint/{utils,parser,rule-tester} and root typescript-eslint
  8.61.1 -> 8.68.0, completing the Phase 2 bump that the bounded
  `@typescript-eslint/utils` override was holding scope for. That override is
  now deleted — a reviewed bump replaces the freeze.
- apps/web/tsconfig.json: drop `baseUrl: "."`. TS 6 no longer treats baseUrl as
  a module-resolution lookup root and now errors on it (TS5101). Behaviour is
  unchanged: baseUrl was already the tsconfig's own directory, and under
  `moduleResolution: bundler` `paths` resolves relative to that directory
  regardless.
- packages/{eslint-plugin,harness}/tsconfig.json: add `ignoreDeprecations: "6.0"`.
  This is NOT for our config — neither sets baseUrl. tsup 8.5.1 hardcodes
  `baseUrl: compilerOptions.baseUrl || "."` into its --dts build
  (tsup/dist/rollup.js), so every `tsup --dts` run trips TS5101 no matter what
  the tsconfig says. 8.5.1 is the current latest, so there is no version to
  upgrade to; this is the escape hatch TypeScript's own error text prescribes.
  Remove it once tsup stops injecting the option.

noUncheckedSideEffectImports (the one genuinely behavioural TS 6 default flip,
now true) surfaced zero errors. The repo's four in-scope side-effect imports are
all CSS and are satisfied by vite/client's `declare module '*.css' {}`, so no
opt-out was needed.

Verified: typecheck (tsc -b --force), tsc -b packages/engine, tsc -b apps/web,
lint (incl. tsup --dts builds, eslint ., lint:meta), test:node, test:web,
test:plugin, test:rust, check:rust, cargo fmt --check, cargo clippy
--all-targets, audit, and codegen:check — which is what actually exercises
gen-settings-scope.ts's Compiler API usage and is not CI-wired.

Dependabot PR #418 (7.0.2) left untouched.
Shironex added a commit that referenced this pull request Aug 31, 2026
…script-eslint bump

Retargets the pending TypeScript major from Dependabot's proposed 7.0.2 to
6.0.3. TS 7 is the Go-ported compiler and ships no classic Compiler API — its
root export is lib/version.cjs, and only unstable/* entries expose the new
JSON-RPC client. That breaks two things here outright: typescript-eslint pins
`typescript: ">=4.8.4 <6.1.0"` on every 8.x sub-package (the request to support
7.0.2 was closed not-planned), so `eslint .` would fail repo-wide; and
tools/codegen/gen-settings-scope.ts calls ts.createSourceFile directly, which
would throw. 6.0.3 is the last stable 6.x and the top of that supported window.

Rationale and the full breaking-change analysis: docs/migrations/2026-08-31-typescript.md.

Changes:

- typescript ^5.9.3/^5.6.0 -> ^6.0.3 in the four manifests declaring it.
- @typescript-eslint/{utils,parser,rule-tester} and root typescript-eslint
  8.61.1 -> 8.68.0, completing the Phase 2 bump that the bounded
  `@typescript-eslint/utils` override was holding scope for. That override is
  now deleted — a reviewed bump replaces the freeze.
- apps/web/tsconfig.json: drop `baseUrl: "."`. TS 6 no longer treats baseUrl as
  a module-resolution lookup root and now errors on it (TS5101). Behaviour is
  unchanged: baseUrl was already the tsconfig's own directory, and under
  `moduleResolution: bundler` `paths` resolves relative to that directory
  regardless.
- packages/{eslint-plugin,harness}/tsconfig.json: add `ignoreDeprecations: "6.0"`.
  This is NOT for our config — neither sets baseUrl. tsup 8.5.1 hardcodes
  `baseUrl: compilerOptions.baseUrl || "."` into its --dts build
  (tsup/dist/rollup.js), so every `tsup --dts` run trips TS5101 no matter what
  the tsconfig says. 8.5.1 is the current latest, so there is no version to
  upgrade to; this is the escape hatch TypeScript's own error text prescribes.
  Remove it once tsup stops injecting the option.

noUncheckedSideEffectImports (the one genuinely behavioural TS 6 default flip,
now true) surfaced zero errors. The repo's four in-scope side-effect imports are
all CSS and are satisfied by vite/client's `declare module '*.css' {}`, so no
opt-out was needed.

Verified: typecheck (tsc -b --force), tsc -b packages/engine, tsc -b apps/web,
lint (incl. tsup --dts builds, eslint ., lint:meta), test:node, test:web,
test:plugin, test:rust, check:rust, cargo fmt --check, cargo clippy
--all-targets, audit, and codegen:check — which is what actually exercises
gen-settings-scope.ts's Compiler API usage and is not CI-wired.

Dependabot PR #418 (7.0.2) left untouched.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant