TanStack / TanStack/cli

TanStack Start new project from CLI has loads of example code even when selecting no for option "Would you like to include demo/example pages?"

オープン
#409 コメント 1 件 リアクション 6 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
TypeScript
スター
1.3k
フォーク
185
平均マージ
18時間 45分
マージ済み PR(30日)
2

説明

Which project does this relate to?

Start

Describe the bug

TanStack Start new project from CLI has loads of example code even when selecting no for option "Would you like to include demo/example pages?".

Your Example Website or App

https://github.com/pjosdev/ts-start-example

Steps to Reproduce the Bug or Issue

bun create @tanstack/start@latest

Select toolchain: ESLint
Select deployment adapter: Nitro (agnostic)
Would you like to include demo/example pages? No
What add-ons would you like for your project? none
Would you like to initialise a new git repository: Yes

Expected behavior

Something very barebones, just a __root.tsx that renders an index.tsx with maybe 'Hello TanStack Start'. No css theme, no fonts, no theme toggles etc. Basically nothing I need to remove to start clean would be great!

Screenshots or Videos
Image
Platform
  • Router / Start Version: 1.166.11
  • OS: macOS
  • Bundler: Bun 1.3.10 / NPM 11.6.1
Additional context

Thanks :)

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

エントリーポイントは CLI フロー bun create @tanstack/start@latest です。この issue ではソースファイルもテストも指定されていません。ドキュメントに記載された回答で再現し、プロジェクト生成を通じて no-demo の選択を追跡してください。完了条件は、no-demo プロジェクトに最小限の starter だけが含まれ、サンプルページ、スタイリング、フォント、テーマ切り替えが含まれていないことです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
bun, typescript
領域
cli, tooling
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。