create-better-fullstack 1.1.2 → 1.1.4
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.d.mts +7 -0
- package/dist/index.mjs +1 -1
- package/dist/{src-uKym6_H1.mjs → src-hrWVF5Yi.mjs} +20 -1
- package/package.json +3 -3
package/dist/cli.mjs
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -190,6 +190,13 @@ declare const router: {
|
|
|
190
190
|
redwood: "redwood";
|
|
191
191
|
fresh: "fresh";
|
|
192
192
|
}>>>;
|
|
193
|
+
astroIntegration: z.ZodOptional<z.ZodEnum<{
|
|
194
|
+
none: "none";
|
|
195
|
+
svelte: "svelte";
|
|
196
|
+
solid: "solid";
|
|
197
|
+
react: "react";
|
|
198
|
+
vue: "vue";
|
|
199
|
+
}>>;
|
|
193
200
|
addons: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
194
201
|
none: "none";
|
|
195
202
|
pwa: "pwa";
|
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-hrWVF5Yi.mjs";
|
|
3
3
|
|
|
4
4
|
export { EMBEDDED_TEMPLATES, TEMPLATE_COUNT, VirtualFileSystem, builder, create, createBtsCli, createVirtual, docs, generateVirtualProject, router, sponsors };
|
|
@@ -3108,7 +3108,16 @@ function isTelemetryEnabled() {
|
|
|
3108
3108
|
|
|
3109
3109
|
//#endregion
|
|
3110
3110
|
//#region src/utils/analytics.ts
|
|
3111
|
-
|
|
3111
|
+
const CONVEX_INGEST_URL = "https://third-antelope-510.convex.site/track";
|
|
3112
|
+
async function sendConvexEvent(payload) {
|
|
3113
|
+
try {
|
|
3114
|
+
await fetch(CONVEX_INGEST_URL, {
|
|
3115
|
+
method: "POST",
|
|
3116
|
+
headers: { "Content-Type": "application/json" },
|
|
3117
|
+
body: JSON.stringify(payload)
|
|
3118
|
+
});
|
|
3119
|
+
} catch {}
|
|
3120
|
+
}
|
|
3112
3121
|
async function trackProjectCreation(config, disableAnalytics = false) {
|
|
3113
3122
|
if (!isTelemetryEnabled() || disableAnalytics) return;
|
|
3114
3123
|
const { projectName: _projectName, projectDir: _projectDir, relativePath: _relativePath, ...safeConfig } = config;
|
|
@@ -3411,6 +3420,7 @@ function deriveProjectName(projectName, projectDirectory) {
|
|
|
3411
3420
|
}
|
|
3412
3421
|
function processFlags(options, projectName) {
|
|
3413
3422
|
const config = {};
|
|
3423
|
+
if (options.ecosystem) config.ecosystem = options.ecosystem;
|
|
3414
3424
|
if (options.api) config.api = options.api;
|
|
3415
3425
|
if (options.backend) config.backend = options.backend;
|
|
3416
3426
|
if (options.database) config.database = options.database;
|
|
@@ -3424,6 +3434,14 @@ function processFlags(options, projectName) {
|
|
|
3424
3434
|
if (options.realtime !== void 0) config.realtime = options.realtime;
|
|
3425
3435
|
if (options.jobQueue !== void 0) config.jobQueue = options.jobQueue;
|
|
3426
3436
|
if (options.animation !== void 0) config.animation = options.animation;
|
|
3437
|
+
if (options.ai !== void 0) config.ai = options.ai;
|
|
3438
|
+
if (options.forms !== void 0) config.forms = options.forms;
|
|
3439
|
+
if (options.testing !== void 0) config.testing = options.testing;
|
|
3440
|
+
if (options.logging !== void 0) config.logging = options.logging;
|
|
3441
|
+
if (options.observability !== void 0) config.observability = options.observability;
|
|
3442
|
+
if (options.cms !== void 0) config.cms = options.cms;
|
|
3443
|
+
if (options.caching !== void 0) config.caching = options.caching;
|
|
3444
|
+
if (options.fileUpload !== void 0) config.fileUpload = options.fileUpload;
|
|
3427
3445
|
if (options.git !== void 0) config.git = options.git;
|
|
3428
3446
|
if (options.install !== void 0) config.install = options.install;
|
|
3429
3447
|
if (options.runtime) config.runtime = options.runtime;
|
|
@@ -6145,6 +6163,7 @@ const router = os.router({
|
|
|
6145
6163
|
cms: types_exports.CMSSchema.optional().describe("Headless CMS solution"),
|
|
6146
6164
|
caching: types_exports.CachingSchema.optional().describe("Caching solution"),
|
|
6147
6165
|
frontend: z.array(types_exports.FrontendSchema).optional(),
|
|
6166
|
+
astroIntegration: types_exports.AstroIntegrationSchema.optional().describe("Astro UI framework integration (react, vue, svelte, solid)"),
|
|
6148
6167
|
addons: z.array(types_exports.AddonsSchema).optional(),
|
|
6149
6168
|
examples: z.array(types_exports.ExamplesSchema).optional(),
|
|
6150
6169
|
git: z.boolean().optional(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-better-fullstack",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
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",
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
"prepublishOnly": "npm run build"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@better-fullstack/template-generator": "^1.1.
|
|
76
|
-
"@better-fullstack/types": "^1.1.
|
|
75
|
+
"@better-fullstack/template-generator": "^1.1.4",
|
|
76
|
+
"@better-fullstack/types": "^1.1.4",
|
|
77
77
|
"@clack/core": "^0.5.0",
|
|
78
78
|
"@clack/prompts": "^1.0.0-alpha.8",
|
|
79
79
|
"@orpc/server": "^1.13.0",
|