create-better-t-stack 3.2.3 → 3.2.5
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 +1 -1
- package/dist/index.js +1 -1
- package/dist/{src-BcBhk2Os.js → src-ljR3uw5T.js} +4 -0
- package/package.json +4 -1
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -4337,6 +4337,10 @@ async function setupApi(config) {
|
|
|
4337
4337
|
});
|
|
4338
4338
|
}
|
|
4339
4339
|
}
|
|
4340
|
+
if (config.auth === "better-auth" && (backend === "express" || backend === "fastify")) await addPackageDependency({
|
|
4341
|
+
dependencies: ["better-auth"],
|
|
4342
|
+
projectDir: apiPackageDir
|
|
4343
|
+
});
|
|
4340
4344
|
if (webDirExists && apiDeps.web) await addPackageDependency({
|
|
4341
4345
|
dependencies: apiDeps.web.dependencies,
|
|
4342
4346
|
devDependencies: apiDeps.web.devDependencies,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-better-t-stack",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.5",
|
|
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",
|
|
@@ -60,6 +60,9 @@
|
|
|
60
60
|
".": {
|
|
61
61
|
"types": "./dist/index.d.ts",
|
|
62
62
|
"import": "./dist/index.js"
|
|
63
|
+
},
|
|
64
|
+
"./cli": {
|
|
65
|
+
"import": "./dist/cli.js"
|
|
63
66
|
}
|
|
64
67
|
},
|
|
65
68
|
"dependencies": {
|