@farm.js/create-app 0.1.0-beta.87 → 0.1.0-beta.89

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.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.", "Better Auth migrations run automatically when the auth instance starts."]
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://farm.js.dev${integration.docsPath}) for provider setup and production guidance.
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
  }