Repository navigation
chore: fix devtools dependeicies - #5819
Conversation
WalkthroughUpdates dependency declarations across three dev-tools packages: adds optional peer dependencies on Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
🧰 Additional context used📓 Path-based instructions (2)**/package.json📄 CodeRabbit inference engine (AGENTS.md)
Files:
packages/{router-devtools,*-router-devtools}/**📄 CodeRabbit inference engine (AGENTS.md)
Files:
🧠 Learnings (9)📓 Common learnings📚 Learning: 2025-09-23T17:36:12.598ZApplied to files:
📚 Learning: 2025-09-23T17:36:12.598ZApplied to files:
📚 Learning: 2025-09-23T17:36:12.598ZApplied to files:
📚 Learning: 2025-09-23T17:36:12.598ZApplied to files:
📚 Learning: 2025-09-23T17:36:12.598ZApplied to files:
📚 Learning: 2025-09-23T17:36:12.598ZApplied to files:
📚 Learning: 2025-10-08T08:11:47.088ZApplied to files:
📚 Learning: 2025-11-02T16:16:24.898ZApplied to files:
🔇 Additional comments (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
View your CI Pipeline Execution ↗ for commit 78e6279
☁️ Nx Cloud last updated this comment at |
More templates
@tanstack/arktype-adapter
@tanstack/directive-functions-plugin
@tanstack/eslint-plugin-router
@tanstack/history
@tanstack/nitro-v2-vite-plugin
@tanstack/react-router
@tanstack/react-router-devtools
@tanstack/react-router-ssr-query
@tanstack/react-start
@tanstack/react-start-client
@tanstack/react-start-server
@tanstack/router-cli
@tanstack/router-core
@tanstack/router-devtools
@tanstack/router-devtools-core
@tanstack/router-generator
@tanstack/router-plugin
@tanstack/router-ssr-query-core
@tanstack/router-utils
@tanstack/router-vite-plugin
@tanstack/server-functions-plugin
@tanstack/solid-router
@tanstack/solid-router-devtools
@tanstack/solid-router-ssr-query
@tanstack/solid-start
@tanstack/solid-start-client
@tanstack/solid-start-server
@tanstack/start-client-core
@tanstack/start-plugin-core
@tanstack/start-server-core
@tanstack/start-static-server-functions
@tanstack/start-storage-context
@tanstack/valibot-adapter
@tanstack/virtual-file-routes
@tanstack/zod-adapter
commit: |
|
since |
|
Sadly it breaks yarn PnP which strictly forbids extraneous dependency 😢 Marked as optional so shouldn't be a problem if router/core is not installed |
|
Without lazy-loading the devtools, the production build breaks due to unresolved dependencies. Is there an estimated timeline for a release? |
|
@mnlfischer You mean that the current release has the issue and this PR resolves it, right? Did you test that this pr fixes your problem? |
|
@ha1fstack yes it is fixed for tiny-invariant but only one step forward. Now I get
but still debugging if someting else is wrong |
|
@mnlfischer did you install @tanstack/router-core as a dependency too? |
|
@ha1fstack I never installed the core package, is it necessary? |
|
@mnlfischer For yarn pnp you need explict dependencies so I guess so |
|
@ha1fstack in the docs the install command is not showing any additional packages: |
|
Its because you are using yarn pnp, otherwise it would be fine. It should work if you install router/core. |
This PR fixes wrong dependency config of devtools related packages:
router-devtools-core>tiny-invariantshould be a normal dependencyreact-router-devtoolsandsolid-router-devtoolsdo not providerouter-devtools-core's peer dependencyrouter-coreso added it as optional peerDepsSummary by CodeRabbit