create-better-t-stack 3.6.5 → 3.6.6
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.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as router, i as init, n as createBtsCli, o as sponsors, r as docs, t as builder } from "./src-
|
|
2
|
+
import { a as router, i as init, n as createBtsCli, o as sponsors, r as docs, t as builder } from "./src-BMcSQ5Qw.js";
|
|
3
3
|
|
|
4
4
|
export { builder, createBtsCli, docs, init, router, sponsors };
|
|
@@ -62,8 +62,8 @@ function getDefaultConfig() {
|
|
|
62
62
|
}
|
|
63
63
|
const DEFAULT_CONFIG = getDefaultConfig();
|
|
64
64
|
const dependencyVersionMap = {
|
|
65
|
-
"better-auth": "^1.4.
|
|
66
|
-
"@better-auth/expo": "^1.4.
|
|
65
|
+
"better-auth": "^1.4.5",
|
|
66
|
+
"@better-auth/expo": "^1.4.5",
|
|
67
67
|
"@clerk/nextjs": "^6.31.5",
|
|
68
68
|
"@clerk/clerk-react": "^5.45.0",
|
|
69
69
|
"@clerk/tanstack-react-start": "^0.26.3",
|
|
@@ -79,16 +79,15 @@ const dependencyVersionMap = {
|
|
|
79
79
|
"@types/ws": "^8.18.1",
|
|
80
80
|
ws: "^8.18.3",
|
|
81
81
|
mysql2: "^3.14.0",
|
|
82
|
-
"@prisma/client": "^7.0.
|
|
83
|
-
prisma: "^7.0.
|
|
84
|
-
"@prisma/adapter-d1": "^7.0.
|
|
85
|
-
"@prisma/adapter-neon": "^7.0.
|
|
86
|
-
"@prisma/adapter-mariadb": "^7.0.
|
|
87
|
-
"@prisma/adapter-libsql": "^7.0.
|
|
88
|
-
"@prisma/adapter-better-sqlite3": "^7.0.
|
|
89
|
-
"@prisma/adapter-pg": "^7.0.
|
|
90
|
-
"@prisma/adapter-planetscale": "^7.0.
|
|
91
|
-
"@prisma/adapter-ppg": "^7.0.0",
|
|
82
|
+
"@prisma/client": "^7.0.1",
|
|
83
|
+
prisma: "^7.0.1",
|
|
84
|
+
"@prisma/adapter-d1": "^7.0.1",
|
|
85
|
+
"@prisma/adapter-neon": "^7.0.1",
|
|
86
|
+
"@prisma/adapter-mariadb": "^7.0.1",
|
|
87
|
+
"@prisma/adapter-libsql": "^7.0.1",
|
|
88
|
+
"@prisma/adapter-better-sqlite3": "^7.0.1",
|
|
89
|
+
"@prisma/adapter-pg": "^7.0.1",
|
|
90
|
+
"@prisma/adapter-planetscale": "^7.0.1",
|
|
92
91
|
mongoose: "^8.14.0",
|
|
93
92
|
"vite-plugin-pwa": "^1.0.1",
|
|
94
93
|
"@vite-pwa/assets-generator": "^1.0.0",
|
|
@@ -5718,7 +5717,7 @@ async function setupDatabase(config, cliInput) {
|
|
|
5718
5717
|
else if (database === "postgres") if (dbSetup === "neon") {
|
|
5719
5718
|
prismaDependencies.push("@prisma/adapter-neon", "@neondatabase/serverless", "ws");
|
|
5720
5719
|
prismaDevDependencies.push("@types/ws");
|
|
5721
|
-
} else if (dbSetup === "prisma-postgres") prismaDependencies.push("@prisma/adapter-
|
|
5720
|
+
} else if (dbSetup === "prisma-postgres") prismaDependencies.push("@prisma/adapter-pg");
|
|
5722
5721
|
else {
|
|
5723
5722
|
prismaDependencies.push("@prisma/adapter-pg");
|
|
5724
5723
|
prismaDependencies.push("pg");
|
package/package.json
CHANGED
|
@@ -14,9 +14,9 @@ const prisma = new PrismaClient({
|
|
|
14
14
|
});
|
|
15
15
|
|
|
16
16
|
{{else if (eq dbSetup "prisma-postgres")}}
|
|
17
|
-
import {
|
|
17
|
+
import { PrismaPg } from "@prisma/adapter-pg";
|
|
18
18
|
|
|
19
|
-
const adapter = new
|
|
19
|
+
const adapter = new PrismaPg({
|
|
20
20
|
connectionString: env.DATABASE_URL || "",
|
|
21
21
|
});
|
|
22
22
|
|
|
@@ -48,9 +48,9 @@ const adapter = new PrismaNeon({
|
|
|
48
48
|
const prisma = new PrismaClient({ adapter });
|
|
49
49
|
|
|
50
50
|
{{else if (eq dbSetup "prisma-postgres")}}
|
|
51
|
-
import {
|
|
51
|
+
import { PrismaPg } from "@prisma/adapter-pg";
|
|
52
52
|
|
|
53
|
-
const adapter = new
|
|
53
|
+
const adapter = new PrismaPg({
|
|
54
54
|
connectionString: process.env.DATABASE_URL || "",
|
|
55
55
|
});
|
|
56
56
|
|