@cimplify/cli 0.6.16 → 0.7.1

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 (138) hide show
  1. package/dist/{add-BBVSJ5ZJ.mjs → add-H6VQXQOI.mjs} +1 -1
  2. package/dist/{chunk-F5EGUNQZ.mjs → chunk-AS3W7SUI.mjs} +81 -25
  3. package/dist/{chunk-GL2J7272.mjs → chunk-BFT3GO4Q.mjs} +1 -1
  4. package/dist/{chunk-KCKMGRII.mjs → chunk-HXJZIFHC.mjs} +2 -2
  5. package/dist/dispatcher.mjs +9 -9
  6. package/dist/{doctor-T6NA3EMW.mjs → doctor-7QL3TCOV.mjs} +2 -2
  7. package/dist/{explain-22NV6OL6.mjs → explain-IVURNUO3.mjs} +4 -4
  8. package/dist/{introspect-QOW24PJF.mjs → introspect-CFVKMSVE.mjs} +2 -2
  9. package/dist/{list-JHUIIMC2.mjs → list-56VJKIMT.mjs} +1 -1
  10. package/dist/{update-IOMLDQEN.mjs → update-IYLHJDL2.mjs} +1 -1
  11. package/package.json +2 -2
  12. package/templates/storefront-auto/.claude/skills/cimplify-storefront/SKILL.md +34 -18
  13. package/templates/storefront-auto/CLAUDE.md +3 -2
  14. package/templates/storefront-auto/app/categories/[slug]/page.tsx +39 -17
  15. package/templates/storefront-auto/app/collections/[slug]/page.tsx +39 -17
  16. package/templates/storefront-auto/app/llms.txt/route.ts +13 -9
  17. package/templates/storefront-auto/app/page.tsx +3 -6
  18. package/templates/storefront-auto/app/products/[slug]/page.tsx +51 -21
  19. package/templates/storefront-auto/app/shop/page.tsx +10 -8
  20. package/templates/storefront-auto/app/shop/shop-client.tsx +1 -1
  21. package/templates/storefront-auto/app/sitemap-page/page.tsx +13 -9
  22. package/templates/storefront-auto/bun.lock +2 -2
  23. package/templates/storefront-auto/components/footer.tsx +0 -1
  24. package/templates/storefront-auto/lib/site.config.ts +1 -1
  25. package/templates/storefront-auto/next.config.ts +6 -5
  26. package/templates/storefront-auto/package.json +1 -1
  27. package/templates/storefront-bakery/.claude/skills/cimplify-storefront/SKILL.md +34 -18
  28. package/templates/storefront-bakery/AGENTS.md +4 -3
  29. package/templates/storefront-bakery/CLAUDE.md +3 -2
  30. package/templates/storefront-bakery/app/categories/[slug]/page.tsx +39 -17
  31. package/templates/storefront-bakery/app/collections/[slug]/page.tsx +39 -17
  32. package/templates/storefront-bakery/app/llms.txt/route.ts +13 -9
  33. package/templates/storefront-bakery/app/page.tsx +19 -9
  34. package/templates/storefront-bakery/app/shop/page.tsx +10 -8
  35. package/templates/storefront-bakery/app/shop/shop-client.tsx +1 -1
  36. package/templates/storefront-bakery/app/sitemap-page/page.tsx +13 -9
  37. package/templates/storefront-bakery/bun.lock +2 -2
  38. package/templates/storefront-bakery/components/footer.tsx +0 -1
  39. package/templates/storefront-bakery/lib/site.config.ts +1 -1
  40. package/templates/storefront-bakery/next.config.ts +6 -5
  41. package/templates/storefront-bakery/package.json +1 -1
  42. package/templates/storefront-fashion/.claude/skills/cimplify-storefront/SKILL.md +34 -18
  43. package/templates/storefront-fashion/CLAUDE.md +3 -2
  44. package/templates/storefront-fashion/app/categories/[slug]/page.tsx +39 -17
  45. package/templates/storefront-fashion/app/collections/[slug]/page.tsx +39 -17
  46. package/templates/storefront-fashion/app/llms.txt/route.ts +13 -9
  47. package/templates/storefront-fashion/app/page.tsx +23 -10
  48. package/templates/storefront-fashion/app/products/[slug]/page.tsx +51 -21
  49. package/templates/storefront-fashion/app/shop/page.tsx +10 -8
  50. package/templates/storefront-fashion/app/shop/shop-client.tsx +1 -1
  51. package/templates/storefront-fashion/app/sitemap-page/page.tsx +13 -9
  52. package/templates/storefront-fashion/bun.lock +2 -2
  53. package/templates/storefront-fashion/components/footer.tsx +0 -1
  54. package/templates/storefront-fashion/lib/site.config.ts +1 -1
  55. package/templates/storefront-fashion/next.config.ts +6 -5
  56. package/templates/storefront-fashion/package.json +1 -1
  57. package/templates/storefront-grocery/.claude/skills/cimplify-storefront/SKILL.md +34 -18
  58. package/templates/storefront-grocery/CLAUDE.md +3 -2
  59. package/templates/storefront-grocery/app/categories/[slug]/page.tsx +39 -17
  60. package/templates/storefront-grocery/app/collections/[slug]/page.tsx +39 -17
  61. package/templates/storefront-grocery/app/llms.txt/route.ts +13 -9
  62. package/templates/storefront-grocery/app/page.tsx +19 -9
  63. package/templates/storefront-grocery/app/shop/page.tsx +10 -8
  64. package/templates/storefront-grocery/app/shop/shop-client.tsx +1 -1
  65. package/templates/storefront-grocery/app/sitemap-page/page.tsx +13 -9
  66. package/templates/storefront-grocery/bun.lock +2 -2
  67. package/templates/storefront-grocery/components/footer.tsx +0 -1
  68. package/templates/storefront-grocery/lib/site.config.ts +1 -1
  69. package/templates/storefront-grocery/next.config.ts +6 -5
  70. package/templates/storefront-grocery/package.json +1 -1
  71. package/templates/storefront-pharmacy/.claude/skills/cimplify-storefront/SKILL.md +34 -18
  72. package/templates/storefront-pharmacy/CLAUDE.md +3 -2
  73. package/templates/storefront-pharmacy/app/categories/[slug]/page.tsx +39 -17
  74. package/templates/storefront-pharmacy/app/collections/[slug]/page.tsx +39 -17
  75. package/templates/storefront-pharmacy/app/llms.txt/route.ts +13 -9
  76. package/templates/storefront-pharmacy/app/page.tsx +3 -6
  77. package/templates/storefront-pharmacy/app/products/[slug]/page.tsx +51 -21
  78. package/templates/storefront-pharmacy/app/shop/page.tsx +10 -8
  79. package/templates/storefront-pharmacy/app/shop/shop-client.tsx +1 -1
  80. package/templates/storefront-pharmacy/app/sitemap-page/page.tsx +13 -9
  81. package/templates/storefront-pharmacy/bun.lock +2 -2
  82. package/templates/storefront-pharmacy/components/footer.tsx +0 -1
  83. package/templates/storefront-pharmacy/lib/site.config.ts +1 -1
  84. package/templates/storefront-pharmacy/next.config.ts +6 -5
  85. package/templates/storefront-pharmacy/package.json +1 -1
  86. package/templates/storefront-restaurant/.claude/skills/cimplify-storefront/SKILL.md +34 -18
  87. package/templates/storefront-restaurant/CLAUDE.md +3 -2
  88. package/templates/storefront-restaurant/app/categories/[slug]/page.tsx +39 -17
  89. package/templates/storefront-restaurant/app/collections/[slug]/page.tsx +39 -17
  90. package/templates/storefront-restaurant/app/llms.txt/route.ts +13 -9
  91. package/templates/storefront-restaurant/app/page.tsx +19 -9
  92. package/templates/storefront-restaurant/app/reservations/page.tsx +7 -7
  93. package/templates/storefront-restaurant/app/shop/page.tsx +10 -8
  94. package/templates/storefront-restaurant/app/shop/shop-client.tsx +1 -1
  95. package/templates/storefront-restaurant/app/sitemap-page/page.tsx +13 -9
  96. package/templates/storefront-restaurant/bun.lock +2 -2
  97. package/templates/storefront-restaurant/components/footer.tsx +0 -1
  98. package/templates/storefront-restaurant/lib/site.config.ts +1 -1
  99. package/templates/storefront-restaurant/next.config.ts +6 -5
  100. package/templates/storefront-restaurant/package.json +1 -1
  101. package/templates/storefront-retail/.claude/skills/cimplify-storefront/SKILL.md +34 -18
  102. package/templates/storefront-retail/CLAUDE.md +3 -2
  103. package/templates/storefront-retail/app/categories/[slug]/page.tsx +39 -17
  104. package/templates/storefront-retail/app/collections/[slug]/page.tsx +39 -17
  105. package/templates/storefront-retail/app/llms.txt/route.ts +13 -9
  106. package/templates/storefront-retail/app/page.tsx +23 -10
  107. package/templates/storefront-retail/app/products/[slug]/page.tsx +51 -21
  108. package/templates/storefront-retail/app/shop/page.tsx +10 -8
  109. package/templates/storefront-retail/app/shop/shop-client.tsx +1 -1
  110. package/templates/storefront-retail/app/sitemap-page/page.tsx +13 -9
  111. package/templates/storefront-retail/bun.lock +2 -2
  112. package/templates/storefront-retail/components/footer.tsx +0 -1
  113. package/templates/storefront-retail/lib/site.config.ts +1 -1
  114. package/templates/storefront-retail/next.config.ts +6 -5
  115. package/templates/storefront-retail/package.json +1 -1
  116. package/templates/storefront-services/.claude/skills/cimplify-storefront/SKILL.md +34 -18
  117. package/templates/storefront-services/CLAUDE.md +3 -2
  118. package/templates/storefront-services/app/book/page.tsx +7 -7
  119. package/templates/storefront-services/app/categories/[slug]/page.tsx +39 -17
  120. package/templates/storefront-services/app/collections/[slug]/page.tsx +39 -17
  121. package/templates/storefront-services/app/llms.txt/route.ts +13 -9
  122. package/templates/storefront-services/app/page.tsx +19 -9
  123. package/templates/storefront-services/app/shop/page.tsx +10 -8
  124. package/templates/storefront-services/app/shop/shop-client.tsx +1 -1
  125. package/templates/storefront-services/app/sitemap-page/page.tsx +13 -9
  126. package/templates/storefront-services/bun.lock +2 -2
  127. package/templates/storefront-services/components/footer.tsx +0 -1
  128. package/templates/storefront-services/lib/site.config.ts +1 -1
  129. package/templates/storefront-services/next.config.ts +6 -5
  130. package/templates/storefront-services/package.json +1 -1
  131. package/templates/storefront-auto/app/api/revalidate/route.ts +0 -5
  132. package/templates/storefront-bakery/app/api/revalidate/route.ts +0 -5
  133. package/templates/storefront-fashion/app/api/revalidate/route.ts +0 -5
  134. package/templates/storefront-grocery/app/api/revalidate/route.ts +0 -5
  135. package/templates/storefront-pharmacy/app/api/revalidate/route.ts +0 -5
  136. package/templates/storefront-restaurant/app/api/revalidate/route.ts +0 -5
  137. package/templates/storefront-retail/app/api/revalidate/route.ts +0 -5
  138. package/templates/storefront-services/app/api/revalidate/route.ts +0 -5
