Skip to content

fix: regenerate lock file and fix peer dependency conflicts#491

Closed
therockstorm wants to merge 5 commits into
renovate/typescript-6.xfrom
mendral/fix-typescript-6-lockfile
Closed

fix: regenerate lock file and fix peer dependency conflicts#491
therockstorm wants to merge 5 commits into
renovate/typescript-6.xfrom
mendral/fix-typescript-6-lockfile

Conversation

@therockstorm

@therockstorm therockstorm commented Apr 1, 2026

Copy link
Copy Markdown
Member

Summary

  • Regenerate package-lock.json to resolve typescript@6.0.2 (lock file was stale at 5.9.3, causing npm ci to fail with EUSAGE)
  • Add npm overrides for @typescript-eslint/eslint-plugin and @typescript-eslint/parser to 8.58.0 (supports typescript <6.1.0)
  • Bump ts-jest from 29.4.6 to 29.4.9 (supports typescript <7)
  • Bump @typescript-eslint/utils to 8.58.0 and @typescript-eslint/parser to 8.58.0 in packages/eslint-plugin
  • Fix ai-rules build script for TypeScript 6 compatibility: add --ignoreConfig, --ignoreDeprecations 6.0, and --types node flags to the tsc invocation

Context

Both CI jobs on renovate/typescript-6.x (PR #481) have been failing at npm ci because package-lock.json still referenced typescript@5.9.3 while package.json requires typescript@6.0.2. Additionally, several @typescript-eslint/* packages declared typescript <6.0.0 as a peer requirement, and the ai-rules build script used tsc CLI patterns that TypeScript 6 no longer accepts without explicit flags.

Changes

File Change
package.json Bump ts-jest to 29.4.9; add overrides for @typescript-eslint/eslint-plugin and @typescript-eslint/parser at 8.58.0
package-lock.json Regenerated with all dependencies resolved for typescript@6.0.2
packages/eslint-plugin/package.json Bump @typescript-eslint/utils to 8.58.0 and @typescript-eslint/parser to 8.58.0
packages/ai-rules/scripts/build.ts Add --ignoreConfig, --ignoreDeprecations 6.0, --types node flags for TS6 compatibility

Note

Created by Mendral. Tag @mendral-app with feedback or questions.


Open with Devin

renovate Bot and others added 2 commits April 1, 2026 02:14
- Regenerate package-lock.json for typescript@6.0.2
- Override @typescript-eslint/eslint-plugin and parser to 8.58.0
- Bump ts-jest 29.4.6 -> 29.4.9 (supports TS <7)
- Bump @typescript-eslint/utils and parser in eslint-plugin
- Fix ai-rules build script for TS6 compatibility
@coderabbitai

coderabbitai Bot commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 338a2caa-e7c5-4dc7-a3e5-7824227f1508

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch mendral/fix-typescript-6-lockfile

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

@nx-cloud

nx-cloud Bot commented Apr 1, 2026

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit f92e38e

Command Status Duration Result
nx affected --configuration ci --targets build,... ✅ Succeeded 5s View ↗
nx build ai-rules ✅ Succeeded 2s View ↗

☁️ Nx Cloud last updated this comment at 2026-04-01 17:07:29 UTC

- Add ignoreDeprecations 6.0 to tsconfig.base.json for baseUrl
  and moduleResolution=Node10 deprecations
- Fix example-nestjs webpack build by using ts-loader directly
  with transpileOnly:false to avoid TS5011 rootDir issue
@mendral-app mendral-app Bot reopened this Apr 1, 2026
@renovate renovate Bot force-pushed the renovate/typescript-6.x branch from a13e247 to d4593b9 Compare April 1, 2026 16:49
@mendral-app mendral-app Bot force-pushed the mendral/fix-typescript-6-lockfile branch from d64d84d to 513a950 Compare April 1, 2026 16:52
@mendral-app mendral-app Bot marked this pull request as ready for review April 1, 2026 16:53
@mendral-app mendral-app Bot requested a review from a team as a code owner April 1, 2026 16:53
@therockstorm therockstorm deleted the mendral/fix-typescript-6-lockfile branch April 1, 2026 16:56
devin-ai-integration[bot]

This comment was marked as resolved.

ts-loader is directly referenced in webpack.config.js but was only
available as a transitive dependency of @nx/webpack. Make it an
explicit devDependency to avoid breakage if @nx/webpack changes.
@mendral-app mendral-app Bot reopened this Apr 1, 2026
@therockstorm

Copy link
Copy Markdown
Member Author

@mendral-app Close this and stop recreating it

@renovate renovate Bot force-pushed the renovate/typescript-6.x branch 9 times, most recently from a6df612 to 3ff1814 Compare April 3, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant