create-better-t-stack 3.28.1-pr1036.ff20c00 → 3.28.3
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/README.md +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{src-Bx8Ofji-.mjs → src-PtlLGeY1.mjs} +12 -2
- package/package.json +15 -15
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with
|
|
|
5
5
|
## Sponsors
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
8
|
-
<img src="https://sponsors.
|
|
8
|
+
<img src="https://sponsors.better-t-stack.dev/sponsors.png" alt="Sponsors">
|
|
9
9
|
</p>
|
|
10
10
|
|
|
11
11
|

|
package/dist/cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { _ as types_exports, i as SchemaNameSchema, l as create, m as getSchemaResult, s as add, u as createBtsCli, v as getLatestCLIVersion } from "./src-
|
|
2
|
+
import { _ as types_exports, i as SchemaNameSchema, l as create, m as getSchemaResult, s as add, u as createBtsCli, v as getLatestCLIVersion } from "./src-PtlLGeY1.mjs";
|
|
3
3
|
import z from "zod";
|
|
4
4
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
5
5
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { C as ProjectCreationError, S as DirectoryConflictError, T as ValidationError, a as TEMPLATE_COUNT, b as CompatibilityError, c as builder, d as createVirtual, f as docs, g as sponsors, h as router, i as SchemaNameSchema, l as create, m as getSchemaResult, n as GeneratorError, o as VirtualFileSystem, p as generate, r as Result, s as add, t as EMBEDDED_TEMPLATES, u as createBtsCli, w as UserCancelledError, x as DatabaseSetupError, y as CLIError } from "./src-
|
|
2
|
+
import { C as ProjectCreationError, S as DirectoryConflictError, T as ValidationError, a as TEMPLATE_COUNT, b as CompatibilityError, c as builder, d as createVirtual, f as docs, g as sponsors, h as router, i as SchemaNameSchema, l as create, m as getSchemaResult, n as GeneratorError, o as VirtualFileSystem, p as generate, r as Result, s as add, t as EMBEDDED_TEMPLATES, u as createBtsCli, w as UserCancelledError, x as DatabaseSetupError, y as CLIError } from "./src-PtlLGeY1.mjs";
|
|
3
3
|
export { CLIError, CompatibilityError, DatabaseSetupError, DirectoryConflictError, EMBEDDED_TEMPLATES, GeneratorError, ProjectCreationError, Result, SchemaNameSchema, TEMPLATE_COUNT, UserCancelledError, ValidationError, VirtualFileSystem, add, builder, create, createBtsCli, createVirtual, docs, generate, getSchemaResult, router, sponsors };
|
|
@@ -4868,14 +4868,24 @@ async function getProjectName(initialName) {
|
|
|
4868
4868
|
*/
|
|
4869
4869
|
function isTelemetryEnabled() {
|
|
4870
4870
|
const BTS_TELEMETRY_DISABLED = process.env.BTS_TELEMETRY_DISABLED;
|
|
4871
|
-
const BTS_TELEMETRY = "
|
|
4871
|
+
const BTS_TELEMETRY = "1";
|
|
4872
4872
|
if (BTS_TELEMETRY_DISABLED !== void 0) return BTS_TELEMETRY_DISABLED !== "1";
|
|
4873
4873
|
if (BTS_TELEMETRY !== void 0) return BTS_TELEMETRY === "1";
|
|
4874
4874
|
return true;
|
|
4875
4875
|
}
|
|
4876
4876
|
//#endregion
|
|
4877
4877
|
//#region src/utils/analytics.ts
|
|
4878
|
-
|
|
4878
|
+
const CONVEX_INGEST_URL = "https://striped-seahorse-863.convex.site/api/analytics/ingest";
|
|
4879
|
+
async function sendConvexEvent(payload) {
|
|
4880
|
+
await Result.tryPromise({
|
|
4881
|
+
try: () => fetch(CONVEX_INGEST_URL, {
|
|
4882
|
+
method: "POST",
|
|
4883
|
+
headers: { "Content-Type": "application/json" },
|
|
4884
|
+
body: JSON.stringify(payload)
|
|
4885
|
+
}),
|
|
4886
|
+
catch: () => void 0
|
|
4887
|
+
});
|
|
4888
|
+
}
|
|
4879
4889
|
async function trackProjectCreation(config, disableAnalytics = false) {
|
|
4880
4890
|
if (!isTelemetryEnabled() || disableAnalytics) return;
|
|
4881
4891
|
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.28.
|
|
3
|
+
"version": "3.28.3",
|
|
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",
|
|
@@ -70,34 +70,34 @@
|
|
|
70
70
|
"prepublishOnly": "npm run build"
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@better-t-stack/template-generator": "3.28.
|
|
74
|
-
"@better-t-stack/types": "3.28.
|
|
75
|
-
"@clack/core": "^1.3.
|
|
76
|
-
"@clack/prompts": "^1.
|
|
73
|
+
"@better-t-stack/template-generator": "^3.28.3",
|
|
74
|
+
"@better-t-stack/types": "^3.28.3",
|
|
75
|
+
"@clack/core": "^1.3.1",
|
|
76
|
+
"@clack/prompts": "^1.4.0",
|
|
77
77
|
"@modelcontextprotocol/sdk": "1.29.0",
|
|
78
78
|
"@trpc/server": "^11.17.0",
|
|
79
|
-
"better-result": "^2.9.
|
|
79
|
+
"better-result": "^2.9.2",
|
|
80
80
|
"consola": "^3.4.2",
|
|
81
81
|
"env-paths": "^4.0.0",
|
|
82
82
|
"execa": "^9.6.1",
|
|
83
|
-
"fs-extra": "^11.3.
|
|
83
|
+
"fs-extra": "^11.3.5",
|
|
84
84
|
"gradient-string": "^3.0.0",
|
|
85
85
|
"handlebars": "^4.7.9",
|
|
86
86
|
"jsonc-parser": "^3.3.1",
|
|
87
|
-
"oxfmt": "^0.
|
|
87
|
+
"oxfmt": "^0.49.0",
|
|
88
88
|
"picocolors": "^1.1.1",
|
|
89
89
|
"tinyglobby": "^0.2.15",
|
|
90
|
-
"trpc-cli": "^0.14.
|
|
90
|
+
"trpc-cli": "^0.14.1",
|
|
91
91
|
"ts-morph": "^28.0.0",
|
|
92
|
-
"yaml": "^2.
|
|
93
|
-
"zod": "^4.4.
|
|
92
|
+
"yaml": "^2.9.0",
|
|
93
|
+
"zod": "^4.4.3"
|
|
94
94
|
},
|
|
95
95
|
"devDependencies": {
|
|
96
|
-
"@types/bun": "^1.3.
|
|
96
|
+
"@types/bun": "^1.3.14",
|
|
97
97
|
"@types/fs-extra": "^11.0.4",
|
|
98
|
-
"@types/node": "^25.
|
|
99
|
-
"publint": "^0.3.
|
|
100
|
-
"tsdown": "^0.
|
|
98
|
+
"@types/node": "^25.7.0",
|
|
99
|
+
"publint": "^0.3.21",
|
|
100
|
+
"tsdown": "^0.22.0",
|
|
101
101
|
"typescript": "^6.0.3"
|
|
102
102
|
}
|
|
103
103
|
}
|