Skip to content

chore(deps): update dependency typescript to v6#132

Open
red-hat-konflux[bot] wants to merge 1 commit intomasterfrom
konflux/mintmaker/master/typescript-6.x
Open

chore(deps): update dependency typescript to v6#132
red-hat-konflux[bot] wants to merge 1 commit intomasterfrom
konflux/mintmaker/master/typescript-6.x

Conversation

@red-hat-konflux
Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
typescript (source) ^5.7.2^6.0.0 age confidence

Warning

Some dependencies could not be looked up. Check the warning logs for more information.


Release Notes

microsoft/TypeScript (typescript)

v6.0.3

Compare Source

v6.0.2: TypeScript 6.0

Compare Source

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

Downloads are available on:


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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

To execute skipped test pipelines write comment /ok-to-test.


Documentation

Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.

Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
@red-hat-konflux
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: mcp/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: ts-jest@29.4.6
npm error Found: typescript@6.0.3
npm error node_modules/typescript
npm error   dev typescript@"^6.0.0" from the root project
npm error   peer typescript@">=4.8.4 <6.1.0" from @typescript-eslint/eslint-plugin@8.58.2
npm error   node_modules/@typescript-eslint/eslint-plugin
npm error     dev @typescript-eslint/eslint-plugin@"^8.18.2" from the root project
npm error     @typescript-eslint/eslint-plugin@"8.58.2" from typescript-eslint@8.58.2
npm error     node_modules/typescript-eslint
npm error       dev typescript-eslint@"^8.18.2" from the root project
npm error   8 more (@typescript-eslint/parser, ...)
npm error
npm error Could not resolve dependency:
npm error peer typescript@">=4.3 <6" from ts-jest@29.4.6
npm error node_modules/ts-jest
npm error   dev ts-jest@"^29.2.5" from the root project
npm error
npm error Conflicting peer dependency: typescript@5.9.3
npm error node_modules/typescript
npm error   peer typescript@">=4.3 <6" from ts-jest@29.4.6
npm error   node_modules/ts-jest
npm error     dev ts-jest@"^29.2.5" 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 /tmp/renovate/cache/others/npm/_logs/2026-04-21T21_25_26_223Z-eresolve-report.txt
npm error A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2026-04-21T21_25_26_223Z-debug-0.log

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 21, 2026

Summary by CodeRabbit

  • Chores
    • Updated TypeScript development dependency to version 6.0.0.

Walkthrough

Updated the TypeScript development dependency from version 5.7.2 to 6.0.0 in the package configuration file, transitioning from a minor version constraint to the next major version.

Changes

