create-better-fullstack 1.3.0 → 1.3.1
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 +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{src-BJjCw5ar.mjs → src-ZMYs861W.mjs} +28 -5
- package/package.json +3 -3
package/dist/cli.mjs
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as create, c as docs, d as sponsors, i as builder, l as generateVirtualProject, n as TEMPLATE_COUNT, o as createBtsCli, r as VirtualFileSystem, s as createVirtual, t as EMBEDDED_TEMPLATES, u as router } from "./src-
|
|
2
|
+
import { a as create, c as docs, d as sponsors, i as builder, l as generateVirtualProject, n as TEMPLATE_COUNT, o as createBtsCli, r as VirtualFileSystem, s as createVirtual, t as EMBEDDED_TEMPLATES, u as router } from "./src-ZMYs861W.mjs";
|
|
3
3
|
|
|
4
4
|
export { EMBEDDED_TEMPLATES, TEMPLATE_COUNT, VirtualFileSystem, builder, create, createBtsCli, createVirtual, docs, generateVirtualProject, router, sponsors };
|
|
@@ -1588,6 +1588,7 @@ async function getAnimationChoice(animation, frontends) {
|
|
|
1588
1588
|
"next",
|
|
1589
1589
|
"redwood"
|
|
1590
1590
|
].includes(f));
|
|
1591
|
+
const isFresh = web.includes("fresh");
|
|
1591
1592
|
const options = [];
|
|
1592
1593
|
if (isReact) options.push({
|
|
1593
1594
|
value: "framer-motion",
|
|
@@ -1606,11 +1607,13 @@ async function getAnimationChoice(animation, frontends) {
|
|
|
1606
1607
|
value: "auto-animate",
|
|
1607
1608
|
label: "Auto Animate",
|
|
1608
1609
|
hint: "Zero-config, drop-in animation utility"
|
|
1609
|
-
}
|
|
1610
|
+
});
|
|
1611
|
+
if (!isFresh) options.push({
|
|
1610
1612
|
value: "lottie",
|
|
1611
1613
|
label: "Lottie",
|
|
1612
1614
|
hint: "Render After Effects animations natively"
|
|
1613
|
-
}
|
|
1615
|
+
});
|
|
1616
|
+
options.push({
|
|
1614
1617
|
value: "none",
|
|
1615
1618
|
label: "None",
|
|
1616
1619
|
hint: "Skip animation library setup"
|
|
@@ -2367,6 +2370,7 @@ async function getFormsChoice(forms, frontends) {
|
|
|
2367
2370
|
].includes(f));
|
|
2368
2371
|
const isSolid = web.includes("solid");
|
|
2369
2372
|
const isQwik = web.includes("qwik");
|
|
2373
|
+
const isFresh = web.includes("fresh");
|
|
2370
2374
|
const options = [];
|
|
2371
2375
|
if (isReact) options.push({
|
|
2372
2376
|
value: "react-hook-form",
|
|
@@ -2385,7 +2389,7 @@ async function getFormsChoice(forms, frontends) {
|
|
|
2385
2389
|
label: "Conform",
|
|
2386
2390
|
hint: "Progressive enhancement forms with Zod validation"
|
|
2387
2391
|
});
|
|
2388
|
-
options.push({
|
|
2392
|
+
if (!isFresh) options.push({
|
|
2389
2393
|
value: "tanstack-form",
|
|
2390
2394
|
label: "TanStack Form",
|
|
2391
2395
|
hint: "Fully-typed, framework-agnostic form library"
|
|
@@ -3486,6 +3490,7 @@ async function getStateManagementChoice(stateManagement, frontends) {
|
|
|
3486
3490
|
"next",
|
|
3487
3491
|
"redwood"
|
|
3488
3492
|
].includes(f));
|
|
3493
|
+
const isFresh = web.includes("fresh");
|
|
3489
3494
|
const options = [];
|
|
3490
3495
|
if (isReact) options.push({
|
|
3491
3496
|
value: "zustand",
|
|
@@ -3512,7 +3517,7 @@ async function getStateManagementChoice(stateManagement, frontends) {
|
|
|
3512
3517
|
label: "MobX",
|
|
3513
3518
|
hint: "Observable-based reactive state management"
|
|
3514
3519
|
});
|
|
3515
|
-
options.push({
|
|
3520
|
+
if (!isFresh) options.push({
|
|
3516
3521
|
value: "nanostores",
|
|
3517
3522
|
label: "Nanostores",
|
|
3518
3523
|
hint: "Tiny state manager (1KB) for all frameworks"
|
|
@@ -3524,7 +3529,8 @@ async function getStateManagementChoice(stateManagement, frontends) {
|
|
|
3524
3529
|
value: "tanstack-store",
|
|
3525
3530
|
label: "TanStack Store",
|
|
3526
3531
|
hint: "Framework-agnostic store powering TanStack ecosystem"
|
|
3527
|
-
}
|
|
3532
|
+
});
|
|
3533
|
+
options.push({
|
|
3528
3534
|
value: "none",
|
|
3529
3535
|
label: "None",
|
|
3530
3536
|
hint: "Skip state management setup"
|
|
@@ -4464,6 +4470,23 @@ function processFlags(options, projectName) {
|
|
|
4464
4470
|
if (options.addons && options.addons.length > 0) config.addons = processArrayOption(options.addons);
|
|
4465
4471
|
if (options.examples && options.examples.length > 0) config.examples = processArrayOption(options.examples);
|
|
4466
4472
|
if (options.aiDocs !== void 0) config.aiDocs = processArrayOption(options.aiDocs);
|
|
4473
|
+
if (options.rustWebFramework !== void 0) config.rustWebFramework = options.rustWebFramework;
|
|
4474
|
+
if (options.rustFrontend !== void 0) config.rustFrontend = options.rustFrontend;
|
|
4475
|
+
if (options.rustOrm !== void 0) config.rustOrm = options.rustOrm;
|
|
4476
|
+
if (options.rustApi !== void 0) config.rustApi = options.rustApi;
|
|
4477
|
+
if (options.rustCli !== void 0) config.rustCli = options.rustCli;
|
|
4478
|
+
if (options.rustLibraries !== void 0) config.rustLibraries = processArrayOption(options.rustLibraries);
|
|
4479
|
+
if (options.pythonWebFramework !== void 0) config.pythonWebFramework = options.pythonWebFramework;
|
|
4480
|
+
if (options.pythonOrm !== void 0) config.pythonOrm = options.pythonOrm;
|
|
4481
|
+
if (options.pythonValidation !== void 0) config.pythonValidation = options.pythonValidation;
|
|
4482
|
+
if (options.pythonAi !== void 0) config.pythonAi = processArrayOption(options.pythonAi);
|
|
4483
|
+
if (options.pythonTaskQueue !== void 0) config.pythonTaskQueue = options.pythonTaskQueue;
|
|
4484
|
+
if (options.pythonQuality !== void 0) config.pythonQuality = options.pythonQuality;
|
|
4485
|
+
if (options.goWebFramework !== void 0) config.goWebFramework = options.goWebFramework;
|
|
4486
|
+
if (options.goOrm !== void 0) config.goOrm = options.goOrm;
|
|
4487
|
+
if (options.goApi !== void 0) config.goApi = options.goApi;
|
|
4488
|
+
if (options.goCli !== void 0) config.goCli = options.goCli;
|
|
4489
|
+
if (options.goLogging !== void 0) config.goLogging = options.goLogging;
|
|
4467
4490
|
return config;
|
|
4468
4491
|
}
|
|
4469
4492
|
function getProvidedFlags(options) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-better-fullstack",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "A CLI-first toolkit for building Full Stack applications. Skip the configuration. Ship the code.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"better-auth",
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
"prepublishOnly": "npm run build"
|
|
77
77
|
},
|
|
78
78
|
"dependencies": {
|
|
79
|
-
"@better-fullstack/template-generator": "^1.3.
|
|
80
|
-
"@better-fullstack/types": "^1.3.
|
|
79
|
+
"@better-fullstack/template-generator": "^1.3.1",
|
|
80
|
+
"@better-fullstack/types": "^1.3.1",
|
|
81
81
|
"@clack/core": "^0.5.0",
|
|
82
82
|
"@clack/prompts": "^1.0.0-alpha.8",
|
|
83
83
|
"@orpc/server": "^1.13.0",
|