create-better-t-stack 3.27.2 → 3.27.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/dist/index.d.mts +21 -21
- package/package.json +19 -19
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import * as _trpc_server0 from "@trpc/server";
|
|
3
|
-
import * as better_result0 from "better-result";
|
|
2
|
+
import * as _$_trpc_server0 from "@trpc/server";
|
|
3
|
+
import * as _$better_result0 from "better-result";
|
|
4
4
|
import { Result, Result as Result$1 } from "better-result";
|
|
5
5
|
import { TrpcCliMeta, createCli } from "trpc-cli";
|
|
6
6
|
import z from "zod";
|
|
@@ -36,7 +36,7 @@ interface AddResult {
|
|
|
36
36
|
}
|
|
37
37
|
//#endregion
|
|
38
38
|
//#region src/utils/errors.d.ts
|
|
39
|
-
declare const UserCancelledError_base: better_result0.TaggedErrorClass<"UserCancelledError", {
|
|
39
|
+
declare const UserCancelledError_base: _$better_result0.TaggedErrorClass<"UserCancelledError", {
|
|
40
40
|
message: string;
|
|
41
41
|
}>;
|
|
42
42
|
/**
|
|
@@ -47,7 +47,7 @@ declare class UserCancelledError extends UserCancelledError_base {
|
|
|
47
47
|
message?: string;
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
|
-
declare const CLIError_base: better_result0.TaggedErrorClass<"CLIError", {
|
|
50
|
+
declare const CLIError_base: _$better_result0.TaggedErrorClass<"CLIError", {
|
|
51
51
|
message: string;
|
|
52
52
|
cause?: unknown;
|
|
53
53
|
}>;
|
|
@@ -55,7 +55,7 @@ declare const CLIError_base: better_result0.TaggedErrorClass<"CLIError", {
|
|
|
55
55
|
* General CLI error for validation failures, invalid flags, etc.
|
|
56
56
|
*/
|
|
57
57
|
declare class CLIError extends CLIError_base {}
|
|
58
|
-
declare const ValidationError_base: better_result0.TaggedErrorClass<"ValidationError", {
|
|
58
|
+
declare const ValidationError_base: _$better_result0.TaggedErrorClass<"ValidationError", {
|
|
59
59
|
field?: string;
|
|
60
60
|
value?: unknown;
|
|
61
61
|
message: string;
|
|
@@ -70,7 +70,7 @@ declare class ValidationError extends ValidationError_base {
|
|
|
70
70
|
message: string;
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
|
-
declare const CompatibilityError_base: better_result0.TaggedErrorClass<"CompatibilityError", {
|
|
73
|
+
declare const CompatibilityError_base: _$better_result0.TaggedErrorClass<"CompatibilityError", {
|
|
74
74
|
options: string[];
|
|
75
75
|
message: string;
|
|
76
76
|
}>;
|
|
@@ -83,7 +83,7 @@ declare class CompatibilityError extends CompatibilityError_base {
|
|
|
83
83
|
message: string;
|
|
84
84
|
});
|
|
85
85
|
}
|
|
86
|
-
declare const DirectoryConflictError_base: better_result0.TaggedErrorClass<"DirectoryConflictError", {
|
|
86
|
+
declare const DirectoryConflictError_base: _$better_result0.TaggedErrorClass<"DirectoryConflictError", {
|
|
87
87
|
directory: string;
|
|
88
88
|
message: string;
|
|
89
89
|
}>;
|
|
@@ -95,7 +95,7 @@ declare class DirectoryConflictError extends DirectoryConflictError_base {
|
|
|
95
95
|
directory: string;
|
|
96
96
|
});
|
|
97
97
|
}
|
|
98
|
-
declare const ProjectCreationError_base: better_result0.TaggedErrorClass<"ProjectCreationError", {
|
|
98
|
+
declare const ProjectCreationError_base: _$better_result0.TaggedErrorClass<"ProjectCreationError", {
|
|
99
99
|
phase: string;
|
|
100
100
|
message: string;
|
|
101
101
|
cause?: unknown;
|
|
@@ -110,7 +110,7 @@ declare class ProjectCreationError extends ProjectCreationError_base {
|
|
|
110
110
|
cause?: unknown;
|
|
111
111
|
});
|
|
112
112
|
}
|
|
113
|
-
declare const DatabaseSetupError_base: better_result0.TaggedErrorClass<"DatabaseSetupError", {
|
|
113
|
+
declare const DatabaseSetupError_base: _$better_result0.TaggedErrorClass<"DatabaseSetupError", {
|
|
114
114
|
provider: string;
|
|
115
115
|
message: string;
|
|
116
116
|
cause?: unknown;
|
|
@@ -156,13 +156,13 @@ declare const SchemaNameSchema: z.ZodDefault<z.ZodEnum<{
|
|
|
156
156
|
}>>;
|
|
157
157
|
type SchemaName = z.infer<typeof SchemaNameSchema>;
|
|
158
158
|
declare function getSchemaResult(name: SchemaName): unknown;
|
|
159
|
-
declare const router: _trpc_server0.TRPCBuiltRouter<{
|
|
159
|
+
declare const router: _$_trpc_server0.TRPCBuiltRouter<{
|
|
160
160
|
ctx: object;
|
|
161
161
|
meta: TrpcCliMeta;
|
|
162
|
-
errorShape: _trpc_server0.TRPCDefaultErrorShape;
|
|
162
|
+
errorShape: _$_trpc_server0.TRPCDefaultErrorShape;
|
|
163
163
|
transformer: false;
|
|
164
|
-
}, _trpc_server0.TRPCDecorateCreateRouterOptions<{
|
|
165
|
-
create: _trpc_server0.TRPCMutationProcedure<{
|
|
164
|
+
}, _$_trpc_server0.TRPCDecorateCreateRouterOptions<{
|
|
165
|
+
create: _$_trpc_server0.TRPCMutationProcedure<{
|
|
166
166
|
input: [string | undefined, {
|
|
167
167
|
template?: "none" | "mern" | "pern" | "t3" | "uniwind" | undefined;
|
|
168
168
|
yes?: boolean | undefined;
|
|
@@ -209,7 +209,7 @@ declare const router: _trpc_server0.TRPCBuiltRouter<{
|
|
|
209
209
|
output: CreateProjectResult | undefined;
|
|
210
210
|
meta: TrpcCliMeta;
|
|
211
211
|
}>;
|
|
212
|
-
createJson: _trpc_server0.TRPCMutationProcedure<{
|
|
212
|
+
createJson: _$_trpc_server0.TRPCMutationProcedure<{
|
|
213
213
|
input: {
|
|
214
214
|
projectName?: string | undefined;
|
|
215
215
|
template?: "none" | "mern" | "pern" | "t3" | "uniwind" | undefined;
|
|
@@ -289,29 +289,29 @@ declare const router: _trpc_server0.TRPCBuiltRouter<{
|
|
|
289
289
|
output: CreateProjectResult;
|
|
290
290
|
meta: TrpcCliMeta;
|
|
291
291
|
}>;
|
|
292
|
-
schema: _trpc_server0.TRPCQueryProcedure<{
|
|
292
|
+
schema: _$_trpc_server0.TRPCQueryProcedure<{
|
|
293
293
|
input: {
|
|
294
294
|
name?: "all" | "cli" | "database" | "orm" | "backend" | "runtime" | "frontend" | "addons" | "examples" | "packageManager" | "databaseSetup" | "api" | "auth" | "payments" | "webDeploy" | "serverDeploy" | "directoryConflict" | "template" | "addonOptions" | "dbSetupOptions" | "createInput" | "addInput" | "projectConfig" | "betterTStackConfig" | "initResult" | undefined;
|
|
295
295
|
};
|
|
296
296
|
output: unknown;
|
|
297
297
|
meta: TrpcCliMeta;
|
|
298
298
|
}>;
|
|
299
|
-
sponsors: _trpc_server0.TRPCMutationProcedure<{
|
|
299
|
+
sponsors: _$_trpc_server0.TRPCMutationProcedure<{
|
|
300
300
|
input: void;
|
|
301
301
|
output: void;
|
|
302
302
|
meta: TrpcCliMeta;
|
|
303
303
|
}>;
|
|
304
|
-
docs: _trpc_server0.TRPCMutationProcedure<{
|
|
304
|
+
docs: _$_trpc_server0.TRPCMutationProcedure<{
|
|
305
305
|
input: void;
|
|
306
306
|
output: void;
|
|
307
307
|
meta: TrpcCliMeta;
|
|
308
308
|
}>;
|
|
309
|
-
builder: _trpc_server0.TRPCMutationProcedure<{
|
|
309
|
+
builder: _$_trpc_server0.TRPCMutationProcedure<{
|
|
310
310
|
input: void;
|
|
311
311
|
output: void;
|
|
312
312
|
meta: TrpcCliMeta;
|
|
313
313
|
}>;
|
|
314
|
-
add: _trpc_server0.TRPCMutationProcedure<{
|
|
314
|
+
add: _$_trpc_server0.TRPCMutationProcedure<{
|
|
315
315
|
input: {
|
|
316
316
|
addons?: ("none" | "pwa" | "tauri" | "electrobun" | "starlight" | "biome" | "lefthook" | "husky" | "mcp" | "turborepo" | "nx" | "fumadocs" | "ultracite" | "oxlint" | "opentui" | "wxt" | "skills")[] | undefined;
|
|
317
317
|
install?: boolean | undefined;
|
|
@@ -321,7 +321,7 @@ declare const router: _trpc_server0.TRPCBuiltRouter<{
|
|
|
321
321
|
output: void;
|
|
322
322
|
meta: TrpcCliMeta;
|
|
323
323
|
}>;
|
|
324
|
-
addJson: _trpc_server0.TRPCMutationProcedure<{
|
|
324
|
+
addJson: _$_trpc_server0.TRPCMutationProcedure<{
|
|
325
325
|
input: {
|
|
326
326
|
addons?: ("none" | "pwa" | "tauri" | "electrobun" | "starlight" | "biome" | "lefthook" | "husky" | "mcp" | "turborepo" | "nx" | "fumadocs" | "ultracite" | "oxlint" | "opentui" | "wxt" | "skills")[] | undefined;
|
|
327
327
|
addonOptions?: {
|
|
@@ -366,7 +366,7 @@ declare const router: _trpc_server0.TRPCBuiltRouter<{
|
|
|
366
366
|
output: AddResult;
|
|
367
367
|
meta: TrpcCliMeta;
|
|
368
368
|
}>;
|
|
369
|
-
history: _trpc_server0.TRPCMutationProcedure<{
|
|
369
|
+
history: _$_trpc_server0.TRPCMutationProcedure<{
|
|
370
370
|
input: {
|
|
371
371
|
limit?: number | undefined;
|
|
372
372
|
clear?: boolean | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-better-t-stack",
|
|
3
|
-
"version": "3.27.
|
|
3
|
+
"version": "3.27.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.27.
|
|
74
|
-
"@better-t-stack/types": "^3.27.
|
|
75
|
-
"@clack/core": "^1.
|
|
76
|
-
"@clack/prompts": "^1.
|
|
77
|
-
"@modelcontextprotocol/sdk": "1.
|
|
78
|
-
"@trpc/server": "^11.
|
|
79
|
-
"better-result": "
|
|
73
|
+
"@better-t-stack/template-generator": "^3.27.3",
|
|
74
|
+
"@better-t-stack/types": "^3.27.3",
|
|
75
|
+
"@clack/core": "^1.2.0",
|
|
76
|
+
"@clack/prompts": "^1.2.0",
|
|
77
|
+
"@modelcontextprotocol/sdk": "1.29.0",
|
|
78
|
+
"@trpc/server": "^11.16.0",
|
|
79
|
+
"better-result": "catalog:",
|
|
80
80
|
"consola": "^3.4.2",
|
|
81
81
|
"env-paths": "^4.0.0",
|
|
82
82
|
"execa": "^9.6.1",
|
|
83
83
|
"fs-extra": "^11.3.4",
|
|
84
84
|
"gradient-string": "^3.0.0",
|
|
85
|
-
"handlebars": "
|
|
85
|
+
"handlebars": "catalog:",
|
|
86
86
|
"jsonc-parser": "^3.3.1",
|
|
87
|
-
"oxfmt": "
|
|
87
|
+
"oxfmt": "catalog:",
|
|
88
88
|
"picocolors": "^1.1.1",
|
|
89
89
|
"tinyglobby": "^0.2.15",
|
|
90
|
-
"trpc-cli": "^0.
|
|
91
|
-
"ts-morph": "
|
|
92
|
-
"yaml": "
|
|
93
|
-
"zod": "
|
|
90
|
+
"trpc-cli": "^0.14.0",
|
|
91
|
+
"ts-morph": "catalog:",
|
|
92
|
+
"yaml": "catalog:",
|
|
93
|
+
"zod": "catalog:"
|
|
94
94
|
},
|
|
95
95
|
"devDependencies": {
|
|
96
|
-
"@types/bun": "^1.3.
|
|
97
|
-
"@types/fs-extra": "
|
|
98
|
-
"@types/node": "
|
|
96
|
+
"@types/bun": "^1.3.12",
|
|
97
|
+
"@types/fs-extra": "catalog:",
|
|
98
|
+
"@types/node": "catalog:",
|
|
99
99
|
"publint": "^0.3.18",
|
|
100
|
-
"tsdown": "
|
|
101
|
-
"typescript": "
|
|
100
|
+
"tsdown": "catalog:",
|
|
101
|
+
"typescript": "catalog:"
|
|
102
102
|
}
|
|
103
103
|
}
|