Skip to content

Conversation

@schiller-manuel
Copy link
Contributor

@schiller-manuel schiller-manuel commented Dec 22, 2025

Summary by CodeRabbit

  • Chores
    • Bumped multiple Babel- and build-related dependency versions across packages, examples, and root overrides.
    • Removed a few unused Babel syntax plugins from some packages and examples.
    • No changes to public APIs or runtime behavior beyond dependency/version updates.
  • Tests
    • Removed several snapshot test file contents (test artifacts only).

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 22, 2025

Walkthrough

Babel-related dependency version bumps and tidy-ups across multiple package.json files (most @babel/* moved to ^7.28.5, babel-dead-code-elimination to ^1.0.11), removal of some @babel/plugin-syntax-typescript entries, pnpm overrides added, and multiple router-plugin test snapshot files cleared/removed.

Changes

Cohort / File(s) Summary
Core packages — Babel upgrades & dead-code bump
packages/router-plugin/package.json, packages/server-functions-plugin/package.json, packages/router-utils/package.json, packages/directive-functions-plugin/package.json, packages/start-plugin-core/package.json
Upgraded @babel/* deps to ^7.28.5 (core, traverse, types, generator, parser, code-frame) and bumped babel-dead-code-elimination to ^1.0.11 where present; some plugin-syntax entries removed. No public API changes.
Monorepo overrides
package.json
Added pnpm overrides for @babel/parser and @babel/types -> ^7.28.5.
Examples & e2e — remove plugin-syntax-typescript / preset bump
e2e/react-start/basic-rsc/package.json, examples/react/start-basic-rsc/package.json, examples/solid/quickstart-webpack-file-based/package.json
Removed @babel/plugin-syntax-typescript from two packages; bumped devDependency @babel/preset-typescript to ^7.28.5 in the Solid example.
Router-plugin tests — snapshot deletions / cleared examples
packages/router-plugin/tests/code-splitter/snapshots/react/.../circular-reference-*/*@*.tsx (multiple snapshot files across 1-default, 2-components-combined-loader-separate, 3-all-combined-*)
Removed contents of numerous React snapshot files (helper and component definitions deleted), effectively emptying those snapshot fixtures. Reviewers should verify intended snapshot removals.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Suggested reviewers

  • brenelz

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'chore: bump babel-dead-code-elimination' accurately reflects the primary change in the PR, which involves bumping the babel-dead-code-elimination dependency across multiple packages.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch bump-babel-dead-code-elimination

📜 Recent review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 55e7616 and b782890.

📒 Files selected for processing (8)
  • packages/router-plugin/tests/code-splitter/snapshots/react/1-default/[email protected]
  • packages/router-plugin/tests/code-splitter/snapshots/react/1-default/[email protected]
  • packages/router-plugin/tests/code-splitter/snapshots/react/1-default/[email protected]
  • packages/router-plugin/tests/code-splitter/snapshots/react/1-default/[email protected]
  • packages/router-plugin/tests/code-splitter/snapshots/react/2-components-combined-loader-separate/[email protected]
  • packages/router-plugin/tests/code-splitter/snapshots/react/2-components-combined-loader-separate/[email protected]
  • packages/router-plugin/tests/code-splitter/snapshots/react/3-all-combined-errorComponent-separate/[email protected]
  • packages/router-plugin/tests/code-splitter/snapshots/react/3-all-combined-errorComponent-separate/[email protected]
💤 Files with no reviewable changes (8)
  • packages/router-plugin/tests/code-splitter/snapshots/react/2-components-combined-loader-separate/[email protected]
  • packages/router-plugin/tests/code-splitter/snapshots/react/1-default/[email protected]
  • packages/router-plugin/tests/code-splitter/snapshots/react/2-components-combined-loader-separate/[email protected]
  • packages/router-plugin/tests/code-splitter/snapshots/react/1-default/[email protected]
  • packages/router-plugin/tests/code-splitter/snapshots/react/3-all-combined-errorComponent-separate/[email protected]
  • packages/router-plugin/tests/code-splitter/snapshots/react/1-default/[email protected]
  • packages/router-plugin/tests/code-splitter/snapshots/react/3-all-combined-errorComponent-separate/[email protected]
  • packages/router-plugin/tests/code-splitter/snapshots/react/1-default/[email protected]
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: Preview
  • GitHub Check: Test

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

@nx-cloud
Copy link

nx-cloud bot commented Dec 22, 2025

🤖 Nx Cloud AI Fix Eligible

An automatically generated fix could have helped fix failing tasks for this run, but Self-healing CI is disabled for this workspace. Visit workspace settings to enable it and get automatic fixes in future runs.

To disable these notifications, a workspace admin can disable them in workspace settings.


View your CI Pipeline Execution ↗ for commit b782890

Command Status Duration Result
nx affected --targets=test:eslint,test:unit,tes... ❌ Failed 6m 9s View ↗
nx run-many --target=build --exclude=examples/*... ✅ Succeeded 1s View ↗

☁️ Nx Cloud last updated this comment at 2025-12-23 02:27:13 UTC

Copy link
Contributor

@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

📜 Review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between f613bc3 and 0e863e2.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (4)
  • packages/directive-functions-plugin/package.json
  • packages/router-plugin/package.json
  • packages/server-functions-plugin/package.json
  • packages/start-plugin-core/package.json
🧰 Additional context used
📓 Path-based instructions (1)
**/package.json

📄 CodeRabbit inference engine (AGENTS.md)

Use workspace protocol workspace:* for internal dependencies in package.json files

Files:

  • packages/start-plugin-core/package.json
  • packages/server-functions-plugin/package.json
  • packages/router-plugin/package.json
  • packages/directive-functions-plugin/package.json
🧠 Learnings (3)
📚 Learning: 2025-12-06T15:03:07.223Z
Learnt from: CR
Repo: TanStack/router PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-06T15:03:07.223Z
Learning: Applies to **/package.json : Use workspace protocol `workspace:*` for internal dependencies in package.json files

Applied to files:

  • packages/start-plugin-core/package.json
  • packages/router-plugin/package.json
📚 Learning: 2025-11-02T16:16:24.898Z
Learnt from: nlynzaad
Repo: TanStack/router PR: 5732
File: packages/start-client-core/src/client/hydrateStart.ts:6-9
Timestamp: 2025-11-02T16:16:24.898Z
Learning: In packages/start-client-core/src/client/hydrateStart.ts, the `import/no-duplicates` ESLint disable is necessary for imports from `#tanstack-router-entry` and `#tanstack-start-entry` because both aliases resolve to the same placeholder file (`fake-start-entry.js`) in package.json during static analysis, even though they resolve to different files at runtime.

Applied to files:

  • packages/start-plugin-core/package.json
  • packages/router-plugin/package.json
  • packages/directive-functions-plugin/package.json
📚 Learning: 2025-10-01T18:31:35.420Z
Learnt from: schiller-manuel
Repo: TanStack/router PR: 5330
File: e2e/react-start/custom-basepath/src/routeTree.gen.ts:58-61
Timestamp: 2025-10-01T18:31:35.420Z
Learning: Do not review files named `routeTree.gen.ts` in TanStack Router repositories, as these are autogenerated files that should not be manually modified.

Applied to files:

  • packages/router-plugin/package.json
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: Preview
  • GitHub Check: Test
🔇 Additional comments (3)
packages/server-functions-plugin/package.json (1)

71-71: LGTM!

The dependency version bump is consistent with the other packages in this PR.

packages/start-plugin-core/package.json (1)

75-75: LGTM!

The dependency version bump aligns with the other packages in this PR.

packages/router-plugin/package.json (1)

117-117: LGTM!

The dependency version bump is consistent with the other packages in this PR.

"@babel/types": "^7.27.7",
"@tanstack/router-utils": "workspace:*",
"babel-dead-code-elimination": "^1.0.10",
"babel-dead-code-elimination": "^1.0.11",
Copy link
Contributor

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

🏁 Script executed:

cat packages/directive-functions-plugin/package.json | head -80 | tail -20

Repository: TanStack/router

Length of output: 567


Fix version specification: babel-dead-code-elimination does not have a 1.0.11 release.

The latest available version of babel-dead-code-elimination is 1.0.10, not 1.0.11. Change the dependency to "babel-dead-code-elimination": "^1.0.10" to resolve the version correctly. The package is maintained with MIT license and has 26 dependents, so no security concerns exist once the version is corrected.

🤖 Prompt for AI Agents
In packages/directive-functions-plugin/package.json around line 73 the
dependency version for babel-dead-code-elimination is incorrect (1.0.11 does not
exist); update the version specifier to the latest published release by
replacing "babel-dead-code-elimination": "^1.0.11" with
"babel-dead-code-elimination": "^1.0.10" and run npm install (or yarn) to update
lockfiles accordingly.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 23, 2025

More templates

@tanstack/arktype-adapter

npm i https://pkg.pr.new/TanStack/router/@tanstack/arktype-adapter@6187

@tanstack/directive-functions-plugin

npm i https://pkg.pr.new/TanStack/router/@tanstack/directive-functions-plugin@6187

@tanstack/eslint-plugin-router

npm i https://pkg.pr.new/TanStack/router/@tanstack/eslint-plugin-router@6187

@tanstack/history

npm i https://pkg.pr.new/TanStack/router/@tanstack/history@6187

@tanstack/nitro-v2-vite-plugin

npm i https://pkg.pr.new/TanStack/router/@tanstack/nitro-v2-vite-plugin@6187

@tanstack/react-router

npm i https://pkg.pr.new/TanStack/router/@tanstack/react-router@6187

@tanstack/react-router-devtools

npm i https://pkg.pr.new/TanStack/router/@tanstack/react-router-devtools@6187

@tanstack/react-router-ssr-query

npm i https://pkg.pr.new/TanStack/router/@tanstack/react-router-ssr-query@6187

@tanstack/react-start

npm i https://pkg.pr.new/TanStack/router/@tanstack/react-start@6187

@tanstack/react-start-client

npm i https://pkg.pr.new/TanStack/router/@tanstack/react-start-client@6187

@tanstack/react-start-server

npm i https://pkg.pr.new/TanStack/router/@tanstack/react-start-server@6187

@tanstack/router-cli

npm i https://pkg.pr.new/TanStack/router/@tanstack/router-cli@6187

@tanstack/router-core

npm i https://pkg.pr.new/TanStack/router/@tanstack/router-core@6187

@tanstack/router-devtools

npm i https://pkg.pr.new/TanStack/router/@tanstack/router-devtools@6187

@tanstack/router-devtools-core

npm i https://pkg.pr.new/TanStack/router/@tanstack/router-devtools-core@6187

@tanstack/router-generator

npm i https://pkg.pr.new/TanStack/router/@tanstack/router-generator@6187

@tanstack/router-plugin

npm i https://pkg.pr.new/TanStack/router/@tanstack/router-plugin@6187

@tanstack/router-ssr-query-core

npm i https://pkg.pr.new/TanStack/router/@tanstack/router-ssr-query-core@6187

@tanstack/router-utils

npm i https://pkg.pr.new/TanStack/router/@tanstack/router-utils@6187

@tanstack/router-vite-plugin

npm i https://pkg.pr.new/TanStack/router/@tanstack/router-vite-plugin@6187

@tanstack/server-functions-plugin

npm i https://pkg.pr.new/TanStack/router/@tanstack/server-functions-plugin@6187

@tanstack/solid-router

npm i https://pkg.pr.new/TanStack/router/@tanstack/solid-router@6187

@tanstack/solid-router-devtools

npm i https://pkg.pr.new/TanStack/router/@tanstack/solid-router-devtools@6187

@tanstack/solid-router-ssr-query

npm i https://pkg.pr.new/TanStack/router/@tanstack/solid-router-ssr-query@6187

@tanstack/solid-start

npm i https://pkg.pr.new/TanStack/router/@tanstack/solid-start@6187

@tanstack/solid-start-client

npm i https://pkg.pr.new/TanStack/router/@tanstack/solid-start-client@6187

@tanstack/solid-start-server

npm i https://pkg.pr.new/TanStack/router/@tanstack/solid-start-server@6187

@tanstack/start-client-core

npm i https://pkg.pr.new/TanStack/router/@tanstack/start-client-core@6187

@tanstack/start-fn-stubs

npm i https://pkg.pr.new/TanStack/router/@tanstack/start-fn-stubs@6187

@tanstack/start-plugin-core

npm i https://pkg.pr.new/TanStack/router/@tanstack/start-plugin-core@6187

@tanstack/start-server-core

npm i https://pkg.pr.new/TanStack/router/@tanstack/start-server-core@6187

@tanstack/start-static-server-functions

npm i https://pkg.pr.new/TanStack/router/@tanstack/start-static-server-functions@6187

@tanstack/start-storage-context

npm i https://pkg.pr.new/TanStack/router/@tanstack/start-storage-context@6187

@tanstack/valibot-adapter

npm i https://pkg.pr.new/TanStack/router/@tanstack/valibot-adapter@6187

@tanstack/virtual-file-routes

npm i https://pkg.pr.new/TanStack/router/@tanstack/virtual-file-routes@6187

@tanstack/vue-router

npm i https://pkg.pr.new/TanStack/router/@tanstack/vue-router@6187

@tanstack/vue-router-devtools

npm i https://pkg.pr.new/TanStack/router/@tanstack/vue-router-devtools@6187

@tanstack/vue-router-ssr-query

npm i https://pkg.pr.new/TanStack/router/@tanstack/vue-router-ssr-query@6187

@tanstack/vue-start

npm i https://pkg.pr.new/TanStack/router/@tanstack/vue-start@6187

@tanstack/vue-start-client

npm i https://pkg.pr.new/TanStack/router/@tanstack/vue-start-client@6187

@tanstack/vue-start-server

npm i https://pkg.pr.new/TanStack/router/@tanstack/vue-start-server@6187

@tanstack/zod-adapter

npm i https://pkg.pr.new/TanStack/router/@tanstack/zod-adapter@6187

commit: b782890

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants