create-better-t-stack 3.12.7-pr780.f6206a0 → 3.13.0
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-CvDgQFF4.mjs → src-DyVk_RBS.mjs} +11 -2
- package/package.json +2 -2
package/dist/cli.mjs
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as router, i as docs, n as create, o as sponsors, r as createBtsCli, t as builder } from "./src-
|
|
2
|
+
import { a as router, i as docs, n as create, o as sponsors, r as createBtsCli, t as builder } from "./src-DyVk_RBS.mjs";
|
|
3
3
|
|
|
4
4
|
export { builder, create, createBtsCli, docs, router, sponsors };
|
|
@@ -1653,7 +1653,7 @@ const getLatestCLIVersion = () => {
|
|
|
1653
1653
|
*/
|
|
1654
1654
|
function isTelemetryEnabled() {
|
|
1655
1655
|
const BTS_TELEMETRY_DISABLED = process.env.BTS_TELEMETRY_DISABLED;
|
|
1656
|
-
const BTS_TELEMETRY = "
|
|
1656
|
+
const BTS_TELEMETRY = "1";
|
|
1657
1657
|
if (BTS_TELEMETRY_DISABLED !== void 0) return BTS_TELEMETRY_DISABLED !== "1";
|
|
1658
1658
|
if (BTS_TELEMETRY !== void 0) return BTS_TELEMETRY === "1";
|
|
1659
1659
|
return true;
|
|
@@ -1661,7 +1661,16 @@ function isTelemetryEnabled() {
|
|
|
1661
1661
|
|
|
1662
1662
|
//#endregion
|
|
1663
1663
|
//#region src/utils/analytics.ts
|
|
1664
|
-
|
|
1664
|
+
const CONVEX_INGEST_URL = "https://striped-seahorse-863.convex.site/api/analytics/ingest";
|
|
1665
|
+
async function sendConvexEvent(payload) {
|
|
1666
|
+
try {
|
|
1667
|
+
await fetch(CONVEX_INGEST_URL, {
|
|
1668
|
+
method: "POST",
|
|
1669
|
+
headers: { "Content-Type": "application/json" },
|
|
1670
|
+
body: JSON.stringify(payload)
|
|
1671
|
+
});
|
|
1672
|
+
} catch {}
|
|
1673
|
+
}
|
|
1665
1674
|
async function trackProjectCreation(config, disableAnalytics = false) {
|
|
1666
1675
|
if (!isTelemetryEnabled() || disableAnalytics) return;
|
|
1667
1676
|
const { projectName: _projectName, projectDir: _projectDir, relativePath: _relativePath, ...safeConfig } = config;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-better-t-stack",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.13.0",
|
|
4
4
|
"description": "A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"better-auth",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"prepublishOnly": "npm run build"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@better-t-stack/types": "3.
|
|
70
|
+
"@better-t-stack/types": "^3.13.0",
|
|
71
71
|
"@clack/core": "^0.5.0",
|
|
72
72
|
"@clack/prompts": "^1.0.0-alpha.8",
|
|
73
73
|
"@orpc/server": "^1.13.0",
|