@@ -1,7 +1,6 @@
1
1
  import type { Metadata } from "next";
2
2
  import { Suspense } from "react";
3
- import { cacheTag, cacheLife } from "next/cache";
4
- import { CACHE_LIFE_DEFAULT, getServerClient, tags, type Product } from "@cimplify/sdk/server";
3
+ import { getServerClient, tags, type Product } from "@cimplify/sdk/server";
5
4
  import { Hero } from "@/components/hero";
6
5
  import { CollectionStrip } from "@/components/collection-strip";
7
6
  import { CategoryGrid } from "@/components/category-grid";
@@ -12,22 +11,33 @@ export const metadata: Metadata = {
12
11
  description: brand.description,
13
12
  };
14
13
 
15
- async function getHomeData() {
16
- "use cache";
17
- cacheTag(tags.collections(), tags.categories(), tags.products());
18
- cacheLife(CACHE_LIFE_DEFAULT);
14
+ export const revalidate = 3600;
19
15
 
16
+ async function getHomeData() {
20
17
  const client = getServerClient();
21
18
  const [colRes, catRes] = await Promise.all([
22
- client.catalogue.getCollections(),
23
- client.catalogue.getCategories(),
19
+ client.catalogue.getCollections({
20
+ cacheOptions: { revalidate: 3600, tags: [tags.collections()] },
21
+ }),
22
+ client.catalogue.getCategories({
23
+ cacheOptions: { revalidate: 3600, tags: [tags.categories()] },
24
+ }),
24
25
  ]);
25
26
  const collections = colRes.ok ? colRes.value : [];
26
27
  const categories = catRes.ok ? catRes.value : [];
27
28
 
28
29
  const collectionsWithProducts = await Promise.all(
29
30
  collections.map(async (col) => {
30
- const r = await client.catalogue.getCollectionProducts(col.id);
31
+ const r = await client.catalogue.getCollectionProducts(
32
+ col.id,
33
+ undefined,
34
+ {
35
+ cacheOptions: {
36
+ revalidate: 3600,
37
+ tags: [tags.collectionProducts(col.id)],
38
+ },
39
+ },
40
+ );
31
41
  const items = r.ok
32
42
  ? ((r.value as { items?: Product[] }).items ?? (r.value as Product[]))
33
43
  : [];
@@ -1,6 +1,5 @@
1
1
  import type { Metadata } from "next";
2
- import { cacheTag, cacheLife } from "next/cache";
3
- import { CACHE_LIFE_DEFAULT, getServerClient, tags } from "@cimplify/sdk/server";
2
+ import { getServerClient, tags } from "@cimplify/sdk/server";
4
3
  import { ShopClient } from "./shop-client";
5
4
  import { brand } from "@/lib/brand";
6
5
 
@@ -9,15 +8,18 @@ export const metadata: Metadata = {
9
8
  description: brand.description,
10
9
  };
11
10
 
12
- async function getShopData() {
13
- "use cache";
14
- cacheTag(tags.products(), tags.categories());
15
- cacheLife(CACHE_LIFE_DEFAULT);
11
+ export const revalidate = 3600;
16
12
 
13
+ async function getShopData() {
17
14
  const client = getServerClient();
18
15
  const [p, c] = await Promise.all([
19
- client.catalogue.getProducts({ limit: 50 }),
20
- client.catalogue.getCategories(),
16
+ client.catalogue.getProducts(
17
+ { limit: 50 },
18
+ { cacheOptions: { revalidate: 3600, tags: [tags.products()] } },
19
+ ),
20
+ client.catalogue.getCategories({
21
+ cacheOptions: { revalidate: 3600, tags: [tags.categories()] },
22
+ }),
21
23
  ]);
22
24
  return {
23
25
  products: p.ok ? p.value.items : [],
@@ -6,7 +6,7 @@ import { StoreProductCard } from "@/components/store-product-card";
6
6
 
7
7
  /**
8
8
  * Client island for the shop page. Server-side fetches all products and
9
- * categories (cached via `'use cache'` in `app/shop/page.tsx`), then hands
9
+ * categories (ISR-cached in `app/shop/page.tsx`), then hands
10
10
  * them to `<CataloguePage>` which owns the interactive filter / sort state.
11
11
  */
12
12
  export function ShopClient({
@@ -1,7 +1,6 @@
1
1
  import type { Metadata } from "next";
2
2
  import Link from "next/link";
3
- import { cacheTag, cacheLife } from "next/cache";
4
- import { CACHE_LIFE_DEFAULT, getServerClient, tags, type Product } from "@cimplify/sdk/server";
3
+ import { getServerClient, tags, type Product } from "@cimplify/sdk/server";
5
4
  import { brand } from "@/lib/brand";
6
5
 
7
6
  export const metadata: Metadata = {
@@ -9,6 +8,8 @@ export const metadata: Metadata = {
9
8
  description: "A human-readable index of every page on this site.",
10
9
  };
11
10
 
11
+ export const revalidate = 3600;
12
+
12
13
  interface SitemapData {
13
14
  products: { slug: string; name: string }[];
14
15
  categories: { slug: string; name: string }[];
@@ -16,15 +17,18 @@ interface SitemapData {
16
17
  }
17
18
 
18
19
  async function getSitemap(): Promise<SitemapData> {
19
- "use cache";
20
- cacheTag(tags.products(), tags.categories(), tags.collections());
21
- cacheLife(CACHE_LIFE_DEFAULT);
22
-
23
20
  const client = getServerClient();
24
21
  const [pRes, cRes, colRes] = await Promise.all([
25
- client.catalogue.getProducts({ limit: 500 }),
26
- client.catalogue.getCategories(),
27
- client.catalogue.getCollections(),
22
+ client.catalogue.getProducts(
23
+ { limit: 500 },
24
+ { cacheOptions: { revalidate: 3600, tags: [tags.products()] } },
25
+ ),
26
+ client.catalogue.getCategories({
27
+ cacheOptions: { revalidate: 3600, tags: [tags.categories()] },
28
+ }),
29
+ client.catalogue.getCollections({
30
+ cacheOptions: { revalidate: 3600, tags: [tags.collections()] },
31
+ }),
28
32
  ]);
29
33
  return {
30
34
  products: (pRes.ok ? pRes.value.items : []).map((p: Product) => ({
@@ -5,7 +5,7 @@
5
5
  "": {
6
6
  "name": "__STOREFRONT_NAME__",
7
7
  "dependencies": {
8
- "@cimplify/sdk": "^0.49.2",
8
+ "@cimplify/sdk": "^0.54.0",
9
9
  "next": "^16.2.6",
10
10
  "react": "^19.0.0",
11
11
  "react-dom": "^19.0.0",
@@ -31,7 +31,7 @@
31
31
 
32
32
  "@base-ui/utils": ["@base-ui/utils@0.2.9", "", { "dependencies": { "@babel/runtime": "^7.29.2", "@floating-ui/utils": "^0.2.11", "reselect": "^5.1.1", "use-sync-external-store": "^1.6.0" }, "peerDependencies": { "@types/react": "^17 || ^18 || ^19", "react": "^17 || ^18 || ^19", "react-dom": "^17 || ^18 || ^19" }, "optionalPeers": ["@types/react"] }, "sha512-x/PDDCYzoqPpjrdyb3VcyylTI2IjUXEtYDGi5foh7KsnmNJIIaVwA2GLgDH1dps1GgXiJbA60hM+AyuTfQzIvw=="],
33
33
 
34
- "@cimplify/sdk": ["@cimplify/sdk@0.49.2", "", { "dependencies": { "@base-ui/react": "^1.4.1", "clsx": "^2.1.1", "date-fns": "^4.1.0", "libphonenumber-js": "1.12.41", "react-day-picker": "^9.14.0", "tailwind-merge": "^3.5.0", "zod": "^4.4.3" }, "peerDependencies": { "@paystack/inline-js": "^2.22.8", "msw": ">=2.0.0", "react": ">=17.0.0", "vitest": ">=2.0.0" }, "optionalPeers": ["@paystack/inline-js", "msw", "react", "vitest"], "bin": { "cimplify-mock": "dist/mock/cli.mjs" } }, "sha512-W/PtzLztRYOPo4LCKmTvejfz56CQZUflXSdSshYl6ft1q17BIy8bnzfplbYnojiQb5OiCWr0FAzG68S2tvO93w=="],
34
+ "@cimplify/sdk": ["@cimplify/sdk@0.54.0", "", { "dependencies": { "@base-ui/react": "^1.4.1", "clsx": "^2.1.1", "date-fns": "^4.1.0", "libphonenumber-js": "1.12.41", "react-day-picker": "^9.14.0", "tailwind-merge": "^3.5.0", "zod": "^4.4.3" }, "peerDependencies": { "@paystack/inline-js": "^2.22.8", "msw": ">=2.0.0", "react": ">=17.0.0", "vitest": ">=2.0.0" }, "optionalPeers": ["@paystack/inline-js", "msw", "react", "vitest"], "bin": { "cimplify-mock": "dist/mock/cli.mjs" } }, "sha512-YUN/lOqViHci1v9USWWwAWty29pEXBdLTuKarSl8EpafWh5jkdGZ1Q+Ne9/bfgTZmR8iTUltA8U7glV2FoRSgg=="],
35
35
 
36
36
  "@date-fns/tz": ["@date-fns/tz@1.4.1", "", {}, "sha512-P5LUNhtbj6YfI3iJjw5EL9eUAG6OitD0W3fWQcpQjDRc/QIsL0tRNuO1PcDvPccWL1fSTXXdE1ds+l95DV/OFA=="],
37
37
 
@@ -48,7 +48,6 @@ const FALLBACK_ICON = (
48
48
  );
49
49
 
50
50
  export async function Footer() {
51
- "use cache";
52
51
  const year = new Date().getFullYear();
53
52
  return (
54
53
  <footer className="mt-12 px-6 sm:px-8 py-10 text-xs text-muted-foreground border-t border-border bg-card">
@@ -2,6 +2,6 @@
2
2
  * Canonical absolute URL. The platform overwrites this at build time with the
3
3
  * storefront's primary domain; the default only applies to local builds. It's
4
4
  * per-deploy config, not per-request, so it stays a static constant — keeping
5
- * the root layout prerenderable under `cacheComponents`.
5
+ * the root layout prerenderable.
6
6
  */
7
7
  export const SITE_URL = "https://example.com";
@@ -19,13 +19,14 @@ if (STOREFRONT_URL === "http://127.0.0.1:8787") {
19
19
  );
20
20
  }
21
21
 
22
+ // Cache Components ('use cache' + cacheTag/cacheLife) require Node-specific
23
+ // setTimeout atomicity and serialize a postponed state that routinely exceeds
24
+ // CF Workers' 128MB zlib limit. We're on Cloudflare Workers via opennext, so
25
+ // we stay on Next 16's "Previous Model" — `fetch.next.{revalidate,tags}` via
26
+ // the SDK's `cacheOptions`, plus `export const revalidate` per page. See
27
+ // https://nextjs.org/docs/app/guides/caching-without-cache-components.
22
28
  const nextConfig: NextConfig = {
23
- // Enable Next 16's `cacheComponents` mode so we can use `'use cache'` +
24
- // `cacheTag` / `cacheLife` for SSR caching. Cached chrome streams first,
25
- // dynamic Suspense boundaries fill in when ready.
26
- cacheComponents: true,
27
29
  async redirects() {
28
- // Config-level so cacheComponents needn't prerender a redirect()-only page.
29
30
  return [
30
31
  { source: "/login", destination: "/account", permanent: false },
31
32
  { source: "/signup", destination: "/account", permanent: false },
@@ -17,7 +17,7 @@
17
17
  "check": "bun run typecheck && bun run test:run"
18
18
  },
19
19
  "dependencies": {
20
- "@cimplify/sdk": "^0.49.2",
20
+ "@cimplify/sdk": "^0.54.0",
21
21
  "next": "^16.2.6",
22
22
  "react": "^19.0.0",
23
23
  "react-dom": "^19.0.0"
@@ -1,5 +0,0 @@
1
- import { revalidateRouteHandler } from "@cimplify/sdk/server";
2
-
3
- export async function POST(req: Request): Promise<Response> {
4
- return revalidateRouteHandler(req);
5
- }
@@ -1,5 +0,0 @@
1
- import { revalidateRouteHandler } from "@cimplify/sdk/server";
2
-
3
- export async function POST(req: Request): Promise<Response> {
4
- return revalidateRouteHandler(req);
5
- }
@@ -1,5 +0,0 @@
1
- import { revalidateRouteHandler } from "@cimplify/sdk/server";
2
-
3
- export async function POST(req: Request): Promise<Response> {
4
- return revalidateRouteHandler(req);
5
- }
@@ -1,5 +0,0 @@
1
- import { revalidateRouteHandler } from "@cimplify/sdk/server";
2
-
3
- export async function POST(req: Request): Promise<Response> {
4
- return revalidateRouteHandler(req);
5
- }
@@ -1,5 +0,0 @@
1
- import { revalidateRouteHandler } from "@cimplify/sdk/server";
2
-
3
- export async function POST(req: Request): Promise<Response> {
4
- return revalidateRouteHandler(req);
5
- }
@@ -1,5 +0,0 @@
1
- import { revalidateRouteHandler } from "@cimplify/sdk/server";
2
-
3
- export async function POST(req: Request): Promise<Response> {
4
- return revalidateRouteHandler(req);
5
- }
@@ -1,5 +0,0 @@
1
- import { revalidateRouteHandler } from "@cimplify/sdk/server";
2
-
3
- export async function POST(req: Request): Promise<Response> {
4
- return revalidateRouteHandler(req);
5
- }
@@ -1,5 +0,0 @@
1
- import { revalidateRouteHandler } from "@cimplify/sdk/server";
2
-
3
- export async function POST(req: Request): Promise<Response> {
4
- return revalidateRouteHandler(req);
5
- }