-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
fix: package crawling include start-client-core #5715
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughA single file modification in the plugin core that broadens peer dependency compatibility checks to include @tanstack/start-client-core and propagates excluded framework packages from crawl results into client environment dependency optimization configuration. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (2)**/*.{ts,tsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
packages/{*-start,start-*}/**📄 CodeRabbit inference engine (AGENTS.md)
Files:
🧠 Learnings (2)📓 Common learnings📚 Learning: 2025-09-23T17:36:12.598ZApplied to files:
⏰ 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)
🔇 Additional comments (2)
Comment |
|
View your CI Pipeline Execution ↗ for commit e5b2bd8
☁️ 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: |
| outDir: getClientOutputDirectory(viteConfig), | ||
| }, | ||
| optimizeDeps: { | ||
| exclude: crawlFrameworkPkgsResult.optimizeDeps.exclude, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This causes a bug with tanstack forms loading use-sync-external-store:
SyntaxError: The requested module '/@fs/home/my-proj/node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.1.0/node_modules/use-sync-external-store/shim/with-selector.js?v=c5ef6809' does not provide an export named 'useSyncExternalStoreWithSelector' (at index.js?v=c5ef6809:1:10)
The above error occurred in the <Lazy> component.
React will try to recreate this component tree from scratch using the error boundary you provided, CatchBoundaryImpl.
overrideMethod @ hook.js:608
defaultOnCaughtError @ react-dom-client.development.js:8331
...
(anonymous) @ client.tsx:9
exports.startTransition @ react.development.js:1124
(anonymous) @ client.tsx:5Understand this warning
hook.js:608 Warning: The requested module '/@fs/home/my-proj/node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.1.0/node_modules/use-sync-external-store/shim/with-selector.js?v=c5ef6809' does not provide an export named 'useSyncExternalStoreWithSelector'
I reliably do get this bug when on
"@tanstack/react-start": "1.134.7",
and its fixed on "@tanstack/react-start": "1.134.6",
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you please create a new issue including a complete reproducer ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Summary by CodeRabbit