@cimplify/cli 0.7.10 → 0.7.11

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 (123) hide show
  1. package/dist/{add-SMWNH54I.mjs → add-3CEDUXNO.mjs} +1 -1
  2. package/dist/chunk-DAE3YSKU.mjs +6151 -0
  3. package/dist/{chunk-DTKRN5WC.mjs → chunk-XB4MMPXC.mjs} +2 -2
  4. package/dist/{chunk-AGJ3GDM5.mjs → chunk-ZFCWAYK2.mjs} +1 -1
  5. package/dist/dispatcher.mjs +9 -9
  6. package/dist/{doctor-DD2HRC43.mjs → doctor-A3YU5YOX.mjs} +2 -2
  7. package/dist/{explain-H46SCM2M.mjs → explain-WZQTCB3C.mjs} +1 -1
  8. package/dist/{introspect-YKAWUZ6D.mjs → introspect-2GJIQ6CP.mjs} +2 -2
  9. package/dist/{list-6FF2UPH2.mjs → list-F3LBI7HF.mjs} +1 -1
  10. package/dist/{update-STXI3CS4.mjs → update-PINBW3NG.mjs} +1 -1
  11. package/package.json +2 -2
  12. package/templates/storefront-auto/app/account/addresses/actions.ts +56 -0
  13. package/templates/storefront-auto/app/account/addresses/page.tsx +178 -15
  14. package/templates/storefront-auto/app/account/orders/page.tsx +84 -15
  15. package/templates/storefront-auto/app/account/page.tsx +39 -16
  16. package/templates/storefront-auto/app/account/wallets/actions.ts +52 -0
  17. package/templates/storefront-auto/app/account/wallets/page.tsx +185 -0
  18. package/templates/storefront-auto/app/sitemap-page/page.tsx +1 -1
  19. package/templates/storefront-auto/bun.lock +8 -2
  20. package/templates/storefront-auto/lib/brand.ts +1 -1
  21. package/templates/storefront-auto/lib/cimplify-server.ts +54 -0
  22. package/templates/storefront-auto/package.json +1 -1
  23. package/templates/storefront-bakery/AGENTS.md +4 -4
  24. package/templates/storefront-bakery/app/account/addresses/actions.ts +56 -0
  25. package/templates/storefront-bakery/app/account/addresses/page.tsx +178 -15
  26. package/templates/storefront-bakery/app/account/orders/page.tsx +84 -15
  27. package/templates/storefront-bakery/app/account/page.tsx +39 -16
  28. package/templates/storefront-bakery/app/account/wallets/actions.ts +52 -0
  29. package/templates/storefront-bakery/app/account/wallets/page.tsx +185 -0
  30. package/templates/storefront-bakery/app/sitemap-page/page.tsx +1 -1
  31. package/templates/storefront-bakery/bun.lock +8 -2
  32. package/templates/storefront-bakery/lib/brand.ts +1 -1
  33. package/templates/storefront-bakery/lib/cimplify-server.ts +54 -0
  34. package/templates/storefront-bakery/package.json +1 -1
  35. package/templates/storefront-fashion/AGENTS.md +4 -4
  36. package/templates/storefront-fashion/app/account/addresses/actions.ts +56 -0
  37. package/templates/storefront-fashion/app/account/addresses/page.tsx +178 -15
  38. package/templates/storefront-fashion/app/account/orders/page.tsx +84 -15
  39. package/templates/storefront-fashion/app/account/page.tsx +39 -16
  40. package/templates/storefront-fashion/app/account/wallets/actions.ts +52 -0
  41. package/templates/storefront-fashion/app/account/wallets/page.tsx +185 -0
  42. package/templates/storefront-fashion/app/sitemap-page/page.tsx +1 -1
  43. package/templates/storefront-fashion/bun.lock +8 -2
  44. package/templates/storefront-fashion/lib/brand.ts +1 -1
  45. package/templates/storefront-fashion/lib/cimplify-server.ts +54 -0
  46. package/templates/storefront-fashion/package.json +1 -1
  47. package/templates/storefront-grocery/AGENTS.md +4 -4
  48. package/templates/storefront-grocery/app/account/addresses/actions.ts +56 -0
  49. package/templates/storefront-grocery/app/account/addresses/page.tsx +178 -15
  50. package/templates/storefront-grocery/app/account/orders/page.tsx +84 -15
  51. package/templates/storefront-grocery/app/account/page.tsx +39 -16
  52. package/templates/storefront-grocery/app/account/wallets/actions.ts +52 -0
  53. package/templates/storefront-grocery/app/account/wallets/page.tsx +185 -0
  54. package/templates/storefront-grocery/app/sitemap-page/page.tsx +1 -1
  55. package/templates/storefront-grocery/bun.lock +8 -2
  56. package/templates/storefront-grocery/lib/brand.ts +1 -1
  57. package/templates/storefront-grocery/lib/cimplify-server.ts +54 -0
  58. package/templates/storefront-grocery/package.json +1 -1
  59. package/templates/storefront-pharmacy/AGENTS.md +4 -4
  60. package/templates/storefront-pharmacy/app/account/addresses/actions.ts +56 -0
  61. package/templates/storefront-pharmacy/app/account/addresses/page.tsx +178 -15
  62. package/templates/storefront-pharmacy/app/account/orders/page.tsx +84 -15
  63. package/templates/storefront-pharmacy/app/account/page.tsx +39 -16
  64. package/templates/storefront-pharmacy/app/account/wallets/actions.ts +52 -0
  65. package/templates/storefront-pharmacy/app/account/wallets/page.tsx +185 -0
  66. package/templates/storefront-pharmacy/app/sitemap-page/page.tsx +1 -1
  67. package/templates/storefront-pharmacy/bun.lock +8 -2
  68. package/templates/storefront-pharmacy/lib/brand.ts +1 -1
  69. package/templates/storefront-pharmacy/lib/cimplify-server.ts +54 -0
  70. package/templates/storefront-pharmacy/package.json +1 -1
  71. package/templates/storefront-restaurant/AGENTS.md +4 -4
  72. package/templates/storefront-restaurant/app/account/addresses/actions.ts +56 -0
  73. package/templates/storefront-restaurant/app/account/addresses/page.tsx +178 -15
  74. package/templates/storefront-restaurant/app/account/orders/page.tsx +84 -15
  75. package/templates/storefront-restaurant/app/account/page.tsx +39 -16
  76. package/templates/storefront-restaurant/app/account/wallets/actions.ts +52 -0
  77. package/templates/storefront-restaurant/app/account/wallets/page.tsx +185 -0
  78. package/templates/storefront-restaurant/app/sitemap-page/page.tsx +1 -1
  79. package/templates/storefront-restaurant/bun.lock +8 -2
  80. package/templates/storefront-restaurant/lib/brand.ts +1 -1
  81. package/templates/storefront-restaurant/lib/cimplify-server.ts +54 -0
  82. package/templates/storefront-restaurant/package.json +1 -1
  83. package/templates/storefront-retail/AGENTS.md +4 -4
  84. package/templates/storefront-retail/app/account/addresses/actions.ts +56 -0
  85. package/templates/storefront-retail/app/account/addresses/page.tsx +178 -15
  86. package/templates/storefront-retail/app/account/orders/page.tsx +84 -15
  87. package/templates/storefront-retail/app/account/page.tsx +39 -16
  88. package/templates/storefront-retail/app/account/wallets/actions.ts +52 -0
  89. package/templates/storefront-retail/app/account/wallets/page.tsx +185 -0
  90. package/templates/storefront-retail/app/sitemap-page/page.tsx +1 -1
  91. package/templates/storefront-retail/bun.lock +8 -2
  92. package/templates/storefront-retail/lib/brand.ts +1 -1
  93. package/templates/storefront-retail/lib/cimplify-server.ts +54 -0
  94. package/templates/storefront-retail/package.json +1 -1
  95. package/templates/storefront-services/AGENTS.md +4 -4
  96. package/templates/storefront-services/app/account/addresses/actions.ts +56 -0
  97. package/templates/storefront-services/app/account/addresses/page.tsx +178 -15
  98. package/templates/storefront-services/app/account/orders/page.tsx +84 -15
  99. package/templates/storefront-services/app/account/page.tsx +39 -16
  100. package/templates/storefront-services/app/account/wallets/actions.ts +52 -0
  101. package/templates/storefront-services/app/account/wallets/page.tsx +185 -0
  102. package/templates/storefront-services/app/sitemap-page/page.tsx +1 -1
  103. package/templates/storefront-services/bun.lock +8 -2
  104. package/templates/storefront-services/lib/brand.ts +1 -1
  105. package/templates/storefront-services/lib/cimplify-server.ts +54 -0
  106. package/templates/storefront-services/package.json +1 -1
  107. package/dist/chunk-YFLBC6BL.mjs +0 -6151
  108. package/templates/storefront-auto/app/account/settings/page.tsx +0 -21
  109. package/templates/storefront-auto/components/account-iframe.tsx +0 -19
  110. package/templates/storefront-bakery/app/account/settings/page.tsx +0 -21
  111. package/templates/storefront-bakery/components/account-iframe.tsx +0 -19
  112. package/templates/storefront-fashion/app/account/settings/page.tsx +0 -21
  113. package/templates/storefront-fashion/components/account-iframe.tsx +0 -19
  114. package/templates/storefront-grocery/app/account/settings/page.tsx +0 -21
  115. package/templates/storefront-grocery/components/account-iframe.tsx +0 -19
  116. package/templates/storefront-pharmacy/app/account/settings/page.tsx +0 -21
  117. package/templates/storefront-pharmacy/components/account-iframe.tsx +0 -19
  118. package/templates/storefront-restaurant/app/account/settings/page.tsx +0 -21
  119. package/templates/storefront-restaurant/components/account-iframe.tsx +0 -19
  120. package/templates/storefront-retail/app/account/settings/page.tsx +0 -21
  121. package/templates/storefront-retail/components/account-iframe.tsx +0 -19
  122. package/templates/storefront-services/app/account/settings/page.tsx +0 -21
  123. package/templates/storefront-services/components/account-iframe.tsx +0 -19
