create-better-t-stack 2.47.0 → 2.47.2
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.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -4524,8 +4524,8 @@ async function setupEnvironmentVariables(config) {
|
|
|
4524
4524
|
const envLocalPath = path.join(convexBackendDir, ".env.local");
|
|
4525
4525
|
if (!await fs.pathExists(envLocalPath) || !(await fs.readFile(envLocalPath, "utf8")).includes("npx convex env set")) {
|
|
4526
4526
|
const convexCommands = `# Set Convex environment variables
|
|
4527
|
-
npx convex env set BETTER_AUTH_SECRET=$(openssl rand -base64 32)
|
|
4528
|
-
npx convex env set SITE_URL http://localhost:3001
|
|
4527
|
+
# npx convex env set BETTER_AUTH_SECRET=$(openssl rand -base64 32)
|
|
4528
|
+
# npx convex env set SITE_URL http://localhost:3001
|
|
4529
4529
|
|
|
4530
4530
|
`;
|
|
4531
4531
|
await fs.appendFile(envLocalPath, convexCommands);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-better-t-stack",
|
|
3
|
-
"version": "2.47.
|
|
3
|
+
"version": "2.47.2",
|
|
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",
|
|
@@ -22,9 +22,7 @@ import { routeTree } from "./routeTree.gen";
|
|
|
22
22
|
{{else}}
|
|
23
23
|
import { ConvexProvider } from "convex/react";
|
|
24
24
|
{{/if}}
|
|
25
|
-
const convex = new ConvexReactClient(import.meta.env.VITE_CONVEX_URL as string
|
|
26
|
-
expectAuth: true,
|
|
27
|
-
}{{/if}});
|
|
25
|
+
const convex = new ConvexReactClient(import.meta.env.VITE_CONVEX_URL as string);
|
|
28
26
|
{{/if}}
|
|
29
27
|
|
|
30
28
|
const router = createRouter({
|