create-better-t-stack 3.0.9 → 3.0.11
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
|
@@ -130,7 +130,7 @@ const dependencyVersionMap = {
|
|
|
130
130
|
"convex-svelte": "^0.0.11",
|
|
131
131
|
"convex-nuxt": "0.1.5",
|
|
132
132
|
"convex-vue": "^0.1.5",
|
|
133
|
-
"@convex-dev/better-auth": "^0.
|
|
133
|
+
"@convex-dev/better-auth": "^0.9.1",
|
|
134
134
|
"@tanstack/svelte-query": "^5.85.3",
|
|
135
135
|
"@tanstack/svelte-query-devtools": "^5.85.3",
|
|
136
136
|
"@tanstack/vue-query-devtools": "^5.90.2",
|
|
@@ -2089,8 +2089,10 @@ async function setupFumadocs(config) {
|
|
|
2089
2089
|
const fumadocsInitCommand = getPackageExecutionCommand(packageManager, commandWithArgs);
|
|
2090
2090
|
const s = spinner();
|
|
2091
2091
|
s.start("Setting up Fumadocs...");
|
|
2092
|
+
const appsDir = path.join(projectDir, "apps");
|
|
2093
|
+
await fs.ensureDir(appsDir);
|
|
2092
2094
|
await execa(fumadocsInitCommand, {
|
|
2093
|
-
cwd:
|
|
2095
|
+
cwd: appsDir,
|
|
2094
2096
|
env: { CI: "true" },
|
|
2095
2097
|
shell: true
|
|
2096
2098
|
});
|
|
@@ -2207,8 +2209,10 @@ async function setupStarlight(config) {
|
|
|
2207
2209
|
"--skip-houston"
|
|
2208
2210
|
].join(" ")}`;
|
|
2209
2211
|
const starlightInitCommand = getPackageExecutionCommand(packageManager, commandWithArgs);
|
|
2212
|
+
const appsDir = path.join(projectDir, "apps");
|
|
2213
|
+
await fs.ensureDir(appsDir);
|
|
2210
2214
|
await execa(starlightInitCommand, {
|
|
2211
|
-
cwd:
|
|
2215
|
+
cwd: appsDir,
|
|
2212
2216
|
env: { CI: "true" },
|
|
2213
2217
|
shell: true
|
|
2214
2218
|
});
|
|
@@ -4402,7 +4406,7 @@ async function setupAuth(config) {
|
|
|
4402
4406
|
const convexBackendDir = path.join(projectDir, "packages/backend");
|
|
4403
4407
|
if (await fs.pathExists(convexBackendDir)) await addPackageDependency({
|
|
4404
4408
|
dependencies: ["better-auth", "@convex-dev/better-auth"],
|
|
4405
|
-
customDependencies: { "better-auth": "1.3.
|
|
4409
|
+
customDependencies: { "better-auth": "1.3.27" },
|
|
4406
4410
|
projectDir: convexBackendDir
|
|
4407
4411
|
});
|
|
4408
4412
|
if (clientDirExists) {
|
|
@@ -4411,17 +4415,17 @@ async function setupAuth(config) {
|
|
|
4411
4415
|
const hasViteReactOther = frontend.some((f) => ["tanstack-router", "react-router"].includes(f));
|
|
4412
4416
|
if (hasNextJs) await addPackageDependency({
|
|
4413
4417
|
dependencies: ["better-auth", "@convex-dev/better-auth"],
|
|
4414
|
-
customDependencies: { "better-auth": "1.3.
|
|
4418
|
+
customDependencies: { "better-auth": "1.3.27" },
|
|
4415
4419
|
projectDir: clientDir
|
|
4416
4420
|
});
|
|
4417
4421
|
else if (hasTanStackStart) await addPackageDependency({
|
|
4418
4422
|
dependencies: ["better-auth", "@convex-dev/better-auth"],
|
|
4419
|
-
customDependencies: { "better-auth": "1.3.
|
|
4423
|
+
customDependencies: { "better-auth": "1.3.27" },
|
|
4420
4424
|
projectDir: clientDir
|
|
4421
4425
|
});
|
|
4422
4426
|
else if (hasViteReactOther) await addPackageDependency({
|
|
4423
4427
|
dependencies: ["better-auth", "@convex-dev/better-auth"],
|
|
4424
|
-
customDependencies: { "better-auth": "1.3.
|
|
4428
|
+
customDependencies: { "better-auth": "1.3.27" },
|
|
4425
4429
|
projectDir: clientDir
|
|
4426
4430
|
});
|
|
4427
4431
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-better-t-stack",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.11",
|
|
4
4
|
"description": "A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|