@farm.js/create-app 0.1.0-beta.86 → 0.1.0-beta.88
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.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/templates/_integrations/better-auth/preact/farm.config.ts +3 -0
- package/templates/_integrations/better-auth/solid/farm.config.ts +3 -0
- package/templates/_integrations/better-auth/svelte/farm.config.ts +3 -0
- package/templates/_integrations/better-auth/svelte/src/components/resource-links.svelte +1 -1
- package/templates/_integrations/better-auth/vue/farm.config.ts +3 -0
- package/templates/_integrations/better-auth/vue/src/components/resource-links.vue +1 -1
- package/templates/_renderers/preact/package.json +2 -2
- package/templates/_renderers/preact/src/components/resource-links.tsx +1 -1
- package/templates/_renderers/solid/package.json +2 -2
- package/templates/_renderers/solid/src/components/resource-links.tsx +1 -1
- package/templates/_renderers/svelte/package.json +2 -2
- package/templates/_renderers/svelte/src/components/resource-links.svelte +1 -1
- package/templates/_renderers/vue/package.json +2 -2
- package/templates/_renderers/vue/src/components/resource-links.vue +1 -1
- package/templates/auth/package.json +3 -3
- package/templates/auth/src/app/docs/page.md +2 -2
- package/templates/auth/src/components/resource-links.tsx +1 -1
- package/templates/auth/src/components/site-header.tsx +1 -1
- package/templates/basic/package.json +2 -2
- package/templates/basic/src/app/docs/page.md +2 -2
- package/templates/basic/src/components/resource-links.tsx +1 -1
- package/templates/better-auth/README.md +9 -3
- package/templates/better-auth/farm.config.ts +8 -0
- package/templates/better-auth/package.json +4 -3
- package/templates/better-auth/src/app/docs/page.md +2 -2
- package/templates/better-auth/src/components/resource-links.tsx +1 -1
- package/templates/better-auth/src/components/site-header.tsx +1 -1
- package/templates/better-auth/src/lib/auth.ts +2 -6
- package/templates/better-auth/src/lib/migrate-auth.ts +10 -0
- package/templates/react-compiler/README.md +1 -1
- package/templates/react-compiler/package.json +2 -2
- package/templates/react-compiler/src/app/docs/page.md +2 -2
- package/templates/react-compiler/src/components/resource-links.tsx +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2909,7 +2909,7 @@ const templateDetails = {
|
|
|
2909
2909
|
"better-auth": {
|
|
2910
2910
|
title: "Better Auth starter",
|
|
2911
2911
|
description: "Better Auth with Postgres, secure sessions, and protected routes",
|
|
2912
|
-
instructions: ["Before starting, copy .env.example to .env.local and set DATABASE_URL and BETTER_AUTH_SECRET.", "
|
|
2912
|
+
instructions: ["Before starting, copy .env.example to .env.local and set DATABASE_URL and BETTER_AUTH_SECRET.", "Run pnpm auth:migrate before starting the app or serving production traffic."]
|
|
2913
2913
|
},
|
|
2914
2914
|
ai: integrationTemplate({
|
|
2915
2915
|
title: "AI starter",
|
|
@@ -3353,7 +3353,7 @@ ${environmentSetup}pnpm dev
|
|
|
3353
3353
|
Open [${integration.route}](http://localhost:3000${integration.route}) for the integration UI.
|
|
3354
3354
|
|
|
3355
3355
|
${wiring}
|
|
3356
|
-
See the [${integration.label} integration guide](https://
|
|
3356
|
+
See the [${integration.label} integration guide](https://farmjs.dev${integration.docsPath}) for provider setup and production guidance.
|
|
3357
3357
|
`;
|
|
3358
3358
|
await fs.writeFile(path.join(projectPath, "README.md"), source, "utf8");
|
|
3359
3359
|
}
|