@cimplify/cli 0.6.15 → 0.6.16

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 (81) hide show
  1. package/dist/{add-6KEKFXOW.mjs → add-BBVSJ5ZJ.mjs} +1 -1
  2. package/dist/{chunk-DEWCHGWU.mjs → chunk-F5EGUNQZ.mjs} +25 -25
  3. package/dist/{chunk-JLSDFVML.mjs → chunk-GL2J7272.mjs} +1 -1
  4. package/dist/{chunk-OSS47KZP.mjs → chunk-KCKMGRII.mjs} +2 -2
  5. package/dist/dispatcher.mjs +9 -9
  6. package/dist/{doctor-WL25JRS3.mjs → doctor-T6NA3EMW.mjs} +2 -2
  7. package/dist/{explain-NY5A533M.mjs → explain-22NV6OL6.mjs} +2 -2
  8. package/dist/{introspect-J7GVKQK7.mjs → introspect-QOW24PJF.mjs} +2 -2
  9. package/dist/{list-FXOFYX4H.mjs → list-JHUIIMC2.mjs} +1 -1
  10. package/dist/{update-WNZKECFJ.mjs → update-IOMLDQEN.mjs} +1 -1
  11. package/package.json +2 -2
  12. package/templates/storefront-auto/app/categories/[slug]/page.tsx +2 -2
  13. package/templates/storefront-auto/app/collections/[slug]/page.tsx +2 -2
  14. package/templates/storefront-auto/app/llms.txt/route.ts +2 -2
  15. package/templates/storefront-auto/app/page.tsx +2 -2
  16. package/templates/storefront-auto/app/products/[slug]/page.tsx +2 -2
  17. package/templates/storefront-auto/app/shop/page.tsx +2 -2
  18. package/templates/storefront-auto/app/sitemap-page/page.tsx +2 -2
  19. package/templates/storefront-auto/bun.lock +2 -2
  20. package/templates/storefront-auto/package.json +1 -1
  21. package/templates/storefront-bakery/app/categories/[slug]/page.tsx +2 -2
  22. package/templates/storefront-bakery/app/collections/[slug]/page.tsx +2 -2
  23. package/templates/storefront-bakery/app/llms.txt/route.ts +2 -2
  24. package/templates/storefront-bakery/app/page.tsx +2 -2
  25. package/templates/storefront-bakery/app/shop/page.tsx +2 -2
  26. package/templates/storefront-bakery/app/sitemap-page/page.tsx +2 -2
  27. package/templates/storefront-bakery/bun.lock +2 -2
  28. package/templates/storefront-bakery/package.json +1 -1
  29. package/templates/storefront-fashion/app/categories/[slug]/page.tsx +2 -2
  30. package/templates/storefront-fashion/app/collections/[slug]/page.tsx +2 -2
  31. package/templates/storefront-fashion/app/llms.txt/route.ts +2 -2
  32. package/templates/storefront-fashion/app/page.tsx +2 -2
  33. package/templates/storefront-fashion/app/products/[slug]/page.tsx +2 -2
  34. package/templates/storefront-fashion/app/shop/page.tsx +2 -2
  35. package/templates/storefront-fashion/app/sitemap-page/page.tsx +2 -2
  36. package/templates/storefront-fashion/bun.lock +2 -2
  37. package/templates/storefront-fashion/package.json +1 -1
  38. package/templates/storefront-grocery/app/categories/[slug]/page.tsx +2 -2
  39. package/templates/storefront-grocery/app/collections/[slug]/page.tsx +2 -2
  40. package/templates/storefront-grocery/app/llms.txt/route.ts +2 -2
  41. package/templates/storefront-grocery/app/page.tsx +2 -2
  42. package/templates/storefront-grocery/app/shop/page.tsx +2 -2
  43. package/templates/storefront-grocery/app/sitemap-page/page.tsx +2 -2
  44. package/templates/storefront-grocery/bun.lock +2 -2
  45. package/templates/storefront-grocery/package.json +1 -1
  46. package/templates/storefront-pharmacy/app/categories/[slug]/page.tsx +2 -2
  47. package/templates/storefront-pharmacy/app/collections/[slug]/page.tsx +2 -2
  48. package/templates/storefront-pharmacy/app/llms.txt/route.ts +2 -2
  49. package/templates/storefront-pharmacy/app/page.tsx +2 -2
  50. package/templates/storefront-pharmacy/app/products/[slug]/page.tsx +2 -2
  51. package/templates/storefront-pharmacy/app/shop/page.tsx +2 -2
  52. package/templates/storefront-pharmacy/app/sitemap-page/page.tsx +2 -2
  53. package/templates/storefront-pharmacy/bun.lock +2 -2
  54. package/templates/storefront-pharmacy/package.json +1 -1
  55. package/templates/storefront-restaurant/app/categories/[slug]/page.tsx +2 -2
  56. package/templates/storefront-restaurant/app/collections/[slug]/page.tsx +2 -2
  57. package/templates/storefront-restaurant/app/llms.txt/route.ts +2 -2
  58. package/templates/storefront-restaurant/app/page.tsx +2 -2
  59. package/templates/storefront-restaurant/app/reservations/page.tsx +2 -2
  60. package/templates/storefront-restaurant/app/shop/page.tsx +2 -2
  61. package/templates/storefront-restaurant/app/sitemap-page/page.tsx +2 -2
  62. package/templates/storefront-restaurant/bun.lock +2 -2
  63. package/templates/storefront-restaurant/package.json +1 -1
  64. package/templates/storefront-retail/app/categories/[slug]/page.tsx +2 -2
  65. package/templates/storefront-retail/app/collections/[slug]/page.tsx +2 -2
  66. package/templates/storefront-retail/app/llms.txt/route.ts +2 -2
  67. package/templates/storefront-retail/app/page.tsx +2 -2
  68. package/templates/storefront-retail/app/products/[slug]/page.tsx +2 -2
  69. package/templates/storefront-retail/app/shop/page.tsx +2 -2
  70. package/templates/storefront-retail/app/sitemap-page/page.tsx +2 -2
  71. package/templates/storefront-retail/bun.lock +2 -2
  72. package/templates/storefront-retail/package.json +1 -1
  73. package/templates/storefront-services/app/book/page.tsx +2 -2
  74. package/templates/storefront-services/app/categories/[slug]/page.tsx +2 -2
  75. package/templates/storefront-services/app/collections/[slug]/page.tsx +2 -2
  76. package/templates/storefront-services/app/llms.txt/route.ts +2 -2
  77. package/templates/storefront-services/app/page.tsx +2 -2
  78. package/templates/storefront-services/app/shop/page.tsx +2 -2
  79. package/templates/storefront-services/app/sitemap-page/page.tsx +2 -2
  80. package/templates/storefront-services/bun.lock +2 -2
  81. package/templates/storefront-services/package.json +1 -1
