create-better-t-stack 3.20.0 → 3.20.2
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-xjt9vVj6.mjs → src-BqpeME-D.mjs} +15 -0
- 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 { _ as DatabaseSetupError, a as VirtualFileSystem, b as UserCancelledError, c as create, d as docs, f as generate, g as CompatibilityError, h as CLIError, i as TEMPLATE_COUNT, l as createBtsCli, m as sponsors, n as GeneratorError, o as add, p as router, r as Result, s as builder, t as EMBEDDED_TEMPLATES, u as createVirtual, v as DirectoryConflictError, x as ValidationError, y as ProjectCreationError } from "./src-
|
|
2
|
+
import { _ as DatabaseSetupError, a as VirtualFileSystem, b as UserCancelledError, c as create, d as docs, f as generate, g as CompatibilityError, h as CLIError, i as TEMPLATE_COUNT, l as createBtsCli, m as sponsors, n as GeneratorError, o as add, p as router, r as Result, s as builder, t as EMBEDDED_TEMPLATES, u as createVirtual, v as DirectoryConflictError, x as ValidationError, y as ProjectCreationError } from "./src-BqpeME-D.mjs";
|
|
3
3
|
|
|
4
4
|
export { CLIError, CompatibilityError, DatabaseSetupError, DirectoryConflictError, EMBEDDED_TEMPLATES, GeneratorError, ProjectCreationError, Result, TEMPLATE_COUNT, UserCancelledError, ValidationError, VirtualFileSystem, add, builder, create, createBtsCli, createVirtual, docs, generate, router, sponsors };
|
|
@@ -1448,6 +1448,9 @@ function uniqueValues$1(values) {
|
|
|
1448
1448
|
function hasReactBasedFrontend$1(frontend) {
|
|
1449
1449
|
return frontend.includes("react-router") || frontend.includes("tanstack-router") || frontend.includes("tanstack-start") || frontend.includes("next");
|
|
1450
1450
|
}
|
|
1451
|
+
function hasNativeFrontend$1(frontend) {
|
|
1452
|
+
return frontend.includes("native-bare") || frontend.includes("native-uniwind") || frontend.includes("native-unistyles");
|
|
1453
|
+
}
|
|
1451
1454
|
function getRecommendedMcpServers(config) {
|
|
1452
1455
|
const servers = [];
|
|
1453
1456
|
servers.push({
|
|
@@ -1528,6 +1531,18 @@ function getRecommendedMcpServers(config) {
|
|
|
1528
1531
|
name: "better-auth",
|
|
1529
1532
|
target: "https://mcp.inkeep.com/better-auth/mcp"
|
|
1530
1533
|
});
|
|
1534
|
+
if (config.auth === "clerk") servers.push({
|
|
1535
|
+
key: "clerk",
|
|
1536
|
+
label: "Clerk",
|
|
1537
|
+
name: "clerk",
|
|
1538
|
+
target: "https://mcp.clerk.com/mcp"
|
|
1539
|
+
});
|
|
1540
|
+
if (hasNativeFrontend$1(config.frontend)) servers.push({
|
|
1541
|
+
key: "expo",
|
|
1542
|
+
label: "Expo",
|
|
1543
|
+
name: "expo-mcp",
|
|
1544
|
+
target: "https://mcp.expo.dev/mcp"
|
|
1545
|
+
});
|
|
1531
1546
|
if (config.payments === "polar") servers.push({
|
|
1532
1547
|
key: "polar",
|
|
1533
1548
|
label: "Polar",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-better-t-stack",
|
|
3
|
-
"version": "3.20.
|
|
3
|
+
"version": "3.20.2",
|
|
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,8 +70,8 @@
|
|
|
70
70
|
"prepublishOnly": "npm run build"
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@better-t-stack/template-generator": "^3.20.
|
|
74
|
-
"@better-t-stack/types": "^3.20.
|
|
73
|
+
"@better-t-stack/template-generator": "^3.20.2",
|
|
74
|
+
"@better-t-stack/types": "^3.20.2",
|
|
75
75
|
"@clack/core": "^1.0.0",
|
|
76
76
|
"@clack/prompts": "^1.0.0",
|
|
77
77
|
"@orpc/server": "^1.13.4",
|