create-kubojs 0.1.0 → 0.2.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 +3 -2
- package/dist/cli.mjs +26 -21
- package/dist/index.d.mts +20 -15
- package/dist/index.mjs +2 -2
- package/dist/{src-BAYXN3Za.mjs → src-CNqGe5RA.mjs} +588 -360
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations
|
|
4
4
|
|
|
5
|
-

|
|
6
|
-
|
|
7
5
|
## Quick Start
|
|
8
6
|
|
|
9
7
|
Run without installing globally:
|
|
@@ -36,6 +34,7 @@ Follow the prompts to configure your project or use the `--yes` flag for default
|
|
|
36
34
|
| **Authentication** | • Better Auth<br>• Clerk |
|
|
37
35
|
| **Styling** | Tailwind CSS with a shared shadcn/ui package for React web apps |
|
|
38
36
|
| **Addons** | • PWA support<br>• Tauri (desktop applications)<br>• Electrobun (lightweight desktop shell)<br>• Starlight and Fumadocs (documentation sites)<br>• Biome, Oxlint, Ultracite, or Vite+ (linting and formatting)<br>• Lefthook, Husky (Git hooks)<br>• evlog (request logging for server/fullstack backends)<br>• MCP, Skills (agent tooling)<br>• OpenTUI, WXT (platform extensions)<br>• Turborepo, Nx, or Vite+ (monorepo orchestration) |
|
|
37
|
+
| **Testing** | • Vitest (unit tests)<br>• Playwright (end-to-end tests, requires a web frontend) |
|
|
39
38
|
| **Examples** | • Todo app<br>• AI Chat interface (using Vercel AI SDK) |
|
|
40
39
|
| **Developer Experience** | • Automatic Git initialization<br>• Package manager choice (npm, pnpm, bun)<br>• Automatic dependency installation |
|
|
41
40
|
|
|
@@ -56,6 +55,7 @@ Options:
|
|
|
56
55
|
--frontend <types...> Frontend types (tanstack-router, react-router, tanstack-start, next, nuxt, svelte, solid, astro, native-bare, native-uniwind, native-unistyles, none)
|
|
57
56
|
--addons <types...> Additional addons (pwa, tauri, electrobun, starlight, biome, lefthook, husky, mcp, turborepo, nx, vite-plus, fumadocs, ultracite, oxlint, opentui, wxt, skills, evlog, none)
|
|
58
57
|
--examples <types...> Examples to include (todo, ai, none)
|
|
58
|
+
--testing <types...> Testing tools (vitest, playwright, none)
|
|
59
59
|
--git Initialize git repository
|
|
60
60
|
--no-git Skip git initialization
|
|
61
61
|
--package-manager <pm> Package manager (npm, pnpm, bun)
|
|
@@ -241,6 +241,7 @@ npx kubojs --frontend none --backend hono --api trpc --database none --addons no
|
|
|
241
241
|
- **Cloudflare Workers runtime**: Only compatible with Hono backend. If a database is used, MongoDB is not supported.
|
|
242
242
|
- **Cloudflare D1 setup**: Requires `sqlite` and either `--runtime workers --server-deploy cloudflare` or `--backend self --web-deploy cloudflare`. For `backend self`, D1 is supported on `next`, `tanstack-start`, `nuxt`, `svelte`, and `astro`.
|
|
243
243
|
- **Addons 'none'**: Skips all addons.
|
|
244
|
+
- **Testing 'none'**: Skips all testing tools. Playwright requires a web frontend.
|
|
244
245
|
- **Examples 'none'**: Skips all example implementations (todo, AI chat).
|
|
245
246
|
- **Nuxt, Svelte, SolidJS, and Astro** frontends are only compatible with oRPC API layer
|
|
246
247
|
- **PWA support** requires TanStack Router, React Router, Next.js, or SolidJS
|
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
|
|
2
|
+
import { _ as getLatestCLIVersion, g as types_exports, i as SchemaNameSchema, l as create, m as getSchemaResult, s as add, u as createBtsCli } from "./src-CNqGe5RA.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";
|
|
@@ -20,8 +20,11 @@ const McpCreateProjectInputSchema = types_exports.CreateInputSchema.safeExtend({
|
|
|
20
20
|
api: types_exports.APISchema.describe("Explicit API layer"),
|
|
21
21
|
auth: types_exports.AuthSchema.describe("Explicit authentication provider"),
|
|
22
22
|
payments: types_exports.PaymentsSchema.describe("Explicit payments provider"),
|
|
23
|
+
observability: types_exports.ObservabilitySchema.describe("Explicit observability providers; use [] for none"),
|
|
24
|
+
communication: types_exports.CommunicationSchema.describe("Explicit communication provider"),
|
|
23
25
|
addons: z.array(types_exports.AddonsSchema).describe("Explicit addon list. Use [] when no addons are needed."),
|
|
24
26
|
examples: z.array(types_exports.ExamplesSchema).describe("Explicit example list. Use [] when no examples are needed."),
|
|
27
|
+
testing: z.array(types_exports.TestingSchema).describe("Explicit testing tools list. Use [] when no testing tools are needed."),
|
|
25
28
|
git: z.boolean().describe("Whether to initialize a git repository"),
|
|
26
29
|
packageManager: types_exports.PackageManagerSchema.describe("Explicit package manager"),
|
|
27
30
|
install: z.boolean().describe("Whether to install dependencies"),
|
|
@@ -31,7 +34,7 @@ const McpCreateProjectInputSchema = types_exports.CreateInputSchema.safeExtend({
|
|
|
31
34
|
addonOptions: types_exports.AddonOptionsSchema.optional(),
|
|
32
35
|
dbSetupOptions: types_exports.DbSetupOptionsSchema.optional(),
|
|
33
36
|
directoryConflict: types_exports.DirectoryConflictSchema.optional()
|
|
34
|
-
}).describe("Explicit
|
|
37
|
+
}).describe("Explicit kubojs project configuration for MCP use. Provide the full stack config instead of relying on inferred defaults.");
|
|
35
38
|
function formatToolSuccess(data) {
|
|
36
39
|
return {
|
|
37
40
|
content: [{
|
|
@@ -94,6 +97,7 @@ function getStackGuidance() {
|
|
|
94
97
|
"payments",
|
|
95
98
|
"addons",
|
|
96
99
|
"examples",
|
|
100
|
+
"testing",
|
|
97
101
|
"git",
|
|
98
102
|
"packageManager",
|
|
99
103
|
"install",
|
|
@@ -112,6 +116,7 @@ function getStackGuidance() {
|
|
|
112
116
|
frontend: "frontend is for app surfaces only. Choose explicit app targets such as next, react-router, tanstack-router, native-bare, native-uniwind, or native-unistyles.",
|
|
113
117
|
addons: "addons must be an explicit array. Use [] when no addons are requested.",
|
|
114
118
|
examples: "examples must be an explicit array. Use [] when no examples are requested.",
|
|
119
|
+
testing: "testing must be an explicit array. Use [] when no testing tools are requested.",
|
|
115
120
|
dbSetup: "dbSetup is always required. Use 'none' when no managed database provisioning is requested.",
|
|
116
121
|
webDeploy: "webDeploy is always required. Use 'none' when no web deployment target is requested.",
|
|
117
122
|
serverDeploy: "serverDeploy is always required. Use 'none' when no server deployment target is requested.",
|
|
@@ -133,11 +138,11 @@ function createBtsMcpServer() {
|
|
|
133
138
|
version: getLatestCLIVersion()
|
|
134
139
|
}, { capabilities: { logging: {} } });
|
|
135
140
|
server.registerTool("bts_get_stack_guidance", {
|
|
136
|
-
title: "Get
|
|
137
|
-
description: "Read MCP-specific guidance for choosing valid
|
|
141
|
+
title: "Get kubojs MCP Guidance",
|
|
142
|
+
description: "Read MCP-specific guidance for choosing valid kubojs configurations. Use this before planning when user intent is ambiguous. This explains the full explicit config required by MCP project creation, plus important field semantics and ambiguity rules.",
|
|
138
143
|
outputSchema: ToolResponseSchema,
|
|
139
144
|
annotations: {
|
|
140
|
-
title: "Get
|
|
145
|
+
title: "Get kubojs MCP Guidance",
|
|
141
146
|
readOnlyHint: true,
|
|
142
147
|
destructiveHint: false,
|
|
143
148
|
idempotentHint: true,
|
|
@@ -151,12 +156,12 @@ function createBtsMcpServer() {
|
|
|
151
156
|
}
|
|
152
157
|
});
|
|
153
158
|
server.registerTool("bts_get_schema", {
|
|
154
|
-
title: "Get
|
|
155
|
-
description: "Inspect
|
|
159
|
+
title: "Get kubojs Schemas",
|
|
160
|
+
description: "Inspect kubojs CLI and input schemas so agents can plan valid create/add requests. Use this together with bts_get_stack_guidance before creating a project if any part of the request is ambiguous.",
|
|
156
161
|
inputSchema: SchemaToolInputSchema,
|
|
157
162
|
outputSchema: ToolResponseSchema,
|
|
158
163
|
annotations: {
|
|
159
|
-
title: "Get
|
|
164
|
+
title: "Get kubojs Schemas",
|
|
160
165
|
readOnlyHint: true,
|
|
161
166
|
destructiveHint: false,
|
|
162
167
|
idempotentHint: true,
|
|
@@ -170,12 +175,12 @@ function createBtsMcpServer() {
|
|
|
170
175
|
}
|
|
171
176
|
});
|
|
172
177
|
server.registerTool("bts_plan_project", {
|
|
173
|
-
title: "Plan
|
|
174
|
-
description: "Validate and preview
|
|
178
|
+
title: "Plan kubojs Project",
|
|
179
|
+
description: "Validate and preview a kubojs project creation without writing files or provisioning resources. Always use this before bts_create_project. This tool requires an explicit full stack config rather than a partial payload with inferred defaults.",
|
|
175
180
|
inputSchema: McpCreateProjectInputSchema,
|
|
176
181
|
outputSchema: ToolResponseSchema,
|
|
177
182
|
annotations: {
|
|
178
|
-
title: "Plan
|
|
183
|
+
title: "Plan kubojs Project",
|
|
179
184
|
readOnlyHint: true,
|
|
180
185
|
destructiveHint: false,
|
|
181
186
|
idempotentHint: true,
|
|
@@ -202,12 +207,12 @@ function createBtsMcpServer() {
|
|
|
202
207
|
}
|
|
203
208
|
});
|
|
204
209
|
server.registerTool("bts_create_project", {
|
|
205
|
-
title: "Create
|
|
206
|
-
description: "Create
|
|
210
|
+
title: "Create kubojs Project",
|
|
211
|
+
description: "Create a kubojs project on disk using the same silent programmatic flow as the CLI JSON API. Call this only after bts_plan_project succeeds and the plan clearly matches the user's intent. This tool requires an explicit full stack config.",
|
|
207
212
|
inputSchema: McpCreateProjectInputSchema,
|
|
208
213
|
outputSchema: ToolResponseSchema,
|
|
209
214
|
annotations: {
|
|
210
|
-
title: "Create
|
|
215
|
+
title: "Create kubojs Project",
|
|
211
216
|
...getProjectToolAnnotations()
|
|
212
217
|
}
|
|
213
218
|
}, async (input) => {
|
|
@@ -224,12 +229,12 @@ function createBtsMcpServer() {
|
|
|
224
229
|
}
|
|
225
230
|
});
|
|
226
231
|
server.registerTool("bts_plan_addons", {
|
|
227
|
-
title: "Plan
|
|
228
|
-
description: "Validate and preview addon installation for an existing
|
|
232
|
+
title: "Plan kubojs Addons",
|
|
233
|
+
description: "Validate and preview addon installation for an existing kubojs project without writing files. Always use this before bts_add_addons when the addon set or nested options are uncertain.",
|
|
229
234
|
inputSchema: types_exports.AddInputSchema,
|
|
230
235
|
outputSchema: ToolResponseSchema,
|
|
231
236
|
annotations: {
|
|
232
|
-
title: "Plan
|
|
237
|
+
title: "Plan kubojs Addons",
|
|
233
238
|
readOnlyHint: true,
|
|
234
239
|
destructiveHint: false,
|
|
235
240
|
idempotentHint: true,
|
|
@@ -248,12 +253,12 @@ function createBtsMcpServer() {
|
|
|
248
253
|
}
|
|
249
254
|
});
|
|
250
255
|
server.registerTool("bts_add_addons", {
|
|
251
|
-
title: "Add
|
|
252
|
-
description: "Install addons into an existing
|
|
256
|
+
title: "Add kubojs Addons",
|
|
257
|
+
description: "Install addons into an existing kubojs project using the same silent flow as add-json. Call this only after bts_plan_addons succeeds and the planned changes match the user's intent.",
|
|
253
258
|
inputSchema: types_exports.AddInputSchema,
|
|
254
259
|
outputSchema: ToolResponseSchema,
|
|
255
260
|
annotations: {
|
|
256
|
-
title: "Add
|
|
261
|
+
title: "Add kubojs Addons",
|
|
257
262
|
destructiveHint: true,
|
|
258
263
|
idempotentHint: false,
|
|
259
264
|
openWorldHint: true
|
|
@@ -281,7 +286,7 @@ if (command === "mcp") {
|
|
|
281
286
|
if (args.includes("--help") || args.includes("-h")) {
|
|
282
287
|
console.log(`Usage: kubojs mcp
|
|
283
288
|
|
|
284
|
-
Start the
|
|
289
|
+
Start the kubojs MCP server over stdio.
|
|
285
290
|
|
|
286
291
|
This command is intended to be launched by an MCP client, for example:
|
|
287
292
|
kubojs mcp`);
|
package/dist/index.d.mts
CHANGED
|
@@ -137,12 +137,14 @@ declare const SchemaNameSchema: z.ZodDefault<z.ZodEnum<{
|
|
|
137
137
|
frontend: "frontend";
|
|
138
138
|
addons: "addons";
|
|
139
139
|
examples: "examples";
|
|
140
|
+
testing: "testing";
|
|
140
141
|
packageManager: "packageManager";
|
|
141
142
|
databaseSetup: "databaseSetup";
|
|
142
143
|
api: "api";
|
|
143
144
|
auth: "auth";
|
|
144
145
|
payments: "payments";
|
|
145
146
|
observability: "observability";
|
|
147
|
+
communication: "communication";
|
|
146
148
|
webDeploy: "webDeploy";
|
|
147
149
|
serverDeploy: "serverDeploy";
|
|
148
150
|
directoryConflict: "directoryConflict";
|
|
@@ -152,8 +154,8 @@ declare const SchemaNameSchema: z.ZodDefault<z.ZodEnum<{
|
|
|
152
154
|
createInput: "createInput";
|
|
153
155
|
addInput: "addInput";
|
|
154
156
|
projectConfig: "projectConfig";
|
|
155
|
-
|
|
156
|
-
|
|
157
|
+
kubojsConfig: "kubojsConfig";
|
|
158
|
+
kubojsConfigFile: "kubojsConfigFile";
|
|
157
159
|
initResult: "initResult";
|
|
158
160
|
}>>;
|
|
159
161
|
type SchemaName = z.infer<typeof SchemaNameSchema>;
|
|
@@ -175,10 +177,13 @@ declare const router: _$_trpc_server0.TRPCBuiltRouter<{
|
|
|
175
177
|
orm?: "none" | "drizzle" | "prisma" | "mongoose" | undefined;
|
|
176
178
|
auth?: "none" | "better-auth" | "clerk" | undefined;
|
|
177
179
|
payments?: "none" | "abacatepay" | undefined;
|
|
178
|
-
observability?:
|
|
180
|
+
observability?: unknown;
|
|
181
|
+
disableObservability?: boolean | undefined;
|
|
182
|
+
communication?: "none" | "resend" | "notifique" | undefined;
|
|
179
183
|
frontend?: ("none" | "tanstack-router" | "react-router" | "tanstack-start" | "next" | "nuxt" | "native-bare" | "native-uniwind" | "native-unistyles" | "svelte" | "solid" | "astro")[] | undefined;
|
|
180
184
|
addons?: ("none" | "pwa" | "tauri" | "electrobun" | "starlight" | "biome" | "lefthook" | "husky" | "mcp" | "turborepo" | "nx" | "vite-plus" | "fumadocs" | "ultracite" | "oxlint" | "opentui" | "wxt" | "skills" | "evlog")[] | undefined;
|
|
181
185
|
examples?: ("none" | "todo" | "ai")[] | undefined;
|
|
186
|
+
testing?: ("none" | "vitest" | "playwright")[] | undefined;
|
|
182
187
|
git?: boolean | undefined;
|
|
183
188
|
packageManager?: "bun" | "npm" | "pnpm" | undefined;
|
|
184
189
|
install?: boolean | undefined;
|
|
@@ -275,10 +280,13 @@ declare const router: _$_trpc_server0.TRPCBuiltRouter<{
|
|
|
275
280
|
orm?: "none" | "drizzle" | "prisma" | "mongoose" | undefined;
|
|
276
281
|
auth?: "none" | "better-auth" | "clerk" | undefined;
|
|
277
282
|
payments?: "none" | "abacatepay" | undefined;
|
|
278
|
-
observability?:
|
|
283
|
+
observability?: unknown;
|
|
284
|
+
disableObservability?: boolean | undefined;
|
|
285
|
+
communication?: "none" | "resend" | "notifique" | undefined;
|
|
279
286
|
frontend?: ("none" | "tanstack-router" | "react-router" | "tanstack-start" | "next" | "nuxt" | "native-bare" | "native-uniwind" | "native-unistyles" | "svelte" | "solid" | "astro")[] | undefined;
|
|
280
287
|
addons?: ("none" | "pwa" | "tauri" | "electrobun" | "starlight" | "biome" | "lefthook" | "husky" | "mcp" | "turborepo" | "nx" | "vite-plus" | "fumadocs" | "ultracite" | "oxlint" | "opentui" | "wxt" | "skills" | "evlog")[] | undefined;
|
|
281
288
|
examples?: ("none" | "todo" | "ai")[] | undefined;
|
|
289
|
+
testing?: ("none" | "vitest" | "playwright")[] | undefined;
|
|
282
290
|
git?: boolean | undefined;
|
|
283
291
|
packageManager?: "bun" | "npm" | "pnpm" | undefined;
|
|
284
292
|
install?: boolean | undefined;
|
|
@@ -298,16 +306,11 @@ declare const router: _$_trpc_server0.TRPCBuiltRouter<{
|
|
|
298
306
|
}>;
|
|
299
307
|
schema: _$_trpc_server0.TRPCQueryProcedure<{
|
|
300
308
|
input: {
|
|
301
|
-
name?: "all" | "cli" | "database" | "orm" | "backend" | "runtime" | "frontend" | "addons" | "examples" | "packageManager" | "databaseSetup" | "api" | "auth" | "payments" | "observability" | "webDeploy" | "serverDeploy" | "directoryConflict" | "template" | "addonOptions" | "dbSetupOptions" | "createInput" | "addInput" | "projectConfig" | "
|
|
309
|
+
name?: "all" | "cli" | "database" | "orm" | "backend" | "runtime" | "frontend" | "addons" | "examples" | "testing" | "packageManager" | "databaseSetup" | "api" | "auth" | "payments" | "observability" | "communication" | "webDeploy" | "serverDeploy" | "directoryConflict" | "template" | "addonOptions" | "dbSetupOptions" | "createInput" | "addInput" | "projectConfig" | "kubojsConfig" | "kubojsConfigFile" | "initResult" | undefined;
|
|
302
310
|
};
|
|
303
311
|
output: unknown;
|
|
304
312
|
meta: TrpcCliMeta;
|
|
305
313
|
}>;
|
|
306
|
-
sponsors: _$_trpc_server0.TRPCMutationProcedure<{
|
|
307
|
-
input: void;
|
|
308
|
-
output: void;
|
|
309
|
-
meta: TrpcCliMeta;
|
|
310
|
-
}>;
|
|
311
314
|
docs: _$_trpc_server0.TRPCMutationProcedure<{
|
|
312
315
|
input: void;
|
|
313
316
|
output: void;
|
|
@@ -321,6 +324,7 @@ declare const router: _$_trpc_server0.TRPCBuiltRouter<{
|
|
|
321
324
|
add: _$_trpc_server0.TRPCMutationProcedure<{
|
|
322
325
|
input: {
|
|
323
326
|
addons?: ("none" | "pwa" | "tauri" | "electrobun" | "starlight" | "biome" | "lefthook" | "husky" | "mcp" | "turborepo" | "nx" | "vite-plus" | "fumadocs" | "ultracite" | "oxlint" | "opentui" | "wxt" | "skills" | "evlog")[] | undefined;
|
|
327
|
+
testing?: ("none" | "vitest" | "playwright")[] | undefined;
|
|
324
328
|
install?: boolean | undefined;
|
|
325
329
|
packageManager?: "bun" | "npm" | "pnpm" | undefined;
|
|
326
330
|
projectDir?: string | undefined;
|
|
@@ -331,6 +335,7 @@ declare const router: _$_trpc_server0.TRPCBuiltRouter<{
|
|
|
331
335
|
addJson: _$_trpc_server0.TRPCMutationProcedure<{
|
|
332
336
|
input: {
|
|
333
337
|
addons?: ("none" | "pwa" | "tauri" | "electrobun" | "starlight" | "biome" | "lefthook" | "husky" | "mcp" | "turborepo" | "nx" | "vite-plus" | "fumadocs" | "ultracite" | "oxlint" | "opentui" | "wxt" | "skills" | "evlog")[] | undefined;
|
|
338
|
+
testing?: ("none" | "vitest" | "playwright")[] | undefined;
|
|
334
339
|
addonOptions?: {
|
|
335
340
|
wxt?: {
|
|
336
341
|
template: "svelte" | "solid" | "vanilla" | "vue" | "react";
|
|
@@ -392,7 +397,7 @@ declare function createBtsCli(): ReturnType<typeof createCli>;
|
|
|
392
397
|
*/
|
|
393
398
|
type CreateError = UserCancelledError | CLIError | ProjectCreationError;
|
|
394
399
|
/**
|
|
395
|
-
* Programmatic API to create a new
|
|
400
|
+
* Programmatic API to create a new kubojs project.
|
|
396
401
|
* Returns a Result type - no console output, no interactive prompts.
|
|
397
402
|
*
|
|
398
403
|
* @example
|
|
@@ -417,7 +422,6 @@ type CreateError = UserCancelledError | CLIError | ProjectCreationError;
|
|
|
417
422
|
* ```
|
|
418
423
|
*/
|
|
419
424
|
declare function create(projectName?: string, options?: Partial<types_d_exports.CreateInput>): Promise<Result$1<types_d_exports.InitResult, CreateError>>;
|
|
420
|
-
declare function sponsors(): Promise<void>;
|
|
421
425
|
declare function docs(): Promise<void>;
|
|
422
426
|
declare function builder(): Promise<void>;
|
|
423
427
|
/**
|
|
@@ -445,7 +449,7 @@ declare function builder(): Promise<void>;
|
|
|
445
449
|
*/
|
|
446
450
|
declare function createVirtual(options: Partial<Omit<types_d_exports.ProjectConfig, "projectDir" | "relativePath">>): Promise<Result$1<VirtualFileTree$1, GeneratorError$1>>;
|
|
447
451
|
/**
|
|
448
|
-
* Programmatic API to add addons to an existing
|
|
452
|
+
* Programmatic API to add addons to an existing kubojs project.
|
|
449
453
|
*
|
|
450
454
|
* @example
|
|
451
455
|
* ```typescript
|
|
@@ -474,7 +478,7 @@ type AddonOptions = import__kubojs_types.AddonOptions;
|
|
|
474
478
|
type Addons = import__kubojs_types.Addons;
|
|
475
479
|
type Auth = import__kubojs_types.Auth;
|
|
476
480
|
type Backend = import__kubojs_types.Backend;
|
|
477
|
-
type
|
|
481
|
+
type Communication = import__kubojs_types.Communication;
|
|
478
482
|
type CreateInput = import__kubojs_types.CreateInput;
|
|
479
483
|
type Database = import__kubojs_types.Database;
|
|
480
484
|
type DatabaseSetup = import__kubojs_types.DatabaseSetup;
|
|
@@ -483,6 +487,7 @@ type DirectoryConflict = import__kubojs_types.DirectoryConflict;
|
|
|
483
487
|
type Examples = import__kubojs_types.Examples;
|
|
484
488
|
type Frontend = import__kubojs_types.Frontend;
|
|
485
489
|
type InitResult = import__kubojs_types.InitResult;
|
|
490
|
+
type KubojsConfig = import__kubojs_types.KubojsConfig;
|
|
486
491
|
type ORM = import__kubojs_types.ORM;
|
|
487
492
|
type Observability = import__kubojs_types.Observability;
|
|
488
493
|
type PackageManager = import__kubojs_types.PackageManager;
|
|
@@ -491,4 +496,4 @@ type Runtime = import__kubojs_types.Runtime;
|
|
|
491
496
|
type ServerDeploy = import__kubojs_types.ServerDeploy;
|
|
492
497
|
type Template = import__kubojs_types.Template;
|
|
493
498
|
type WebDeploy = import__kubojs_types.WebDeploy;
|
|
494
|
-
export { type API, type AddResult, type AddonOptions, type Addons, type Auth, type Backend, type
|
|
499
|
+
export { type API, type AddResult, type AddonOptions, type Addons, type Auth, type Backend, CLIError, type Communication, CompatibilityError, CreateError, type CreateInput, type Database, type DatabaseSetup, DatabaseSetupError, type DbSetupOptions, type DirectoryConflict, DirectoryConflictError, EMBEDDED_TEMPLATES, type Examples, type Frontend, GeneratorError, type GeneratorOptions, type InitResult, type KubojsConfig, type ORM, type Observability, type PackageManager, type Payments, ProjectCreationError, Result, type Runtime, SchemaName, SchemaNameSchema, type ServerDeploy, TEMPLATE_COUNT, type Template, UserCancelledError, ValidationError, type VirtualDirectory, type VirtualFile, VirtualFileSystem, type VirtualFileTree, type VirtualNode, type WebDeploy, add, builder, create, createBtsCli, createVirtual, docs, generate, getSchemaResult, router };
|
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { C as
|
|
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
|
|
2
|
+
import { C as UserCancelledError, S as ProjectCreationError, a as TEMPLATE_COUNT, b as DatabaseSetupError, c as builder, d as createVirtual, f as docs, 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, v as CLIError, w as ValidationError, x as DirectoryConflictError, y as CompatibilityError } from "./src-CNqGe5RA.mjs";
|
|
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 };
|