Uh oh!
There was an error while loading. Please reload this page.
fix: run start compiler on imports from @tanstack/start-client-core - #5702
Conversation
View your CI Pipeline Execution ↗ for commit 0593b0f
☁️ Nx Cloud last updated this comment at |
WalkthroughReplaces a single-string import source check with a whitelist array ( Changes
Sequence Diagram(s)sequenceDiagram
participant AST as AST Traversal
participant Plugin as Start Compiler Plugin
rect rgba(135,206,235,0.12)
Note right of Plugin: New behavior uses whitelist array
end
AST->>Plugin: visit ImportDeclaration(node)
Plugin->>Plugin: extract import source (string)
alt source in validImportSources
Plugin->>Plugin: treat as allowed import (skip transform)
Plugin-->>AST: continue traversal
else not in whitelist
Plugin->>Plugin: apply transformation/validation
Plugin-->>AST: continue traversal
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Suggested reviewers
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 📥 CommitsReviewing files that changed from the base of the PR and between 8d958144fcb7c5fbc67b7f99d123b2ebd7e99541 and 0593b0f. 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ 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)
Comment |
this allows writing framework agnostic code that e.g. uses `createIsomorphicFn`
8d95814 to
0593b0fCompareMore 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-adaptercommit: |
Uh oh!
There was an error while loading. Please reload this page.
this allows writing framework agnostic code that e.g. uses
createIsomorphicFnSummary by CodeRabbit