11# Contributing
22
33- Clone the repo
4- - ` gh repo clone TanStack/create-tsrouter-app `
4+ - ` gh repo clone TanStack/cli `
55- Ensure ` node ` is installed
66 - https://nodejs.org/en/
77- Ensure ` pnpm ` is installed
2222
2323# Testing Your Changes
2424
25- When testing use ` pnpm dev ` at the top level of the ` create-tsrouter-app ` repo.
25+ When testing use ` pnpm dev ` at the top level of the ` cli ` repo.
2626
2727Then from a peer directory use:
2828
2929``` bash
3030# Using the main CLI
31- node ../create-tsrouter-app /packages/cli/dist/index.js create my-app
31+ node ../cli /packages/cli/dist/index.js create my-app
3232
3333# Or using a deprecated alias (will show deprecation warning)
34- node ../create-tsrouter-app /cli-aliases/create-start-app/dist/index.js my-app
34+ node ../cli /cli-aliases/create-start-app/dist/index.js my-app
3535```
3636
3737You can also do:
3838
3939``` bash
40- npm_config_user_agent=pnpm node ../create-tsrouter-app /packages/cli/dist/index.js create my-app
40+ npm_config_user_agent=pnpm node ../cli /packages/cli/dist/index.js create my-app
4141```
4242
4343If you want to specify a package manager.
@@ -99,7 +99,7 @@ The Create UI is somewhat tricky to develop on because it's both a web server an
9999Let's start off with how to run the CLI in "API" mode. Here we are running the CLI in an empty directory in app creation mode.
100100
101101``` bash
102- CTA_DISABLE_UI=true node ../create-tsrouter-app /packages/cli/dist/index.js create --ui
102+ CTA_DISABLE_UI=true node ../cli /packages/cli/dist/index.js create --ui
103103```
104104
105105If this is working you will see the following output:
@@ -113,7 +113,7 @@ Note that it say "Create TanStack **API**" and not "Create TanStack **App**". Th
113113Here is the same command for the ` add ` mode:
114114
115115``` bash
116- CTA_DISABLE_UI=true node ../create-tsrouter-app /packages/cli/dist/index.js add --ui
116+ CTA_DISABLE_UI=true node ../cli /packages/cli/dist/index.js add --ui
117117```
118118
119119## Starting the React App
0 commit comments