@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.
Files changed (38) hide show
  1. package/dist/index.js +2 -2
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +2 -2
  4. package/dist/index.mjs.map +1 -1
  5. package/package.json +1 -1
  6. package/templates/_integrations/better-auth/preact/farm.config.ts +3 -0
  7. package/templates/_integrations/better-auth/solid/farm.config.ts +3 -0
  8. package/templates/_integrations/better-auth/svelte/farm.config.ts +3 -0
  9. package/templates/_integrations/better-auth/svelte/src/components/resource-links.svelte +1 -1
  10. package/templates/_integrations/better-auth/vue/farm.config.ts +3 -0
  11. package/templates/_integrations/better-auth/vue/src/components/resource-links.vue +1 -1
  12. package/templates/_renderers/preact/package.json +2 -2
  13. package/templates/_renderers/preact/src/components/resource-links.tsx +1 -1
  14. package/templates/_renderers/solid/package.json +2 -2
  15. package/templates/_renderers/solid/src/components/resource-links.tsx +1 -1
  16. package/templates/_renderers/svelte/package.json +2 -2
  17. package/templates/_renderers/svelte/src/components/resource-links.svelte +1 -1
  18. package/templates/_renderers/vue/package.json +2 -2
  19. package/templates/_renderers/vue/src/components/resource-links.vue +1 -1
  20. package/templates/auth/package.json +3 -3
  21. package/templates/auth/src/app/docs/page.md +2 -2
  22. package/templates/auth/src/components/resource-links.tsx +1 -1
  23. package/templates/auth/src/components/site-header.tsx +1 -1
  24. package/templates/basic/package.json +2 -2
  25. package/templates/basic/src/app/docs/page.md +2 -2
  26. package/templates/basic/src/components/resource-links.tsx +1 -1
  27. package/templates/better-auth/README.md +9 -3
  28. package/templates/better-auth/farm.config.ts +8 -0
  29. package/templates/better-auth/package.json +4 -3
  30. package/templates/better-auth/src/app/docs/page.md +2 -2
  31. package/templates/better-auth/src/components/resource-links.tsx +1 -1
  32. package/templates/better-auth/src/components/site-header.tsx +1 -1
  33. package/templates/better-auth/src/lib/auth.ts +2 -6
  34. package/templates/better-auth/src/lib/migrate-auth.ts +10 -0
  35. package/templates/react-compiler/README.md +1 -1
  36. package/templates/react-compiler/package.json +2 -2
  37. package/templates/react-compiler/src/app/docs/page.md +2 -2
  38. 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.", "Better Auth migrations run automatically when the auth instance starts."]
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://farm.js.dev${integration.docsPath}) for provider setup and production guidance.
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
  }