Skip to content

Update dependency typescript to v7#2260

Open
red-hat-konflux[bot] wants to merge 1 commit into
release-4.19from
konflux/mintmaker/release-4.19/typescript-7.x
Open

Update dependency typescript to v7#2260
red-hat-konflux[bot] wants to merge 1 commit into
release-4.19from
konflux/mintmaker/release-4.19/typescript-7.x

Conversation

@red-hat-konflux

@red-hat-konflux red-hat-konflux Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
typescript (source) ^5.9.3^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 UTC)

  • Branch creation
    • Every minute (* * * * *)
  • 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.

Summary by CodeRabbit

  • Chores
    • Updated the TypeScript tooling to a newer major version.

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: 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/eslint-plugin@8.59.0
npm error Found: typescript@7.0.2
npm error node_modules/typescript
npm error   typescript@"^7.0.0" from the root project
npm error   peer typescript@">=5.7.2" from @openshift-console/dynamic-plugin-sdk-webpack@4.19.0
npm error   node_modules/@openshift-console/dynamic-plugin-sdk-webpack
npm error     @openshift-console/dynamic-plugin-sdk-webpack@"4.19.0" from the root project
npm error   4 more (cosmiconfig, ts-api-utils, ts-loader, ts-node)
npm error
npm error Could not resolve dependency:
npm error peer typescript@">=4.8.4 <6.1.0" from @typescript-eslint/eslint-plugin@8.59.0
npm error node_modules/@typescript-eslint/eslint-plugin
npm error   dev @typescript-eslint/eslint-plugin@"^8.58.1" from the root project
npm error
npm error Conflicting peer dependency: typescript@6.0.3
npm error node_modules/typescript
npm error   peer typescript@">=4.8.4 <6.1.0" from @typescript-eslint/eslint-plugin@8.59.0
npm error   node_modules/@typescript-eslint/eslint-plugin
npm error     dev @typescript-eslint/eslint-plugin@"^8.58.1" 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-07-22T17_20_47_074Z-eresolve-report.txt
npm error A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2026-07-22T17_20_47_074Z-debug-0.log

@openshift-ci
openshift-ci Bot requested review from kyoto and syedriko July 22, 2026 17:21
@openshift-ci

openshift-ci Bot commented Jul 22, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign joshuawilson for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@coderabbitai

coderabbitai Bot commented Jul 22, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

Updates the typescript dependency in package.json from ^5.9.3 to ^7.0.0.

Changes

TypeScript dependency

Layer / File(s) Summary
Update TypeScript version
package.json
Changes the TypeScript dependency range from ^5.9.3 to ^7.0.0.

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

Suggested labels: lgtm, approved

Suggested reviewers: kyoto

🚥 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 and concisely summarizes the main change: updating the TypeScript dependency to v7.
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 konflux/mintmaker/release-4.19/typescript-7.x

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 Checkov (3.3.8)
package.json

Traceback (most recent call last):
File "/usr/local/bin/checkov", line 2, in
from checkov.main import Checkov
ModuleNotFoundError: No module named 'checkov'

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint install timed out. The project may have too many dependencies for the sandbox.


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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@package.json`:
- Line 50: Update the package.json TypeScript dependency from ^7.0.0 to a
version range below 6.1.0, preserving compatibility with the currently locked
`@typescript-eslint` parser and plugin.
- Line 50: Revert the TypeScript version in package.json from 7.x to a version
compatible with the existing `@typescript-eslint` packages and package-lock
resolution, or upgrade the entire lint toolchain together and regenerate the
lockfile; keep package.json and package-lock.json consistent.
🪄 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: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 6047de98-de1c-4506-8af4-5a810eda4559

📥 Commits

Reviewing files that changed from the base of the PR and between 6566ddf and bd5e773.

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

Comment thread package.json
"ts-loader": "^9.6.0",
"ts-node": "^10.9.2",
"typescript": "^5.9.3",
"typescript": "^7.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.

🗄️ Data Integrity & Integration | 🟠 Major | 🏗️ Heavy lift

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
jq -r '
  .packages["node_modules/@typescript-eslint/parser"].peerDependencies.typescript,
  .packages["node_modules/@typescript-eslint/eslint-plugin"].peerDependencies.typescript
' package-lock.json

Repository: openshift/lightspeed-console

Length of output: 196


Keep TypeScript below 6.1.0 until @typescript-eslint is upgraded. The locked parser and plugin only allow >=4.8.4 <6.1.0, so typescript@^7.0.0 is outside their supported range and can break lint/type-check.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@package.json` at line 50, Update the package.json TypeScript dependency from
^7.0.0 to a version range below 6.1.0, preserving compatibility with the
currently locked `@typescript-eslint` parser and plugin.

