@shopify/cli 3.86.1 → 3.87.0
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/README.md +2 -1
- package/dist/assets/dev-console/extensions/dev-console/assets/index-0hw3R_TS.css +1 -0
- package/dist/assets/dev-console/index.html +2 -2
- package/dist/{chunk-2LK4JXAI.js → chunk-43MAAODZ.js} +29 -17
- package/dist/{chunk-B7H344JI.js → chunk-4RMT22ZG.js} +116 -97
- package/dist/{chunk-QZSPMSF2.js → chunk-4X3OSIUW.js} +18 -6
- package/dist/{chunk-AU6C5SPW.js → chunk-6CKI4ZVA.js} +8 -8
- package/dist/{chunk-NOHJOQVR.js → chunk-77FBLQSY.js} +3 -3
- package/dist/{chunk-K45JWD7H.js → chunk-DX2IC6MA.js} +25 -8
- package/dist/chunk-EZQWZ57B.js +53 -0
- package/dist/{chunk-YXTZTRRV.js → chunk-FBDL6M34.js} +4 -4
- package/dist/{chunk-HUR6MF6D.js → chunk-GK3L6WCO.js} +8 -8
- package/dist/{chunk-4MSYMXAX.js → chunk-GPKHDSF5.js} +2 -2
- package/dist/{chunk-A5RXDG36.js → chunk-GV3VXLHN.js} +7 -7
- package/dist/{chunk-KCMYZRDH.js → chunk-H3HXI5FI.js} +5 -5
- package/dist/{chunk-MZWHWEIR.js → chunk-H5JSK6HV.js} +2 -2
- package/dist/{chunk-AM4QB5OM.js → chunk-HMDWNGIV.js} +100 -206
- package/dist/{chunk-6VIQUXXO.js → chunk-HMJUSDS7.js} +2 -2
- package/dist/{chunk-GNW7DUJ5.js → chunk-ILCR5V7H.js} +2 -2
- package/dist/{chunk-AXMPBUZL.js → chunk-JJ3N36EZ.js} +3 -3
- package/dist/{chunk-6FH6AJI5.js → chunk-KUJQ4AB6.js} +103 -2
- package/dist/{chunk-ZKG22PUU.js → chunk-KW37WO42.js} +4 -4
- package/dist/{chunk-PANEHHGV.js → chunk-LMVYXPIS.js} +22 -9
- package/dist/{chunk-52OB52S5.js → chunk-LVH6EINO.js} +5 -5
- package/dist/{chunk-VGDJLENI.js → chunk-LWFYEQVC.js} +4 -4
- package/dist/{chunk-J4HWHB57.js → chunk-MJ2CC5UF.js} +4 -4
- package/dist/{chunk-E7SRX5ME.js → chunk-NKJY5K45.js} +4 -4
- package/dist/{chunk-YRJLM3MZ.js → chunk-PE3YDRXC.js} +2 -2
- package/dist/{chunk-4WBTBFNC.js → chunk-PU7263L3.js} +4 -4
- package/dist/{chunk-2WTSZOXI.js → chunk-PW5V2LBK.js} +3 -3
- package/dist/{chunk-PBZI5MOK.js → chunk-QIIIG73M.js} +61 -187
- package/dist/{chunk-SQNWVF3V.js → chunk-R7GPNRH3.js} +2 -2
- package/dist/{chunk-RQD77XVF.js → chunk-TVAQLJIT.js} +3 -3
- package/dist/{chunk-CZE7TCFI.js → chunk-TY4JIQTU.js} +3 -3
- package/dist/{chunk-IPWP4QG4.js → chunk-U4EHUN6F.js} +5 -5
- package/dist/{chunk-UB7QY2VF.js → chunk-U6SKVYZN.js} +3 -3
- package/dist/{chunk-J6JPAWCE.js → chunk-UQLUAYP7.js} +2 -2
- package/dist/{chunk-AAHIUMCI.js → chunk-VDMWZFUE.js} +3 -3
- package/dist/{chunk-X2YIODUW.js → chunk-VLBE545G.js} +15 -1237
- package/dist/{chunk-TDSRWKL2.js → chunk-VQVENW26.js} +6 -6
- package/dist/{chunk-NAPXIWWP.js → chunk-VRRM2VMH.js} +6 -6
- package/dist/{chunk-F2V6FX7R.js → chunk-WM77PTR2.js} +4 -4
- package/dist/chunk-XB6A45UN.js +80 -0
- package/dist/{chunk-EG6MBBEN.js → chunk-Y2JP6WFP.js} +2 -2
- package/dist/{chunk-PPM7JU6X.js → chunk-ZWG6Y7VK.js} +3 -3
- package/dist/cli/commands/auth/login.js +16 -13
- package/dist/cli/commands/auth/login.test.js +18 -15
- package/dist/cli/commands/auth/logout.js +16 -13
- package/dist/cli/commands/auth/logout.test.js +18 -15
- package/dist/cli/commands/cache/clear.js +16 -13
- package/dist/cli/commands/debug/command-flags.js +16 -13
- package/dist/cli/commands/docs/generate.js +16 -13
- package/dist/cli/commands/docs/generate.test.js +17 -14
- package/dist/cli/commands/help.js +16 -13
- package/dist/cli/commands/kitchen-sink/async.js +17 -14
- package/dist/cli/commands/kitchen-sink/async.test.js +18 -15
- package/dist/cli/commands/kitchen-sink/index.js +19 -16
- package/dist/cli/commands/kitchen-sink/index.test.js +20 -17
- package/dist/cli/commands/kitchen-sink/prompts.js +17 -14
- package/dist/cli/commands/kitchen-sink/prompts.test.js +18 -15
- package/dist/cli/commands/kitchen-sink/static.js +17 -14
- package/dist/cli/commands/kitchen-sink/static.test.js +18 -15
- package/dist/cli/commands/notifications/generate.js +17 -14
- package/dist/cli/commands/notifications/list.js +17 -14
- package/dist/cli/commands/search.js +17 -14
- package/dist/cli/commands/upgrade.js +17 -14
- package/dist/cli/commands/upgrade.test.js +1 -1
- package/dist/cli/commands/version.js +17 -14
- package/dist/cli/commands/version.test.js +18 -15
- package/dist/cli/services/commands/notifications.js +12 -9
- package/dist/cli/services/commands/search.js +8 -5
- package/dist/cli/services/commands/search.test.js +9 -6
- package/dist/cli/services/commands/version.js +9 -6
- package/dist/cli/services/commands/version.test.js +11 -8
- package/dist/cli/services/kitchen-sink/async.js +8 -5
- package/dist/cli/services/kitchen-sink/prompts.js +8 -5
- package/dist/cli/services/kitchen-sink/static.js +8 -5
- package/dist/cli/services/upgrade.js +9 -6
- package/dist/cli/services/upgrade.test.js +11 -8
- package/dist/{custom-oclif-loader-IB5J422L.js → custom-oclif-loader-QBK7WNIL.js} +18 -11
- package/dist/{del-DIPVIUR3.js → del-E4LJOSMR.js} +6 -6
- package/dist/{error-handler-CU4DBAA4.js → error-handler-YWRJD3ZX.js} +14 -11
- package/dist/hooks/postrun.js +14 -72
- package/dist/hooks/prerun.js +13 -10
- package/dist/{http-proxy-node16-K5X7BUK5.js → http-proxy-node16-VGGP6PLA.js} +5 -5
- package/dist/index.js +2878 -1671
- package/dist/{lib-EMZRCLCJ.js → lib-G7Q5M6VX.js} +4 -3
- package/dist/{local-PYV7PNUD.js → local-DU2CZ6Z3.js} +8 -5
- package/dist/{magic-string.es-UZAAPNRE.js → magic-string.es-S5HKFBJX.js} +5 -6
- package/dist/{morph-EGK76SED.js → morph-37GC7LQM.js} +16 -20
- package/dist/{node-package-manager-BCGA26RH.js → node-package-manager-W22PEMMM.js} +9 -6
- package/dist/{npa-LHT53SWR.js → npa-E675GQOI.js} +5 -3
- package/dist/{path-GB4VIEM6.js → path-COZT77T2.js} +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-7POT36Q5.js → ui-GTBNK773.js} +8 -5
- package/dist/{workerd-UA5IB4IF.js → workerd-CT4T6SDW.js} +18 -17
- package/oclif.manifest.json +95 -127
- package/package.json +8 -8
- package/dist/assets/dev-console/extensions/dev-console/assets/index-BteeGmYf.css +0 -1
- package/dist/chunk-IWFYXDPH.js +0 -109
- /package/dist/assets/dev-console/extensions/dev-console/assets/{index-Cj8WCHlM.js → index-C12jKScn.js} +0 -0
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-EFOOQV72.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DX2IC6MA.js";
|
|
7
7
|
import {
|
|
8
8
|
fanoutHooks
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GV3VXLHN.js";
|
|
10
10
|
import {
|
|
11
11
|
businessPlatformRequest,
|
|
12
12
|
ensureAuthenticatedAdmin,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
graphqlRequest,
|
|
15
15
|
logout,
|
|
16
16
|
normalizeStoreFqdn
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-43MAAODZ.js";
|
|
18
18
|
import {
|
|
19
19
|
findUpAndReadPackageJson,
|
|
20
20
|
getPackageManager,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
packageManagerFromUserAgent,
|
|
23
23
|
readAndParsePackageJson,
|
|
24
24
|
writePackageJSON
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-4X3OSIUW.js";
|
|
26
26
|
import {
|
|
27
27
|
AbortError,
|
|
28
28
|
BugError,
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
runWithTimer,
|
|
63
63
|
source_default,
|
|
64
64
|
writeFile
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-QIIIG73M.js";
|
|
66
66
|
import {
|
|
67
67
|
require_ansi_escapes,
|
|
68
68
|
require_ansi_styles,
|
|
@@ -79,14 +79,14 @@ import {
|
|
|
79
79
|
require_widest_line,
|
|
80
80
|
require_wordwrap,
|
|
81
81
|
require_wrap_ansi
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-VLBE545G.js";
|
|
83
83
|
import {
|
|
84
84
|
require_src,
|
|
85
85
|
require_supports_color
|
|
86
86
|
} from "./chunk-UMUTXITN.js";
|
|
87
87
|
import {
|
|
88
88
|
require_source_map_support
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-KUJQ4AB6.js";
|
|
90
90
|
import {
|
|
91
91
|
require_is_wsl
|
|
92
92
|
} from "./chunk-G2ZZKGSV.js";
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
relativePath,
|
|
103
103
|
relativizePath,
|
|
104
104
|
resolvePath
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-Y2JP6WFP.js";
|
|
106
106
|
import {
|
|
107
107
|
__commonJS,
|
|
108
108
|
__require,
|
|
@@ -146212,7 +146212,7 @@ var require_main2 = __commonJS({
|
|
|
146212
146212
|
}
|
|
146213
146213
|
});
|
|
146214
146214
|
|
|
146215
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
146215
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/import-utils.js
|
|
146216
146216
|
init_cjs_shims();
|
|
146217
146217
|
import { createRequire } from "node:module";
|
|
146218
146218
|
import { pathToFileURL } from "node:url";
|
|
@@ -146237,13 +146237,13 @@ function importLocal(packageName, path3) {
|
|
|
146237
146237
|
return import(pathToFileURL(realPath).href);
|
|
146238
146238
|
}
|
|
146239
146239
|
|
|
146240
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
146240
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/request-events.js
|
|
146241
146241
|
init_cjs_shims();
|
|
146242
146242
|
import path from "node:path";
|
|
146243
146243
|
import { EventEmitter } from "node:events";
|
|
146244
146244
|
import { ReadableStream } from "node:stream/web";
|
|
146245
146245
|
|
|
146246
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
146246
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/graphiql-url.js
|
|
146247
146247
|
init_cjs_shims();
|
|
146248
146248
|
function getGraphiQLUrl({
|
|
146249
146249
|
host = "",
|
|
@@ -146257,7 +146257,7 @@ function getGraphiQLUrl({
|
|
|
146257
146257
|
return url;
|
|
146258
146258
|
}
|
|
146259
146259
|
|
|
146260
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
146260
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/request-events.js
|
|
146261
146261
|
var import_source_map_support = __toESM(require_source_map_support(), 1), H2O_BINDING_NAME = "H2O_LOG_EVENT", ResponseConstructor;
|
|
146262
146262
|
function setConstructors(constructors) {
|
|
146263
146263
|
ResponseConstructor = constructors.Response;
|
|
@@ -146358,7 +146358,7 @@ function handleDebugNetworkRequest(request) {
|
|
|
146358
146358
|
return request.method === "DELETE" ? clearHistory() : streamRequestEvents(request);
|
|
146359
146359
|
}
|
|
146360
146360
|
|
|
146361
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
146361
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/mini-oxygen/common.js
|
|
146362
146362
|
init_cjs_shims();
|
|
146363
146363
|
var SUBREQUEST_PROFILER_ENDPOINT = "/debug-network-server";
|
|
146364
146364
|
function handleMiniOxygenImportFail() {
|
|
@@ -146392,33 +146392,33 @@ function logRequestLine({
|
|
|
146392
146392
|
}
|
|
146393
146393
|
}
|
|
146394
146394
|
|
|
146395
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
146395
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/dev-shared.js
|
|
146396
146396
|
init_cjs_shims();
|
|
146397
146397
|
|
|
146398
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
146398
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/customer-account/push.js
|
|
146399
146399
|
init_cjs_shims();
|
|
146400
146400
|
var import_core3 = __toESM(require_lib2(), 1);
|
|
146401
146401
|
|
|
146402
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
146402
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/link.js
|
|
146403
146403
|
init_cjs_shims();
|
|
146404
146404
|
var import_core2 = __toESM(require_lib2(), 1);
|
|
146405
146405
|
|
|
146406
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
146406
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/flags.js
|
|
146407
146407
|
init_cjs_shims();
|
|
146408
146408
|
var import_core = __toESM(require_lib2(), 1);
|
|
146409
146409
|
|
|
146410
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
146410
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/index.js
|
|
146411
146411
|
init_cjs_shims();
|
|
146412
146412
|
|
|
146413
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
146413
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/assets.js
|
|
146414
146414
|
init_cjs_shims();
|
|
146415
146415
|
|
|
146416
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
146416
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/build.js
|
|
146417
146417
|
init_cjs_shims();
|
|
146418
146418
|
import { fileURLToPath } from "node:url";
|
|
146419
146419
|
import { existsSync } from "node:fs";
|
|
146420
146420
|
|
|
146421
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
146421
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/process.js
|
|
146422
146422
|
init_cjs_shims();
|
|
146423
146423
|
import { exec } from "node:child_process";
|
|
146424
146424
|
import { promisify } from "node:util";
|
|
@@ -146430,7 +146430,7 @@ function supressNodeExperimentalWarnings() {
|
|
|
146430
146430
|
}));
|
|
146431
146431
|
}
|
|
146432
146432
|
|
|
146433
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
146433
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/build.js
|
|
146434
146434
|
var monorepoPackagesPath = new URL("../../..", import.meta.url).pathname, isHydrogenMonorepo = (() => {
|
|
146435
146435
|
try {
|
|
146436
146436
|
let skeletonPath = joinPath(
|
|
@@ -146486,7 +146486,7 @@ async function getRepoNodeModules() {
|
|
|
146486
146486
|
return !nodeModulesPath && isHydrogenMonorepo && (nodeModulesPath = joinPath(dirname(monorepoPackagesPath), "node_modules")), nodeModulesPath;
|
|
146487
146487
|
}
|
|
146488
146488
|
|
|
146489
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
146489
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/assets.js
|
|
146490
146490
|
var SETUP_CSS_STRATEGIES = [
|
|
146491
146491
|
"tailwind",
|
|
146492
146492
|
"vanilla-extract",
|
|
@@ -146521,14 +146521,14 @@ async function canWriteFiles(assetMap, directory, force) {
|
|
|
146521
146521
|
}));
|
|
146522
146522
|
}
|
|
146523
146523
|
|
|
146524
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
146524
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/tailwind.js
|
|
146525
146525
|
init_cjs_shims();
|
|
146526
146526
|
|
|
146527
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
146527
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/file.js
|
|
146528
146528
|
init_cjs_shims();
|
|
146529
146529
|
import { readdir } from "node:fs/promises";
|
|
146530
146530
|
|
|
146531
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
146531
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/format-code.js
|
|
146532
146532
|
init_cjs_shims();
|
|
146533
146533
|
var prettier = __toESM(require_prettier(), 1);
|
|
146534
146534
|
import * as FS from "fs/promises";
|
|
@@ -146558,7 +146558,7 @@ async function formatCode(content, config = DEFAULT_PRETTIER_CONFIG, filePath =
|
|
|
146558
146558
|
});
|
|
146559
146559
|
}
|
|
146560
146560
|
|
|
146561
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
146561
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/file.js
|
|
146562
146562
|
async function replaceFileContent(filepath, formatConfig, replacer) {
|
|
146563
146563
|
let content = await replacer(await readFile(filepath));
|
|
146564
146564
|
if (typeof content == "string")
|
|
@@ -146633,10 +146633,10 @@ async function mergePackageJson(sourceDir, targetDir, options) {
|
|
|
146633
146633
|
);
|
|
146634
146634
|
}
|
|
146635
146635
|
|
|
146636
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
146636
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/replacers.js
|
|
146637
146637
|
init_cjs_shims();
|
|
146638
146638
|
|
|
146639
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
146639
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/ast.js
|
|
146640
146640
|
init_cjs_shims();
|
|
146641
146641
|
async function importLangAstGrep(lang) {
|
|
146642
146642
|
let astGrep = await import("@ast-grep/napi");
|
|
@@ -146645,7 +146645,7 @@ async function importLangAstGrep(lang) {
|
|
|
146645
146645
|
return astGrep[lang];
|
|
146646
146646
|
}
|
|
146647
146647
|
|
|
146648
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
146648
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/replacers.js
|
|
146649
146649
|
async function replaceRootLinks(appDirectory, formatConfig, importer) {
|
|
146650
146650
|
let { filepath, astType } = await findFileWithExtension(appDirectory, "root");
|
|
146651
146651
|
if (!filepath || !astType)
|
|
@@ -146747,7 +146747,7 @@ var vitePluginListRule = {
|
|
|
146747
146747
|
}
|
|
146748
146748
|
};
|
|
146749
146749
|
|
|
146750
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
146750
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/tailwind.js
|
|
146751
146751
|
var tailwindCssPath = "styles/tailwind.css";
|
|
146752
146752
|
async function setupTailwind({ rootDirectory, appDirectory }, force = !1) {
|
|
146753
146753
|
let relativeAppDirectory = relativePath(rootDirectory, appDirectory), assetMap = {
|
|
@@ -146783,7 +146783,7 @@ async function setupTailwind({ rootDirectory, appDirectory }, force = !1) {
|
|
|
146783
146783
|
};
|
|
146784
146784
|
}
|
|
146785
146785
|
|
|
146786
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
146786
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/vanilla-extract.js
|
|
146787
146787
|
init_cjs_shims();
|
|
146788
146788
|
async function setupVanillaExtract({
|
|
146789
146789
|
rootDirectory
|
|
@@ -146804,7 +146804,7 @@ async function setupVanillaExtract({
|
|
|
146804
146804
|
};
|
|
146805
146805
|
}
|
|
146806
146806
|
|
|
146807
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
146807
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/index.js
|
|
146808
146808
|
var STYLING_CHOICES = [...SETUP_CSS_STRATEGIES, "none"], CSS_STRATEGY_NAME_MAP = {
|
|
146809
146809
|
tailwind: "Tailwind v4",
|
|
146810
146810
|
"vanilla-extract": "Vanilla Extract",
|
|
@@ -146849,23 +146849,23 @@ async function renderCssPrompt(options) {
|
|
|
146849
146849
|
});
|
|
146850
146850
|
}
|
|
146851
146851
|
|
|
146852
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
146852
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/setups/i18n/index.js
|
|
146853
146853
|
init_cjs_shims();
|
|
146854
146854
|
|
|
146855
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
146855
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/setups/i18n/replacers.js
|
|
146856
146856
|
init_cjs_shims();
|
|
146857
146857
|
|
|
146858
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
146858
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/transpile/index.js
|
|
146859
146859
|
init_cjs_shims();
|
|
146860
146860
|
|
|
146861
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
146861
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/transpile/file.js
|
|
146862
146862
|
init_cjs_shims();
|
|
146863
146863
|
async function transpileFile(code, filepath, keepTypes = !0) {
|
|
146864
|
-
let { transpileTs } = await import("./morph-
|
|
146864
|
+
let { transpileTs } = await import("./morph-37GC7LQM.js");
|
|
146865
146865
|
return transpileTs(code, filepath, keepTypes);
|
|
146866
146866
|
}
|
|
146867
146867
|
|
|
146868
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
146868
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/transpile/project.js
|
|
146869
146869
|
init_cjs_shims();
|
|
146870
146870
|
var DEFAULT_JS_CONFIG = {
|
|
146871
146871
|
checkJs: !1,
|
|
@@ -146983,7 +146983,7 @@ async function transpileProject(projectDir, keepTypes = !0) {
|
|
|
146983
146983
|
}
|
|
146984
146984
|
}
|
|
146985
146985
|
|
|
146986
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
146986
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/setups/i18n/replacers.js
|
|
146987
146987
|
async function replaceContextI18n({
|
|
146988
146988
|
rootDirectory,
|
|
146989
146989
|
contextCreate = joinPath("app", "lib", "context.ts")
|
|
@@ -147122,7 +147122,7 @@ async function findContextCreateFile({
|
|
|
147122
147122
|
return { filepath, astType };
|
|
147123
147123
|
}
|
|
147124
147124
|
|
|
147125
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
147125
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/setups/i18n/index.js
|
|
147126
147126
|
var SETUP_I18N_STRATEGIES = [
|
|
147127
147127
|
"subfolders",
|
|
147128
147128
|
"domains",
|
|
@@ -147154,7 +147154,7 @@ async function renderI18nPrompt(options) {
|
|
|
147154
147154
|
});
|
|
147155
147155
|
}
|
|
147156
147156
|
|
|
147157
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
147157
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/flags.js
|
|
147158
147158
|
var DEFAULT_APP_PORT = 3e3, DEFAULT_INSPECTOR_PORT = 9229, commonFlags = {
|
|
147159
147159
|
path: {
|
|
147160
147160
|
path: import_core.Flags.string({
|
|
@@ -147328,10 +147328,10 @@ function overrideFlag(flags, extra) {
|
|
|
147328
147328
|
);
|
|
147329
147329
|
}
|
|
147330
147330
|
|
|
147331
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
147331
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/link-storefront.js
|
|
147332
147332
|
init_cjs_shims();
|
|
147333
147333
|
|
|
147334
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
147334
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/client.js
|
|
147335
147335
|
init_cjs_shims();
|
|
147336
147336
|
async function adminRequest(query, session, variables) {
|
|
147337
147337
|
let api = "Admin", url = `https://${session.storeFqdn}/admin/api/unstable/graphql.json`;
|
|
@@ -147367,7 +147367,7 @@ async function adminRequest(query, session, variables) {
|
|
|
147367
147367
|
}
|
|
147368
147368
|
}
|
|
147369
147369
|
|
|
147370
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
147370
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/gid.js
|
|
147371
147371
|
init_cjs_shims();
|
|
147372
147372
|
var GID_REGEXP = /gid:\/\/shopify\/\w*\/(\d+)/;
|
|
147373
147373
|
function parseGid(gid) {
|
|
@@ -147377,7 +147377,7 @@ function parseGid(gid) {
|
|
|
147377
147377
|
throw new AbortError(`Invalid Global ID: ${gid}`);
|
|
147378
147378
|
}
|
|
147379
147379
|
|
|
147380
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
147380
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/link-storefront.js
|
|
147381
147381
|
var LinkStorefrontQuery = `#graphql
|
|
147382
147382
|
query LinkStorefront {
|
|
147383
147383
|
hydrogenStorefronts {
|
|
@@ -147398,7 +147398,7 @@ async function getStorefronts(adminSession) {
|
|
|
147398
147398
|
}));
|
|
147399
147399
|
}
|
|
147400
147400
|
|
|
147401
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
147401
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/shopify-config.js
|
|
147402
147402
|
init_cjs_shims();
|
|
147403
147403
|
var SHOPIFY_DIR = ".shopify", SHOPIFY_DIR_PROJECT = "project.json";
|
|
147404
147404
|
async function resetConfig(root) {
|
|
@@ -147469,7 +147469,7 @@ async function setCustomerAccountConfig(root, customerAccountConfig) {
|
|
|
147469
147469
|
}
|
|
147470
147470
|
}
|
|
147471
147471
|
|
|
147472
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
147472
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/create-storefront.js
|
|
147473
147473
|
init_cjs_shims();
|
|
147474
147474
|
var CreateStorefrontMutation = `#graphql
|
|
147475
147475
|
mutation CreateStorefront($title: String!) {
|
|
@@ -147503,7 +147503,7 @@ async function createStorefront(adminSession, title) {
|
|
|
147503
147503
|
return { jobId, storefront: hydrogenStorefront };
|
|
147504
147504
|
}
|
|
147505
147505
|
|
|
147506
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
147506
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/fetch-job.js
|
|
147507
147507
|
init_cjs_shims();
|
|
147508
147508
|
var FetchJobQuery = `#graphql
|
|
147509
147509
|
query FetchJob($id: ID!) {
|
|
@@ -147537,7 +147537,7 @@ function waitForJob(adminSession, jobId) {
|
|
|
147537
147537
|
});
|
|
147538
147538
|
}
|
|
147539
147539
|
|
|
147540
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
147540
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/string.js
|
|
147541
147541
|
init_cjs_shims();
|
|
147542
147542
|
function titleize(name = "") {
|
|
147543
147543
|
return name.replace(/[\W_]+/g, " ").split(" ").filter((word) => word.length > 0).map(
|
|
@@ -147545,7 +147545,7 @@ function titleize(name = "") {
|
|
|
147545
147545
|
).join(" ");
|
|
147546
147546
|
}
|
|
147547
147547
|
|
|
147548
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
147548
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/shell.js
|
|
147549
147549
|
init_cjs_shims();
|
|
147550
147550
|
import os from "node:os";
|
|
147551
147551
|
var ALIAS_NAME = "h2", isWindows = () => os.platform() === "win32", isGitBash = () => !!process.env.MINGW_PREFIX;
|
|
@@ -147660,10 +147660,10 @@ async function getCliCommand(directory = process.cwd(), forcePkgManager) {
|
|
|
147660
147660
|
return (pkgManager === "bun" || pkgManager === "pnpm" || pkgManager === "yarn") && (cli = pkgManager), `${cli} shopify hydrogen`;
|
|
147661
147661
|
}
|
|
147662
147662
|
|
|
147663
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
147663
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/auth.js
|
|
147664
147664
|
init_cjs_shims();
|
|
147665
147665
|
|
|
147666
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
147666
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/business-platform/user-account.js
|
|
147667
147667
|
init_cjs_shims();
|
|
147668
147668
|
var CurrentUserAccountQuery = `#graphql
|
|
147669
147669
|
query currentUserAccount {
|
|
@@ -147743,7 +147743,7 @@ async function getUserAccount(token) {
|
|
|
147743
147743
|
};
|
|
147744
147744
|
}
|
|
147745
147745
|
|
|
147746
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
147746
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/log.js
|
|
147747
147747
|
init_cjs_shims();
|
|
147748
147748
|
var originalConsole = { ...console }, methodsReplaced = /* @__PURE__ */ new Set(), addedReplacers = /* @__PURE__ */ new Set(), messageReplacers = [];
|
|
147749
147749
|
function addMessageReplacers(key, ...items) {
|
|
@@ -147979,7 +147979,7 @@ function isH2Verbose() {
|
|
|
147979
147979
|
return !!(process.env.DEBUG === "*" || process.env.DEBUG?.includes("h2:*"));
|
|
147980
147980
|
}
|
|
147981
147981
|
|
|
147982
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
147982
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/auth.js
|
|
147983
147983
|
async function logout2(root) {
|
|
147984
147984
|
await logout(), await resetConfig(root);
|
|
147985
147985
|
}
|
|
@@ -148018,7 +148018,7 @@ function renderLoginSuccess(config) {
|
|
|
148018
148018
|
});
|
|
148019
148019
|
}
|
|
148020
148020
|
|
|
148021
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
148021
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/onboarding/common.js
|
|
148022
148022
|
init_cjs_shims();
|
|
148023
148023
|
import { symlink, readdir as readdir3 } from "node:fs/promises";
|
|
148024
148024
|
|
|
@@ -151377,17 +151377,26 @@ var esm_default = gitInstanceFactory;
|
|
|
151377
151377
|
// ../cli-kit/dist/public/node/git.js
|
|
151378
151378
|
var import_ignore = __toESM(require_ignore());
|
|
151379
151379
|
async function initializeGitRepository(directory, initialBranch = "main") {
|
|
151380
|
-
outputDebug(outputContent`Initializing git repository at ${outputToken.path(directory)}...`), await ensureGitIsPresentOrAbort()
|
|
151381
|
-
|
|
151382
|
-
|
|
151380
|
+
outputDebug(outputContent`Initializing git repository at ${outputToken.path(directory)}...`), await ensureGitIsPresentOrAbort(), await withGit({ directory }, async (repo) => {
|
|
151381
|
+
await repo.init(), await repo.checkoutLocalBranch(initialBranch);
|
|
151382
|
+
});
|
|
151383
151383
|
}
|
|
151384
151384
|
async function checkIfIgnoredInGitRepository(directory, files) {
|
|
151385
|
-
return
|
|
151385
|
+
return withGit({ directory }, (repo) => repo.checkIgnore(files));
|
|
151386
151386
|
}
|
|
151387
151387
|
async function downloadGitRepository(cloneOptions) {
|
|
151388
151388
|
return runWithTimer("cmd_all_timing_network_ms")(async () => {
|
|
151389
151389
|
let { repoUrl, destination, progressUpdater, shallow, latestTag } = cloneOptions;
|
|
151390
|
-
outputDebug(outputContent`Git-cloning repository ${repoUrl} into ${outputToken.path(destination)}...`), await ensureGitIsPresentOrAbort()
|
|
151390
|
+
if (outputDebug(outputContent`Git-cloning repository ${repoUrl} into ${outputToken.path(destination)}...`), await ensureGitIsPresentOrAbort(), await fileExists(destination)) {
|
|
151391
|
+
if (!await isDirectory(destination))
|
|
151392
|
+
throw new AbortError(outputContent`Can't clone to ${outputToken.path(destination)}`, "The path exists but isn't a directory.");
|
|
151393
|
+
if ((await glob(["*", ".*"], {
|
|
151394
|
+
cwd: destination,
|
|
151395
|
+
deep: 1,
|
|
151396
|
+
onlyFiles: !1
|
|
151397
|
+
})).length > 0)
|
|
151398
|
+
throw new AbortError(outputContent`Directory ${outputToken.path(destination)} already exists and is not empty`, outputContent`Choose a different name or remove the existing directory first.`);
|
|
151399
|
+
}
|
|
151391
151400
|
let [repository, branch] = repoUrl.split("#"), options = { "--recurse-submodules": null };
|
|
151392
151401
|
if (branch && latestTag)
|
|
151393
151402
|
throw new AbortError("Error cloning the repository. Git can't clone the latest release with a 'branch'.");
|
|
@@ -151402,10 +151411,10 @@ async function downloadGitRepository(cloneOptions) {
|
|
|
151402
151411
|
...!isTerminalInteractive() && { config: ["core.askpass=true"] }
|
|
151403
151412
|
};
|
|
151404
151413
|
try {
|
|
151405
|
-
|
|
151406
|
-
let
|
|
151414
|
+
await esm_default(simpleGitOptions).clone(repository, destination, options), latestTag && await withGit({ directory: destination }, async (localGitRepository) => {
|
|
151415
|
+
let latestTag2 = await getLocalLatestTag(localGitRepository, repoUrl);
|
|
151407
151416
|
await localGitRepository.checkout(latestTag2);
|
|
151408
|
-
}
|
|
151417
|
+
});
|
|
151409
151418
|
} catch (err) {
|
|
151410
151419
|
if (err instanceof Error) {
|
|
151411
151420
|
let abortError = new AbortError(err.message);
|
|
@@ -151422,19 +151431,17 @@ async function getLocalLatestTag(repository, repoUrl) {
|
|
|
151422
151431
|
return latest;
|
|
151423
151432
|
}
|
|
151424
151433
|
async function getLatestGitCommit(directory) {
|
|
151425
|
-
let logs = await
|
|
151426
|
-
maxCount: 1
|
|
151427
|
-
});
|
|
151434
|
+
let logs = await withGit({ directory }, (repo) => repo.log({ maxCount: 1 }));
|
|
151428
151435
|
if (!logs.latest)
|
|
151429
151436
|
throw new AbortError("Must have at least one commit to run command", outputContent`Run ${outputToken.genericShellCommand("git commit -m 'Initial commit'")} to create your first commit.`);
|
|
151430
151437
|
return logs.latest;
|
|
151431
151438
|
}
|
|
151432
151439
|
async function addAllToGitFromDirectory(directory) {
|
|
151433
|
-
await
|
|
151440
|
+
await withGit({ directory }, (repo) => repo.raw("add", "--all"));
|
|
151434
151441
|
}
|
|
151435
151442
|
async function createGitCommit(message, options) {
|
|
151436
|
-
let
|
|
151437
|
-
return (await
|
|
151443
|
+
let commitOptions = options?.author ? { "--author": options.author } : void 0;
|
|
151444
|
+
return (await withGit({ directory: options?.directory }, (repo) => repo.commit(message, commitOptions))).commit;
|
|
151438
151445
|
}
|
|
151439
151446
|
async function ensureGitIsPresentOrAbort() {
|
|
151440
151447
|
if (!await hasGit())
|
|
@@ -151447,7 +151454,7 @@ async function ensureInsideGitDirectory(directory) {
|
|
|
151447
151454
|
throw new OutsideGitDirectoryError(`${outputToken.path(directory || cwd())} is not a Git directory`);
|
|
151448
151455
|
}
|
|
151449
151456
|
async function insideGitDirectory(directory) {
|
|
151450
|
-
return
|
|
151457
|
+
return withGit({ directory }, (repo) => repo.checkIsRepo());
|
|
151451
151458
|
}
|
|
151452
151459
|
var GitDirectoryNotCleanError = class extends AbortError {
|
|
151453
151460
|
};
|
|
@@ -151456,23 +151463,35 @@ async function ensureIsClean(directory) {
|
|
|
151456
151463
|
throw new GitDirectoryNotCleanError(`${outputToken.path(directory || cwd())} is not a clean Git directory`);
|
|
151457
151464
|
}
|
|
151458
151465
|
async function isClean(directory) {
|
|
151459
|
-
return (await
|
|
151466
|
+
return (await withGit({ directory }, (git) => git.status())).isClean();
|
|
151460
151467
|
}
|
|
151461
151468
|
async function removeGitRemote(directory, remoteName = "origin") {
|
|
151462
|
-
outputDebug(outputContent`Removing git remote ${remoteName} from ${outputToken.path(directory)}...`), await ensureGitIsPresentOrAbort()
|
|
151463
|
-
|
|
151464
|
-
|
|
151465
|
-
|
|
151466
|
-
|
|
151469
|
+
outputDebug(outputContent`Removing git remote ${remoteName} from ${outputToken.path(directory)}...`), await ensureGitIsPresentOrAbort(), await withGit({ directory }, async (repo) => {
|
|
151470
|
+
if (!(await repo.getRemotes()).some((remote) => remote.name === remoteName)) {
|
|
151471
|
+
outputDebug(outputContent`Remote ${remoteName} does not exist, no action needed`);
|
|
151472
|
+
return;
|
|
151473
|
+
}
|
|
151474
|
+
await repo.removeRemote(remoteName);
|
|
151475
|
+
});
|
|
151476
|
+
}
|
|
151477
|
+
async function withGit({ directory }, callback) {
|
|
151478
|
+
let repo = esm_default({ baseDir: directory });
|
|
151479
|
+
try {
|
|
151480
|
+
return await callback(repo);
|
|
151481
|
+
} catch (err) {
|
|
151482
|
+
if (err instanceof Error) {
|
|
151483
|
+
let abortError = new AbortError(err.message);
|
|
151484
|
+
throw abortError.stack = err.stack, abortError;
|
|
151485
|
+
}
|
|
151486
|
+
throw err;
|
|
151467
151487
|
}
|
|
151468
|
-
await repo.removeRemote(remoteName);
|
|
151469
151488
|
}
|
|
151470
151489
|
|
|
151471
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
151490
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/setups/routes/generate.js
|
|
151472
151491
|
init_cjs_shims();
|
|
151473
151492
|
import { readdir as readdir2 } from "node:fs/promises";
|
|
151474
151493
|
|
|
151475
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
151494
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/remix-version-interop.js
|
|
151476
151495
|
init_cjs_shims();
|
|
151477
151496
|
import { createRequire as createRequire2 } from "module";
|
|
151478
151497
|
function convertRouteToV1(route) {
|
|
@@ -151486,15 +151505,15 @@ function isV1RouteConventionInstalled() {
|
|
|
151486
151505
|
}
|
|
151487
151506
|
}
|
|
151488
151507
|
|
|
151489
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
151508
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/remix-config.js
|
|
151490
151509
|
init_cjs_shims();
|
|
151491
151510
|
import { createRequire as createRequire3 } from "node:module";
|
|
151492
151511
|
import path2 from "node:path";
|
|
151493
151512
|
|
|
151494
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
151513
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/remix-version-check.js
|
|
151495
151514
|
init_cjs_shims();
|
|
151496
151515
|
|
|
151497
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
151516
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/vite-config.js
|
|
151498
151517
|
init_cjs_shims();
|
|
151499
151518
|
var REMIX_COMPILER_ERROR_MESSAGE = "Classic Remix Compiler projects are no longer supported, please upgrade to Vite by running 'npx shopify hydrogen setup vite'";
|
|
151500
151519
|
async function hasViteConfig(root) {
|
|
@@ -151579,7 +151598,7 @@ function findOxygenPlugin(config) {
|
|
|
151579
151598
|
return findPlugin(config, "oxygen:main");
|
|
151580
151599
|
}
|
|
151581
151600
|
|
|
151582
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
151601
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/remix-config.js
|
|
151583
151602
|
async function hasRemixConfigFile(root) {
|
|
151584
151603
|
return !!(await findFileWithExtension(root, "remix.config")).filepath;
|
|
151585
151604
|
}
|
|
@@ -151609,7 +151628,7 @@ async function getRemixConfig(root, mode = process.env.NODE_ENV) {
|
|
|
151609
151628
|
return (await getViteConfig(root)).remixConfig;
|
|
151610
151629
|
}
|
|
151611
151630
|
|
|
151612
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
151631
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/setups/routes/generate.js
|
|
151613
151632
|
var NO_LOCALE_PATTERNS = [/robots\.txt/], ROUTE_MAP = {
|
|
151614
151633
|
home: ["_index", "$"],
|
|
151615
151634
|
page: "pages*",
|
|
@@ -151818,7 +151837,7 @@ async function copyRouteTemplate({
|
|
|
151818
151837
|
adapter && (templateContent = replaceAdapters(templateContent, adapter)), typescript || (templateContent = await transpileFile(templateContent, templatePath)), templateContent = await formatCode(templateContent, formatOptions, routePath), await writeFile(routePath, templateContent);
|
|
151819
151838
|
}
|
|
151820
151839
|
|
|
151821
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
151840
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/onboarding/common.js
|
|
151822
151841
|
var LANGUAGES = {
|
|
151823
151842
|
js: "JavaScript",
|
|
151824
151843
|
ts: "TypeScript"
|
|
@@ -152266,7 +152285,7 @@ function generateRandomName() {
|
|
|
152266
152285
|
])} ${geographicalFeature}`;
|
|
152267
152286
|
}
|
|
152268
152287
|
|
|
152269
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
152288
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/link.js
|
|
152270
152289
|
var Link = class _Link extends base_command_default {
|
|
152271
152290
|
static descriptionWithMarkdown = `Links your local development environment to a remote Hydrogen storefront. You can link an unlimited number of development environments to a single Hydrogen storefront.
|
|
152272
152291
|
|
|
@@ -152387,7 +152406,7 @@ async function createNewStorefront(root, session, storefronts) {
|
|
|
152387
152406
|
return storefront;
|
|
152388
152407
|
}
|
|
152389
152408
|
|
|
152390
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
152409
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/customer-application-update.js
|
|
152391
152410
|
init_cjs_shims();
|
|
152392
152411
|
var CUSTOMER_APPLICATION_URLS_REPLACE = `#graphql
|
|
152393
152412
|
mutation CustomerApplicationUrlsReplace($storefrontId: ID!, $urlsReplaceInput: HydrogenStorefrontCustomerApplicationUrlsReplaceInput!) {
|
|
@@ -152415,7 +152434,7 @@ async function replaceCustomerApplicationUrls(adminSession, storefrontId, urlsRe
|
|
|
152415
152434
|
return { success, userErrors };
|
|
152416
152435
|
}
|
|
152417
152436
|
|
|
152418
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
152437
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/customer-account/push.js
|
|
152419
152438
|
var CustomerAccountPush = class _CustomerAccountPush extends base_command_default {
|
|
152420
152439
|
static description = "Push project configuration to admin";
|
|
152421
152440
|
static flags = {
|
|
@@ -152548,7 +152567,7 @@ async function getStorefrontId(root, storefrontIdFromFlag) {
|
|
|
152548
152567
|
}) ? (await getConfig(root)).storefront?.id : void 0;
|
|
152549
152568
|
}
|
|
152550
152569
|
|
|
152551
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
152570
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/environment-variables.js
|
|
152552
152571
|
init_cjs_shims();
|
|
152553
152572
|
|
|
152554
152573
|
// ../cli-kit/dist/public/node/dot-env.js
|
|
@@ -152613,7 +152632,7 @@ function createDotEnvFileLine(key, value, quote2) {
|
|
|
152613
152632
|
return `${key}=${value}`;
|
|
152614
152633
|
}
|
|
152615
152634
|
|
|
152616
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
152635
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/pull-variables.js
|
|
152617
152636
|
init_cjs_shims();
|
|
152618
152637
|
var PullVariablesQuery = `#graphql
|
|
152619
152638
|
query PullVariables($id: ID!, $handle: String) {
|
|
@@ -152641,7 +152660,7 @@ async function getStorefrontEnvVariables(adminSession, storefrontId, envHandle)
|
|
|
152641
152660
|
return hydrogenStorefront;
|
|
152642
152661
|
}
|
|
152643
152662
|
|
|
152644
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
152663
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/list-environments.js
|
|
152645
152664
|
init_cjs_shims();
|
|
152646
152665
|
var ListEnvironmentsQuery = `#graphql
|
|
152647
152666
|
query ListStorefronts($id: ID!) {
|
|
@@ -152669,7 +152688,7 @@ async function getStorefrontEnvironments(adminSession, storefrontId) {
|
|
|
152669
152688
|
return hydrogenStorefront;
|
|
152670
152689
|
}
|
|
152671
152690
|
|
|
152672
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
152691
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/common.js
|
|
152673
152692
|
init_cjs_shims();
|
|
152674
152693
|
function orderEnvironmentsBySafety(environments) {
|
|
152675
152694
|
return [
|
|
@@ -152710,7 +152729,7 @@ function environmentNotFound(criterion, value) {
|
|
|
152710
152729
|
);
|
|
152711
152730
|
}
|
|
152712
152731
|
|
|
152713
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
152732
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/environment-variables.js
|
|
152714
152733
|
var createEmptyRemoteVars = () => ({
|
|
152715
152734
|
remoteVariables: {},
|
|
152716
152735
|
remoteSecrets: {}
|
|
@@ -152781,7 +152800,7 @@ async function getLocalVariables(root, envFile) {
|
|
|
152781
152800
|
);
|
|
152782
152801
|
}
|
|
152783
152802
|
|
|
152784
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
152803
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/tunneling.js
|
|
152785
152804
|
init_cjs_shims();
|
|
152786
152805
|
async function startTunnelPlugin(config, port, provider) {
|
|
152787
152806
|
let hooks = await fanoutHooks(config, "tunnel_start", { port, provider }), first2 = Object.values(hooks).filter(
|
|
@@ -152812,7 +152831,7 @@ async function pollTunnelURL(tunnelClient) {
|
|
|
152812
152831
|
});
|
|
152813
152832
|
}
|
|
152814
152833
|
|
|
152815
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+
|
|
152834
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.5_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_1dab9937c446c9bfba7229e66e4ca808/node_modules/@shopify/cli-hydrogen/dist/lib/dev-shared.js
|
|
152816
152835
|
function isMockShop(envVariables) {
|
|
152817
152836
|
return envVariables.PUBLIC_STORE_DOMAIN === "mock.shop" || // We fallback to mock.shop if the env var is falsy.
|
|
152818
152837
|
// When it's undefined, it might be overwritten by remote variables.
|
|
@@ -153018,4 +153037,4 @@ export {
|
|
|
153018
153037
|
getDebugBannerLine,
|
|
153019
153038
|
getUtilityBannerlines
|
|
153020
153039
|
};
|
|
153021
|
-
//# sourceMappingURL=chunk-
|
|
153040
|
+
//# sourceMappingURL=chunk-4RMT22ZG.js.map
|