@farm.js/create-app 0.1.0-beta.25 → 0.1.0-beta.26
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 +16 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -16
- package/dist/index.mjs.map +1 -1
- package/dist/utils.js +2 -1
- package/dist/utils.js.map +1 -1
- package/dist/utils.mjs +2 -1
- package/dist/utils.mjs.map +1 -1
- package/package.json +1 -1
- package/templates/auth/package.json +3 -3
- package/templates/basic/package.json +2 -2
- package/templates/basic/src/app/layout.tsx +1 -1
- package/templates/better-auth/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -2523,22 +2523,22 @@ function escapeRegExp(input) {
|
|
|
2523
2523
|
//#region src/index.ts
|
|
2524
2524
|
const templateDetails = {
|
|
2525
2525
|
basic: {
|
|
2526
|
-
title: "
|
|
2526
|
+
title: "Basic starter",
|
|
2527
2527
|
description: "A minimal Farm.js app with built-in Tailwind support",
|
|
2528
2528
|
instructions: ["Tailwind is enabled by default. You only need postcss config for custom plugins."]
|
|
2529
2529
|
},
|
|
2530
2530
|
auth: {
|
|
2531
|
-
title: "
|
|
2531
|
+
title: "Auth starter",
|
|
2532
2532
|
description: "Farm.js-native auth with local SQLite, secure sessions, and protected routes",
|
|
2533
2533
|
instructions: ["FARMJS Auth uses local SQLite automatically; no auth environment variables are needed locally.", "For production, set FARM_AUTH_URL, FARM_AUTH_SECRET, and DATABASE_URL, then run the auth:migrate script."]
|
|
2534
2534
|
},
|
|
2535
2535
|
"better-auth": {
|
|
2536
|
-
title: "
|
|
2536
|
+
title: "Better Auth starter",
|
|
2537
2537
|
description: "Better Auth with Postgres, secure sessions, and protected routes",
|
|
2538
2538
|
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."]
|
|
2539
2539
|
},
|
|
2540
2540
|
ai: integrationTemplate({
|
|
2541
|
-
title: "
|
|
2541
|
+
title: "AI starter",
|
|
2542
2542
|
description: "AI SDK chat route with a ready-to-use chat interface",
|
|
2543
2543
|
provider: "ai",
|
|
2544
2544
|
label: "AI",
|
|
@@ -2546,7 +2546,7 @@ const templateDetails = {
|
|
|
2546
2546
|
docsPath: "/docs/integrations"
|
|
2547
2547
|
}),
|
|
2548
2548
|
auth0: integrationTemplate({
|
|
2549
|
-
title: "
|
|
2549
|
+
title: "Auth0 starter",
|
|
2550
2550
|
description: "Auth0 login, sessions, protected routes, and account controls",
|
|
2551
2551
|
provider: "auth0",
|
|
2552
2552
|
label: "Auth0",
|
|
@@ -2554,7 +2554,7 @@ const templateDetails = {
|
|
|
2554
2554
|
docsPath: "/docs/integrations/auth/auth0"
|
|
2555
2555
|
}),
|
|
2556
2556
|
authjs: integrationTemplate({
|
|
2557
|
-
title: "
|
|
2557
|
+
title: "Auth.js starter",
|
|
2558
2558
|
description: "Auth.js with GitHub OAuth and Farm-owned route mounting",
|
|
2559
2559
|
provider: "authjs",
|
|
2560
2560
|
label: "Auth.js",
|
|
@@ -2562,7 +2562,7 @@ const templateDetails = {
|
|
|
2562
2562
|
docsPath: "/docs/integrations/auth/authjs"
|
|
2563
2563
|
}),
|
|
2564
2564
|
autumn: integrationTemplate({
|
|
2565
|
-
title: "
|
|
2565
|
+
title: "Autumn starter",
|
|
2566
2566
|
description: "Autumn products, checkout, billing state, and customer portal",
|
|
2567
2567
|
provider: "autumn",
|
|
2568
2568
|
label: "Autumn",
|
|
@@ -2570,7 +2570,7 @@ const templateDetails = {
|
|
|
2570
2570
|
docsPath: "/docs/integrations/autumn"
|
|
2571
2571
|
}),
|
|
2572
2572
|
clerk: integrationTemplate({
|
|
2573
|
-
title: "
|
|
2573
|
+
title: "Clerk starter",
|
|
2574
2574
|
description: "Clerk authentication, account entry points, and protected routes",
|
|
2575
2575
|
provider: "clerk",
|
|
2576
2576
|
label: "Clerk",
|
|
@@ -2578,7 +2578,7 @@ const templateDetails = {
|
|
|
2578
2578
|
docsPath: "/docs/integrations/auth/clerk"
|
|
2579
2579
|
}),
|
|
2580
2580
|
"jobs-inngest": integrationTemplate({
|
|
2581
|
-
title: "
|
|
2581
|
+
title: "Inngest starter",
|
|
2582
2582
|
description: "Typed background jobs backed by Inngest",
|
|
2583
2583
|
provider: "jobs-inngest",
|
|
2584
2584
|
label: "Inngest",
|
|
@@ -2586,7 +2586,7 @@ const templateDetails = {
|
|
|
2586
2586
|
docsPath: "/docs/integrations/inngest"
|
|
2587
2587
|
}),
|
|
2588
2588
|
"jobs-trigger": integrationTemplate({
|
|
2589
|
-
title: "
|
|
2589
|
+
title: "Trigger.dev starter",
|
|
2590
2590
|
description: "Typed background jobs backed by Trigger.dev",
|
|
2591
2591
|
provider: "jobs-trigger",
|
|
2592
2592
|
label: "Trigger.dev",
|
|
@@ -2594,7 +2594,7 @@ const templateDetails = {
|
|
|
2594
2594
|
docsPath: "/docs/integrations/trigger"
|
|
2595
2595
|
}),
|
|
2596
2596
|
polar: integrationTemplate({
|
|
2597
|
-
title: "
|
|
2597
|
+
title: "Polar starter",
|
|
2598
2598
|
description: "Polar products, checkout, billing state, and customer portal",
|
|
2599
2599
|
provider: "polar",
|
|
2600
2600
|
label: "Polar",
|
|
@@ -2602,7 +2602,7 @@ const templateDetails = {
|
|
|
2602
2602
|
docsPath: "/docs/integrations/polar"
|
|
2603
2603
|
}),
|
|
2604
2604
|
resend: integrationTemplate({
|
|
2605
|
-
title: "
|
|
2605
|
+
title: "Resend starter",
|
|
2606
2606
|
description: "Resend templates, delivery, scheduling, and webhooks",
|
|
2607
2607
|
provider: "resend",
|
|
2608
2608
|
label: "Resend",
|
|
@@ -2610,7 +2610,7 @@ const templateDetails = {
|
|
|
2610
2610
|
docsPath: "/docs/integrations/email"
|
|
2611
2611
|
}),
|
|
2612
2612
|
stripe: integrationTemplate({
|
|
2613
|
-
title: "
|
|
2613
|
+
title: "Stripe starter",
|
|
2614
2614
|
description: "Stripe products, checkout, billing portal, and webhooks",
|
|
2615
2615
|
provider: "stripe",
|
|
2616
2616
|
label: "Stripe",
|
|
@@ -2618,7 +2618,7 @@ const templateDetails = {
|
|
|
2618
2618
|
docsPath: "/docs/integrations/stripe"
|
|
2619
2619
|
}),
|
|
2620
2620
|
supabase: integrationTemplate({
|
|
2621
|
-
title: "
|
|
2621
|
+
title: "Supabase starter",
|
|
2622
2622
|
description: "Supabase authentication, sessions, OAuth, and protected routes",
|
|
2623
2623
|
provider: "supabase",
|
|
2624
2624
|
label: "Supabase",
|
|
@@ -2626,7 +2626,7 @@ const templateDetails = {
|
|
|
2626
2626
|
docsPath: "/docs/integrations/auth/supabase"
|
|
2627
2627
|
}),
|
|
2628
2628
|
unkey: integrationTemplate({
|
|
2629
|
-
title: "
|
|
2629
|
+
title: "Unkey starter",
|
|
2630
2630
|
description: "Unkey API key creation, verification, and route protection",
|
|
2631
2631
|
provider: "unkey",
|
|
2632
2632
|
label: "Unkey",
|
|
@@ -2634,7 +2634,7 @@ const templateDetails = {
|
|
|
2634
2634
|
docsPath: "/docs/integrations/unkey"
|
|
2635
2635
|
}),
|
|
2636
2636
|
workos: integrationTemplate({
|
|
2637
|
-
title: "
|
|
2637
|
+
title: "WorkOS starter",
|
|
2638
2638
|
description: "WorkOS AuthKit, organization sessions, and protected routes",
|
|
2639
2639
|
provider: "workos",
|
|
2640
2640
|
label: "WorkOS",
|