tanstack-cli --router-only project tanstack-query add on scaffolds a tanstack-start router.tsx
Maintainer antworten meist innerhalb von 1 Tag
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 45/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- react, typescript
- Bereich
- cli
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- TypeScript
- Sterne
- 1.3k
- Forks
- 188
- Ø Merge
- 5 Std. 30 Min.
- Gemergte PRs (30 T.)
- 42
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus TanStack/cli
-
[Bug] Inconsistent settings in biome.jsonEvtl. vergeben @tannerlinsley hat das vor 11 Tagen übernommen. Offen
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag
-
Neon add-on depends on deprecated vite-plugin-neon-newEvtl. vergeben @tannerlinsley hat das heute übernommen. Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 57/100
Maintainer antworten meist innerhalb von 1 Tag
-
Proposal: PocketBase add-onEvtl. vergeben @akanyane hat das vor 13 Tagen übernommen. Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
TanStack/cli#527 · 2 Kommentare · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
TanStack/cli#520 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
create with bun says Intent is configured but never writes AGENTS.mdEvtl. vergeben @cfngc4594 hat das vor 63 Tagen übernommen. Offen
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 68/100
TanStack/cli#512 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Ähnliche Issues
-
inference/go type/feature
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 72/100
anomalyco/opencode#65148 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
truapi-release
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
paritytech/product-sdk#529 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Add: Mansudae TVOffenapproved check:passed streams:add
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 64/100
Maintainer antworten meist innerhalb von 1 Tag
-
[Perf] Canvas layer composition is quadratic: splitRenderLayers re-copies the node array per nodeOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
devlikeapro/waha#2369 ·
Maintainer antworten meist innerhalb von 5 Tagen