@cimplify/cli 0.6.8 → 0.6.10

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 (65) hide show
  1. package/dist/{add-U4S5DBPN.mjs → add-GDHA7MKM.mjs} +1 -1
  2. package/dist/{chunk-AS2SIMRN.mjs → chunk-5L6LJE6I.mjs} +1 -1
  3. package/dist/{chunk-EALN6SAN.mjs → chunk-EKJ6T66O.mjs} +25 -25
  4. package/dist/{chunk-KPEMFKKN.mjs → chunk-ZTKQOLAC.mjs} +1 -1
  5. package/dist/dispatcher.mjs +9 -9
  6. package/dist/{doctor-Y6XJWZVX.mjs → doctor-SSSYBYCL.mjs} +2 -2
  7. package/dist/{explain-WDIQSCUY.mjs → explain-VG7XUP62.mjs} +1 -1
  8. package/dist/{introspect-3EMAYETR.mjs → introspect-HYJ6VI3U.mjs} +2 -2
  9. package/dist/{list-KO2QX42Q.mjs → list-NQP4SU5K.mjs} +1 -1
  10. package/dist/{update-J6ZDMCOB.mjs → update-HHRCPKSU.mjs} +1 -1
  11. package/package.json +1 -1
  12. package/templates/storefront-auto/app/layout.tsx +3 -1
  13. package/templates/storefront-auto/components/product-modal.tsx +104 -0
  14. package/templates/storefront-auto/lib/site-url.ts +3 -26
  15. package/templates/storefront-auto/lib/site.config.ts +7 -0
  16. package/templates/storefront-auto/next.config.ts +7 -0
  17. package/templates/storefront-bakery/app/layout.tsx +3 -1
  18. package/templates/storefront-bakery/lib/site-url.ts +3 -26
  19. package/templates/storefront-bakery/lib/site.config.ts +7 -0
  20. package/templates/storefront-bakery/next.config.ts +7 -0
  21. package/templates/storefront-fashion/app/layout.tsx +3 -1
  22. package/templates/storefront-fashion/components/product-modal.tsx +104 -0
  23. package/templates/storefront-fashion/lib/site-url.ts +3 -26
  24. package/templates/storefront-fashion/lib/site.config.ts +7 -0
  25. package/templates/storefront-fashion/next.config.ts +7 -0
  26. package/templates/storefront-grocery/app/layout.tsx +3 -1
  27. package/templates/storefront-grocery/lib/site-url.ts +3 -26
  28. package/templates/storefront-grocery/lib/site.config.ts +7 -0
  29. package/templates/storefront-grocery/next.config.ts +7 -0
  30. package/templates/storefront-pharmacy/app/layout.tsx +3 -1
  31. package/templates/storefront-pharmacy/components/product-modal.tsx +104 -0
  32. package/templates/storefront-pharmacy/lib/site-url.ts +3 -26
  33. package/templates/storefront-pharmacy/lib/site.config.ts +7 -0
  34. package/templates/storefront-pharmacy/next.config.ts +7 -0
  35. package/templates/storefront-restaurant/app/layout.tsx +3 -1
  36. package/templates/storefront-restaurant/app/reservations/reservations-client.tsx +1 -1
  37. package/templates/storefront-restaurant/lib/site-url.ts +3 -26
  38. package/templates/storefront-restaurant/lib/site.config.ts +7 -0
  39. package/templates/storefront-restaurant/next.config.ts +7 -0
  40. package/templates/storefront-retail/app/layout.tsx +3 -1
  41. package/templates/storefront-retail/components/product-modal.tsx +104 -0
  42. package/templates/storefront-retail/lib/site-url.ts +3 -26
  43. package/templates/storefront-retail/lib/site.config.ts +7 -0
  44. package/templates/storefront-retail/next.config.ts +7 -0
  45. package/templates/storefront-services/app/book/book-client.tsx +2 -1
  46. package/templates/storefront-services/app/layout.tsx +3 -1
  47. package/templates/storefront-services/lib/site-url.ts +3 -26
  48. package/templates/storefront-services/lib/site.config.ts +7 -0
  49. package/templates/storefront-services/next.config.ts +7 -0
  50. package/templates/storefront-auto/app/login/page.tsx +0 -17
  51. package/templates/storefront-auto/app/signup/page.tsx +0 -17
  52. package/templates/storefront-bakery/app/login/page.tsx +0 -17
  53. package/templates/storefront-bakery/app/signup/page.tsx +0 -17
  54. package/templates/storefront-fashion/app/login/page.tsx +0 -17
  55. package/templates/storefront-fashion/app/signup/page.tsx +0 -17
  56. package/templates/storefront-grocery/app/login/page.tsx +0 -17
  57. package/templates/storefront-grocery/app/signup/page.tsx +0 -17
  58. package/templates/storefront-pharmacy/app/login/page.tsx +0 -17
  59. package/templates/storefront-pharmacy/app/signup/page.tsx +0 -17
  60. package/templates/storefront-restaurant/app/login/page.tsx +0 -17
  61. package/templates/storefront-restaurant/app/signup/page.tsx +0 -17
  62. package/templates/storefront-retail/app/login/page.tsx +0 -17
  63. package/templates/storefront-retail/app/signup/page.tsx +0 -17
  64. package/templates/storefront-services/app/login/page.tsx +0 -17
  65. package/templates/storefront-services/app/signup/page.tsx +0 -17
