@shopify/cli 3.61.1 → 3.61.2
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/starter/CHANGELOG.md +67 -5
- package/dist/assets/hydrogen/starter/app/lib/session.ts +5 -0
- package/dist/assets/hydrogen/starter/app/root.tsx +12 -19
- package/dist/assets/hydrogen/starter/app/routes/account.$.tsx +1 -5
- package/dist/assets/hydrogen/starter/app/routes/account.addresses.tsx +12 -70
- package/dist/assets/hydrogen/starter/app/routes/account.orders.$id.tsx +7 -14
- package/dist/assets/hydrogen/starter/app/routes/account.orders._index.tsx +1 -8
- package/dist/assets/hydrogen/starter/app/routes/account.profile.tsx +5 -22
- package/dist/assets/hydrogen/starter/app/routes/account.tsx +0 -1
- package/dist/assets/hydrogen/starter/app/routes/cart.tsx +0 -2
- package/dist/assets/hydrogen/starter/package.json +4 -4
- package/dist/assets/hydrogen/starter/server.ts +4 -0
- package/dist/{chunk-MOWOUC6B.js → chunk-3RM5SOXY.js} +1 -1
- package/dist/{chunk-BV7GMWB6.js → chunk-4757GPBG.js} +3 -3
- package/dist/{chunk-4IJQUE7S.js → chunk-4L37JOS5.js} +1 -1
- package/dist/{chunk-PMW2LD65.js → chunk-4TTAP7NN.js} +3 -3
- package/dist/{chunk-WVPWWPI5.js → chunk-5B2D56W6.js} +2 -2
- package/dist/{chunk-APKJSJ7J.js → chunk-5MODHNUE.js} +3 -3
- package/dist/{chunk-2OLSNRWX.js → chunk-7IZTLXJ5.js} +2 -2
- package/dist/{chunk-CZ3HSQWY.js → chunk-BUWM6JUU.js} +2 -2
- package/dist/{chunk-ITNVIYE3.js → chunk-BYFLATOA.js} +2 -2
- package/dist/{chunk-5CMD3IOB.js → chunk-CK7MF3LY.js} +1 -1
- package/dist/{chunk-NNUPTNLQ.js → chunk-CTETXMMM.js} +3 -3
- package/dist/{chunk-72B3OWJW.js → chunk-EHF6FVWH.js} +1 -1
- package/dist/{chunk-IWPRI3XU.js → chunk-ETSILRIY.js} +2 -2
- package/dist/{chunk-K7AOF3FH.js → chunk-G4EQLT5B.js} +3 -3
- package/dist/{chunk-IHBQYIUZ.js → chunk-JQPQJN44.js} +4 -4
- package/dist/{chunk-MZ2TTN37.js → chunk-KBXWK6XB.js} +1 -1
- package/dist/{chunk-DDSNKVSE.js → chunk-M73YMW2C.js} +2 -2
- package/dist/{chunk-Z5LDVTOK.js → chunk-NBIE3DNN.js} +1 -1
- package/dist/{chunk-4L5RRXWK.js → chunk-NJP5GFNN.js} +1 -2
- package/dist/{chunk-QMWGTSUE.js → chunk-NJTSDTDU.js} +4 -4
- package/dist/{chunk-5AOK2Y6Y.js → chunk-Q3KADKQA.js} +2 -2
- package/dist/{chunk-KNQWUKO7.js → chunk-QDZF6IG4.js} +1 -1
- package/dist/{chunk-WZTRJKOI.js → chunk-QLLSCNEC.js} +2 -2
- package/dist/{chunk-MVPEKELJ.js → chunk-QQP6JS5H.js} +1 -1
- package/dist/{chunk-K7RRB5XV.js → chunk-QSO3GQEK.js} +70 -71
- package/dist/{chunk-Q5FUGUDS.js → chunk-QTBH3GO6.js} +1 -1
- package/dist/{chunk-WLP3ZOM3.js → chunk-RPRKZ6JC.js} +9 -9
- package/dist/{chunk-MUSUHPY2.js → chunk-TXXQWILO.js} +2 -2
- package/dist/{chunk-XMZ6YUCX.js → chunk-UPM6XNBH.js} +2 -2
- package/dist/{chunk-KKVOR377.js → chunk-VC6CC75R.js} +2 -2
- package/dist/{chunk-D6WPLX6I.js → chunk-WZBNLCJ5.js} +2 -2
- package/dist/{chunk-EE47RXD7.js → chunk-XMJDBJPP.js} +3 -3
- package/dist/{chunk-IH7T5JPW.js → chunk-YP5UVIUW.js} +3 -3
- package/dist/{chunk-CJDUY6SJ.js → chunk-YZGLFVKK.js} +1 -1
- package/dist/{chunk-FAJJWN6E.js → chunk-ZE2ZPLYI.js} +4 -4
- package/dist/cli/commands/auth/logout.js +8 -8
- package/dist/cli/commands/auth/logout.test.js +9 -9
- package/dist/cli/commands/debug/command-flags.js +8 -8
- package/dist/cli/commands/demo/catalog.js +9 -9
- package/dist/cli/commands/demo/generate-file.js +9 -9
- package/dist/cli/commands/demo/index.js +8 -8
- package/dist/cli/commands/demo/print-ai-prompt.js +9 -9
- package/dist/cli/commands/docs/generate.js +8 -8
- package/dist/cli/commands/docs/generate.test.js +8 -8
- package/dist/cli/commands/help.js +8 -8
- package/dist/cli/commands/kitchen-sink/async.js +9 -9
- package/dist/cli/commands/kitchen-sink/async.test.js +9 -9
- package/dist/cli/commands/kitchen-sink/index.js +11 -11
- package/dist/cli/commands/kitchen-sink/index.test.js +11 -11
- package/dist/cli/commands/kitchen-sink/prompts.js +9 -9
- package/dist/cli/commands/kitchen-sink/prompts.test.js +9 -9
- package/dist/cli/commands/kitchen-sink/static.js +9 -9
- package/dist/cli/commands/kitchen-sink/static.test.js +9 -9
- package/dist/cli/commands/search.js +9 -9
- package/dist/cli/commands/upgrade.js +8 -8
- package/dist/cli/commands/version.js +9 -9
- package/dist/cli/commands/version.test.js +9 -9
- 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 +4 -4
- package/dist/cli/services/commands/version.test.js +5 -5
- package/dist/cli/services/demo.js +2 -2
- package/dist/cli/services/demo.test.js +2 -2
- 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-RLNBRURI-YQ7IWI5Q.js → custom-oclif-loader-4SQGUQ7D-P5C4NLSX.js} +2 -2
- package/dist/{custom-oclif-loader-FPNRMQLJ.js → custom-oclif-loader-OD47SFAU.js} +1 -1
- package/dist/{error-handler-5ZOJ546L.js → error-handler-EPMFPTYX.js} +1 -1
- package/dist/{error-handler-764JJPWK-SOMSJP6S.js → error-handler-WI4YVJIS-U3BMMYNJ.js} +4 -4
- package/dist/{error-handler-EOKEDDHC.js → error-handler-WL3Q25NI.js} +6 -6
- package/dist/hooks/postrun.js +5 -5
- package/dist/hooks/prerun.js +3 -3
- package/dist/index.js +971 -1006
- package/dist/{local-S7EXCS5E.js → local-KISH2IRF.js} +1 -1
- package/dist/{local-GRWHBAAP-GLATK6HY.js → local-YKOG4EUR-XRRBWLSI.js} +2 -2
- package/dist/{morph-XX23WEJZ.js → morph-DCIZUK2Q.js} +8 -8
- package/dist/{node-SSGKCHRY.js → node-3DKQAOFU.js} +4 -4
- package/dist/{node-package-manager-V7QQWFES.js → node-package-manager-HYTHPJBI.js} +2 -2
- package/dist/{node-package-manager-VZCY35QS-AGCABGK7.js → node-package-manager-S7TSAUJZ-KKDY6KSF.js} +3 -3
- package/dist/{system-P6PSEW7S.js → system-LIP7AECY.js} +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-JSBDAFMV.js → ui-5LSDG3C5.js} +1 -1
- package/dist/{ui-P6NP425V-CKQLZD3E.js → ui-FUZYK6S3-PVVDPVD5.js} +2 -2
- package/dist/{workerd-3U2NNCIK.js → workerd-TFH7T6NI.js} +3 -3
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
|
@@ -87,7 +87,7 @@ import {
|
|
|
87
87
|
useDeviceAuth,
|
|
88
88
|
writeFile,
|
|
89
89
|
writePackageJSON
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-NJP5GFNN.js";
|
|
91
91
|
import {
|
|
92
92
|
Conf,
|
|
93
93
|
checkPort,
|
|
@@ -155593,7 +155593,7 @@ var require_main = __commonJS({
|
|
|
155593
155593
|
}
|
|
155594
155594
|
});
|
|
155595
155595
|
|
|
155596
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
155596
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/flags.js
|
|
155597
155597
|
init_cjs_shims();
|
|
155598
155598
|
var import_core = __toESM(require_lib(), 1);
|
|
155599
155599
|
|
|
@@ -155646,10 +155646,10 @@ async function normalizeStoreFqdn(store2) {
|
|
|
155646
155646
|
return containDomain(storeFqdn) ? storeFqdn : addDomain(storeFqdn);
|
|
155647
155647
|
}
|
|
155648
155648
|
|
|
155649
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
155649
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/i18n/index.js
|
|
155650
155650
|
init_cjs_shims();
|
|
155651
155651
|
|
|
155652
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
155652
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/format-code.js
|
|
155653
155653
|
init_cjs_shims();
|
|
155654
155654
|
var prettier = __toESM(require_prettier(), 1);
|
|
155655
155655
|
var DEFAULT_PRETTIER_CONFIG = {
|
|
@@ -155676,10 +155676,10 @@ async function formatCode(content, config = DEFAULT_PRETTIER_CONFIG, filePath =
|
|
|
155676
155676
|
});
|
|
155677
155677
|
}
|
|
155678
155678
|
|
|
155679
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
155679
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/i18n/replacers.js
|
|
155680
155680
|
init_cjs_shims();
|
|
155681
155681
|
|
|
155682
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
155682
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/file.js
|
|
155683
155683
|
init_cjs_shims();
|
|
155684
155684
|
import { readdir } from "node:fs/promises";
|
|
155685
155685
|
async function replaceFileContent(filepath, formatConfig, replacer) {
|
|
@@ -155775,7 +155775,7 @@ async function mergePackageJson(sourceDir, targetDir, options) {
|
|
|
155775
155775
|
);
|
|
155776
155776
|
}
|
|
155777
155777
|
|
|
155778
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
155778
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/ast.js
|
|
155779
155779
|
init_cjs_shims();
|
|
155780
155780
|
async function importLangAstGrep(lang) {
|
|
155781
155781
|
const astGrep = await import("@ast-grep/napi");
|
|
@@ -155785,17 +155785,17 @@ async function importLangAstGrep(lang) {
|
|
|
155785
155785
|
return astGrep[lang];
|
|
155786
155786
|
}
|
|
155787
155787
|
|
|
155788
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
155788
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/transpile/index.js
|
|
155789
155789
|
init_cjs_shims();
|
|
155790
155790
|
|
|
155791
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
155791
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/transpile/file.js
|
|
155792
155792
|
init_cjs_shims();
|
|
155793
155793
|
async function transpileFile(code, filepath, keepTypes = true) {
|
|
155794
|
-
const { transpileTs } = await import("./morph-
|
|
155794
|
+
const { transpileTs } = await import("./morph-DCIZUK2Q.js");
|
|
155795
155795
|
return transpileTs(code, filepath, keepTypes);
|
|
155796
155796
|
}
|
|
155797
155797
|
|
|
155798
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
155798
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/transpile/project.js
|
|
155799
155799
|
init_cjs_shims();
|
|
155800
155800
|
var DEFAULT_JS_CONFIG = {
|
|
155801
155801
|
checkJs: false,
|
|
@@ -155927,7 +155927,7 @@ async function transpileProject(projectDir, keepTypes = true) {
|
|
|
155927
155927
|
}
|
|
155928
155928
|
}
|
|
155929
155929
|
|
|
155930
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
155930
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/i18n/replacers.js
|
|
155931
155931
|
async function replaceServerI18n({ rootDirectory, serverEntryPoint = "server" }, formatConfig, localeExtractImpl, isJs) {
|
|
155932
155932
|
const { filepath, astType } = await findEntryFile({
|
|
155933
155933
|
rootDirectory,
|
|
@@ -156172,11 +156172,11 @@ async function findEntryFile({
|
|
|
156172
156172
|
return { filepath, astType };
|
|
156173
156173
|
}
|
|
156174
156174
|
|
|
156175
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
156175
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/build.js
|
|
156176
156176
|
init_cjs_shims();
|
|
156177
156177
|
import { fileURLToPath } from "node:url";
|
|
156178
156178
|
|
|
156179
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
156179
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/process.js
|
|
156180
156180
|
init_cjs_shims();
|
|
156181
156181
|
import { exec } from "node:child_process";
|
|
156182
156182
|
import { promisify } from "node:util";
|
|
@@ -156193,7 +156193,7 @@ function supressNodeExperimentalWarnings() {
|
|
|
156193
156193
|
}
|
|
156194
156194
|
}
|
|
156195
156195
|
|
|
156196
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
156196
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/build.js
|
|
156197
156197
|
var monorepoPackagesPath = new URL("../../..", import.meta.url).pathname;
|
|
156198
156198
|
var isHydrogenMonorepo = monorepoPackagesPath.endsWith(
|
|
156199
156199
|
"/hydrogen/packages/"
|
|
@@ -156255,7 +156255,7 @@ async function getRepoNodeModules() {
|
|
|
156255
156255
|
return nodeModulesPath;
|
|
156256
156256
|
}
|
|
156257
156257
|
|
|
156258
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
156258
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/i18n/index.js
|
|
156259
156259
|
var SETUP_I18N_STRATEGIES = [
|
|
156260
156260
|
"subfolders",
|
|
156261
156261
|
"domains",
|
|
@@ -156293,7 +156293,7 @@ async function renderI18nPrompt(options) {
|
|
|
156293
156293
|
});
|
|
156294
156294
|
}
|
|
156295
156295
|
|
|
156296
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
156296
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/flags.js
|
|
156297
156297
|
var DEFAULT_APP_PORT = 3e3;
|
|
156298
156298
|
var DEFAULT_INSPECTOR_PORT = 9229;
|
|
156299
156299
|
var commonFlags = {
|
|
@@ -156497,7 +156497,7 @@ function overrideFlag(flags, extra) {
|
|
|
156497
156497
|
);
|
|
156498
156498
|
}
|
|
156499
156499
|
|
|
156500
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
156500
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/import-utils.js
|
|
156501
156501
|
init_cjs_shims();
|
|
156502
156502
|
import { createRequire } from "node:module";
|
|
156503
156503
|
var require2 = createRequire(import.meta.url);
|
|
@@ -156516,13 +156516,13 @@ function importLocal(packageName, path3) {
|
|
|
156516
156516
|
return import(realPath);
|
|
156517
156517
|
}
|
|
156518
156518
|
|
|
156519
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
156519
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/request-events.js
|
|
156520
156520
|
init_cjs_shims();
|
|
156521
156521
|
import path from "node:path";
|
|
156522
156522
|
import { EventEmitter } from "node:events";
|
|
156523
156523
|
import { ReadableStream } from "node:stream/web";
|
|
156524
156524
|
|
|
156525
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
156525
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphiql-url.js
|
|
156526
156526
|
init_cjs_shims();
|
|
156527
156527
|
function getGraphiQLUrl({
|
|
156528
156528
|
host = "",
|
|
@@ -156541,7 +156541,7 @@ function getGraphiQLUrl({
|
|
|
156541
156541
|
return url2;
|
|
156542
156542
|
}
|
|
156543
156543
|
|
|
156544
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
156544
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/request-events.js
|
|
156545
156545
|
var import_source_map_support = __toESM(require_source_map_support(), 1);
|
|
156546
156546
|
var H2O_BINDING_NAME = "H2O_LOG_EVENT";
|
|
156547
156547
|
var ResponseConstructor;
|
|
@@ -156679,7 +156679,7 @@ function handleDebugNetworkRequest(request) {
|
|
|
156679
156679
|
return request.method === "DELETE" ? clearHistory() : streamRequestEvents(request);
|
|
156680
156680
|
}
|
|
156681
156681
|
|
|
156682
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
156682
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/mini-oxygen/common.js
|
|
156683
156683
|
init_cjs_shims();
|
|
156684
156684
|
var SUBREQUEST_PROFILER_ENDPOINT = "/debug-network-server";
|
|
156685
156685
|
function handleMiniOxygenImportFail() {
|
|
@@ -156720,10 +156720,10 @@ function logRequestLine({
|
|
|
156720
156720
|
}
|
|
156721
156721
|
}
|
|
156722
156722
|
|
|
156723
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
156723
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/dev-shared.js
|
|
156724
156724
|
init_cjs_shims();
|
|
156725
156725
|
|
|
156726
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
156726
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/customer-account/push.js
|
|
156727
156727
|
init_cjs_shims();
|
|
156728
156728
|
|
|
156729
156729
|
// ../../node_modules/.pnpm/@shopify+cli-kit@3.61.0/node_modules/@shopify/cli-kit/dist/public/node/base-command.js
|
|
@@ -156925,17 +156925,17 @@ function argsFromEnvironment(environment, options, noDefaultsResult) {
|
|
|
156925
156925
|
}
|
|
156926
156926
|
var base_command_default = BaseCommand;
|
|
156927
156927
|
|
|
156928
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
156928
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/customer-account/push.js
|
|
156929
156929
|
var import_core4 = __toESM(require_lib(), 1);
|
|
156930
156930
|
|
|
156931
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
156931
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/link.js
|
|
156932
156932
|
init_cjs_shims();
|
|
156933
156933
|
var import_core3 = __toESM(require_lib(), 1);
|
|
156934
156934
|
|
|
156935
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
156935
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/link-storefront.js
|
|
156936
156936
|
init_cjs_shims();
|
|
156937
156937
|
|
|
156938
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
156938
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/client.js
|
|
156939
156939
|
init_cjs_shims();
|
|
156940
156940
|
|
|
156941
156941
|
// ../../node_modules/.pnpm/@shopify+cli-kit@3.61.0/node_modules/@shopify/cli-kit/dist/public/node/api/graphql.js
|
|
@@ -157008,7 +157008,7 @@ async function graphqlRequest(options) {
|
|
|
157008
157008
|
});
|
|
157009
157009
|
}
|
|
157010
157010
|
|
|
157011
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
157011
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/client.js
|
|
157012
157012
|
async function adminRequest(query, session, variables) {
|
|
157013
157013
|
const api = "Admin";
|
|
157014
157014
|
const url2 = `https://${session.storeFqdn}/admin/api/unstable/graphql.json`;
|
|
@@ -157050,7 +157050,7 @@ async function adminRequest(query, session, variables) {
|
|
|
157050
157050
|
}
|
|
157051
157051
|
}
|
|
157052
157052
|
|
|
157053
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
157053
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/gid.js
|
|
157054
157054
|
init_cjs_shims();
|
|
157055
157055
|
var GID_REGEXP = /gid:\/\/shopify\/\w*\/(\d+)/;
|
|
157056
157056
|
function parseGid(gid) {
|
|
@@ -157061,7 +157061,7 @@ function parseGid(gid) {
|
|
|
157061
157061
|
throw new AbortError(`Invalid Global ID: ${gid}`);
|
|
157062
157062
|
}
|
|
157063
157063
|
|
|
157064
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
157064
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/link-storefront.js
|
|
157065
157065
|
var LinkStorefrontQuery = `#graphql
|
|
157066
157066
|
query LinkStorefront {
|
|
157067
157067
|
hydrogenStorefronts {
|
|
@@ -157082,7 +157082,7 @@ async function getStorefronts(adminSession) {
|
|
|
157082
157082
|
}));
|
|
157083
157083
|
}
|
|
157084
157084
|
|
|
157085
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
157085
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/shopify-config.js
|
|
157086
157086
|
init_cjs_shims();
|
|
157087
157087
|
var SHOPIFY_DIR = ".shopify";
|
|
157088
157088
|
var SHOPIFY_DIR_PROJECT = "project.json";
|
|
@@ -157188,7 +157188,7 @@ async function setCustomerAccountConfig(root, customerAccountConfig) {
|
|
|
157188
157188
|
}
|
|
157189
157189
|
}
|
|
157190
157190
|
|
|
157191
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
157191
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/create-storefront.js
|
|
157192
157192
|
init_cjs_shims();
|
|
157193
157193
|
var CreateStorefrontMutation = `#graphql
|
|
157194
157194
|
mutation CreateStorefront($title: String!) {
|
|
@@ -157222,7 +157222,7 @@ async function createStorefront(adminSession, title) {
|
|
|
157222
157222
|
return { jobId, storefront: hydrogenStorefront };
|
|
157223
157223
|
}
|
|
157224
157224
|
|
|
157225
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
157225
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/fetch-job.js
|
|
157226
157226
|
init_cjs_shims();
|
|
157227
157227
|
var FetchJobQuery = `#graphql
|
|
157228
157228
|
query FetchJob($id: ID!) {
|
|
@@ -157260,7 +157260,7 @@ function waitForJob(adminSession, jobId) {
|
|
|
157260
157260
|
});
|
|
157261
157261
|
}
|
|
157262
157262
|
|
|
157263
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
157263
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/string.js
|
|
157264
157264
|
init_cjs_shims();
|
|
157265
157265
|
function titleize(name = "") {
|
|
157266
157266
|
return name.replace(/[\W_]+/g, " ").split(" ").filter((word) => word.length > 0).map(
|
|
@@ -157268,7 +157268,7 @@ function titleize(name = "") {
|
|
|
157268
157268
|
).join(" ");
|
|
157269
157269
|
}
|
|
157270
157270
|
|
|
157271
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
157271
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/shell.js
|
|
157272
157272
|
init_cjs_shims();
|
|
157273
157273
|
import os from "node:os";
|
|
157274
157274
|
var ALIAS_NAME = "h2";
|
|
@@ -157432,7 +157432,7 @@ async function getCliCommand(directory = process.cwd(), forcePkgManager) {
|
|
|
157432
157432
|
return `${cli} shopify hydrogen`;
|
|
157433
157433
|
}
|
|
157434
157434
|
|
|
157435
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
157435
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/auth.js
|
|
157436
157436
|
init_cjs_shims();
|
|
157437
157437
|
|
|
157438
157438
|
// ../../node_modules/.pnpm/@shopify+cli-kit@3.61.0/node_modules/@shopify/cli-kit/dist/public/node/session.js
|
|
@@ -158638,7 +158638,7 @@ function logout() {
|
|
|
158638
158638
|
return remove();
|
|
158639
158639
|
}
|
|
158640
158640
|
|
|
158641
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
158641
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/business-platform/user-account.js
|
|
158642
158642
|
init_cjs_shims();
|
|
158643
158643
|
|
|
158644
158644
|
// ../../node_modules/.pnpm/@shopify+cli-kit@3.61.0/node_modules/@shopify/cli-kit/dist/public/node/api/business-platform.js
|
|
@@ -158657,7 +158657,7 @@ async function businessPlatformRequest(query, token, variables) {
|
|
|
158657
158657
|
});
|
|
158658
158658
|
}
|
|
158659
158659
|
|
|
158660
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
158660
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/business-platform/user-account.js
|
|
158661
158661
|
var CurrentUserAccountQuery = `#graphql
|
|
158662
158662
|
query currentUserAccount {
|
|
158663
158663
|
currentUserAccount {
|
|
@@ -158737,7 +158737,7 @@ async function getUserAccount(token) {
|
|
|
158737
158737
|
};
|
|
158738
158738
|
}
|
|
158739
158739
|
|
|
158740
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
158740
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/log.js
|
|
158741
158741
|
init_cjs_shims();
|
|
158742
158742
|
var originalConsole = { ...console };
|
|
158743
158743
|
var methodsReplaced = /* @__PURE__ */ new Set();
|
|
@@ -159117,7 +159117,7 @@ function isH2Verbose() {
|
|
|
159117
159117
|
return !!(process.env.DEBUG === "*" || process.env.DEBUG?.includes("h2:*"));
|
|
159118
159118
|
}
|
|
159119
159119
|
|
|
159120
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
159120
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/defer.js
|
|
159121
159121
|
init_cjs_shims();
|
|
159122
159122
|
function deferPromise() {
|
|
159123
159123
|
const deferred2 = { state: "pending" };
|
|
@@ -159136,7 +159136,7 @@ function deferPromise() {
|
|
|
159136
159136
|
return deferred2;
|
|
159137
159137
|
}
|
|
159138
159138
|
|
|
159139
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
159139
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/auth.js
|
|
159140
159140
|
async function logout2(root) {
|
|
159141
159141
|
await logout();
|
|
159142
159142
|
await resetConfig(root);
|
|
@@ -159245,7 +159245,7 @@ function renderLoginSuccess(config) {
|
|
|
159245
159245
|
});
|
|
159246
159246
|
}
|
|
159247
159247
|
|
|
159248
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
159248
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/onboarding/common.js
|
|
159249
159249
|
init_cjs_shims();
|
|
159250
159250
|
import { readdir as readdir4 } from "node:fs/promises";
|
|
159251
159251
|
|
|
@@ -163262,10 +163262,10 @@ async function isClean(directory) {
|
|
|
163262
163262
|
return (await esm_default({ baseDir: directory }).status()).isClean();
|
|
163263
163263
|
}
|
|
163264
163264
|
|
|
163265
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
163265
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/index.js
|
|
163266
163266
|
init_cjs_shims();
|
|
163267
163267
|
|
|
163268
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
163268
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/assets.js
|
|
163269
163269
|
init_cjs_shims();
|
|
163270
163270
|
var SETUP_CSS_STRATEGIES = [
|
|
163271
163271
|
"tailwind",
|
|
@@ -163310,10 +163310,10 @@ async function canWriteFiles(assetMap, directory, force) {
|
|
|
163310
163310
|
return true;
|
|
163311
163311
|
}
|
|
163312
163312
|
|
|
163313
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
163313
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/tailwind.js
|
|
163314
163314
|
init_cjs_shims();
|
|
163315
163315
|
|
|
163316
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
163316
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/replacers.js
|
|
163317
163317
|
init_cjs_shims();
|
|
163318
163318
|
async function replaceRootLinks(appDirectory, formatConfig, importer) {
|
|
163319
163319
|
const { filepath, astType } = await findFileWithExtension(appDirectory, "root");
|
|
@@ -163383,7 +163383,7 @@ function injectCssBundlingLink(appDirectory, formatConfig) {
|
|
|
163383
163383
|
});
|
|
163384
163384
|
}
|
|
163385
163385
|
|
|
163386
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
163386
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/tailwind.js
|
|
163387
163387
|
var tailwindCssPath = "styles/tailwind.css";
|
|
163388
163388
|
async function setupTailwind({ rootDirectory, appDirectory, ...futureOptions }, force = false) {
|
|
163389
163389
|
const relativeAppDirectory = relativePath(rootDirectory, appDirectory);
|
|
@@ -163425,7 +163425,7 @@ async function setupTailwind({ rootDirectory, appDirectory, ...futureOptions },
|
|
|
163425
163425
|
};
|
|
163426
163426
|
}
|
|
163427
163427
|
|
|
163428
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
163428
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/postcss.js
|
|
163429
163429
|
init_cjs_shims();
|
|
163430
163430
|
async function setupPostCss({ rootDirectory, appDirectory, ...futureOptions }, force = false) {
|
|
163431
163431
|
const assetMap = {
|
|
@@ -163452,7 +163452,7 @@ async function setupPostCss({ rootDirectory, appDirectory, ...futureOptions }, f
|
|
|
163452
163452
|
};
|
|
163453
163453
|
}
|
|
163454
163454
|
|
|
163455
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
163455
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/css-modules.js
|
|
163456
163456
|
init_cjs_shims();
|
|
163457
163457
|
async function setupCssModules({
|
|
163458
163458
|
rootDirectory,
|
|
@@ -163471,7 +163471,7 @@ async function setupCssModules({
|
|
|
163471
163471
|
};
|
|
163472
163472
|
}
|
|
163473
163473
|
|
|
163474
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
163474
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/vanilla-extract.js
|
|
163475
163475
|
init_cjs_shims();
|
|
163476
163476
|
async function setupVanillaExtract({
|
|
163477
163477
|
rootDirectory,
|
|
@@ -163490,7 +163490,7 @@ async function setupVanillaExtract({
|
|
|
163490
163490
|
};
|
|
163491
163491
|
}
|
|
163492
163492
|
|
|
163493
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
163493
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/index.js
|
|
163494
163494
|
var STYLING_CHOICES = [...SETUP_CSS_STRATEGIES, "none"];
|
|
163495
163495
|
var CSS_STRATEGY_NAME_MAP = {
|
|
163496
163496
|
tailwind: "Tailwind",
|
|
@@ -163528,11 +163528,11 @@ async function renderCssPrompt(options) {
|
|
|
163528
163528
|
});
|
|
163529
163529
|
}
|
|
163530
163530
|
|
|
163531
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
163531
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/routes/generate.js
|
|
163532
163532
|
init_cjs_shims();
|
|
163533
163533
|
import { readdir as readdir3 } from "node:fs/promises";
|
|
163534
163534
|
|
|
163535
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
163535
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/remix-version-interop.js
|
|
163536
163536
|
init_cjs_shims();
|
|
163537
163537
|
import { createRequire as createRequire2 } from "module";
|
|
163538
163538
|
function convertRouteToV1(route) {
|
|
@@ -163548,13 +163548,13 @@ function isV1RouteConventionInstalled() {
|
|
|
163548
163548
|
}
|
|
163549
163549
|
}
|
|
163550
163550
|
|
|
163551
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
163551
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/remix-config.js
|
|
163552
163552
|
init_cjs_shims();
|
|
163553
163553
|
import { createRequire as createRequire4 } from "node:module";
|
|
163554
163554
|
import path2 from "node:path";
|
|
163555
163555
|
import { readdir as readdir2 } from "node:fs/promises";
|
|
163556
163556
|
|
|
163557
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
163557
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/remix-version-check.js
|
|
163558
163558
|
init_cjs_shims();
|
|
163559
163559
|
import { createRequire as createRequire3 } from "node:module";
|
|
163560
163560
|
var REQUIRED_REMIX_VERSION = "^2.1.0";
|
|
@@ -163603,7 +163603,7 @@ function getRemixPackageVersion(require22, name, root) {
|
|
|
163603
163603
|
return result;
|
|
163604
163604
|
}
|
|
163605
163605
|
|
|
163606
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
163606
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/vite-config.js
|
|
163607
163607
|
init_cjs_shims();
|
|
163608
163608
|
async function hasViteConfig(root) {
|
|
163609
163609
|
const result = await findFileWithExtension(root, "vite.config");
|
|
@@ -163676,7 +163676,7 @@ function findOxygenPlugin(config) {
|
|
|
163676
163676
|
return findPlugin(config, "oxygen:main");
|
|
163677
163677
|
}
|
|
163678
163678
|
|
|
163679
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
163679
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/remix-config.js
|
|
163680
163680
|
async function hasRemixConfigFile(root) {
|
|
163681
163681
|
const result = await findFileWithExtension(root, "remix.config");
|
|
163682
163682
|
return !!result.filepath;
|
|
@@ -163828,7 +163828,7 @@ async function assertEntryFileExists(root, fileRelative) {
|
|
|
163828
163828
|
}
|
|
163829
163829
|
}
|
|
163830
163830
|
|
|
163831
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
163831
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/routes/generate.js
|
|
163832
163832
|
var NO_LOCALE_PATTERNS = [/robots\.txt/];
|
|
163833
163833
|
var ROUTE_MAP = {
|
|
163834
163834
|
home: ["_index", "$"],
|
|
@@ -164089,7 +164089,7 @@ async function copyRouteTemplate({
|
|
|
164089
164089
|
await writeFile(routePath, templateContent);
|
|
164090
164090
|
}
|
|
164091
164091
|
|
|
164092
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
164092
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/onboarding/common.js
|
|
164093
164093
|
var LANGUAGES = {
|
|
164094
164094
|
js: "JavaScript",
|
|
164095
164095
|
ts: "TypeScript"
|
|
@@ -164573,7 +164573,7 @@ function generateRandomName() {
|
|
|
164573
164573
|
return `${colorNames} ${geographicalFeature}`;
|
|
164574
164574
|
}
|
|
164575
164575
|
|
|
164576
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
164576
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/link.js
|
|
164577
164577
|
var Link = class _Link extends base_command_default {
|
|
164578
164578
|
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.
|
|
164579
164579
|
|
|
@@ -164719,7 +164719,7 @@ async function createNewStorefront(root, session, storefronts) {
|
|
|
164719
164719
|
return storefront;
|
|
164720
164720
|
}
|
|
164721
164721
|
|
|
164722
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
164722
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/customer-application-update.js
|
|
164723
164723
|
init_cjs_shims();
|
|
164724
164724
|
var CUSTOMER_APPLICATION_URLS_REPLACE = `#graphql
|
|
164725
164725
|
mutation CustomerApplicationUrlsReplace($storefrontId: ID!, $urlsReplaceInput: HydrogenStorefrontCustomerApplicationUrlsReplaceInput!) {
|
|
@@ -164747,7 +164747,7 @@ async function replaceCustomerApplicationUrls(adminSession, storefrontId, urlsRe
|
|
|
164747
164747
|
return { success, userErrors };
|
|
164748
164748
|
}
|
|
164749
164749
|
|
|
164750
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
164750
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/customer-account/push.js
|
|
164751
164751
|
var CustomerAccountPush = class _CustomerAccountPush extends base_command_default {
|
|
164752
164752
|
static description = "Push project configuration to admin";
|
|
164753
164753
|
static flags = {
|
|
@@ -164906,7 +164906,7 @@ async function getStorefrontId(root, storefrontIdFromFlag) {
|
|
|
164906
164906
|
return newConfig.storefront?.id;
|
|
164907
164907
|
}
|
|
164908
164908
|
|
|
164909
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
164909
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/environment-variables.js
|
|
164910
164910
|
init_cjs_shims();
|
|
164911
164911
|
|
|
164912
164912
|
// ../../node_modules/.pnpm/@shopify+cli-kit@3.61.0/node_modules/@shopify/cli-kit/dist/public/node/dot-env.js
|
|
@@ -164991,7 +164991,7 @@ function createDotEnvFileLine(key, value, quote2) {
|
|
|
164991
164991
|
return `${key}=${value}`;
|
|
164992
164992
|
}
|
|
164993
164993
|
|
|
164994
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
164994
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/pull-variables.js
|
|
164995
164995
|
init_cjs_shims();
|
|
164996
164996
|
var PullVariablesQuery = `#graphql
|
|
164997
164997
|
query PullVariables($id: ID!, $handle: String) {
|
|
@@ -165019,7 +165019,7 @@ async function getStorefrontEnvVariables(adminSession, storefrontId, envHandle)
|
|
|
165019
165019
|
return hydrogenStorefront;
|
|
165020
165020
|
}
|
|
165021
165021
|
|
|
165022
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
165022
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/list-environments.js
|
|
165023
165023
|
init_cjs_shims();
|
|
165024
165024
|
var ListEnvironmentsQuery = `#graphql
|
|
165025
165025
|
query ListStorefronts($id: ID!) {
|
|
@@ -165047,7 +165047,7 @@ async function getStorefrontEnvironments(adminSession, storefrontId) {
|
|
|
165047
165047
|
return hydrogenStorefront;
|
|
165048
165048
|
}
|
|
165049
165049
|
|
|
165050
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
165050
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/common.js
|
|
165051
165051
|
init_cjs_shims();
|
|
165052
165052
|
function orderEnvironmentsBySafety(environments) {
|
|
165053
165053
|
return [
|
|
@@ -165095,7 +165095,7 @@ function environmentNotFound(criterion, value) {
|
|
|
165095
165095
|
);
|
|
165096
165096
|
}
|
|
165097
165097
|
|
|
165098
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
165098
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/environment-variables.js
|
|
165099
165099
|
var createEmptyRemoteVars = () => ({
|
|
165100
165100
|
remoteVariables: {},
|
|
165101
165101
|
remoteSecrets: {}
|
|
@@ -165176,7 +165176,7 @@ async function getLocalVariables(root) {
|
|
|
165176
165176
|
);
|
|
165177
165177
|
}
|
|
165178
165178
|
|
|
165179
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
165179
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/tunneling.js
|
|
165180
165180
|
init_cjs_shims();
|
|
165181
165181
|
async function startTunnelPlugin(config, port, provider) {
|
|
165182
165182
|
const hooks = await fanoutHooks(config, "tunnel_start", { port, provider });
|
|
@@ -165217,7 +165217,7 @@ async function pollTunnelURL(tunnelClient) {
|
|
|
165217
165217
|
});
|
|
165218
165218
|
}
|
|
165219
165219
|
|
|
165220
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-
|
|
165220
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/dev-shared.js
|
|
165221
165221
|
function isMockShop(envVariables) {
|
|
165222
165222
|
return envVariables.PUBLIC_STORE_DOMAIN === "mock.shop" || // We fallback to mock.shop if the env var is falsy.
|
|
165223
165223
|
// When it's undefined, it might be overwritten by remote variables.
|
|
@@ -165318,7 +165318,6 @@ export {
|
|
|
165318
165318
|
supressNodeExperimentalWarnings,
|
|
165319
165319
|
isHydrogenMonorepo,
|
|
165320
165320
|
hydrogenPackagesPath,
|
|
165321
|
-
getPkgJsonPath,
|
|
165322
165321
|
getAssetsDir,
|
|
165323
165322
|
getTemplateAppFile,
|
|
165324
165323
|
getStarterDir,
|