@cimplify/cli 0.7.17 → 0.7.19

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 (36) hide show
  1. package/dist/{add-VSGQEUDS.mjs → add-NGRXXN3X.mjs} +1 -1
  2. package/dist/{chunk-OJRMBHMT.mjs → chunk-DAEUJO35.mjs} +1 -1
  3. package/dist/{chunk-NIDPHJ45.mjs → chunk-HOOY5QBI.mjs} +2 -2
  4. package/dist/{chunk-XKO2EB5J.mjs → chunk-VG6K7O6Q.mjs} +18 -18
  5. package/dist/dispatcher.mjs +11 -11
  6. package/dist/{doctor-AMR3MFFS.mjs → doctor-JOC3TBGJ.mjs} +2 -2
  7. package/dist/{explain-6LYQ2OL4.mjs → explain-P5WRAUZ6.mjs} +7 -7
  8. package/dist/{introspect-HWOZIVET.mjs → introspect-VUTR3NSR.mjs} +2 -2
  9. package/dist/{list-WC7JWDCJ.mjs → list-KLDTK2H3.mjs} +1 -1
  10. package/dist/{projects-JSEC2YCX.mjs → projects-QSUWVTJZ.mjs} +27 -4
  11. package/dist/{update-6LL5PQEQ.mjs → update-MDBLCCQ2.mjs} +1 -1
  12. package/package.json +2 -2
  13. package/templates/storefront-auto/app/layout.tsx +11 -2
  14. package/templates/storefront-auto/components/providers.tsx +17 -3
  15. package/templates/storefront-auto/package.json +1 -1
  16. package/templates/storefront-bakery/app/layout.tsx +11 -2
  17. package/templates/storefront-bakery/components/providers.tsx +17 -3
  18. package/templates/storefront-bakery/package.json +1 -1
  19. package/templates/storefront-fashion/app/layout.tsx +11 -2
  20. package/templates/storefront-fashion/components/providers.tsx +17 -3
  21. package/templates/storefront-fashion/package.json +1 -1
  22. package/templates/storefront-grocery/app/layout.tsx +11 -2
  23. package/templates/storefront-grocery/components/providers.tsx +17 -3
  24. package/templates/storefront-grocery/package.json +1 -1
  25. package/templates/storefront-pharmacy/app/layout.tsx +11 -2
  26. package/templates/storefront-pharmacy/components/providers.tsx +17 -3
  27. package/templates/storefront-pharmacy/package.json +1 -1
  28. package/templates/storefront-restaurant/app/layout.tsx +11 -2
  29. package/templates/storefront-restaurant/components/providers.tsx +17 -3
  30. package/templates/storefront-restaurant/package.json +1 -1
  31. package/templates/storefront-retail/app/layout.tsx +11 -2
  32. package/templates/storefront-retail/components/providers.tsx +17 -3
  33. package/templates/storefront-retail/package.json +1 -1
  34. package/templates/storefront-services/app/layout.tsx +11 -2
  35. package/templates/storefront-services/components/providers.tsx +17 -3
  36. package/templates/storefront-services/package.json +1 -1
@@ -1,13 +1,23 @@
1
1
  "use client";
2
2
 
3
3
  import { useMemo, type ReactNode } from "react";
4
- import { createCimplifyClient } from "@cimplify/sdk";
4
+ import { createCimplifyClient, type Business, type Location } from "@cimplify/sdk";
5
5
  import { CimplifyProvider, CartDrawerProvider } from "@cimplify/sdk/react";
6
6
  import { AuthErrorToast } from "@/components/auth-error-toast";
7
7
 
8
8
  // Same-origin client — every request goes through the Next.js rewrite in
9
9
  // next.config.ts, so no CORS preflight ever hits the browser.
