create-better-t-stack 2.14.0 → 2.14.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/index.js +3 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2786,7 +2786,7 @@ async function getBackendFrameworkChoice(backendFramework, frontends) {
|
|
|
2786
2786
|
{
|
|
2787
2787
|
value: "next",
|
|
2788
2788
|
label: "Next.js",
|
|
2789
|
-
hint: "
|
|
2789
|
+
hint: "separate api routes only backend"
|
|
2790
2790
|
},
|
|
2791
2791
|
{
|
|
2792
2792
|
value: "express",
|
|
@@ -3337,7 +3337,7 @@ async function trackProjectCreation(config) {
|
|
|
3337
3337
|
disableGeoip: true
|
|
3338
3338
|
});
|
|
3339
3339
|
try {
|
|
3340
|
-
const sessionId = `cli_${
|
|
3340
|
+
const sessionId = `cli_${crypto.randomUUID().replace(/-/g, "")}`;
|
|
3341
3341
|
const { projectName, projectDir, relativePath,...safeConfig } = config;
|
|
3342
3342
|
posthog.capture({
|
|
3343
3343
|
distinctId: sessionId,
|
|
@@ -3350,9 +3350,7 @@ async function trackProjectCreation(config) {
|
|
|
3350
3350
|
$ip: null
|
|
3351
3351
|
}
|
|
3352
3352
|
});
|
|
3353
|
-
} catch (
|
|
3354
|
-
consola.debug("Analytics tracking failed:", error);
|
|
3355
|
-
} finally {
|
|
3353
|
+
} catch (_error) {} finally {
|
|
3356
3354
|
await posthog.shutdown();
|
|
3357
3355
|
}
|
|
3358
3356
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-better-t-stack",
|
|
3
|
-
"version": "2.14.
|
|
3
|
+
"version": "2.14.1",
|
|
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",
|