create-better-t-stack 3.19.0 → 3.19.1
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
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-BFpTix9N.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 };
|
|
@@ -4025,7 +4025,7 @@ async function setupWithNeonDb(projectDir, packageManager, backend) {
|
|
|
4025
4025
|
function displayManualSetupInstructions$2(target) {
|
|
4026
4026
|
log.info(`Manual Neon PostgreSQL Setup Instructions:
|
|
4027
4027
|
|
|
4028
|
-
1.
|
|
4028
|
+
1. Get Neon with Better T Stack referral: https://get.neon.com/sbA3tIe
|
|
4029
4029
|
2. Create a new project from the dashboard
|
|
4030
4030
|
3. Get your connection string
|
|
4031
4031
|
4. Add the database URL to the .env file in ${target}/.env
|
|
@@ -4083,7 +4083,7 @@ async function setupNeonPostgres(config, cliInput) {
|
|
|
4083
4083
|
const envResult$1 = await writeEnvFile$2(projectDir, backend);
|
|
4084
4084
|
if (envResult$1.isErr()) return envResult$1;
|
|
4085
4085
|
displayManualSetupInstructions$2(target);
|
|
4086
|
-
}
|
|
4086
|
+
} else log.info(`Get Neon with Better T Stack referral: ${pc.cyan("https://get.neon.com/sbA3tIe")}`);
|
|
4087
4087
|
return neonDbResult;
|
|
4088
4088
|
}
|
|
4089
4089
|
const suggestedProjectName = path.basename(projectDir);
|
|
@@ -4115,6 +4115,7 @@ async function setupNeonPostgres(config, cliInput) {
|
|
|
4115
4115
|
return envResult;
|
|
4116
4116
|
}
|
|
4117
4117
|
finalSpinner.stop("Neon database configured!");
|
|
4118
|
+
log.info(`Get Neon with Better T Stack referral: ${pc.cyan("https://get.neon.com/sbA3tIe")}`);
|
|
4118
4119
|
return Result.ok(void 0);
|
|
4119
4120
|
}
|
|
4120
4121
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-better-t-stack",
|
|
3
|
-
"version": "3.19.
|
|
3
|
+
"version": "3.19.1",
|
|
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.19.
|
|
74
|
-
"@better-t-stack/types": "^3.19.
|
|
73
|
+
"@better-t-stack/template-generator": "^3.19.1",
|
|
74
|
+
"@better-t-stack/types": "^3.19.1",
|
|
75
75
|
"@clack/core": "^0.5.0",
|
|
76
76
|
"@clack/prompts": "^1.0.0-alpha.9",
|
|
77
77
|
"@orpc/server": "^1.13.4",
|