create-better-t-stack 2.46.3 → 2.46.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-better-t-stack",
3
- "version": "2.46.3",
3
+ "version": "2.46.4",
4
4
  "description": "A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -48,7 +48,7 @@
48
48
  },
49
49
  "homepage": "https://better-t-stack.dev/",
50
50
  "scripts": {
51
- "build": "tsdown",
51
+ "build": "tsdown --publint",
52
52
  "dev": "tsdown --watch",
53
53
  "check-types": "tsc --noEmit",
54
54
  "check": "biome check --write .",
@@ -82,6 +82,7 @@
82
82
  "@types/fs-extra": "^11.0.4",
83
83
  "@types/node": "^24.3.1",
84
84
  "@vitest/ui": "^3.2.4",
85
+ "publint": "^0.3.12",
85
86
  "tsdown": "^0.14.2",
86
87
  "typescript": "^5.9.2",
87
88
  "vitest": "^3.2.4"
@@ -172,12 +172,26 @@ export const server = await Worker("server", {
172
172
  BETTER_AUTH_SECRET: alchemy.secret(process.env.BETTER_AUTH_SECRET),
173
173
  BETTER_AUTH_URL: process.env.BETTER_AUTH_URL || "",
174
174
  {{/if}}
175
+ {{#if (eq auth "clerk")}}
176
+ CLERK_SECRET_KEY: alchemy.secret(process.env.CLERK_SECRET_KEY),
177
+ {{/if}}
175
178
  {{#if (includes examples "ai")}}
176
179
  GOOGLE_GENERATIVE_AI_API_KEY: alchemy.secret(process.env.GOOGLE_GENERATIVE_AI_API_KEY),
177
180
  {{/if}}
181
+ {{#if (eq payments "polar")}}
182
+ POLAR_ACCESS_TOKEN: alchemy.secret(process.env.POLAR_ACCESS_TOKEN),
183
+ POLAR_SUCCESS_URL: process.env.POLAR_SUCCESS_URL || "",
184
+ {{/if}}
178
185
  {{#if (eq dbSetup "turso")}}
179
186
  DATABASE_AUTH_TOKEN: alchemy.secret(process.env.DATABASE_AUTH_TOKEN),
180
187
  {{/if}}
188
+ {{#if (eq database "mysql")}}
189
+ {{#if (eq orm "drizzle")}}
190
+ DATABASE_HOST: process.env.DATABASE_HOST || "",
191
+ DATABASE_USERNAME: process.env.DATABASE_USERNAME || "",
192
+ DATABASE_PASSWORD: process.env.DATABASE_PASSWORD || "",
193
+ {{/if}}
194
+ {{/if}}
181
195
  },
182
196
  dev: {
183
197
  port: 3000,