@@ -1,21 +0,0 @@
1
- import type { Metadata } from "next";
2
- import { AccountIframe } from "@/components/account-iframe";
3
- import { brand } from "@/lib/brand";
4
-
5
- export const metadata: Metadata = {
6
- title: `Settings — ${brand.name}`,
7
- };
8
-
9
- export default function SettingsPage() {
10
- return (
11
- <article className="max-w-5xl mx-auto px-6 sm:px-8 py-12">
12
- <p className="text-[11px] font-semibold uppercase tracking-[0.16em] text-primary mb-2">
13
- Account
14
- </p>
15
- <h1 className="font-serif text-[clamp(2rem,4vw,2.75rem)] font-semibold mb-8 -tracking-[0.02em]">
16
- Settings
17
- </h1>
18
- <AccountIframe section="settings" />
19
- </article>
20
- );
21
- }
@@ -1,19 +0,0 @@
1
- "use client";
2
-
3
- import { CimplifyAccount } from "@cimplify/sdk/react";
4
- import { brand } from "@/lib/brand";
5
-
6
- /**
7
- * Cimplify Account portal — iframe-mounted UI hosted by Cimplify Link.
8
- * Handles sign-in, sign-up, OTP, addresses, payment methods, sessions,
9
- * and order history. The iframe owns auth state; we just choose which
10
- * `section` to land on.
11
- *
12
- * `merchantName` is passed so the embedded widget can render scoping
13
- * affordances ("Showing your account with {merchant} only.") and
14
- * enforce the per-merchant data contract — orders/subs filter to this
15
- * business, cross-merchant surfaces are hidden.
16
- */
17
- export function AccountIframe({ section }: { section?: string }) {
18
- return <CimplifyAccount section={section} merchantName={brand.name} />;
19
- }
@@ -1,21 +0,0 @@
1
- import type { Metadata } from "next";
2
- import { AccountIframe } from "@/components/account-iframe";
3
- import { brand } from "@/lib/brand";
4
-
5
- export const metadata: Metadata = {
6
- title: `Settings — ${brand.name}`,
7
- };
8
-
9
- export default function SettingsPage() {
10
- return (
11
- <article className="max-w-5xl mx-auto px-6 sm:px-8 py-12">
12
- <p className="text-[11px] font-semibold uppercase tracking-[0.16em] text-primary mb-2">
13
- Account
14
- </p>
15
- <h1 className="font-serif text-[clamp(2rem,4vw,2.75rem)] font-semibold mb-8 -tracking-[0.02em]">
16
- Settings
17
- </h1>
18
- <AccountIframe section="settings" />
19
- </article>
20
- );
21
- }
@@ -1,19 +0,0 @@
1
- "use client";
2
-
3
- import { CimplifyAccount } from "@cimplify/sdk/react";
4
- import { brand } from "@/lib/brand";
5
-
6
- /**
7
- * Cimplify Account portal — iframe-mounted UI hosted by Cimplify Link.
8
- * Handles sign-in, sign-up, OTP, addresses, payment methods, sessions,
9
- * and order history. The iframe owns auth state; we just choose which
10
- * `section` to land on.
11
- *
12
- * `merchantName` is passed so the embedded widget can render scoping
13
- * affordances ("Showing your account with Akua's Bakery only.") and
14
- * enforce the per-merchant data contract — orders/subs filter to this
15
- * business, cross-merchant surfaces are hidden.
16
- */
17
- export function AccountIframe({ section }: { section?: string }) {
18
- return <CimplifyAccount section={section} merchantName={brand.name} />;
19
- }
@@ -1,21 +0,0 @@
1
- import type { Metadata } from "next";
2
- import { AccountIframe } from "@/components/account-iframe";
3
- import { brand } from "@/lib/brand";
4
-
5
- export const metadata: Metadata = {
6
- title: `Settings — ${brand.name}`,
7
- };
8
-
9
- export default function SettingsPage() {
10
- return (
11
- <article className="max-w-5xl mx-auto px-6 sm:px-8 py-12">
12
- <p className="text-[11px] font-semibold uppercase tracking-[0.16em] text-primary mb-2">
13
- Account
14
- </p>
15
- <h1 className="font-serif text-[clamp(2rem,4vw,2.75rem)] font-semibold mb-8 -tracking-[0.02em]">
16
- Settings
17
- </h1>
18
- <AccountIframe section="settings" />
19
- </article>
20
- );
21
- }
@@ -1,19 +0,0 @@
1
- "use client";
2
-
3
- import { CimplifyAccount } from "@cimplify/sdk/react";
4
- import { brand } from "@/lib/brand";
5
-
6
- /**
7
- * Cimplify Account portal — iframe-mounted UI hosted by Cimplify Link.
8
- * Handles sign-in, sign-up, OTP, addresses, payment methods, sessions,
9
- * and order history. The iframe owns auth state; we just choose which
10
- * `section` to land on.
11
- *
12
- * `merchantName` is passed so the embedded widget can render scoping
13
- * affordances ("Showing your account with {merchant} only.") and
14
- * enforce the per-merchant data contract — orders/subs filter to this
15
- * business, cross-merchant surfaces are hidden.
16
- */
17
- export function AccountIframe({ section }: { section?: string }) {
18
- return <CimplifyAccount section={section} merchantName={brand.name} />;
19
- }
@@ -1,21 +0,0 @@
1
- import type { Metadata } from "next";
2
- import { AccountIframe } from "@/components/account-iframe";
3
- import { brand } from "@/lib/brand";
4
-
5
- export const metadata: Metadata = {
6
- title: `Settings — ${brand.name}`,
7
- };
8
-
9
- export default function SettingsPage() {
10
- return (
11
- <article className="max-w-5xl mx-auto px-6 sm:px-8 py-12">
12
- <p className="text-[11px] font-semibold uppercase tracking-[0.16em] text-primary mb-2">
13
- Account
14
- </p>
15
- <h1 className="font-serif text-[clamp(2rem,4vw,2.75rem)] font-semibold mb-8 -tracking-[0.02em]">
16
- Settings
17
- </h1>
18
- <AccountIframe section="settings" />
19
- </article>
20
- );
21
- }
@@ -1,19 +0,0 @@
1
- "use client";
2
-
3
- import { CimplifyAccount } from "@cimplify/sdk/react";
4
- import { brand } from "@/lib/brand";
5
-
6
- /**
7
- * Cimplify Account portal — iframe-mounted UI hosted by Cimplify Link.
8
- * Handles sign-in, sign-up, OTP, addresses, payment methods, sessions,
9
- * and order history. The iframe owns auth state; we just choose which
10
- * `section` to land on.
11
- *
12
- * `merchantName` is passed so the embedded widget can render scoping
13
- * affordances ("Showing your account with {merchant} only.") and
14
- * enforce the per-merchant data contract — orders/subs filter to this
15
- * business, cross-merchant surfaces are hidden.
16
- */
17
- export function AccountIframe({ section }: { section?: string }) {
18
- return <CimplifyAccount section={section} merchantName={brand.name} />;
19
- }
@@ -1,21 +0,0 @@
1
- import type { Metadata } from "next";
2
- import { AccountIframe } from "@/components/account-iframe";
3
- import { brand } from "@/lib/brand";
4
-
5
- export const metadata: Metadata = {
6
- title: `Settings — ${brand.name}`,
7
- };
8
-
9
- export default function SettingsPage() {
10
- return (
11
- <article className="max-w-5xl mx-auto px-6 sm:px-8 py-12">
12
- <p className="text-[11px] font-semibold uppercase tracking-[0.16em] text-primary mb-2">
13
- Account
14
- </p>
15
- <h1 className="font-serif text-[clamp(2rem,4vw,2.75rem)] font-semibold mb-8 -tracking-[0.02em]">
16
- Settings
17
- </h1>
18
- <AccountIframe section="settings" />
19
- </article>
20
- );
21
- }
@@ -1,19 +0,0 @@
1
- "use client";
2
-
3
- import { CimplifyAccount } from "@cimplify/sdk/react";
4
- import { brand } from "@/lib/brand";
5
-
6
- /**
7
- * Cimplify Account portal — iframe-mounted UI hosted by Cimplify Link.
8
- * Handles sign-in, sign-up, OTP, addresses, payment methods, sessions,
9
- * and order history. The iframe owns auth state; we just choose which
10
- * `section` to land on.
11
- *
12
- * `merchantName` is passed so the embedded widget can render scoping
13
- * affordances ("Showing your account with {merchant} only.") and
14
- * enforce the per-merchant data contract — orders/subs filter to this
15
- * business, cross-merchant surfaces are hidden.
16
- */
17
- export function AccountIframe({ section }: { section?: string }) {
18
- return <CimplifyAccount section={section} merchantName={brand.name} />;
19
- }
@@ -1,21 +0,0 @@
1
- import type { Metadata } from "next";
2
- import { AccountIframe } from "@/components/account-iframe";
3
- import { brand } from "@/lib/brand";
4
-
5
- export const metadata: Metadata = {
6
- title: `Settings — ${brand.name}`,
7
- };
8
-
9
- export default function SettingsPage() {
10
- return (
11
- <article className="max-w-5xl mx-auto px-6 sm:px-8 py-12">
12
- <p className="text-[11px] font-semibold uppercase tracking-[0.16em] text-primary mb-2">
13
- Account
14
- </p>
15
- <h1 className="font-serif text-[clamp(2rem,4vw,2.75rem)] font-semibold mb-8 -tracking-[0.02em]">
16
- Settings
17
- </h1>
18
- <AccountIframe section="settings" />
19
- </article>
20
- );
21
- }
@@ -1,19 +0,0 @@
1
- "use client";
2
-
3
- import { CimplifyAccount } from "@cimplify/sdk/react";
4
- import { brand } from "@/lib/brand";
5
-
6
- /**
7
- * Cimplify Account portal — iframe-mounted UI hosted by Cimplify Link.
8
- * Handles sign-in, sign-up, OTP, addresses, payment methods, sessions,
9
- * and order history. The iframe owns auth state; we just choose which
10
- * `section` to land on.
11
- *
12
- * `merchantName` is passed so the embedded widget can render scoping
13
- * affordances ("Showing your account with {merchant} only.") and
14
- * enforce the per-merchant data contract — orders/subs filter to this
15
- * business, cross-merchant surfaces are hidden.
16
- */
17
- export function AccountIframe({ section }: { section?: string }) {
18
- return <CimplifyAccount section={section} merchantName={brand.name} />;
19
- }
@@ -1,21 +0,0 @@
1
- import type { Metadata } from "next";
2
- import { AccountIframe } from "@/components/account-iframe";
3
- import { brand } from "@/lib/brand";
4
-
5
- export const metadata: Metadata = {
6
- title: `Settings — ${brand.name}`,
7
- };
8
-
9
- export default function SettingsPage() {
10
- return (
11
- <article className="max-w-5xl mx-auto px-6 sm:px-8 py-12">
12
- <p className="text-[11px] font-semibold uppercase tracking-[0.16em] text-primary mb-2">
13
- Account
14
- </p>
15
- <h1 className="font-serif text-[clamp(2rem,4vw,2.75rem)] font-semibold mb-8 -tracking-[0.02em]">
16
- Settings
17
- </h1>
18
- <AccountIframe section="settings" />
19
- </article>
20
- );
21
- }
@@ -1,19 +0,0 @@
1
- "use client";
2
-
3
- import { CimplifyAccount } from "@cimplify/sdk/react";
4
- import { brand } from "@/lib/brand";
5
-
6
- /**
7
- * Cimplify Account portal — iframe-mounted UI hosted by Cimplify Link.
8
- * Handles sign-in, sign-up, OTP, addresses, payment methods, sessions,
9
- * and order history. The iframe owns auth state; we just choose which
10
- * `section` to land on.
11
- *
12
- * `merchantName` is passed so the embedded widget can render scoping
13
- * affordances ("Showing your account with {merchant} only.") and
14
- * enforce the per-merchant data contract — orders/subs filter to this
15
- * business, cross-merchant surfaces are hidden.
16
- */
17
- export function AccountIframe({ section }: { section?: string }) {
18
- return <CimplifyAccount section={section} merchantName={brand.name} />;
19
- }
@@ -1,21 +0,0 @@
1
- import type { Metadata } from "next";
2
- import { AccountIframe } from "@/components/account-iframe";
3
- import { brand } from "@/lib/brand";
4
-
5
- export const metadata: Metadata = {
6
- title: `Settings — ${brand.name}`,
7
- };
8
-
9
- export default function SettingsPage() {
10
- return (
11
- <article className="max-w-5xl mx-auto px-6 sm:px-8 py-12">
12
- <p className="text-[11px] font-semibold uppercase tracking-[0.16em] text-primary mb-2">
13
- Account
14
- </p>
15
- <h1 className="font-serif text-[clamp(2rem,4vw,2.75rem)] font-semibold mb-8 -tracking-[0.02em]">
16
- Settings
17
- </h1>
18
- <AccountIframe section="settings" />
19
- </article>
20
- );
21
- }
@@ -1,19 +0,0 @@
1
- "use client";
2
-
3
- import { CimplifyAccount } from "@cimplify/sdk/react";
4
- import { brand } from "@/lib/brand";
5
-
6
- /**
7
- * Cimplify Account portal — iframe-mounted UI hosted by Cimplify Link.
8
- * Handles sign-in, sign-up, OTP, addresses, payment methods, sessions,
9
- * and order history. The iframe owns auth state; we just choose which
10
- * `section` to land on.
11
- *
12
- * `merchantName` is passed so the embedded widget can render scoping
13
- * affordances ("Showing your account with {merchant} only.") and
14
- * enforce the per-merchant data contract — orders/subs filter to this
15
- * business, cross-merchant surfaces are hidden.
16
- */
17
- export function AccountIframe({ section }: { section?: string }) {
18
- return <CimplifyAccount section={section} merchantName={brand.name} />;
19
- }