Skip to content

build(npm): update dependency typescript to v7 - #128

Closed
renovate[bot] wants to merge 2 commits into
devfrom
renovate/major-npm-dev-dependencies
Closed

renovate[bot] wants to merge 2 commits into
devfrom
renovate/major-npm-dev-dependencies

Conversation

@renovate

@renovate renovate Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
typescript (source) ^5.3.2 → ^7.0.0 age confidence

Release Notes

microsoft/TypeScript (typescript)

v7.0.2

Compare Source

v6.0.3: TypeScript 6.0.3

Compare Source

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

Downloads are available on:

v6.0.2: TypeScript 6.0

Compare Source

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

Downloads are available on:


Configuration

📅 Schedule: (in timezone Etc/UTC)

  • Branch creation
    • "before 9am on monday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate

renovate Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm warn Unknown env config "store". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @typescript-eslint/[email protected]
npm error Found: [email protected]
npm error node_modules/typescript
npm error   dev typescript@"^7.0.0" from the root project
npm error   peer typescript@">=4.8.4" from [email protected]
npm error   node_modules/ts-api-utils
npm error     ts-api-utils@"^2.4.0" from @typescript-eslint/[email protected]
npm error     node_modules/@typescript-eslint/eslint-plugin
npm error       dev @typescript-eslint/eslint-plugin@"^8.57.2" from the root project
npm error       1 more (typescript-eslint)
npm error     ts-api-utils@"^2.4.0" from @typescript-eslint/[email protected]
npm error     node_modules/@typescript-eslint/type-utils
npm error       @typescript-eslint/type-utils@"8.57.2" from @typescript-eslint/[email protected]
npm error       node_modules/@typescript-eslint/eslint-plugin
npm error         dev @typescript-eslint/eslint-plugin@"^8.57.2" from the root project
npm error         1 more (typescript-eslint)
npm error     1 more (@typescript-eslint/typescript-estree)
npm error
npm error Could not resolve dependency:
npm error peer typescript@">=4.8.4 <6.0.0" from @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/eslint-plugin
npm error   dev @typescript-eslint/eslint-plugin@"^8.57.2" from the root project
npm error   @typescript-eslint/eslint-plugin@"8.57.2" from [email protected]
npm error   node_modules/typescript-eslint
npm error     dev typescript-eslint@"^8.57.2" from the root project
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/typescript
npm error   peer typescript@">=4.8.4 <6.0.0" from @typescript-eslint/[email protected]
npm error   node_modules/@typescript-eslint/eslint-plugin
npm error     dev @typescript-eslint/eslint-plugin@"^8.57.2" from the root project
npm error     @typescript-eslint/eslint-plugin@"8.57.2" from [email protected]
npm error     node_modules/typescript-eslint
npm error       dev typescript-eslint@"^8.57.2" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry this command with --force or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /runner/cache/others/npm/_logs/2026-07-16T16_34_07_203Z-eresolve-report.txt
npm error A complete log of this run can be found in: /runner/cache/others/npm/_logs/2026-07-16T16_34_07_203Z-debug-0.log

@renovate

renovate Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@c-vigo

c-vigo commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Closing this — TypeScript 7 can't land here yet.

I rebased this branch onto current dev and ran the full suite in the dev-shell. TypeScript 7.0 is the native Go rewrite (tsgo), which drops the JS compiler-internal APIs that our bundle/test/lint toolchain reaches into:

Step Result
tsc ✅ compiles clean
npm install ❌ ERESOLVE — [email protected] peer-deps typescript ">=4.8.4 <6.1.0"
npm run package (ncc → dist/) ❌ crash — Cannot read properties of undefined (reading 'fileExists')
npm run lint (typescript-eslint) ❌ crash — … (reading 'Cjs')
npm test (ts-jest) ❌ crash — … (reading 'readFile')

Only bare tsc works — @vercel/ncc, ts-jest, and typescript-eslint all break. That's also why the renovate/artifacts check failed here (Renovate couldn't regenerate the lockfile for the same reason).

Tracked in #132; #133 pins typescript to <7 in renovate.json so this stops being re-proposed until the toolchain supports TS 7.

@c-vigo

c-vigo commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Closing in favor of the hold in #133 (tracked by #132). Reopen if TS 7 tooling support lands and the pin is lifted.

@c-vigo c-vigo closed this Jul 16, 2026
@renovate

renovate Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 7.x releases. But if you manually upgrade to 7.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate
renovate Bot deleted the renovate/major-npm-dev-dependencies branch July 16, 2026 16:55
c-vigo added a commit that referenced this pull request Jul 16, 2026
## What

Adds a repo-local `renovate.json` package rule pinning `typescript` to
`<7` so Renovate stops proposing the v7 major.

## Why

TypeScript 7.0 is the native Go rewrite (`tsgo`) and drops the JS
compiler-internal APIs that the rest of the toolchain reaches into.
Verified by rebasing #128 onto `dev` and running the full suite locally:

| Step | Result |
|------|--------|
| `tsc` | ✅ compiles clean |
| `npm install` | ❌ ERESOLVE — `[email protected]` peer-deps
`typescript ">=4.8.4 <6.1.0"` |
| `npm run package` (ncc → `dist/`) | ❌ crash — `… (reading
'fileExists')` |
| `npm run lint` (typescript-eslint) | ❌ crash — `… (reading 'Cjs')` |
| `npm test` (ts-jest) | ❌ crash — `… (reading 'readFile')` |

Only bare `tsc` works; `@vercel/ncc`, `ts-jest`, and `typescript-eslint`
all break. This is also why Renovate's `artifacts` step failed on #128
(it could not regenerate the lockfile).

Revisit when those three ship TypeScript 7-compatible releases.

Closes #132. Supersedes #128 (closed).

Refs: #132
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