Cohort / File(s) Summary
TypeScript Dependency Update
mcp/package.json
Updated typescript dev dependency from ^5.7.2 to ^6.0.0.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The pull request title clearly and concisely describes the main change: updating the TypeScript dependency to version 6.
Description check ✅ Passed The pull request description is directly related to the changeset, providing release notes and details about the TypeScript dependency update from v5.7.2 to v6.0.0.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch konflux/mintmaker/master/typescript-6.x

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

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@mcp/package.json`:
- Line 47: Update the toolchain before bumping TypeScript: in package.json
upgrade ts-jest to >=29.4.7 and all `@typescript-eslint` packages to >=8.58.0
(replace the old versions referenced in package.json), then run tests and lint
to confirm compatibility; next review tsconfig.json and adjust
"moduleResolution" from "node" to "bundler" if appropriate and reconcile
"module": "commonjs" with package.json's "type": "module" (or switch module to
an ES-compatible value) to avoid resolution/runtime mismatches.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 9ac92eaf-84de-484c-bfc9-b90576e6ba1d

📥 Commits

Reviewing files that changed from the base of the PR and between dcf6065 and e052032.

📒 Files selected for processing (1)
  • mcp/package.json

Comment thread mcp/package.json
"ts-jest": "^29.2.5",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"typescript": "^6.0.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🌐 Web query:

Does ts-jest 29.2.5 officially support TypeScript 6.x? Please provide the official compatibility matrix or release notes link.

💡 Result:

No, ts-jest 29.2.5 does not officially support TypeScript 6.x. The peer dependency requirement is typescript >=4.3 <7, which excludes TypeScript 6.x (6.0+). TypeScript 6 support was added later in v29.4.7 on 2026-04-01 per CHANGELOG.md. Official compatibility matrix is the peer deps listed on npm: https://www.npmjs.com/package/ts-jest. Release notes for 29.2.5: https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md (bug fixes only, no TS version changes).

Citations:


🌐 Web query:

Does typescript-eslint 8.18.2 officially support TypeScript 6.x? Please provide the official support policy/version matrix link.

💡 Result:

No, typescript-eslint 8.18.2 does not officially support TypeScript 6.x. TypeScript 6.0 was released in March 2026, while typescript-eslint 8.18.2 was released on December 23, 2024. typescript-eslint follows a policy of supporting TypeScript versions less than 2 years old, mirroring DefinitelyTyped's support window. As of v8 (including 8.18.2), the supported TypeScript range was approximately >=4.8.4 <5.8.0 or similar (up to around TS 5.6-5.8), based on historical docs and peer deps. Support for TypeScript 6.x was added later in v8.58.0 on March 30, 2026. Official support policy/version matrix: https://typescript-eslint.io/users/dependency-versions

Citations:


🌐 Web query:

TypeScript 6.0 release notes: what breaking changes affect module resolution or CommonJS/ESM interop in Node projects?

💡 Result:

TypeScript 6.0 introduces several breaking changes and deprecations affecting module resolution and CommonJS/ESM interop in Node.js projects: 1. Deprecation of --moduleResolution node / node10: This legacy resolution mode, which modeled older Node.js behavior, is deprecated. For Node.js projects using module: commonjs, TypeScript now defaults to or allows --moduleResolution bundler, which supports modern package.json fields like exports and imports but may resolve modules differently (e.g., more permissive for CommonJS). Migrate to moduleResolution: nodenext (or node20) with matching module for strict Node.js compatibility. 2. Default moduleResolution changes to bundler: When unspecified, it now defaults to bundler for ESM-like modules, potentially altering how bare module specifiers and relative imports resolve in Node.js contexts. 3. esModuleInterop and allowSyntheticDefaultImports default to true and false values deprecated: These are now always enabled (standard emit for CJS interop), improving default import handling from CommonJS modules (resolves to module.exports) but deprecating opt-out. Explicit false settings trigger warnings; behavior changes runtime emit for default imports. 4. Deprecation of baseUrl: No longer acts as a module resolution root, affecting non-relative imports if relied upon. 5. Support for #/ subpath imports: New feature (not breaking), but combined with bundler/nodenext resolution. These prepare for TS 7.0 removals. Use "ignoreDeprecations": "6.0" temporarily. For Node.js CommonJS projects, explicitly set module: nodenext, moduleResolution: nodenext to avoid surprises.

Citations:


Update ts-jest and typescript-eslint before merging TypeScript 6.0.0.

TypeScript 6.0.0 is incompatible with the current toolchain versions:

  • ts-jest 29.2.5 requires typescript <7, but TypeScript 6 support begins at 29.4.7+
  • typescript-eslint 8.18.2 does not support TypeScript 6 until v8.58.0+

Update both dependencies before this bump to avoid broken tests and lint failures. Additionally, TypeScript 6 deprecates --moduleResolution node in favor of bundler, which may conflict with the existing "module": "commonjs" in tsconfig.json paired with "type": "module" in package.json; validate module resolution configuration after upgrades.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@mcp/package.json` at line 47, Update the toolchain before bumping TypeScript:
in package.json upgrade ts-jest to >=29.4.7 and all `@typescript-eslint` packages
to >=8.58.0 (replace the old versions referenced in package.json), then run
tests and lint to confirm compatibility; next review tsconfig.json and adjust
"moduleResolution" from "node" to "bundler" if appropriate and reconcile
"module": "commonjs" with package.json's "type": "module" (or switch module to
an ES-compatible value) to avoid resolution/runtime mismatches.

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.

0 participants