@@ -1,17 +0,0 @@
1
- import type { Metadata } from "next";
2
- import { redirect } from "next/navigation";
3
- import { brand } from "@/lib/brand";
4
-
5
- export const metadata: Metadata = {
6
- title: `Sign in — ${brand.name}`,
7
- description: brand.account.loginSubtitle,
8
- };
9
-
10
- /**
11
- * Cimplify Link (the iframe in `<CimplifyAccount>`) handles sign-in
12
- * automatically when no session exists. We just bounce /login to /account
13
- * so consumers landing here get the right UI without a duplicate form.
14
- */
15
- export default function LoginPage(): never {
16
- redirect("/account");
17
- }
@@ -1,17 +0,0 @@
1
- import type { Metadata } from "next";
2
- import { redirect } from "next/navigation";
3
- import { brand } from "@/lib/brand";
4
-
5
- export const metadata: Metadata = {
6
- title: `Create an account — ${brand.name}`,
7
- description: brand.account.signupSubtitle,
8
- };
9
-
10
- /**
11
- * Cimplify Link handles sign-up inside the `<CimplifyAccount>` iframe.
12
- * We bounce /signup to /account; the iframe shows the create-account UI
13
- * for visitors with no session.
14
- */
15
- export default function SignupPage(): never {
16
- redirect("/account");
17
- }
@@ -1,17 +0,0 @@
1
- import type { Metadata } from "next";
2
- import { redirect } from "next/navigation";
3
- import { brand } from "@/lib/brand";
4
-
5
- export const metadata: Metadata = {
6
- title: `Sign in — ${brand.name}`,
7
- description: brand.account.loginSubtitle,
8
- };
9
-
10
- /**
11
- * Cimplify Link (the iframe in `<CimplifyAccount>`) handles sign-in
12
- * automatically when no session exists. We just bounce /login to /account
13
- * so consumers landing here get the right UI without a duplicate form.
14
- */
15
- export default function LoginPage(): never {
16
- redirect("/account");
17
- }
@@ -1,17 +0,0 @@
1
- import type { Metadata } from "next";
2
- import { redirect } from "next/navigation";
3
- import { brand } from "@/lib/brand";
4
-
5
- export const metadata: Metadata = {
6
- title: `Create an account — ${brand.name}`,
7
- description: brand.account.signupSubtitle,
8
- };
9
-
10
- /**
11
- * Cimplify Link handles sign-up inside the `<CimplifyAccount>` iframe.
12
- * We bounce /signup to /account; the iframe shows the create-account UI
13
- * for visitors with no session.
14
- */
15
- export default function SignupPage(): never {
16
- redirect("/account");
17
- }
@@ -1,17 +0,0 @@
1
- import type { Metadata } from "next";
2
- import { redirect } from "next/navigation";
3
- import { brand } from "@/lib/brand";
4
-
5
- export const metadata: Metadata = {
6
- title: `Sign in — ${brand.name}`,
7
- description: brand.account.loginSubtitle,
8
- };
9
-
10
- /**
11
- * Cimplify Link (the iframe in `<CimplifyAccount>`) handles sign-in
12
- * automatically when no session exists. We just bounce /login to /account
13
- * so consumers landing here get the right UI without a duplicate form.
14
- */
15
- export default function LoginPage(): never {
16
- redirect("/account");
17
- }
@@ -1,17 +0,0 @@
1
- import type { Metadata } from "next";
2
- import { redirect } from "next/navigation";
3
- import { brand } from "@/lib/brand";
4
-
5
- export const metadata: Metadata = {
6
- title: `Create an account — ${brand.name}`,
7
- description: brand.account.signupSubtitle,
8
- };
9
-
10
- /**
11
- * Cimplify Link handles sign-up inside the `<CimplifyAccount>` iframe.
12
- * We bounce /signup to /account; the iframe shows the create-account UI
13
- * for visitors with no session.
14
- */
15
- export default function SignupPage(): never {
16
- redirect("/account");
17
- }
@@ -1,17 +0,0 @@
1
- import type { Metadata } from "next";
2
- import { redirect } from "next/navigation";
3
- import { brand } from "@/lib/brand";
4
-
5
- export const metadata: Metadata = {
6
- title: `Sign in — ${brand.name}`,
7
- description: brand.account.loginSubtitle,
8
- };
9
-
10
- /**
11
- * Cimplify Link (the iframe in `<CimplifyAccount>`) handles sign-in
12
- * automatically when no session exists. We just bounce /login to /account
13
- * so consumers landing here get the right UI without a duplicate form.
14
- */
15
- export default function LoginPage(): never {
16
- redirect("/account");
17
- }
@@ -1,17 +0,0 @@
1
- import type { Metadata } from "next";
2
- import { redirect } from "next/navigation";
3
- import { brand } from "@/lib/brand";
4
-
5
- export const metadata: Metadata = {
6
- title: `Create an account — ${brand.name}`,
7
- description: brand.account.signupSubtitle,
8
- };
9
-
10
- /**
11
- * Cimplify Link handles sign-up inside the `<CimplifyAccount>` iframe.
12
- * We bounce /signup to /account; the iframe shows the create-account UI
13
- * for visitors with no session.
14
- */
15
- export default function SignupPage(): never {
16
- redirect("/account");
17
- }