tanstack-cli --router-only project tanstack-query add on scaffolds a tanstack-start router.tsx
維護者通常 1 天內回覆
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 45/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- react, typescript
- 領域
- cli
研究方向
Start by reproducing the report: create a React app with --router-only, then run add tanstack-query and check the generated files. The payload does not name the add-on source files, so find where the tanstack-query add-on writes router.tsx and where it inserts the provider. Done means the add-on no longer creates an unused router.tsx and the app root is wrapped in a query provider. The request to support --router-only on create is a separate question; confirm with maintainers before changing it.
由索引模型根據 Issue 內容生成。
描述
Which project does this relate to?
Create Tanstack App
Describe the bug
Tanstack query add-on command adds a router.tsx file which is unused and doesn't wrap the app in a query provider like the previous cli tooling used to do.
Your Example Website or App
http://#
Steps to Reproduce the Bug or Issue
If you create a new app: I used this command:
pnpm dlx @tanstack/cli@latest create frontend \
--router-only \
--framework react \
--package-manager pnpm \
--toolchain eslint \
--no-examples \
--tailwind \
--no-git \
-y
I then added some add-ons as you can no longer add add-ons through the create interactive cli for router only
pnpm dlx @tanstack/cli@latest add \
shadcn \
t3env \
tanstack-query \
paraglide \
compiler
Expected behavior
For the cli command to be able to accept router-only flag or for the router-only cli to enable add ons as part of start up
Screenshots or Videos
No response
Platform
MacOS
Additional context
No response
- 主要語言
- TypeScript
- 星號
- 1.3k
- 分支
- 188
- 平均合併
- 5 小時 30 分鐘
- 30 天內合併 PR
- 42
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
TanStack/cli 的其他 Issue
-
[Bug] Inconsistent settings in biome.json可能已有人在做 @tannerlinsley 於 11 天前認領。 未關閉
難度 1/5 1-3 小時 新手友好度 76/100
維護者通常 1 天內回覆
-
Neon add-on depends on deprecated vite-plugin-neon-new可能已有人在做 @tannerlinsley 今天認領。 未關閉
難度 4/5 3-5 天 新手友好度 57/100
維護者通常 1 天內回覆
-
Proposal: PocketBase add-on可能已有人在做 @akanyane 於 13 天前認領。 未關閉
難度 4/5 3-5 天 新手友好度 25/100
TanStack/cli#527 · 2 則留言 · 1 個 reaction ·
維護者通常 1 天內回覆
-
enhancement
難度 5/5 一週以上 新手友好度 35/100
維護者通常 1 天內回覆
-
create with bun says Intent is configured but never writes AGENTS.md可能已有人在做 @cfngc4594 於 63 天前認領。 未關閉
難度 3/5 1-2 天 新手友好度 68/100
維護者通常 1 天內回覆
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 78/100
fb55/htmlparser2#2579 ·
維護者通常 1 天內回覆
-
bug good first issue needs-review
難度 1/5 1-3 小時 新手友好度 83/100
維護者通常 1 天內回覆
-
documentation public
難度 1/5 1-3 小時 新手友好度 68/100
midnightntwrk/umbradb#65 ·
維護者通常 2 天內回覆
-
area/channels kind/bug priority/medium
難度 2/5 1-3 小時 新手友好度 78/100
nanocoai/nanoclaw#4501 · 1 則留言 ·
維護者通常 1 天內回覆
-
needs verification
難度 2/5 1-3 小時 新手友好度 74/100
維護者通常 13 天內回覆