create-tsrouter-app 0.43.2 → 0.43.3
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/dist/index.js +4 -5
- package/package.json +4 -5
- package/src/index.ts +4 -6
package/dist/index.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import {
|
|
5
|
-
registerReactCra();
|
|
6
|
-
registerSolid();
|
|
2
|
+
console.warn('\x1b[33m%s\x1b[0m', 'Warning: create-tsrouter-app is deprecated. Use "tanstack create" or "npx @tanstack/cli create" instead.');
|
|
3
|
+
console.warn('\x1b[33m%s\x1b[0m', ' See: https://tanstack.com/start/latest/docs/framework/react/quick-start\n');
|
|
4
|
+
import { cli } from '@tanstack/cli';
|
|
7
5
|
cli({
|
|
8
6
|
name: 'create-tsrouter-app',
|
|
9
7
|
appName: 'TanStack',
|
|
10
8
|
craCompatible: true,
|
|
9
|
+
legacyAutoCreate: true,
|
|
11
10
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-tsrouter-app",
|
|
3
|
-
"version": "0.43.
|
|
3
|
+
"version": "0.43.3",
|
|
4
4
|
"description": "Tanstack Application Builder",
|
|
5
5
|
"bin": "./dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"repository": {
|
|
13
13
|
"type": "git",
|
|
14
14
|
"url": "git+https://github.com/TanStack/create-tsrouter-app.git",
|
|
15
|
-
"directory": "cli/create-tsrouter-app"
|
|
15
|
+
"directory": "cli-aliases/create-tsrouter-app"
|
|
16
16
|
},
|
|
17
17
|
"homepage": "https://tanstack.com/router",
|
|
18
18
|
"funding": {
|
|
@@ -30,9 +30,8 @@
|
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"packageManager": "pnpm@9.15.5",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@tanstack/
|
|
34
|
-
"@tanstack/
|
|
35
|
-
"@tanstack/cta-framework-solid": "workspace:*"
|
|
33
|
+
"@tanstack/cli": "workspace:*",
|
|
34
|
+
"@tanstack/create": "workspace:*"
|
|
36
35
|
},
|
|
37
36
|
"devDependencies": {
|
|
38
37
|
"@types/node": "^22.13.4",
|
package/src/index.ts
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
|
|
2
|
+
console.warn('\x1b[33m%s\x1b[0m', 'Warning: create-tsrouter-app is deprecated. Use "tanstack create" or "npx @tanstack/cli create" instead.')
|
|
3
|
+
console.warn('\x1b[33m%s\x1b[0m', ' See: https://tanstack.com/start/latest/docs/framework/react/quick-start\n')
|
|
3
4
|
|
|
4
|
-
import {
|
|
5
|
-
import { register as registerSolid } from '@tanstack/cta-framework-solid'
|
|
6
|
-
|
|
7
|
-
registerReactCra()
|
|
8
|
-
registerSolid()
|
|
5
|
+
import { cli } from '@tanstack/cli'
|
|
9
6
|
|
|
10
7
|
cli({
|
|
11
8
|
name: 'create-tsrouter-app',
|
|
12
9
|
appName: 'TanStack',
|
|
13
10
|
craCompatible: true,
|
|
11
|
+
legacyAutoCreate: true,
|
|
14
12
|
})
|