10
- export function Providers({ children }: { children: ReactNode }) {
10
+ export function Providers({
11
+ children,
12
+ initialBusiness,
13
+ initialLocations,
14
+ }: {
15
+ children: ReactNode;
16
+ // Server-fetched in app/layout.tsx so prices render in the right currency
17
+ // during SSR (no default-currency flash before the client bootstrap).
18
+ initialBusiness?: Business | null;
19
+ initialLocations?: Location[];
20
+ }) {
11
21
  const client = useMemo(() => {
12
22
  const baseUrl =
13
23
  typeof window !== "undefined" ? window.location.origin : "http://127.0.0.1:8787";
@@ -20,7 +30,11 @@ export function Providers({ children }: { children: ReactNode }) {
20
30
  }, []);
21
31
 
22
32
  return (
23
- <CimplifyProvider client={client}>
33
+ <CimplifyProvider
34
+ client={client}
35
+ initialBusiness={initialBusiness}
36
+ initialLocations={initialLocations}
37
+ >
24
38
  <CartDrawerProvider>
25
39
  {children}
26
40
  <AuthErrorToast />
@@ -19,7 +19,7 @@
19
19
  "check": "bun run typecheck && bun run test:run"
20
20
  },
21
21
  "dependencies": {
22
- "@cimplify/sdk": "^0.70.3",
22
+ "@cimplify/sdk": "^0.78.0",
23
23
  "next": "^16.2.6",
24
24
  "react": "^19.0.0",
25
25
  "react-dom": "^19.0.0"
@@ -2,6 +2,7 @@ import type { Metadata } from "next";
2
2
  import { Inter } from "next/font/google";
3
3
  import "./globals.css";
4
4
  import { Providers } from "@/components/providers";
5
+ import { getServerClient, tags } from "@cimplify/sdk/server";
5
6
  import { Header } from "@/components/header";
6
7
  import { Footer } from "@/components/footer";
7
8
  import { ProductModal } from "@/components/product-modal";
@@ -35,7 +36,15 @@ export async function generateMetadata(): Promise<Metadata> {
35
36
  };
36
37
  }
37
38
 
38
- export default function RootLayout({ children }: { children: React.ReactNode }) {
39
+ export default async function RootLayout({ children }: { children: React.ReactNode }) {
40
+ const server = getServerClient();
41
+ const [bizResult, locResult] = await Promise.all([
42
+ server.business.getInfo({ cacheOptions: { revalidate: 3600, tags: [tags.business()] } }),
43
+ server.business.getLocations({ cacheOptions: { revalidate: 3600, tags: [tags.locations()] } }),
44
+ ]);
45
+ const initialBusiness = bizResult.ok ? bizResult.value : null;
46
+ const initialLocations = locResult.ok ? locResult.value : [];
47
+
39
48
  return (
40
49
  <html lang="en" suppressHydrationWarning className={inter.variable}>
41
50
  <body
@@ -45,7 +54,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
45
54
  <Suspense fallback={null}>
46
55
  <OrganizationJsonLd />
47
56
  </Suspense>
48
- <Providers>
57
+ <Providers initialBusiness={initialBusiness} initialLocations={initialLocations}>
49
58
  <Header />
50
59
  <main className="flex-1 pb-12 w-full">
51
60
  <Suspense fallback={null}>{children}</Suspense>
@@ -1,13 +1,23 @@
1
1
  "use client";
2
2
 
3
3
  import { useMemo, type ReactNode } from "react";
4
- import { createCimplifyClient } from "@cimplify/sdk";
4
+ import { createCimplifyClient, type Business, type Location } from "@cimplify/sdk";
5
5
  import { CimplifyProvider, CartDrawerProvider } from "@cimplify/sdk/react";
6
6
  import { AuthErrorToast } from "@/components/auth-error-toast";
7
7
 
8
8
  // Same-origin client — every request goes through the Next.js rewrite in
9
9
  // next.config.ts, so no CORS preflight ever hits the browser.
10
- export function Providers({ children }: { children: ReactNode }) {
10
+ export function Providers({
11
+ children,
12
+ initialBusiness,
13
+ initialLocations,
14
+ }: {
15
+ children: ReactNode;
16
+ // Server-fetched in app/layout.tsx so prices render in the right currency
17
+ // during SSR (no default-currency flash before the client bootstrap).
18
+ initialBusiness?: Business | null;
19
+ initialLocations?: Location[];
20
+ }) {
11
21
  const client = useMemo(() => {
12
22
  const baseUrl =
13
23
  typeof window !== "undefined" ? window.location.origin : "http://127.0.0.1:8787";
@@ -20,7 +30,11 @@ export function Providers({ children }: { children: ReactNode }) {
20
30
  }, []);
21
31
 
22
32
  return (
23
- <CimplifyProvider client={client}>
33
+ <CimplifyProvider
34
+ client={client}
35
+ initialBusiness={initialBusiness}
36
+ initialLocations={initialLocations}
37
+ >
24
38
  <CartDrawerProvider>
25
39
  {children}
26
40
  <AuthErrorToast />
@@ -17,7 +17,7 @@
17
17
  "check": "bun run typecheck && bun run test:run"
18
18
  },
19
19
  "dependencies": {
20
- "@cimplify/sdk": "^0.70.3",
20
+ "@cimplify/sdk": "^0.78.0",
21
21
  "next": "^16.2.6",
22
22
  "react": "^19.0.0",
23
23
  "react-dom": "^19.0.0"
@@ -2,6 +2,7 @@ import type { Metadata } from "next";
2
2
  import { Inter, JetBrains_Mono } from "next/font/google";
3
3
  import "./globals.css";
4
4
  import { Providers } from "@/components/providers";
5
+ import { getServerClient, tags } from "@cimplify/sdk/server";
5
6
  import { Header } from "@/components/header";
6
7
  import { Footer } from "@/components/footer";
7
8
  import { ProductModal } from "@/components/product-modal";
@@ -41,7 +42,15 @@ export async function generateMetadata(): Promise<Metadata> {
41
42
  };
42
43
  }
43
44
 
44
- export default function RootLayout({ children }: { children: React.ReactNode }) {
45
+ export default async function RootLayout({ children }: { children: React.ReactNode }) {
46
+ const server = getServerClient();
47
+ const [bizResult, locResult] = await Promise.all([
48
+ server.business.getInfo({ cacheOptions: { revalidate: 3600, tags: [tags.business()] } }),
49
+ server.business.getLocations({ cacheOptions: { revalidate: 3600, tags: [tags.locations()] } }),
50
+ ]);
51
+ const initialBusiness = bizResult.ok ? bizResult.value : null;
52
+ const initialLocations = locResult.ok ? locResult.value : [];
53
+
45
54
  return (
46
55
  <html lang="en" suppressHydrationWarning className={`${inter.variable} ${mono.variable}`}>
47
56
  <body
@@ -51,7 +60,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
51
60
  <Suspense fallback={null}>
52
61
  <OrganizationJsonLd />
53
62
  </Suspense>
54
- <Providers>
63
+ <Providers initialBusiness={initialBusiness} initialLocations={initialLocations}>
55
64
  <Header />
56
65
  <main className="flex-1 pb-12 w-full">
57
66
  <Suspense fallback={null}>{children}</Suspense>
@@ -1,13 +1,23 @@
1
1
  "use client";
2
2
 
3
3
  import { useMemo, type ReactNode } from "react";
4
- import { createCimplifyClient } from "@cimplify/sdk";
4
+ import { createCimplifyClient, type Business, type Location } from "@cimplify/sdk";
5
5
  import { CimplifyProvider, CartDrawerProvider } from "@cimplify/sdk/react";
6
6
  import { AuthErrorToast } from "@/components/auth-error-toast";
7
7
 
8
8
  // Same-origin client — every request goes through the Next.js rewrite in
9
9
  // next.config.ts, so no CORS preflight ever hits the browser.
10
- export function Providers({ children }: { children: ReactNode }) {
10
+ export function Providers({
11
+ children,
12
+ initialBusiness,
13
+ initialLocations,
14
+ }: {
15
+ children: ReactNode;
16
+ // Server-fetched in app/layout.tsx so prices render in the right currency
17
+ // during SSR (no default-currency flash before the client bootstrap).
18
+ initialBusiness?: Business | null;
19
+ initialLocations?: Location[];
20
+ }) {
11
21
  const client = useMemo(() => {
12
22
  const baseUrl =
13
23
  typeof window !== "undefined" ? window.location.origin : "http://127.0.0.1:8787";
@@ -20,7 +30,11 @@ export function Providers({ children }: { children: ReactNode }) {
20
30
  }, []);
21
31
 
22
32
  return (
23
- <CimplifyProvider client={client}>
33
+ <CimplifyProvider
34
+ client={client}
35
+ initialBusiness={initialBusiness}
36
+ initialLocations={initialLocations}
37
+ >
24
38
  <CartDrawerProvider>
25
39
  {children}
26
40
  <AuthErrorToast />
@@ -17,7 +17,7 @@
17
17
  "check": "bun run typecheck && bun run test:run"
18
18
  },
19
19
  "dependencies": {
20
- "@cimplify/sdk": "^0.70.3",
20
+ "@cimplify/sdk": "^0.78.0",
21
21
  "next": "^16.2.6",
22
22
  "react": "^19.0.0",
23
23
  "react-dom": "^19.0.0"
@@ -2,6 +2,7 @@ import type { Metadata } from "next";
2
2
  import { Inter, Lora } from "next/font/google";
3
3
  import "./globals.css";
4
4
  import { Providers } from "@/components/providers";
5
+ import { getServerClient, tags } from "@cimplify/sdk/server";
5
6
  import { Header } from "@/components/header";
6
7
  import { Footer } from "@/components/footer";
7
8
  import { ProductModal } from "@/components/product-modal";
@@ -41,7 +42,15 @@ export async function generateMetadata(): Promise<Metadata> {
41
42
  };
42
43
  }
43
44
 
44
- export default function RootLayout({ children }: { children: React.ReactNode }) {
45
+ export default async function RootLayout({ children }: { children: React.ReactNode }) {
46
+ const server = getServerClient();
47
+ const [bizResult, locResult] = await Promise.all([
48
+ server.business.getInfo({ cacheOptions: { revalidate: 3600, tags: [tags.business()] } }),
49
+ server.business.getLocations({ cacheOptions: { revalidate: 3600, tags: [tags.locations()] } }),
50
+ ]);
51
+ const initialBusiness = bizResult.ok ? bizResult.value : null;
52
+ const initialLocations = locResult.ok ? locResult.value : [];
53
+
45
54
  return (
46
55
  <html lang="en" suppressHydrationWarning className={`${inter.variable} ${lora.variable}`}>
47
56
  <body
@@ -51,7 +60,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
51
60
  <Suspense fallback={null}>
52
61
  <OrganizationJsonLd />
53
62
  </Suspense>
54
- <Providers>
63
+ <Providers initialBusiness={initialBusiness} initialLocations={initialLocations}>
55
64
  <Header />
56
65
  <main className="flex-1 pb-12 w-full">
57
66
  <Suspense fallback={null}>{children}</Suspense>
@@ -1,13 +1,23 @@
1
1
  "use client";
2
2
 
3
3
  import { useMemo, type ReactNode } from "react";
4
- import { createCimplifyClient } from "@cimplify/sdk";
4
+ import { createCimplifyClient, type Business, type Location } from "@cimplify/sdk";
5
5
  import { CimplifyProvider, CartDrawerProvider } from "@cimplify/sdk/react";
6
6
  import { AuthErrorToast } from "@/components/auth-error-toast";
7
7
 
8
8
  // Same-origin client — every request goes through the Next.js rewrite in
9
9
  // next.config.ts, so no CORS preflight ever hits the browser.
10
- export function Providers({ children }: { children: ReactNode }) {
10
+ export function Providers({
11
+ children,
12
+ initialBusiness,
13
+ initialLocations,
14
+ }: {
15
+ children: ReactNode;
16
+ // Server-fetched in app/layout.tsx so prices render in the right currency
17
+ // during SSR (no default-currency flash before the client bootstrap).
18
+ initialBusiness?: Business | null;
19
+ initialLocations?: Location[];
20
+ }) {
11
21
  const client = useMemo(() => {
12
22
  const baseUrl =
13
23
  typeof window !== "undefined" ? window.location.origin : "http://127.0.0.1:8787";
@@ -20,7 +30,11 @@ export function Providers({ children }: { children: ReactNode }) {
20
30
  }, []);
21
31
 
22
32
  return (
23
- <CimplifyProvider client={client}>
33
+ <CimplifyProvider
34
+ client={client}
35
+ initialBusiness={initialBusiness}
36
+ initialLocations={initialLocations}
37
+ >
24
38
  <CartDrawerProvider>
25
39
  {children}
26
40
  <AuthErrorToast />
@@ -17,7 +17,7 @@
17
17
  "check": "bun run typecheck && bun run test:run"
18
18
  },
19
19
  "dependencies": {
20
- "@cimplify/sdk": "^0.70.3",
20
+ "@cimplify/sdk": "^0.78.0",
21
21
  "next": "^16.2.6",
22
22
  "react": "^19.0.0",
23
23
  "react-dom": "^19.0.0"
@@ -2,6 +2,7 @@ import type { Metadata } from "next";
2
2
  import { Inter, JetBrains_Mono } from "next/font/google";
3
3
  import "./globals.css";
4
4
  import { Providers } from "@/components/providers";
5
+ import { getServerClient, tags } from "@cimplify/sdk/server";
5
6
  import { Header } from "@/components/header";
6
7
  import { Footer } from "@/components/footer";
7
8
  import { ProductModal } from "@/components/product-modal";
@@ -41,7 +42,15 @@ export async function generateMetadata(): Promise<Metadata> {
41
42
  };
42
43
  }
43
44
 
44
- export default function RootLayout({ children }: { children: React.ReactNode }) {
45
+ export default async function RootLayout({ children }: { children: React.ReactNode }) {
46
+ const server = getServerClient();
47
+ const [bizResult, locResult] = await Promise.all([
48
+ server.business.getInfo({ cacheOptions: { revalidate: 3600, tags: [tags.business()] } }),
49
+ server.business.getLocations({ cacheOptions: { revalidate: 3600, tags: [tags.locations()] } }),
50
+ ]);
51
+ const initialBusiness = bizResult.ok ? bizResult.value : null;
52
+ const initialLocations = locResult.ok ? locResult.value : [];
53
+
45
54
  return (
46
55
  <html lang="en" suppressHydrationWarning className={`${inter.variable} ${mono.variable}`}>
47
56
  <body
@@ -51,7 +60,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
51
60
  <Suspense fallback={null}>
52
61
  <OrganizationJsonLd />
53
62
  </Suspense>
54
- <Providers>
63
+ <Providers initialBusiness={initialBusiness} initialLocations={initialLocations}>
55
64
  <Header />
56
65
  <main className="flex-1 pb-12 w-full">
57
66
  <Suspense fallback={null}>{children}</Suspense>
@@ -1,13 +1,23 @@
1
1
  "use client";
2
2
 
3
3
  import { useMemo, type ReactNode } from "react";
4
- import { createCimplifyClient } from "@cimplify/sdk";
4
+ import { createCimplifyClient, type Business, type Location } from "@cimplify/sdk";
5
5
  import { CimplifyProvider, CartDrawerProvider } from "@cimplify/sdk/react";
6
6
  import { AuthErrorToast } from "@/components/auth-error-toast";
7
7
 
8
8
  // Same-origin client — every request goes through the Next.js rewrite in
9
9
  // next.config.ts, so no CORS preflight ever hits the browser.
10
- export function Providers({ children }: { children: ReactNode }) {
10
+ export function Providers({
11
+ children,
12
+ initialBusiness,
13
+ initialLocations,
14
+ }: {
15
+ children: ReactNode;
16
+ // Server-fetched in app/layout.tsx so prices render in the right currency
17
+ // during SSR (no default-currency flash before the client bootstrap).
18
+ initialBusiness?: Business | null;
19
+ initialLocations?: Location[];
20
+ }) {
11
21
  const client = useMemo(() => {
12
22
  const baseUrl =
13
23
  typeof window !== "undefined" ? window.location.origin : "http://127.0.0.1:8787";
@@ -20,7 +30,11 @@ export function Providers({ children }: { children: ReactNode }) {
20
30
  }, []);
21
31
 
22
32
  return (
23
- <CimplifyProvider client={client}>
33
+ <CimplifyProvider
34
+ client={client}
35
+ initialBusiness={initialBusiness}
36
+ initialLocations={initialLocations}
37
+ >
24
38
  <CartDrawerProvider>
25
39
  {children}
26
40
  <AuthErrorToast />
@@ -17,7 +17,7 @@
17
17
  "check": "bun run typecheck && bun run test:run"
18
18
  },
19
19
  "dependencies": {
20
- "@cimplify/sdk": "^0.70.3",
20
+ "@cimplify/sdk": "^0.78.0",
21
21
  "next": "^16.2.6",
22
22
  "react": "^19.0.0",
23
23
  "react-dom": "^19.0.0"
@@ -2,6 +2,7 @@ import type { Metadata } from "next";
2
2
  import { Inter, Fraunces } from "next/font/google";
3
3
  import "./globals.css";
4
4
  import { Providers } from "@/components/providers";
5
+ import { getServerClient, tags } from "@cimplify/sdk/server";
5
6
  import { Header } from "@/components/header";
6
7
  import { Footer } from "@/components/footer";
7
8
  import { ProductModal } from "@/components/product-modal";
@@ -41,7 +42,15 @@ export async function generateMetadata(): Promise<Metadata> {
41
42
  };
42
43
  }
43
44
 
44
- export default function RootLayout({ children }: { children: React.ReactNode }) {
45
+ export default async function RootLayout({ children }: { children: React.ReactNode }) {
46
+ const server = getServerClient();
47
+ const [bizResult, locResult] = await Promise.all([
48
+ server.business.getInfo({ cacheOptions: { revalidate: 3600, tags: [tags.business()] } }),
49
+ server.business.getLocations({ cacheOptions: { revalidate: 3600, tags: [tags.locations()] } }),
50
+ ]);
51
+ const initialBusiness = bizResult.ok ? bizResult.value : null;
52
+ const initialLocations = locResult.ok ? locResult.value : [];
53
+
45
54
  return (
46
55
  <html lang="en" suppressHydrationWarning className={`${inter.variable} ${fraunces.variable}`}>
47
56
  <body
@@ -51,7 +60,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
51
60
  <Suspense fallback={null}>
52
61
  <OrganizationJsonLd />
53
62
  </Suspense>
54
- <Providers>
63
+ <Providers initialBusiness={initialBusiness} initialLocations={initialLocations}>
55
64
  <Header />
56
65
  <main className="flex-1 pb-12 w-full">
57
66
  <Suspense fallback={null}>{children}</Suspense>
@@ -1,13 +1,23 @@
1
1
  "use client";
2
2
 
3
3
  import { useMemo, type ReactNode } from "react";
4
- import { createCimplifyClient } from "@cimplify/sdk";
4
+ import { createCimplifyClient, type Business, type Location } from "@cimplify/sdk";
5
5
  import { CimplifyProvider, CartDrawerProvider } from "@cimplify/sdk/react";
6
6
  import { AuthErrorToast } from "@/components/auth-error-toast";
7
7
 
8
8
  // Same-origin client — every request goes through the Next.js rewrite in
9
9
  // next.config.ts, so no CORS preflight ever hits the browser.
10
- export function Providers({ children }: { children: ReactNode }) {
10
+ export function Providers({
11
+ children,
12
+ initialBusiness,
13
+ initialLocations,
14
+ }: {
15
+ children: ReactNode;
16
+ // Server-fetched in app/layout.tsx so prices render in the right currency
17
+ // during SSR (no default-currency flash before the client bootstrap).
18
+ initialBusiness?: Business | null;
19
+ initialLocations?: Location[];
20
+ }) {
11
21
  const client = useMemo(() => {
12
22
  const baseUrl =
13
23
  typeof window !== "undefined" ? window.location.origin : "http://127.0.0.1:8787";
@@ -20,7 +30,11 @@ export function Providers({ children }: { children: ReactNode }) {
20
30
  }, []);
21
31
 
22
32
  return (
23
- <CimplifyProvider client={client}>
33
+ <CimplifyProvider
34
+ client={client}
35
+ initialBusiness={initialBusiness}
36
+ initialLocations={initialLocations}
37
+ >
24
38
  <CartDrawerProvider>
25
39
  {children}
26
40
  <AuthErrorToast />
@@ -17,7 +17,7 @@
17
17
  "check": "bun run typecheck && bun run test:run"
18
18
  },
19
19
  "dependencies": {
20
- "@cimplify/sdk": "^0.70.3",
20
+ "@cimplify/sdk": "^0.78.0",
21
21
  "next": "^16.2.6",
22
22
  "react": "^19.0.0",
23
23
  "react-dom": "^19.0.0"