create-better-t-stack 2.40.1 → 2.40.2
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-DCgC3MR2.js → src-CVKVAMv_.js} +4 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -828,8 +828,11 @@ async function getDBSetupChoice(databaseType, dbSetup, orm, backend, runtime) {
|
|
|
828
828
|
//#endregion
|
|
829
829
|
//#region src/prompts/examples.ts
|
|
830
830
|
async function getExamplesChoice(examples, database, frontends, backend, api) {
|
|
831
|
-
if (api === "none") return [];
|
|
832
831
|
if (examples !== void 0) return examples;
|
|
832
|
+
if (api === "none") {
|
|
833
|
+
if (backend === "convex") return ["todo"];
|
|
834
|
+
return [];
|
|
835
|
+
}
|
|
833
836
|
if (backend === "convex") return ["todo"];
|
|
834
837
|
if (backend === "none") return [];
|
|
835
838
|
if (database === "none") return [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-better-t-stack",
|
|
3
|
-
"version": "2.40.
|
|
3
|
+
"version": "2.40.2",
|
|
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",
|