Skip to content

Commit 8c94037

Browse files
committed
fix: minor changes to the README
1 parent 979f999 commit 8c94037

File tree

6 files changed

+35
-14
lines changed

6 files changed

+35
-14
lines changed

cli/create-start-app/README.md

+16-7
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ To help accelerate the migration away from `create-react-app` we created the `cr
88

99
To maintain compatability with `create-react-app` you can build a new application by running:
1010

11-
| Command | Description |
12-
| -------------------------------------------------------------------------------- | ------------------------------------------------- |
13-
| `pnpx create-start-app@latest my-app` | Create a new app |
14-
| `pnpx create-start-app@latest my-app --framework solid` | Create a Solid app |
11+
| Command | Description |
12+
| ------------------------------------------------------- | ------------------ |
13+
| `pnpx create-start-app@latest my-app` | Create a new app |
14+
| `pnpx create-start-app@latest my-app --framework solid` | Create a Solid app |
1515

1616
If you don't specify a project name, the CLI will walk you through an interactive setup process:
1717

@@ -101,9 +101,18 @@ You can launch the `create-start-app` CLI with the `--mcp` flag to enable MCP su
101101
pnpx create-start-app@latest --mcp
102102
```
103103

104-
Shown below is the configuration for MCP support in Cursor.
105-
106-
![MCP Configuration](./images/mcp-configuration.png)
104+
Here is the JSON configuration for MCP support in many MCP clients.
105+
106+
```json
107+
{
108+
"mcpServers": {
109+
"create-start-app": {
110+
"command": "pnpx",
111+
"args": ["create-start-app@latest", "--mcp"]
112+
}
113+
}
114+
}
115+
```
107116

108117
# Contributing
109118

-62.4 KB
Binary file not shown.

cli/create-start-app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"repository": {
1212
"type": "git",
13-
"url": "https://github.com/TanStack/create-start-app.git"
13+
"url": "https://github.com/TanStack/create-router-app.git"
1414
},
1515
"homepage": "https://tanstack.com/router",
1616
"funding": {

cli/create-tsrouter-app/README.md

+14-5
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ To help accelerate the migration away from `create-react-app` we created the `cr
88

99
To maintain compatability with `create-react-app` you can build a new application by running:
1010

11-
| Command | Description |
12-
| -------------------------------------------------------------------------------- | ------------------------------------------------- |
11+
| Command | Description |
12+
| --------------------------------------------------------------------------------- | ------------------------------------------------- |
1313
| `pnpx create-tsrouter-app@latest my-app` | Create a new app |
1414
| `pnpx create-tsrouter-app@latest my-app --template file-router` | Create a new file based app |
1515
| `pnpx create-tsrouter-app@latest my-app --template typescript` | Create a new TypeScript app using the Code Router |
@@ -142,9 +142,18 @@ You can launch the `create-tsrouter-app` CLI with the `--mcp` flag to enable MCP
142142
pnpx create-tsrouter-app@latest --mcp
143143
```
144144

145-
Shown below is the configuration for MCP support in Cursor.
146-
147-
![MCP Configuration](./images/mcp-configuration.png)
145+
Here is the JSON configuration for MCP support in many MCP clients.
146+
147+
```json
148+
{
149+
"mcpServers": {
150+
"create-tsrouter-app": {
151+
"command": "pnpx",
152+
"args": ["create-tsrouter-app@latest", "--mcp"]
153+
}
154+
}
155+
}
156+
```
148157

149158
# Contributing
150159

Binary file not shown.

packages/cta-engine/src/cli.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,10 @@ export function cli({
133133
)
134134
.option('--list-add-ons', 'list all available add-ons', false)
135135
.option('--no-git', 'do not create a git repository')
136-
.option('--target-dir <path>', 'the directory to create the project in')
136+
.option(
137+
'--target-dir <path>',
138+
'the target directory for the application root',
139+
)
137140
.option('--mcp', 'run the MCP server', false)
138141
.option('--mcp-sse', 'run the MCP server in SSE mode', false)
139142

0 commit comments

Comments
 (0)