create-better-t-stack 3.36.1 → 3.36.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
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-DGv7joiB.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-DGv7joiB.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 };
|
|
@@ -2895,11 +2895,12 @@ function hasNativeFrontend(frontend) {
|
|
|
2895
2895
|
}
|
|
2896
2896
|
function getRecommendedSourceKeys(config) {
|
|
2897
2897
|
const sources = [];
|
|
2898
|
-
const { frontend, backend, dbSetup, auth, examples, addons, orm } = config;
|
|
2898
|
+
const { frontend, backend, dbSetup, auth, examples, addons, orm, webDeploy, serverDeploy } = config;
|
|
2899
2899
|
if (hasReactBasedFrontend(frontend)) {
|
|
2900
2900
|
sources.push("vercel-labs/agent-skills");
|
|
2901
2901
|
sources.push("shadcn/ui");
|
|
2902
2902
|
}
|
|
2903
|
+
if ((webDeploy === "vercel" || serverDeploy === "vercel") && !sources.includes("vercel-labs/agent-skills")) sources.push("vercel-labs/agent-skills");
|
|
2903
2904
|
if (frontend.includes("next")) sources.push("vercel-labs/next-skills");
|
|
2904
2905
|
if (frontend.includes("nuxt")) sources.push("nuxt/ui");
|
|
2905
2906
|
if (frontend.includes("native-uniwind")) sources.push("heroui-inc/heroui");
|
|
@@ -2922,12 +2923,10 @@ function getRecommendedSourceKeys(config) {
|
|
|
2922
2923
|
}
|
|
2923
2924
|
const CURATED_SKILLS_BY_SOURCE = {
|
|
2924
2925
|
"vercel-labs/agent-skills": (config) => {
|
|
2925
|
-
const skills = [
|
|
2926
|
-
|
|
2927
|
-
"vercel-composition-patterns",
|
|
2928
|
-
"vercel-react-best-practices"
|
|
2929
|
-
];
|
|
2926
|
+
const skills = [];
|
|
2927
|
+
if (hasReactBasedFrontend(config.frontend)) skills.push("web-design-guidelines", "vercel-composition-patterns", "vercel-react-best-practices");
|
|
2930
2928
|
if (hasNativeFrontend(config.frontend)) skills.push("vercel-react-native-skills");
|
|
2929
|
+
if (config.webDeploy === "vercel" || config.serverDeploy === "vercel") skills.push("deploy-to-vercel");
|
|
2931
2930
|
return skills;
|
|
2932
2931
|
},
|
|
2933
2932
|
"vercel/ai": () => ["ai-sdk"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-better-t-stack",
|
|
3
|
-
"version": "3.36.
|
|
3
|
+
"version": "3.36.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",
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"prepublishOnly": "npm run build"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@better-t-stack/template-generator": "^3.36.
|
|
73
|
-
"@better-t-stack/types": "^3.36.
|
|
72
|
+
"@better-t-stack/template-generator": "^3.36.2",
|
|
73
|
+
"@better-t-stack/types": "^3.36.2",
|
|
74
74
|
"@clack/core": "^1.4.1",
|
|
75
75
|
"@clack/prompts": "^1.5.1",
|
|
76
76
|
"@modelcontextprotocol/sdk": "1.29.0",
|