create-tsrouter-app 0.11.0 → 0.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -5
- package/package.json +3 -2
- package/images/mcp-configuration.png +0 -0
package/README.md
CHANGED
|
@@ -8,8 +8,8 @@ To help accelerate the migration away from `create-react-app` we created the `cr
|
|
|
8
8
|
|
|
9
9
|
To maintain compatability with `create-react-app` you can build a new application by running:
|
|
10
10
|
|
|
11
|
-
| Command
|
|
12
|
-
|
|
|
11
|
+
| Command | Description |
|
|
12
|
+
| --------------------------------------------------------------------------------- | ------------------------------------------------- |
|
|
13
13
|
| `pnpx create-tsrouter-app@latest my-app` | Create a new app |
|
|
14
14
|
| `pnpx create-tsrouter-app@latest my-app --template file-router` | Create a new file based app |
|
|
15
15
|
| `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
|
|
|
142
142
|
pnpx create-tsrouter-app@latest --mcp
|
|
143
143
|
```
|
|
144
144
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
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
|
+
```
|
|
148
157
|
|
|
149
158
|
# Contributing
|
|
150
159
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-tsrouter-app",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.2",
|
|
4
4
|
"description": "Tanstack Application Builder",
|
|
5
5
|
"bin": "./dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -17,12 +17,13 @@
|
|
|
17
17
|
"react",
|
|
18
18
|
"tanstack",
|
|
19
19
|
"router",
|
|
20
|
+
"tanstack start",
|
|
20
21
|
"create-react-app"
|
|
21
22
|
],
|
|
22
23
|
"author": "Jack Herrington <jherr@pobox.com>",
|
|
23
24
|
"license": "MIT",
|
|
24
25
|
"dependencies": {
|
|
25
|
-
"@tanstack/cta-engine": "0.11.
|
|
26
|
+
"@tanstack/cta-engine": "0.11.2"
|
|
26
27
|
},
|
|
27
28
|
"devDependencies": {
|
|
28
29
|
"@types/node": "^22.13.4",
|
|
Binary file
|