create-better-fullstack 1.8.0 → 2.0.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/README.md +14 -0
- package/dist/addons-setup-Ca069cmy.mjs +5 -0
- package/dist/{addons-setup-CUmA_nra.mjs → addons-setup-DHoByttt.mjs} +1 -1
- package/dist/{bts-config-YcroedMK.mjs → bts-config-BMniWIbd.mjs} +180 -4
- package/dist/cli.mjs +1 -1
- package/dist/index.d.mts +76 -24
- package/dist/index.mjs +1689 -1052
- package/dist/{mcp-DoPutOIG.mjs → mcp-YvDMaVXB.mjs} +1 -1
- package/dist/mcp-entry.mjs +12 -2
- package/package.json +7 -7
- package/dist/addons-setup-CJwQAWFg.mjs +0 -5
package/dist/mcp-entry.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
2
|
+
import { d as getLatestCLIVersion, r as writeBtsConfig, t as readBtsConfig } from "./bts-config-BMniWIbd.mjs";
|
|
3
3
|
import z from "zod";
|
|
4
4
|
import { AISchema, APISchema, AddonsSchema, AnalyticsSchema, AnimationSchema, AstroIntegrationSchema, AuthSchema, BackendSchema, CMSSchema, CSSFrameworkSchema, CachingSchema, DatabaseSchema, DatabaseSetupSchema, EcosystemSchema, EffectSchema, ElixirApiSchema, ElixirAuthSchema, ElixirCachingSchema, ElixirDeploySchema, ElixirEmailSchema, ElixirHttpSchema, ElixirJobsSchema, ElixirJsonSchema, ElixirObservabilitySchema, ElixirOrmSchema, ElixirQualitySchema, ElixirRealtimeSchema, ElixirTestingSchema, ElixirValidationSchema, ElixirWebFrameworkSchema, EmailSchema, ExamplesSchema, FeatureFlagsSchema, FileStorageSchema, FileUploadSchema, FormsSchema, FrontendSchema, GoApiSchema, GoAuthSchema, GoCliSchema, GoLoggingSchema, GoOrmSchema, GoWebFrameworkSchema, I18nSchema, JavaAuthSchema, JavaBuildToolSchema, JavaLibrariesSchema, JavaOrmSchema, JavaTestingLibrariesSchema, JavaWebFrameworkSchema, JobQueueSchema, LoggingSchema, MobileDeepLinkingSchema, MobileNavigationSchema, MobileOTASchema, MobilePushSchema, MobileStorageSchema, MobileTestingSchema, MobileUISchema, OPTION_CATEGORY_METADATA, ORMSchema, ObservabilitySchema, PackageManagerSchema, PaymentsSchema, PythonAiSchema, PythonApiSchema, PythonAuthSchema, PythonGraphqlSchema, PythonOrmSchema, PythonQualitySchema, PythonTaskQueueSchema, PythonValidationSchema, PythonWebFrameworkSchema, RealtimeSchema, RuntimeSchema, RustApiSchema, RustAuthSchema, RustCachingSchema, RustCliSchema, RustErrorHandlingSchema, RustFrontendSchema, RustLibrariesSchema, RustLoggingSchema, RustOrmSchema, RustWebFrameworkSchema, SearchSchema, ServerDeploySchema, StateManagementSchema, TestingSchema, UILibrarySchema, ValidationSchema, WebDeploySchema, analyzeStackCompatibility } from "@better-fullstack/types";
|
|
5
5
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
@@ -723,6 +723,16 @@ const GETTING_STARTED_MD = `# Getting Started with Better-Fullstack MCP
|
|
|
723
723
|
- observability: "sentry" (optional)
|
|
724
724
|
2. Tell the user to run: cd my-java-app && ./mvnw test && ./mvnw spring-boot:run
|
|
725
725
|
|
|
726
|
+
## Quick Start — Elixir Project
|
|
727
|
+
1. Call bfs_create_project with:
|
|
728
|
+
- projectName: "my-elixir-app"
|
|
729
|
+
- ecosystem: "elixir"
|
|
730
|
+
- elixirWebFramework: "phoenix"
|
|
731
|
+
- elixirOrm: "ecto-sql"
|
|
732
|
+
- elixirApi: "rest"
|
|
733
|
+
- elixirRealtime: "channels"
|
|
734
|
+
2. Tell the user to run: cd my-elixir-app && mix deps.get && mix phx.server
|
|
735
|
+
|
|
726
736
|
## Adding Features to Existing Projects
|
|
727
737
|
1. Call bfs_add_feature with projectDir pointing to the project root.
|
|
728
738
|
2. Provide addons array with features to add (e.g., ["biome", "turborepo"]).
|
|
@@ -1020,7 +1030,7 @@ async function startMcpServer() {
|
|
|
1020
1030
|
await writeBtsConfig(config);
|
|
1021
1031
|
let addonWarnings = [];
|
|
1022
1032
|
if (config.addons.length > 0 && config.addons[0] !== "none") {
|
|
1023
|
-
const { setupAddons } = await import("./addons-setup-
|
|
1033
|
+
const { setupAddons } = await import("./addons-setup-Ca069cmy.mjs");
|
|
1024
1034
|
addonWarnings = await setupAddons(config);
|
|
1025
1035
|
}
|
|
1026
1036
|
const installCmd = getInstallCommand(input.ecosystem ?? "typescript", projectName, input.packageManager, input.javaBuildTool, input.javaWebFramework);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-better-fullstack",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Scaffold production-ready fullstack apps in seconds. Pick your stack from 425 options — the CLI wires everything together.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"algolia",
|
|
@@ -127,11 +127,11 @@
|
|
|
127
127
|
"prepublishOnly": "npm run build"
|
|
128
128
|
},
|
|
129
129
|
"dependencies": {
|
|
130
|
-
"@better-fullstack/template-generator": "^
|
|
131
|
-
"@better-fullstack/types": "^
|
|
130
|
+
"@better-fullstack/template-generator": "^2.0.0",
|
|
131
|
+
"@better-fullstack/types": "^2.0.0",
|
|
132
132
|
"@clack/core": "^0.5.0",
|
|
133
|
-
"@clack/prompts": "^1.
|
|
134
|
-
"@orpc/server": "^1.14.
|
|
133
|
+
"@clack/prompts": "^1.5.0",
|
|
134
|
+
"@orpc/server": "^1.14.4",
|
|
135
135
|
"consola": "^3.4.2",
|
|
136
136
|
"env-paths": "^4.0.0",
|
|
137
137
|
"execa": "^9.6.1",
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"jsonc-parser": "^3.3.1",
|
|
142
142
|
"oxfmt": "^0.19.0",
|
|
143
143
|
"picocolors": "^1.1.1",
|
|
144
|
-
"tinyglobby": "^0.2.
|
|
144
|
+
"tinyglobby": "^0.2.17",
|
|
145
145
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
146
146
|
"trpc-cli": "^0.12.1",
|
|
147
147
|
"ts-morph": "^27.0.2",
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
"devDependencies": {
|
|
152
152
|
"@types/bun": "^1.3.14",
|
|
153
153
|
"@types/fs-extra": "^11.0.4",
|
|
154
|
-
"@types/node": "^25.
|
|
154
|
+
"@types/node": "^25.9.1",
|
|
155
155
|
"publint": "^0.3.21",
|
|
156
156
|
"tsdown": "^0.18.2",
|
|
157
157
|
"typescript": "^5.9.3"
|