@@ -5,7 +5,7 @@
5
5
  "": {
6
6
  "name": "__STOREFRONT_NAME__",
7
7
  "dependencies": {
8
- "@cimplify/sdk": "^0.49.1",
8
+ "@cimplify/sdk": "^0.49.2",
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.1", "", { "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-f105Jd129KQSK747SjiJAxiwKhY7S82D9v9giJTg4ckhdQakc48V+B/TseP2LwtXZDJ71iRH5W+nod0/BHW42A=="],
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=="],
35
35
 
36
36
  "@date-fns/tz": ["@date-fns/tz@1.4.1", "", {}, "sha512-P5LUNhtbj6YfI3iJjw5EL9eUAG6OitD0W3fWQcpQjDRc/QIsL0tRNuO1PcDvPccWL1fSTXXdE1ds+l95DV/OFA=="],
37
37
 
@@ -17,7 +17,7 @@
17
17
  "check": "bun run typecheck && bun run test:run"
18
18
  },
19
19
  "dependencies": {
20
- "@cimplify/sdk": "^0.49.1",
20
+ "@cimplify/sdk": "^0.49.2",
21
21
  "next": "^16.2.6",
22
22
  "react": "^19.0.0",
23
23
  "react-dom": "^19.0.0"
@@ -1,7 +1,7 @@
1
1
  import type { Metadata } from "next";
2
2
  import { Suspense } from "react";
3
3
  import { cacheTag, cacheLife } from "next/cache";
4
- import { getServerClient, tags, type Product } from "@cimplify/sdk/server";
4
+ import { CACHE_LIFE_DEFAULT, getServerClient, tags, type Product } from "@cimplify/sdk/server";
5
5
  import { BookClient } from "./book-client";
6
6
  import { brand } from "@/lib/brand";
7
7
 
@@ -13,7 +13,7 @@ export const metadata: Metadata = {
13
13
  async function getTreatments(): Promise<Product[]> {
14
14
  "use cache";
15
15
  cacheTag(tags.products());
16
- cacheLife("hours");
16
+ cacheLife(CACHE_LIFE_DEFAULT);
17
17
 
18
18
  const client = getServerClient();
19
19
  const r = await client.catalogue.getProducts({ limit: 50 });
@@ -4,7 +4,7 @@ import Link from "next/link";
4
4
  import { notFound } from "next/navigation";
5
5
  import { cacheTag, cacheLife } from "next/cache";
6
6
  import {
7
- getServerClient,
7
+ CACHE_LIFE_DEFAULT, getServerClient,
8
8
  tags,
9
9
  type Category,
10
10
  type Product,
@@ -20,7 +20,7 @@ interface CategoryData {
20
20
  async function getCategory(slug: string): Promise<CategoryData | null> {
21
21
  "use cache";
22
22
  cacheTag(tags.categories());
23
- cacheLife("hours");
23
+ cacheLife(CACHE_LIFE_DEFAULT);
24
24
 
25
25
  const client = getServerClient();
26
26
  const catRes = await client.catalogue.getCategoryBySlug(slug);
@@ -4,7 +4,7 @@ import Link from "next/link";
4
4
  import { notFound } from "next/navigation";
5
5
  import { cacheTag, cacheLife } from "next/cache";
6
6
  import {
7
- getServerClient,
7
+ CACHE_LIFE_DEFAULT, getServerClient,
8
8
  tags,
9
9
  type Collection,
10
10
  type Product,
@@ -20,7 +20,7 @@ interface CollectionData {
20
20
  async function getCollection(slug: string): Promise<CollectionData | null> {
21
21
  "use cache";
22
22
  cacheTag(tags.collections());
23
- cacheLife("hours");
23
+ cacheLife(CACHE_LIFE_DEFAULT);
24
24
 
25
25
  const client = getServerClient();
26
26
  const colRes = await client.catalogue.getCollectionBySlug(slug);
@@ -1,12 +1,12 @@
1
1
  import { cacheTag, cacheLife } from "next/cache";
2
- import { getServerClient, tags, type Product } from "@cimplify/sdk/server";
2
+ import { CACHE_LIFE_DEFAULT, getServerClient, tags, type Product } from "@cimplify/sdk/server";
3
3
  import { brand } from "@/lib/brand";
4
4
  import { getSiteUrl } from "@/lib/site-url";
5
5
 
6
6
  async function buildLlmsTxt(SITE_URL: string): Promise<string> {
7
7
  "use cache";
8
8
  cacheTag(tags.products(), tags.categories(), tags.collections());
9
- cacheLife("hours");
9
+ cacheLife(CACHE_LIFE_DEFAULT);
10
10
 
11
11
  const client = getServerClient();
12
12
  const [productsRes, categoriesRes, collectionsRes] = await Promise.all([
@@ -1,7 +1,7 @@
1
1
  import type { Metadata } from "next";
2
2
  import { Suspense } from "react";
3
3
  import { cacheTag, cacheLife } from "next/cache";
4
- import { getServerClient, tags, type Product } from "@cimplify/sdk/server";
4
+ import { CACHE_LIFE_DEFAULT, getServerClient, tags, type Product } from "@cimplify/sdk/server";
5
5
  import { Hero } from "@/components/hero";
6
6
  import { CollectionStrip } from "@/components/collection-strip";
7
7
  import { CategoryGrid } from "@/components/category-grid";
@@ -15,7 +15,7 @@ export const metadata: Metadata = {
15
15
  async function getHomeData() {
16
16
  "use cache";
17
17
  cacheTag(tags.collections(), tags.categories(), tags.products());
18
- cacheLife("hours");
18
+ cacheLife(CACHE_LIFE_DEFAULT);
19
19
 
20
20
  const client = getServerClient();
21
21
  const [colRes, catRes] = await Promise.all([
@@ -1,6 +1,6 @@
1
1
  import type { Metadata } from "next";
2
2
  import { cacheTag, cacheLife } from "next/cache";
3
- import { getServerClient, tags } from "@cimplify/sdk/server";
3
+ import { CACHE_LIFE_DEFAULT, getServerClient, tags } from "@cimplify/sdk/server";
4
4
  import { ShopClient } from "./shop-client";
5
5
  import { brand } from "@/lib/brand";
6
6
 
@@ -12,7 +12,7 @@ export const metadata: Metadata = {
12
12
  async function getShopData() {
13
13
  "use cache";
14
14
  cacheTag(tags.products(), tags.categories());
15
- cacheLife("hours");
15
+ cacheLife(CACHE_LIFE_DEFAULT);
16
16
 
17
17
  const client = getServerClient();
18
18
  const [p, c] = await Promise.all([
@@ -1,7 +1,7 @@
1
1
  import type { Metadata } from "next";
2
2
  import Link from "next/link";
3
3
  import { cacheTag, cacheLife } from "next/cache";
4
- import { getServerClient, tags, type Product } from "@cimplify/sdk/server";
4
+ import { CACHE_LIFE_DEFAULT, getServerClient, tags, type Product } from "@cimplify/sdk/server";
5
5
  import { brand } from "@/lib/brand";
6
6
 
7
7
  export const metadata: Metadata = {
@@ -18,7 +18,7 @@ interface SitemapData {
18
18
  async function getSitemap(): Promise<SitemapData> {
19
19
  "use cache";
20
20
  cacheTag(tags.products(), tags.categories(), tags.collections());
21
- cacheLife("hours");
21
+ cacheLife(CACHE_LIFE_DEFAULT);
22
22
 
23
23
  const client = getServerClient();
24
24
  const [pRes, cRes, colRes] = await Promise.all([
@@ -5,7 +5,7 @@
5
5
  "": {
6
6
  "name": "__STOREFRONT_NAME__",
7
7
  "dependencies": {
8
- "@cimplify/sdk": "^0.49.1",
8
+ "@cimplify/sdk": "^0.49.2",
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.1", "", { "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-f105Jd129KQSK747SjiJAxiwKhY7S82D9v9giJTg4ckhdQakc48V+B/TseP2LwtXZDJ71iRH5W+nod0/BHW42A=="],
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=="],
35
35
 
36
36
  "@date-fns/tz": ["@date-fns/tz@1.4.1", "", {}, "sha512-P5LUNhtbj6YfI3iJjw5EL9eUAG6OitD0W3fWQcpQjDRc/QIsL0tRNuO1PcDvPccWL1fSTXXdE1ds+l95DV/OFA=="],
37
37
 
@@ -17,7 +17,7 @@
17
17
  "check": "bun run typecheck && bun run test:run"
18
18
  },
19
19
  "dependencies": {
20
- "@cimplify/sdk": "^0.49.1",
20
+ "@cimplify/sdk": "^0.49.2",
21
21
  "next": "^16.2.6",
22
22
  "react": "^19.0.0",
23
23
  "react-dom": "^19.0.0"