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分
- マージ済み PR(30日)
- 42
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 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
-
inference/go type/feature
難易度 1/5 1〜3時間 初心者へのやさしさ 72/100
anomalyco/opencode#65148 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
truapi-release
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
paritytech/product-sdk#529 ·
メンテナーはふだん 1 日以内に返信
-
Add: Mansudae TVオープンapproved check:passed streams:add
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
[Perf] Canvas layer composition is quadratic: splitRenderLayers re-copies the node array per nodeオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
devlikeapro/waha#2369 ·
メンテナーはふだん 5 日以内に返信