create-better-t-stack 3.12.6 → 3.12.7
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/cli.mjs
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as router, i as docs, n as create, o as sponsors, r as createBtsCli, t as builder } from "./src-
|
|
2
|
+
import { a as router, i as docs, n as create, o as sponsors, r as createBtsCli, t as builder } from "./src-DNjxspj9.mjs";
|
|
3
3
|
|
|
4
4
|
export { builder, create, createBtsCli, docs, router, sponsors };
|
|
@@ -100,7 +100,7 @@ const dependencyVersionMap = {
|
|
|
100
100
|
husky: "^9.1.7",
|
|
101
101
|
"lint-staged": "^16.1.2",
|
|
102
102
|
tsx: "^4.19.2",
|
|
103
|
-
"@types/node": "^22.13.
|
|
103
|
+
"@types/node": "^22.13.14",
|
|
104
104
|
"@types/bun": "^1.3.4",
|
|
105
105
|
"@elysiajs/node": "^1.3.1",
|
|
106
106
|
"@elysiajs/cors": "^1.3.3",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-better-t-stack",
|
|
3
|
-
"version": "3.12.
|
|
3
|
+
"version": "3.12.7",
|
|
4
4
|
"description": "A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"better-auth",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"prepublishOnly": "npm run build"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@better-t-stack/types": "^3.12.
|
|
70
|
+
"@better-t-stack/types": "^3.12.7",
|
|
71
71
|
"@clack/prompts": "^1.0.0-alpha.8",
|
|
72
72
|
"@orpc/server": "^1.13.0",
|
|
73
73
|
"consola": "^3.4.2",
|
|
@@ -11,7 +11,7 @@ import { appRouter } from "@{{projectName}}/api/routers/index";
|
|
|
11
11
|
import { createContext } from "@{{projectName}}/api/context";
|
|
12
12
|
{{else if (includes frontend "tanstack-start")}}
|
|
13
13
|
import type { RouterClient } from "@orpc/server";
|
|
14
|
-
import {
|
|
14
|
+
import type { AppRouter } from "@{{projectName}}/api/routers/index";
|
|
15
15
|
import { env } from "@{{projectName}}/env/web";
|
|
16
16
|
{{else}}
|
|
17
17
|
import type { AppRouterClient } from "@{{projectName}}/api/routers/index";
|
|
@@ -73,10 +73,10 @@ const link = new RPCLink({
|
|
|
73
73
|
});
|
|
74
74
|
|
|
75
75
|
const getORPCClient = () => {
|
|
76
|
-
return createORPCClient(link) as RouterClient<
|
|
76
|
+
return createORPCClient(link) as RouterClient<AppRouter>;
|
|
77
77
|
};
|
|
78
78
|
|
|
79
|
-
export const client: RouterClient<
|
|
79
|
+
export const client: RouterClient<AppRouter> = getORPCClient();
|
|
80
80
|
{{else}}
|
|
81
81
|
export const link = new RPCLink({
|
|
82
82
|
{{#if (and (eq backend "self") (includes frontend "next"))}}
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@tanstack/react-router-devtools": "^1.141.1",
|
|
32
32
|
"@tanstack/router-plugin": "^1.141.1",
|
|
33
|
-
"@types/node": "^22.13.
|
|
33
|
+
"@types/node": "^22.13.14",
|
|
34
34
|
"@types/react": "19.2.7",
|
|
35
35
|
"@types/react-dom": "19.2.3",
|
|
36
36
|
"@vitejs/plugin-react": "^4.3.4",
|