@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.js
CHANGED
|
@@ -2916,7 +2916,7 @@ const templateDetails = {
|
|
|
2916
2916
|
"better-auth": {
|
|
2917
2917
|
title: "Better Auth starter",
|
|
2918
2918
|
description: "Better Auth with Postgres, secure sessions, and protected routes",
|
|
2919
|
-
instructions: ["Before starting, copy .env.example to .env.local and set DATABASE_URL and BETTER_AUTH_SECRET.", "
|
|
2919
|
+
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."]
|
|
2920
2920
|
},
|
|
2921
2921
|
ai: integrationTemplate({
|
|
2922
2922
|
title: "AI starter",
|
|
@@ -3360,7 +3360,7 @@ ${environmentSetup}pnpm dev
|
|
|
3360
3360
|
Open [${integration.route}](http://localhost:3000${integration.route}) for the integration UI.
|
|
3361
3361
|
|
|
3362
3362
|
${wiring}
|
|
3363
|
-
See the [${integration.label} integration guide](https://
|
|
3363
|
+
See the [${integration.label} integration guide](https://farmjs.dev${integration.docsPath}) for provider setup and production guidance.
|
|
3364
3364
|
`;
|
|
3365
3365
|
await fs_promises.default.writeFile(path.default.join(projectPath, "README.md"), source, "utf8");
|
|
3366
3366
|
}
|