@shopify/cli 3.77.0 → 3.77.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.
- package/dist/assets/hydrogen/bundle/analyzer.html +21 -17
- package/dist/assets/hydrogen/starter/CHANGELOG.md +116 -36
- package/dist/assets/hydrogen/starter/app/layout.tsx +46 -0
- package/dist/assets/hydrogen/starter/app/root.tsx +1 -42
- package/dist/assets/hydrogen/starter/app/routes/search.tsx +4 -3
- package/dist/assets/hydrogen/starter/app/routes.ts +7 -0
- package/dist/assets/hydrogen/starter/package.json +17 -15
- package/dist/assets/hydrogen/starter/tsconfig.json +1 -1
- package/dist/assets/hydrogen/starter/vite.config.ts +2 -1
- package/dist/assets/hydrogen/tailwind/package.json +1 -1
- package/dist/assets/hydrogen/vanilla-extract/package.json +2 -2
- package/dist/assets/hydrogen/virtual-routes/assets/debug-network.css +27 -10
- package/dist/assets/hydrogen/virtual-routes/assets/styles.css +13 -2
- package/dist/assets/hydrogen/virtual-routes/layout.jsx +39 -0
- package/dist/assets/hydrogen/virtual-routes/virtual-root-with-layout.jsx +63 -0
- package/dist/assets/hydrogen/virtual-routes/virtual-root.jsx +10 -8
- package/dist/assets/hydrogen/vite/package.json +1 -1
- package/dist/assets/hydrogen/vite/vite.config.js +1 -0
- package/dist/{chunk-RWT677FV.js → chunk-3LPRAP3C.js} +4 -4
- package/dist/{chunk-7IKFEU6I.js → chunk-4QUBSR5N.js} +2 -2
- package/dist/{chunk-YL7TDFFA.js → chunk-5Y3LMFTE.js} +3 -3
- package/dist/{chunk-ZVNHCLRN.js → chunk-7N6KTS5H.js} +3 -3
- package/dist/{chunk-IX7XAR6F.js → chunk-7TDJWEEF.js} +4 -4
- package/dist/{chunk-J3C7BGUW.js → chunk-7Z57GKMD.js} +2 -2
- package/dist/{chunk-6ZKE2WPK.js → chunk-CYZVSCKE.js} +2 -2
- package/dist/{chunk-AW7SZYGV.js → chunk-DE23IXCV.js} +6 -6
- package/dist/{chunk-WN6OLVLP.js → chunk-DXETR7HO.js} +4 -4
- package/dist/{chunk-MYIEKIZR.js → chunk-F7YDVUG6.js} +2 -2
- package/dist/{chunk-QVZW3IVL.js → chunk-FGOKII2H.js} +6 -6
- package/dist/{chunk-U7E5RRYF.js → chunk-G2Z2JNWZ.js} +3 -3
- package/dist/{chunk-3ARIMAIR.js → chunk-HL6ZWA6P.js} +3 -3
- package/dist/{chunk-AUBRXAVZ.js → chunk-IDLVFDLS.js} +3 -3
- package/dist/{chunk-RA5UDHSI.js → chunk-J2TFYL5Z.js} +3 -3
- package/dist/{chunk-VTEM2QWG.js → chunk-JA44NPON.js} +3 -3
- package/dist/{chunk-NZVJ77WD.js → chunk-KMLSEENO.js} +3 -3
- package/dist/{chunk-AZ33PIX2.js → chunk-KRRCKFNF.js} +7 -7
- package/dist/{chunk-O5U2T7LH.js → chunk-LGVMVIUY.js} +3 -3
- package/dist/{chunk-LLYJXSNC.js → chunk-MJ5E3G6Z.js} +3 -3
- package/dist/{chunk-CBLCYLJO.js → chunk-NKPXKN63.js} +2 -2
- package/dist/{chunk-NHMQOM7T.js → chunk-NMVJRPWT.js} +2 -2
- package/dist/{chunk-YXR557PE.js → chunk-ODZP3BOI.js} +3 -3
- package/dist/{chunk-FJAIUBHO.js → chunk-OZYTPWJS.js} +6 -6
- package/dist/{chunk-4BPRKRYD.js → chunk-PFXZ73LI.js} +4 -4
- package/dist/{chunk-74V7KQLD.js → chunk-RXPX6QL6.js} +4 -4
- package/dist/{chunk-ACSVNEID.js → chunk-THDGA4UF.js} +5 -5
- package/dist/{chunk-GPICPOCE.js → chunk-TIMSXB7V.js} +3 -3
- package/dist/{chunk-SO33Y5TT.js → chunk-V24VKC54.js} +3 -3
- package/dist/{chunk-DHO2PUCK.js → chunk-V2EXSXIB.js} +2 -2
- package/dist/{chunk-S3PY2ULH.js → chunk-Y7SMROY2.js} +4 -4
- package/dist/{chunk-V5G4FJZH.js → chunk-YKGXAR4K.js} +263 -238
- package/dist/{chunk-PHWPEUZI.js → chunk-YUFBJAT6.js} +2 -2
- package/dist/{chunk-5ZMRZCPZ.js → chunk-YW77LWOY.js} +3 -3
- package/dist/{chunk-ZKUNCSWD.js → chunk-ZPXCGFEZ.js} +4 -4
- package/dist/cli/commands/auth/logout.js +11 -11
- package/dist/cli/commands/auth/logout.test.js +12 -12
- package/dist/cli/commands/cache/clear.js +10 -10
- package/dist/cli/commands/debug/command-flags.js +10 -10
- package/dist/cli/commands/docs/generate.js +10 -10
- package/dist/cli/commands/docs/generate.test.js +10 -10
- package/dist/cli/commands/help.js +10 -10
- package/dist/cli/commands/kitchen-sink/async.js +11 -11
- package/dist/cli/commands/kitchen-sink/async.test.js +11 -11
- package/dist/cli/commands/kitchen-sink/index.js +13 -13
- package/dist/cli/commands/kitchen-sink/index.test.js +13 -13
- package/dist/cli/commands/kitchen-sink/prompts.js +11 -11
- package/dist/cli/commands/kitchen-sink/prompts.test.js +11 -11
- package/dist/cli/commands/kitchen-sink/static.js +11 -11
- package/dist/cli/commands/kitchen-sink/static.test.js +11 -11
- package/dist/cli/commands/notifications/generate.js +11 -11
- package/dist/cli/commands/notifications/list.js +11 -11
- package/dist/cli/commands/search.js +11 -11
- package/dist/cli/commands/upgrade.js +11 -11
- package/dist/cli/commands/version.js +11 -11
- package/dist/cli/commands/version.test.js +11 -11
- package/dist/cli/services/commands/notifications.js +6 -6
- package/dist/cli/services/commands/search.js +2 -2
- package/dist/cli/services/commands/search.test.js +2 -2
- package/dist/cli/services/commands/version.js +3 -3
- package/dist/cli/services/commands/version.test.js +4 -4
- package/dist/cli/services/kitchen-sink/async.js +2 -2
- package/dist/cli/services/kitchen-sink/prompts.js +2 -2
- package/dist/cli/services/kitchen-sink/static.js +2 -2
- package/dist/cli/services/upgrade.js +3 -3
- package/dist/cli/services/upgrade.test.js +4 -4
- package/dist/{custom-oclif-loader-TE6EUPGI.js → custom-oclif-loader-OE7KHHEX.js} +2 -2
- package/dist/{error-handler-WC4XSLZQ.js → error-handler-CLK6ULQD.js} +8 -8
- package/dist/hooks/postrun.js +6 -6
- package/dist/hooks/prerun.js +7 -7
- package/dist/index.js +1372 -176
- package/dist/{local-7Q5JCU62.js → local-YA7BWRS4.js} +2 -2
- package/dist/{morph-WRZ7XCTF.js → morph-UGAQHTEA.js} +9 -9
- package/dist/{node-MNEYEH5U.js → node-66AIONQH.js} +14 -14
- package/dist/{node-package-manager-3SFTB3BW.js → node-package-manager-BD2U7LUE.js} +3 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-NMP2SY3G.js → ui-UIXIY6XH.js} +2 -2
- package/dist/{workerd-NN737W52.js → workerd-VYNSPDCR.js} +13 -13
- package/oclif.manifest.json +1 -1
- package/package.json +7 -7
|
@@ -40,8 +40,19 @@ body {
|
|
|
40
40
|
padding: 0;
|
|
41
41
|
margin: 0;
|
|
42
42
|
background: #fff;
|
|
43
|
-
font-family:
|
|
44
|
-
|
|
43
|
+
font-family:
|
|
44
|
+
'Inter',
|
|
45
|
+
system-ui,
|
|
46
|
+
-apple-system,
|
|
47
|
+
BlinkMacSystemFont,
|
|
48
|
+
'Segoe UI',
|
|
49
|
+
Roboto,
|
|
50
|
+
Oxygen,
|
|
51
|
+
Ubuntu,
|
|
52
|
+
Cantarell,
|
|
53
|
+
'Open Sans',
|
|
54
|
+
'Helvetica Neue',
|
|
55
|
+
sans-serif;
|
|
45
56
|
-webkit-font-smoothing: antialiased;
|
|
46
57
|
min-height: 100vh;
|
|
47
58
|
display: flex;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useNonce } from "@shopify/hydrogen";
|
|
3
|
+
import {
|
|
4
|
+
Links,
|
|
5
|
+
Meta,
|
|
6
|
+
Outlet,
|
|
7
|
+
Scripts,
|
|
8
|
+
ScrollRestoration
|
|
9
|
+
} from "@remix-run/react";
|
|
10
|
+
import { Layout as VirtualLayout } from "./components/Layout.jsx";
|
|
11
|
+
import styles from "./assets/styles.css?url";
|
|
12
|
+
function Layout() {
|
|
13
|
+
const nonce = useNonce();
|
|
14
|
+
return /* @__PURE__ */ jsxs("html", { lang: "en", children: [
|
|
15
|
+
/* @__PURE__ */ jsxs("head", { children: [
|
|
16
|
+
/* @__PURE__ */ jsx("meta", { charSet: "utf-8" }),
|
|
17
|
+
/* @__PURE__ */ jsx("meta", { name: "viewport", content: "width=device-width,initial-scale=1" }),
|
|
18
|
+
/* @__PURE__ */ jsx("link", { rel: "stylesheet", href: styles }),
|
|
19
|
+
/* @__PURE__ */ jsx("title", { children: "Hydrogen" }),
|
|
20
|
+
/* @__PURE__ */ jsx(
|
|
21
|
+
"meta",
|
|
22
|
+
{
|
|
23
|
+
name: "description",
|
|
24
|
+
content: "A custom storefront powered by Hydrogen"
|
|
25
|
+
}
|
|
26
|
+
),
|
|
27
|
+
/* @__PURE__ */ jsx(Meta, {}),
|
|
28
|
+
/* @__PURE__ */ jsx(Links, {})
|
|
29
|
+
] }),
|
|
30
|
+
/* @__PURE__ */ jsxs("body", { children: [
|
|
31
|
+
/* @__PURE__ */ jsx(VirtualLayout, { children: /* @__PURE__ */ jsx(Outlet, {}) }),
|
|
32
|
+
/* @__PURE__ */ jsx(ScrollRestoration, { nonce }),
|
|
33
|
+
/* @__PURE__ */ jsx(Scripts, { nonce })
|
|
34
|
+
] })
|
|
35
|
+
] });
|
|
36
|
+
}
|
|
37
|
+
export {
|
|
38
|
+
Layout as default
|
|
39
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import {
|
|
3
|
+
Links,
|
|
4
|
+
Meta,
|
|
5
|
+
Outlet,
|
|
6
|
+
Scripts,
|
|
7
|
+
ScrollRestoration,
|
|
8
|
+
isRouteErrorResponse,
|
|
9
|
+
useRouteError
|
|
10
|
+
} from "@remix-run/react";
|
|
11
|
+
import favicon from "./assets/favicon.svg";
|
|
12
|
+
import { Layout as VirtualLayout } from "./components/Layout.jsx";
|
|
13
|
+
import { useNonce } from "@shopify/hydrogen";
|
|
14
|
+
import styles from "./assets/styles.css?url";
|
|
15
|
+
const links = () => {
|
|
16
|
+
return [{ rel: "icon", type: "image/svg+xml", href: favicon }];
|
|
17
|
+
};
|
|
18
|
+
function App() {
|
|
19
|
+
const nonce = useNonce();
|
|
20
|
+
return /* @__PURE__ */ jsxs("html", { lang: "en", children: [
|
|
21
|
+
/* @__PURE__ */ jsxs("head", { children: [
|
|
22
|
+
/* @__PURE__ */ jsx("meta", { charSet: "utf-8" }),
|
|
23
|
+
/* @__PURE__ */ jsx("meta", { name: "viewport", content: "width=device-width,initial-scale=1" }),
|
|
24
|
+
/* @__PURE__ */ jsx("link", { rel: "stylesheet", href: styles }),
|
|
25
|
+
/* @__PURE__ */ jsx("title", { children: "Hydrogen" }),
|
|
26
|
+
/* @__PURE__ */ jsx(
|
|
27
|
+
"meta",
|
|
28
|
+
{
|
|
29
|
+
name: "description",
|
|
30
|
+
content: "A custom storefront powered by Hydrogen"
|
|
31
|
+
}
|
|
32
|
+
),
|
|
33
|
+
/* @__PURE__ */ jsx(Meta, {}),
|
|
34
|
+
/* @__PURE__ */ jsx(Links, {})
|
|
35
|
+
] }),
|
|
36
|
+
/* @__PURE__ */ jsxs("body", { children: [
|
|
37
|
+
/* @__PURE__ */ jsx(VirtualLayout, { children: /* @__PURE__ */ jsx(Outlet, {}) }),
|
|
38
|
+
/* @__PURE__ */ jsx(ScrollRestoration, { nonce }),
|
|
39
|
+
/* @__PURE__ */ jsx(Scripts, { nonce })
|
|
40
|
+
] })
|
|
41
|
+
] });
|
|
42
|
+
}
|
|
43
|
+
function ErrorBoundary() {
|
|
44
|
+
const error = useRouteError();
|
|
45
|
+
let errorMessage = "Unknown error";
|
|
46
|
+
let errorStatus = 500;
|
|
47
|
+
if (isRouteErrorResponse(error)) {
|
|
48
|
+
errorMessage = error?.data?.message ?? error.data;
|
|
49
|
+
errorStatus = error.status;
|
|
50
|
+
} else if (error instanceof Error) {
|
|
51
|
+
errorMessage = error.message;
|
|
52
|
+
}
|
|
53
|
+
return /* @__PURE__ */ jsx(VirtualLayout, { children: /* @__PURE__ */ jsxs("div", { className: "route-error", children: [
|
|
54
|
+
/* @__PURE__ */ jsx("h1", { children: "Please report this error" }),
|
|
55
|
+
/* @__PURE__ */ jsx("h2", { children: errorStatus }),
|
|
56
|
+
errorMessage && /* @__PURE__ */ jsx("fieldset", { children: /* @__PURE__ */ jsx("pre", { children: errorMessage }) })
|
|
57
|
+
] }) });
|
|
58
|
+
}
|
|
59
|
+
export {
|
|
60
|
+
ErrorBoundary,
|
|
61
|
+
App as default,
|
|
62
|
+
links
|
|
63
|
+
};
|
|
@@ -9,21 +9,19 @@ import {
|
|
|
9
9
|
useRouteError
|
|
10
10
|
} from "@remix-run/react";
|
|
11
11
|
import favicon from "./assets/favicon.svg";
|
|
12
|
-
import { Layout } from "./components/Layout.jsx";
|
|
12
|
+
import { Layout as VirtualLayout } from "./components/Layout.jsx";
|
|
13
13
|
import { useNonce } from "@shopify/hydrogen";
|
|
14
14
|
import styles from "./assets/styles.css?url";
|
|
15
15
|
const links = () => {
|
|
16
|
-
return [
|
|
17
|
-
{ rel: "stylesheet", href: styles },
|
|
18
|
-
{ rel: "icon", type: "image/svg+xml", href: favicon }
|
|
19
|
-
];
|
|
16
|
+
return [{ rel: "icon", type: "image/svg+xml", href: favicon }];
|
|
20
17
|
};
|
|
21
|
-
function
|
|
18
|
+
function Layout({ children }) {
|
|
22
19
|
const nonce = useNonce();
|
|
23
20
|
return /* @__PURE__ */ jsxs("html", { lang: "en", children: [
|
|
24
21
|
/* @__PURE__ */ jsxs("head", { children: [
|
|
25
22
|
/* @__PURE__ */ jsx("meta", { charSet: "utf-8" }),
|
|
26
23
|
/* @__PURE__ */ jsx("meta", { name: "viewport", content: "width=device-width,initial-scale=1" }),
|
|
24
|
+
/* @__PURE__ */ jsx("link", { rel: "stylesheet", href: styles }),
|
|
27
25
|
/* @__PURE__ */ jsx("title", { children: "Hydrogen" }),
|
|
28
26
|
/* @__PURE__ */ jsx(
|
|
29
27
|
"meta",
|
|
@@ -36,12 +34,15 @@ function App() {
|
|
|
36
34
|
/* @__PURE__ */ jsx(Links, {})
|
|
37
35
|
] }),
|
|
38
36
|
/* @__PURE__ */ jsxs("body", { children: [
|
|
39
|
-
/* @__PURE__ */ jsx(
|
|
37
|
+
/* @__PURE__ */ jsx(VirtualLayout, { children }),
|
|
40
38
|
/* @__PURE__ */ jsx(ScrollRestoration, { nonce }),
|
|
41
39
|
/* @__PURE__ */ jsx(Scripts, { nonce })
|
|
42
40
|
] })
|
|
43
41
|
] });
|
|
44
42
|
}
|
|
43
|
+
function App() {
|
|
44
|
+
return /* @__PURE__ */ jsx(Outlet, {});
|
|
45
|
+
}
|
|
45
46
|
function ErrorBoundary() {
|
|
46
47
|
const error = useRouteError();
|
|
47
48
|
let errorMessage = "Unknown error";
|
|
@@ -52,7 +53,7 @@ function ErrorBoundary() {
|
|
|
52
53
|
} else if (error instanceof Error) {
|
|
53
54
|
errorMessage = error.message;
|
|
54
55
|
}
|
|
55
|
-
return /* @__PURE__ */ jsx(
|
|
56
|
+
return /* @__PURE__ */ jsx(VirtualLayout, { children: /* @__PURE__ */ jsxs("div", { className: "route-error", children: [
|
|
56
57
|
/* @__PURE__ */ jsx("h1", { children: "Please report this error" }),
|
|
57
58
|
/* @__PURE__ */ jsx("h2", { children: errorStatus }),
|
|
58
59
|
errorMessage && /* @__PURE__ */ jsx("fieldset", { children: /* @__PURE__ */ jsx("pre", { children: errorMessage }) })
|
|
@@ -60,6 +61,7 @@ function ErrorBoundary() {
|
|
|
60
61
|
}
|
|
61
62
|
export {
|
|
62
63
|
ErrorBoundary,
|
|
64
|
+
Layout,
|
|
63
65
|
App as default,
|
|
64
66
|
links
|
|
65
67
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
logout
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JA44NPON.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PFXZ73LI.js";
|
|
7
7
|
import {
|
|
8
8
|
outputSuccess
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7Z57GKMD.js";
|
|
10
10
|
import {
|
|
11
11
|
init_cjs_shims
|
|
12
12
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -25,4 +25,4 @@ var Logout = class extends base_command_default {
|
|
|
25
25
|
export {
|
|
26
26
|
Logout
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-3LPRAP3C.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearCollectedLogs,
|
|
3
3
|
collectedLogs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7Z57GKMD.js";
|
|
5
5
|
import {
|
|
6
6
|
init_cjs_shims
|
|
7
7
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -33,4 +33,4 @@ function mockAndCaptureOutput() {
|
|
|
33
33
|
export {
|
|
34
34
|
mockAndCaptureOutput
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=chunk-
|
|
36
|
+
//# sourceMappingURL=chunk-4QUBSR5N.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generate
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DXETR7HO.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PFXZ73LI.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
9
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -25,4 +25,4 @@ var Generate = class extends base_command_default {
|
|
|
25
25
|
export {
|
|
26
26
|
Generate
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-5Y3LMFTE.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
prompts
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NMVJRPWT.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PFXZ73LI.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
9
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -25,4 +25,4 @@ var KitchenSinkPrompts = class extends base_command_default {
|
|
|
25
25
|
export {
|
|
26
26
|
KitchenSinkPrompts
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-7N6KTS5H.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-25IMI7TH.js";
|
|
6
6
|
import {
|
|
7
7
|
CLI_KIT_VERSION
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-V2EXSXIB.js";
|
|
9
9
|
import {
|
|
10
10
|
Environment,
|
|
11
11
|
firstPartyDev,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
serviceEnvironment,
|
|
18
18
|
skipNetworkLevelRetry,
|
|
19
19
|
sleep
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-7Z57GKMD.js";
|
|
21
21
|
import {
|
|
22
22
|
__commonJS,
|
|
23
23
|
__require,
|
|
@@ -27470,7 +27470,7 @@ ${result.sanitizedHeaders}
|
|
|
27470
27470
|
}
|
|
27471
27471
|
|
|
27472
27472
|
// ../cli-kit/dist/public/node/http.js
|
|
27473
|
-
var import_form_data = __toESM(require_form_data());
|
|
27473
|
+
var import_form_data = __toESM(require_form_data(), 1);
|
|
27474
27474
|
|
|
27475
27475
|
// ../../node_modules/.pnpm/node-fetch@3.3.2/node_modules/node-fetch/src/index.js
|
|
27476
27476
|
init_cjs_shims();
|
|
@@ -31386,4 +31386,4 @@ mime-types/index.js:
|
|
|
31386
31386
|
* MIT Licensed
|
|
31387
31387
|
*)
|
|
31388
31388
|
*/
|
|
31389
|
-
//# sourceMappingURL=chunk-
|
|
31389
|
+
//# sourceMappingURL=chunk-7TDJWEEF.js.map
|
|
@@ -29544,7 +29544,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
|
|
|
29544
29544
|
try {
|
|
29545
29545
|
await getAndSet();
|
|
29546
29546
|
} catch (error) {
|
|
29547
|
-
let { sendErrorToBugsnag } = await import("./error-handler-
|
|
29547
|
+
let { sendErrorToBugsnag } = await import("./error-handler-CLK6ULQD.js");
|
|
29548
29548
|
await sendErrorToBugsnag(error, "unexpected_error");
|
|
29549
29549
|
}
|
|
29550
29550
|
}, durationStack = [];
|
|
@@ -31551,4 +31551,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
|
|
|
31551
31551
|
* LICENSE file in the root directory of this source tree.
|
|
31552
31552
|
*)
|
|
31553
31553
|
*/
|
|
31554
|
-
//# sourceMappingURL=chunk-
|
|
31554
|
+
//# sourceMappingURL=chunk-7Z57GKMD.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
renderSuccess,
|
|
8
8
|
renderTable,
|
|
9
9
|
renderWarning
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7Z57GKMD.js";
|
|
11
11
|
import {
|
|
12
12
|
init_cjs_shims
|
|
13
13
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -203,4 +203,4 @@ async function staticService() {
|
|
|
203
203
|
export {
|
|
204
204
|
staticService
|
|
205
205
|
};
|
|
206
|
-
//# sourceMappingURL=chunk-
|
|
206
|
+
//# sourceMappingURL=chunk-CYZVSCKE.js.map
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
getEnvironmentData,
|
|
3
3
|
getLastSeenUserIdAfterAuth,
|
|
4
4
|
getSensitiveEnvironmentData
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-Y7SMROY2.js";
|
|
6
6
|
import {
|
|
7
7
|
fetch
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-7TDJWEEF.js";
|
|
9
9
|
import {
|
|
10
10
|
CLI_KIT_VERSION
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-V2EXSXIB.js";
|
|
12
12
|
import {
|
|
13
13
|
runWithRateLimit
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YW77LWOY.js";
|
|
15
15
|
import {
|
|
16
16
|
alwaysLogAnalytics,
|
|
17
17
|
alwaysLogMetrics,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
outputDebug,
|
|
29
29
|
outputToken,
|
|
30
30
|
reportingRateLimit
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-7Z57GKMD.js";
|
|
32
32
|
import {
|
|
33
33
|
__commonJS,
|
|
34
34
|
__esm,
|
|
@@ -15930,4 +15930,4 @@ export {
|
|
|
15930
15930
|
requestIdsCollection,
|
|
15931
15931
|
reportAnalyticsEvent
|
|
15932
15932
|
};
|
|
15933
|
-
//# sourceMappingURL=chunk-
|
|
15933
|
+
//# sourceMappingURL=chunk-DE23IXCV.js.map
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
fetchNotifications,
|
|
3
3
|
getNotifications,
|
|
4
4
|
stringifyFilters
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OZYTPWJS.js";
|
|
6
6
|
import {
|
|
7
7
|
CLI_KIT_VERSION
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-V2EXSXIB.js";
|
|
9
9
|
import {
|
|
10
10
|
outputInfo,
|
|
11
11
|
randomUUID,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
renderTable,
|
|
15
15
|
renderTextPrompt,
|
|
16
16
|
writeFile
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-7Z57GKMD.js";
|
|
18
18
|
import {
|
|
19
19
|
init_cjs_shims
|
|
20
20
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -101,4 +101,4 @@ export {
|
|
|
101
101
|
generate,
|
|
102
102
|
list
|
|
103
103
|
};
|
|
104
|
-
//# sourceMappingURL=chunk-
|
|
104
|
+
//# sourceMappingURL=chunk-DXETR7HO.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderConcurrent,
|
|
3
3
|
renderTasks
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7Z57GKMD.js";
|
|
5
5
|
import {
|
|
6
6
|
init_cjs_shims
|
|
7
7
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -43,4 +43,4 @@ async function asyncTasks() {
|
|
|
43
43
|
export {
|
|
44
44
|
asyncTasks
|
|
45
45
|
};
|
|
46
|
-
//# sourceMappingURL=chunk-
|
|
46
|
+
//# sourceMappingURL=chunk-F7YDVUG6.js.map
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
fanoutHooks,
|
|
6
6
|
reportAnalyticsEvent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DE23IXCV.js";
|
|
8
8
|
import {
|
|
9
9
|
getEnvironmentData
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Y7SMROY2.js";
|
|
11
11
|
import {
|
|
12
12
|
CLI_KIT_VERSION
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-V2EXSXIB.js";
|
|
14
14
|
import {
|
|
15
15
|
runWithRateLimit
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-YW77LWOY.js";
|
|
17
17
|
import {
|
|
18
18
|
AbortSilentError,
|
|
19
19
|
CancelExecution,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
reportingRateLimit,
|
|
29
29
|
require_stacktracey,
|
|
30
30
|
shouldReportErrorAsUnexpected
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-7Z57GKMD.js";
|
|
32
32
|
import {
|
|
33
33
|
cwd,
|
|
34
34
|
isAbsolutePath,
|
|
@@ -2136,4 +2136,4 @@ export {
|
|
|
2136
2136
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
2137
2137
|
addBugsnagMetadata
|
|
2138
2138
|
};
|
|
2139
|
-
//# sourceMappingURL=chunk-
|
|
2139
|
+
//# sourceMappingURL=chunk-FGOKII2H.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CLI_KIT_VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-V2EXSXIB.js";
|
|
4
4
|
import {
|
|
5
5
|
outputInfo
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7Z57GKMD.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
9
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -17,4 +17,4 @@ async function versionService() {
|
|
|
17
17
|
export {
|
|
18
18
|
versionService
|
|
19
19
|
};
|
|
20
|
-
//# sourceMappingURL=chunk-
|
|
20
|
+
//# sourceMappingURL=chunk-G2Z2JNWZ.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PFXZ73LI.js";
|
|
4
4
|
import {
|
|
5
5
|
renderTable,
|
|
6
6
|
renderText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7Z57GKMD.js";
|
|
8
8
|
import {
|
|
9
9
|
require_lib
|
|
10
10
|
} from "./chunk-VSKRQ3JT.js";
|
|
@@ -83,4 +83,4 @@ var import_core = __toESM(require_lib(), 1), CommandFlags = class _CommandFlags
|
|
|
83
83
|
export {
|
|
84
84
|
CommandFlags
|
|
85
85
|
};
|
|
86
|
-
//# sourceMappingURL=chunk-
|
|
86
|
+
//# sourceMappingURL=chunk-HL6ZWA6P.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
findUpAndReadPackageJson,
|
|
5
5
|
getPackageManager,
|
|
6
6
|
usesWorkspaces
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YW77LWOY.js";
|
|
8
8
|
import {
|
|
9
9
|
AbortError,
|
|
10
10
|
exec,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
outputSuccess,
|
|
16
16
|
outputToken,
|
|
17
17
|
outputWarn
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7Z57GKMD.js";
|
|
19
19
|
import {
|
|
20
20
|
dirname,
|
|
21
21
|
joinPath,
|
|
@@ -139,4 +139,4 @@ function usingPackageManager({ env } = { env: process.env }) {
|
|
|
139
139
|
export {
|
|
140
140
|
upgrade
|
|
141
141
|
};
|
|
142
|
-
//# sourceMappingURL=chunk-
|
|
142
|
+
//# sourceMappingURL=chunk-IDLVFDLS.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
packageManagerFromUserAgent
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YW77LWOY.js";
|
|
4
4
|
import {
|
|
5
5
|
currentProcessIsGlobal,
|
|
6
6
|
inferPackageManagerForGlobalCLI,
|
|
7
7
|
outputContent,
|
|
8
8
|
outputToken
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7Z57GKMD.js";
|
|
10
10
|
import {
|
|
11
11
|
init_cjs_shims
|
|
12
12
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -25,4 +25,4 @@ export {
|
|
|
25
25
|
cliInstallCommand,
|
|
26
26
|
getOutputUpdateCLIReminder
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-J2TFYL5Z.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
remove,
|
|
7
7
|
setLastSeenAuthMethod,
|
|
8
8
|
setLastSeenUserIdAfterAuth
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Y7SMROY2.js";
|
|
10
10
|
import {
|
|
11
11
|
BugError,
|
|
12
12
|
getPartnersToken,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
outputContent,
|
|
15
15
|
outputDebug,
|
|
16
16
|
outputToken
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-7Z57GKMD.js";
|
|
18
18
|
import {
|
|
19
19
|
init_cjs_shims
|
|
20
20
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -104,4 +104,4 @@ export {
|
|
|
104
104
|
ensureAuthenticatedBusinessPlatform,
|
|
105
105
|
logout
|
|
106
106
|
};
|
|
107
|
-
//# sourceMappingURL=chunk-
|
|
107
|
+
//# sourceMappingURL=chunk-JA44NPON.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
versionService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-G2Z2JNWZ.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PFXZ73LI.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
9
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -22,4 +22,4 @@ var Version = class extends base_command_default {
|
|
|
22
22
|
export {
|
|
23
23
|
Version
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=chunk-
|
|
25
|
+
//# sourceMappingURL=chunk-KMLSEENO.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PFXZ73LI.js";
|
|
4
4
|
import {
|
|
5
5
|
cacheClear
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YW77LWOY.js";
|
|
7
7
|
import {
|
|
8
8
|
environmentVariables,
|
|
9
9
|
isTruthy
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7Z57GKMD.js";
|
|
11
11
|
import {
|
|
12
12
|
require_lib
|
|
13
13
|
} from "./chunk-VSKRQ3JT.js";
|
|
@@ -26,7 +26,7 @@ init_cjs_shims();
|
|
|
26
26
|
init_cjs_shims();
|
|
27
27
|
import { fileURLToPath } from "node:url";
|
|
28
28
|
async function launchCLI(options) {
|
|
29
|
-
let { errorHandler } = await import("./error-handler-
|
|
29
|
+
let { errorHandler } = await import("./error-handler-CLK6ULQD.js"), { isDevelopment } = await import("./local-YA7BWRS4.js"), oclif = await import("./lib-SGEWXU7Z.js"), { ShopifyConfig } = await import("./custom-oclif-loader-OE7KHHEX.js");
|
|
30
30
|
isDevelopment() && (oclif.default.settings.debug = !0);
|
|
31
31
|
try {
|
|
32
32
|
let config = new ShopifyConfig({ root: fileURLToPath(options.moduleURL) });
|
|
@@ -41,7 +41,7 @@ var import_core = __toESM(require_lib());
|
|
|
41
41
|
async function exitIfOldNodeVersion(versions = process.versions) {
|
|
42
42
|
let nodeVersion = versions.node, nodeMajorVersion = Number(nodeVersion.split(".")[0]);
|
|
43
43
|
if (nodeMajorVersion < 18) {
|
|
44
|
-
let { renderError } = await import("./ui-
|
|
44
|
+
let { renderError } = await import("./ui-UIXIY6XH.js");
|
|
45
45
|
renderError({
|
|
46
46
|
headline: "Upgrade to a supported Node version now.",
|
|
47
47
|
body: [
|
|
@@ -68,7 +68,7 @@ async function runCLI(options, launchCLI2 = launchCLI, argv = process.argv, env
|
|
|
68
68
|
return setupEnvironmentVariables(options, argv, env), options.runInCreateMode && await addInitToArgvWhenRunningCreateCLI(options, argv), forceNoColor(argv, env), await exitIfOldNodeVersion(versions), launchCLI2({ moduleURL: options.moduleURL });
|
|
69
69
|
}
|
|
70
70
|
async function addInitToArgvWhenRunningCreateCLI(options, argv = process.argv) {
|
|
71
|
-
let { findUpAndReadPackageJson } = await import("./node-package-manager-
|
|
71
|
+
let { findUpAndReadPackageJson } = await import("./node-package-manager-BD2U7LUE.js"), { moduleDirectory } = await import("./path-2K5HIMHZ.js"), name = (await findUpAndReadPackageJson(moduleDirectory(options.moduleURL))).content.name.replace("@shopify/create-", "");
|
|
72
72
|
if (argv.findIndex((arg) => arg.includes("init")) === -1) {
|
|
73
73
|
let initIndex2 = argv.findIndex((arg) => arg.match(new RegExp(`bin(\\/|\\\\)+(create-${name}|dev|run)`))) + 1;
|
|
74
74
|
argv.splice(initIndex2, 0, "init");
|
|
@@ -117,4 +117,4 @@ export {
|
|
|
117
117
|
jsonFlag,
|
|
118
118
|
ClearCache
|
|
119
119
|
};
|
|
120
|
-
//# sourceMappingURL=chunk-
|
|
120
|
+
//# sourceMappingURL=chunk-KRRCKFNF.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
searchService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NKPXKN63.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PFXZ73LI.js";
|
|
7
7
|
import {
|
|
8
8
|
require_lib
|
|
9
9
|
} from "./chunk-VSKRQ3JT.js";
|
|
@@ -48,4 +48,4 @@ var import_core = __toESM(require_lib(), 1), Search = class _Search extends base
|
|
|
48
48
|
export {
|
|
49
49
|
Search
|
|
50
50
|
};
|
|
51
|
-
//# sourceMappingURL=chunk-
|
|
51
|
+
//# sourceMappingURL=chunk-LGVMVIUY.js.map
|