Source: MCP tools


🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
jq -r '
  {
    manifest: (.devDependencies.typescript // .dependencies.typescript),
    lock_root: .packages[""].devDependencies.typescript,
    resolved: .packages["node_modules/typescript"].version
  }
' package.json package-lock.json

Repository: openshift/lightspeed-console

Length of output: 301


🏁 Script executed:

#!/bin/bash
set -euo pipefail

printf '\npackage.json (typescript-related lines)\n'
grep -n '"typescript"' -n package.json || true

printf '\npackage-lock.json root and typescript entries\n'
python3 - <<'PY'
import json
from pathlib import Path

for path in ["package.json", "package-lock.json"]:
    data = json.loads(Path(path).read_text())
    print(f"\n== {path} ==")
    if path == "package.json":
        for k in ("dependencies", "devDependencies", "optionalDependencies", "peerDependencies"):
            if k in data and "typescript" in data[k]:
                print(k, data[k]["typescript"])
    else:
        pkgs = data.get("packages", {})
        root = pkgs.get("", {})
        print("root devDependencies.typescript =", root.get("devDependencies", {}).get("typescript"))
        ts = pkgs.get("node_modules/typescript", {})
        print("node_modules/typescript.version =", ts.get("version"))
        print("node_modules/typescript.resolved =", ts.get("resolved"))
        print("node_modules/typescript.integrity =", ts.get("integrity"))
        for name in ["node_modules/@typescript-eslint/parser", "node_modules/@typescript-eslint/eslint-plugin", "node_modules/@typescript-eslint/type-utils"]:
            pkg = pkgs.get(name)
            if pkg:
                print(name, "peerDependencies.typescript =", pkg.get("peerDependencies", {}).get("typescript"))
PY

printf '\nLockfile text around TypeScript package entry\n'
python3 - <<'PY'
from pathlib import Path
text = Path("package-lock.json").read_text()
needle = '"node_modules/typescript"'
idx = text.find(needle)
print(text[idx:idx+1200] if idx!=-1 else "not found")
PY

Repository: openshift/lightspeed-console

Length of output: 2168


🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Show the package.json TypeScript declaration and nearby lockfile state.
python3 - <<'PY'
import json
from pathlib import Path

pkg = json.loads(Path("package.json").read_text())
lock = json.loads(Path("package-lock.json").read_text())

for section in ("dependencies", "devDependencies", "optionalDependencies", "peerDependencies"):
    if section in pkg and "typescript" in pkg[section]:
        print("package.json", section, pkg[section]["typescript"])

root = lock.get("packages", {}).get("", {})
print("package-lock.json root devDependencies.typescript =", root.get("devDependencies", {}).get("typescript"))

ts = lock.get("packages", {}).get("node_modules/typescript", {})
print("package-lock.json node_modules/typescript.version =", ts.get("version"))
print("package-lock.json node_modules/typescript.resolved =", ts.get("resolved"))

for name in [
    "node_modules/@typescript-eslint/parser",
    "node_modules/@typescript-eslint/eslint-plugin",
    "node_modules/@typescript-eslint/type-utils",
]:
    pkg = lock.get("packages", {}).get(name)
    if pkg:
        print(name, "peerDependencies.typescript =", pkg.get("peerDependencies", {}).get("typescript"))
PY

Repository: openshift/lightspeed-console

Length of output: 691


Don’t bump TypeScript to 7 yet
@typescript-eslint/* in the lockfile only supports typescript <6.1.0, and package-lock.json still resolves typescript to 5.9.3. Keep this on a compatible version, or upgrade the lint toolchain and regenerate the lockfile together.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@package.json` at line 50, Revert the TypeScript version in package.json from
7.x to a version compatible with the existing `@typescript-eslint` packages and
package-lock resolution, or upgrade the entire lint toolchain together and
regenerate the lockfile; keep package.json and package-lock.json consistent.

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