@shopify/cli 3.66.1 → 3.67.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/dist/assets/cli-ruby/lib/shopify_cli/theme/dev_server/proxy.rb +3 -7
- package/dist/assets/hydrogen/starter/CHANGELOG.md +105 -0
- package/dist/assets/hydrogen/starter/app/components/CartSummary.tsx +79 -0
- package/dist/assets/hydrogen/starter/app/components/Header.tsx +3 -9
- package/dist/assets/hydrogen/starter/app/lib/fragments.ts +6 -0
- package/dist/assets/hydrogen/starter/app/lib/search.ts +2 -2
- package/dist/assets/hydrogen/starter/app/root.tsx +5 -3
- package/dist/assets/hydrogen/starter/app/routes/cart.tsx +14 -0
- package/dist/assets/hydrogen/starter/package.json +5 -5
- package/dist/assets/hydrogen/starter/storefrontapi.generated.d.ts +5 -0
- package/dist/{chunk-NLZ5VWA3.js → chunk-2A4NZDBL.js} +25 -8
- package/dist/{lib-CPSRXLFM.js → chunk-2HGYYNE5.js} +5 -2
- package/dist/{chunk-MQCE7QDZ.js → chunk-33B37WAX.js} +148 -39
- package/dist/{chunk-N766LDXO.js → chunk-56GJOU7U.js} +29 -5
- package/dist/{chunk-V7KJMBZN.js → chunk-66CAOMYB.js} +3 -3
- package/dist/{chunk-HJEKQ36N.js → chunk-6JA2FWML.js} +3 -3
- package/dist/{chunk-SVKRBSOG.js → chunk-6RGB2VE4.js} +2 -2
- package/dist/{chunk-YK3ZIR2O.js → chunk-7QTS6ZWN.js} +30 -90
- package/dist/{chunk-2J35X4IR.js → chunk-7TTWOW5T.js} +2 -2
- package/dist/{chunk-E5YZHXRF.js → chunk-7VVKCVPD.js} +4 -4
- package/dist/{chunk-GO4OU2FC.js → chunk-A3ZREYWQ.js} +4 -4
- package/dist/{chunk-SQPCZKX5.js → chunk-ALNQ5ENK.js} +4 -4
- package/dist/{chunk-6DU4BL5F.js → chunk-BFQFJ7IZ.js} +28 -17
- package/dist/{chunk-BPHTUL36.js → chunk-BLVJTR72.js} +2 -2
- package/dist/{chunk-PP4BSPLO.js → chunk-BPTBCC7K.js} +9 -4
- package/dist/{chunk-AUKMJHJ7.js → chunk-CLB5CEKJ.js} +3 -3
- package/dist/{chunk-ICYU4JKU.js → chunk-DFWU3T6T.js} +3 -3
- package/dist/{chunk-SCWJ5DTS.js → chunk-DQX6APZ7.js} +3 -3
- package/dist/{chunk-JRECCYJM.js → chunk-DZU2Z54P.js} +75 -75
- package/dist/{chunk-63OWMCSM.js → chunk-ETEUMLXG.js} +4 -4
- package/dist/{chunk-EARW2CGK.js → chunk-FCZFZS5D.js} +5 -5
- package/dist/{chunk-47L545SZ.js → chunk-HDUCYBDJ.js} +5 -5
- package/dist/{chunk-ECD63UWY.js → chunk-HH6CL4YY.js} +4 -4
- package/dist/{chunk-3DZ2Z5F7.js → chunk-NTY5IMTJ.js} +3 -3
- package/dist/{chunk-F6BSBHJJ.js → chunk-NZDBLGNM.js} +4 -3
- package/dist/{chunk-AV2DDU5Q.js → chunk-RG3ZCNYG.js} +2 -2
- package/dist/{chunk-VZ6ZDQBM.js → chunk-ROVTA24T.js} +3 -3
- package/dist/{chunk-ZTHIONMB.js → chunk-RZAH6V72.js} +3 -3
- package/dist/{chunk-74LQ7ZSW.js → chunk-SMD4PKJ4.js} +2 -2
- package/dist/{chunk-ONFQ5XTX.js → chunk-T5OZRID5.js} +7 -7
- package/dist/{chunk-44VQQ5IT.js → chunk-TLEQTJSL.js} +3 -3
- package/dist/{chunk-GXXQT43J.js → chunk-UNEY6YDL.js} +2 -2
- package/dist/{chunk-P2HC3CUV.js → chunk-UYB6BQ5X.js} +4 -4
- package/dist/{chunk-O5XKA735.js → chunk-V4VZ6RSC.js} +2 -2
- package/dist/{chunk-QPYUGCEP.js → chunk-V7FFSXYT.js} +24 -11
- package/dist/{chunk-3ZYNGWAE.js → chunk-W44P3FXC.js} +2 -2
- package/dist/{chunk-PCGPDW4N.js → chunk-X5O6SBDL.js} +3 -3
- package/dist/{chunk-OGVAYZHB.js → chunk-ZEKYC6RR.js} +5 -5
- package/dist/cli/commands/auth/logout.js +13 -12
- package/dist/cli/commands/auth/logout.test.js +14 -13
- package/dist/cli/commands/debug/command-flags.js +12 -11
- package/dist/cli/commands/demo/catalog.js +13 -12
- package/dist/cli/commands/demo/generate-file.js +13 -12
- package/dist/cli/commands/demo/index.js +13 -12
- package/dist/cli/commands/demo/print-ai-prompt.js +13 -12
- package/dist/cli/commands/docs/generate.js +12 -11
- package/dist/cli/commands/docs/generate.test.js +12 -11
- package/dist/cli/commands/help.js +12 -11
- package/dist/cli/commands/kitchen-sink/async.js +13 -12
- package/dist/cli/commands/kitchen-sink/async.test.js +13 -12
- package/dist/cli/commands/kitchen-sink/index.js +15 -14
- package/dist/cli/commands/kitchen-sink/index.test.js +15 -14
- package/dist/cli/commands/kitchen-sink/prompts.js +13 -12
- package/dist/cli/commands/kitchen-sink/prompts.test.js +13 -12
- package/dist/cli/commands/kitchen-sink/static.js +13 -12
- package/dist/cli/commands/kitchen-sink/static.test.js +13 -12
- package/dist/cli/commands/search.js +13 -12
- package/dist/cli/commands/upgrade.js +13 -12
- package/dist/cli/commands/version.js +13 -12
- package/dist/cli/commands/version.test.js +13 -12
- package/dist/cli/services/commands/search.js +5 -4
- package/dist/cli/services/commands/search.test.js +5 -4
- package/dist/cli/services/commands/version.js +6 -5
- package/dist/cli/services/commands/version.test.js +7 -6
- package/dist/cli/services/demo.js +5 -4
- package/dist/cli/services/demo.test.js +5 -4
- package/dist/cli/services/kitchen-sink/async.js +5 -4
- package/dist/cli/services/kitchen-sink/prompts.js +5 -4
- package/dist/cli/services/kitchen-sink/static.js +5 -4
- package/dist/cli/services/upgrade.js +6 -5
- package/dist/cli/services/upgrade.test.js +8 -7
- package/dist/configs/all.yml +3 -0
- package/dist/configs/recommended.yml +3 -0
- package/dist/{constants-C6OOAW2P.js → constants-TR6ABVLJ.js} +4 -2
- package/dist/{custom-oclif-loader-DXBW5MGT.js → custom-oclif-loader-GZT2PBX4.js} +5 -4
- package/dist/data/default_setting_values.json +56 -0
- package/dist/data/filters.json +34 -2
- package/dist/data/latest.json +1 -1
- package/dist/data/objects.json +1644 -6
- package/dist/data/section.json +23 -1
- package/dist/data/setting.json +411 -2
- package/dist/data/shopify_system_translations.json +17 -4
- package/dist/data/tags.json +37 -0
- package/dist/{error-handler-5G7W7NBW.js → error-handler-H2JO5MGI.js} +11 -10
- package/dist/hooks/postrun.js +9 -8
- package/dist/hooks/prerun.js +9 -8
- package/dist/index.js +4314 -1904
- package/dist/{lib-6LEA5PZ7.js → lib-4WCTNKJK.js} +2 -2
- package/dist/lib-PPXZBVZX.js +6 -0
- package/dist/{local-IRPCVBNP.js → local-PNRP6M3C.js} +5 -4
- package/dist/{morph-M726AOW6.js → morph-WDFBUXWF.js} +9 -9
- package/dist/{node-QK7Q2TRB.js → node-FRKV7HYW.js} +16 -15
- package/dist/{node-package-manager-3WV6USI6.js → node-package-manager-XKAH57SF.js} +6 -5
- package/dist/{system-N2OPVMOD.js → system-5YQPPSYJ.js} +7 -6
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-GHKHPRP2.js → ui-TWN6LBOI.js} +5 -4
- package/dist/{workerd-KAYMO4VM.js → workerd-EK4JHLXE.js} +15 -14
- package/oclif.manifest.json +86 -88
- package/package.json +7 -7
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
handleDeprecations,
|
|
8
8
|
logout,
|
|
9
9
|
normalizeStoreFqdn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-33B37WAX.js";
|
|
11
11
|
import {
|
|
12
12
|
base_command_default
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-T5OZRID5.js";
|
|
14
14
|
import {
|
|
15
15
|
fanoutHooks
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-2A4NZDBL.js";
|
|
17
17
|
import {
|
|
18
18
|
findUpAndReadPackageJson,
|
|
19
19
|
getPackageManager,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
packageManagerFromUserAgent,
|
|
22
22
|
readAndParsePackageJson,
|
|
23
23
|
writePackageJSON
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-56GJOU7U.js";
|
|
25
25
|
import {
|
|
26
26
|
AbortError,
|
|
27
27
|
BugError,
|
|
@@ -59,10 +59,10 @@ import {
|
|
|
59
59
|
runWithTimer,
|
|
60
60
|
source_default,
|
|
61
61
|
writeFile
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-7QTS6ZWN.js";
|
|
63
63
|
import {
|
|
64
64
|
require_lib
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-BFQFJ7IZ.js";
|
|
66
66
|
import {
|
|
67
67
|
require_src
|
|
68
68
|
} from "./chunk-SNOECVP4.js";
|
|
@@ -140189,21 +140189,21 @@ var require_main = __commonJS({
|
|
|
140189
140189
|
}
|
|
140190
140190
|
});
|
|
140191
140191
|
|
|
140192
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
140192
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/flags.js
|
|
140193
140193
|
init_cjs_shims();
|
|
140194
140194
|
var import_core = __toESM(require_lib(), 1);
|
|
140195
140195
|
|
|
140196
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
140196
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/index.js
|
|
140197
140197
|
init_cjs_shims();
|
|
140198
140198
|
|
|
140199
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
140199
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/assets.js
|
|
140200
140200
|
init_cjs_shims();
|
|
140201
140201
|
|
|
140202
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
140202
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/build.js
|
|
140203
140203
|
init_cjs_shims();
|
|
140204
140204
|
import { fileURLToPath } from "node:url";
|
|
140205
140205
|
|
|
140206
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
140206
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/process.js
|
|
140207
140207
|
init_cjs_shims();
|
|
140208
140208
|
import { exec } from "node:child_process";
|
|
140209
140209
|
import { promisify } from "node:util";
|
|
@@ -140215,7 +140215,7 @@ function supressNodeExperimentalWarnings() {
|
|
|
140215
140215
|
}));
|
|
140216
140216
|
}
|
|
140217
140217
|
|
|
140218
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
140218
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/build.js
|
|
140219
140219
|
var monorepoPackagesPath = new URL("../../..", import.meta.url).pathname, isHydrogenMonorepo = monorepoPackagesPath.endsWith(
|
|
140220
140220
|
"/hydrogen/packages/"
|
|
140221
140221
|
), hydrogenPackagesPath = isHydrogenMonorepo ? monorepoPackagesPath : void 0, ASSETS_DIR_PREFIX = "assets/hydrogen", ASSETS_STARTER_DIR = "starter", ASSETS_STARTER_DIR_ROUTES = "routes", pkgJsonPath;
|
|
@@ -140262,7 +140262,7 @@ async function getRepoNodeModules() {
|
|
|
140262
140262
|
return !nodeModulesPath && isHydrogenMonorepo && (nodeModulesPath = joinPath(dirname(monorepoPackagesPath), "node_modules")), nodeModulesPath;
|
|
140263
140263
|
}
|
|
140264
140264
|
|
|
140265
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
140265
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/assets.js
|
|
140266
140266
|
var SETUP_CSS_STRATEGIES = [
|
|
140267
140267
|
"tailwind",
|
|
140268
140268
|
"vanilla-extract",
|
|
@@ -140297,14 +140297,14 @@ async function canWriteFiles(assetMap, directory, force) {
|
|
|
140297
140297
|
}));
|
|
140298
140298
|
}
|
|
140299
140299
|
|
|
140300
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
140300
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/tailwind.js
|
|
140301
140301
|
init_cjs_shims();
|
|
140302
140302
|
|
|
140303
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
140303
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/file.js
|
|
140304
140304
|
init_cjs_shims();
|
|
140305
140305
|
import { readdir } from "node:fs/promises";
|
|
140306
140306
|
|
|
140307
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
140307
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/format-code.js
|
|
140308
140308
|
init_cjs_shims();
|
|
140309
140309
|
var prettier = __toESM(require_prettier(), 1), DEFAULT_PRETTIER_CONFIG = {
|
|
140310
140310
|
arrowParens: "always",
|
|
@@ -140330,7 +140330,7 @@ async function formatCode(content, config = DEFAULT_PRETTIER_CONFIG, filePath =
|
|
|
140330
140330
|
});
|
|
140331
140331
|
}
|
|
140332
140332
|
|
|
140333
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
140333
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/file.js
|
|
140334
140334
|
async function replaceFileContent(filepath, formatConfig, replacer) {
|
|
140335
140335
|
let content = await replacer(await readFile(filepath));
|
|
140336
140336
|
if (typeof content == "string")
|
|
@@ -140411,10 +140411,10 @@ async function mergeTsConfig(sourceDir, targetDir) {
|
|
|
140411
140411
|
);
|
|
140412
140412
|
}
|
|
140413
140413
|
|
|
140414
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
140414
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/replacers.js
|
|
140415
140415
|
init_cjs_shims();
|
|
140416
140416
|
|
|
140417
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
140417
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/ast.js
|
|
140418
140418
|
init_cjs_shims();
|
|
140419
140419
|
async function importLangAstGrep(lang) {
|
|
140420
140420
|
let astGrep = await import("@ast-grep/napi");
|
|
@@ -140423,7 +140423,7 @@ async function importLangAstGrep(lang) {
|
|
|
140423
140423
|
return astGrep[lang];
|
|
140424
140424
|
}
|
|
140425
140425
|
|
|
140426
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
140426
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/replacers.js
|
|
140427
140427
|
async function replaceRootLinks(appDirectory, formatConfig, importer) {
|
|
140428
140428
|
let { filepath, astType } = await findFileWithExtension(appDirectory, "root");
|
|
140429
140429
|
if (!filepath || !astType)
|
|
@@ -140542,7 +140542,7 @@ var vitePluginListRule = {
|
|
|
140542
140542
|
}
|
|
140543
140543
|
};
|
|
140544
140544
|
|
|
140545
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
140545
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/tailwind.js
|
|
140546
140546
|
var tailwindCssPath = "styles/tailwind.css";
|
|
140547
140547
|
async function setupTailwind({ rootDirectory, appDirectory }, force = !1) {
|
|
140548
140548
|
let relativeAppDirectory = relativePath(rootDirectory, appDirectory), assetMap = {
|
|
@@ -140578,7 +140578,7 @@ async function setupTailwind({ rootDirectory, appDirectory }, force = !1) {
|
|
|
140578
140578
|
};
|
|
140579
140579
|
}
|
|
140580
140580
|
|
|
140581
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
140581
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/vanilla-extract.js
|
|
140582
140582
|
init_cjs_shims();
|
|
140583
140583
|
async function setupVanillaExtract({
|
|
140584
140584
|
rootDirectory
|
|
@@ -140599,7 +140599,7 @@ async function setupVanillaExtract({
|
|
|
140599
140599
|
};
|
|
140600
140600
|
}
|
|
140601
140601
|
|
|
140602
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
140602
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/index.js
|
|
140603
140603
|
var STYLING_CHOICES = [...SETUP_CSS_STRATEGIES, "none"], CSS_STRATEGY_NAME_MAP = {
|
|
140604
140604
|
tailwind: "Tailwind (v4 alpha)",
|
|
140605
140605
|
"vanilla-extract": "Vanilla Extract",
|
|
@@ -140644,23 +140644,23 @@ async function renderCssPrompt(options) {
|
|
|
140644
140644
|
});
|
|
140645
140645
|
}
|
|
140646
140646
|
|
|
140647
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
140647
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/i18n/index.js
|
|
140648
140648
|
init_cjs_shims();
|
|
140649
140649
|
|
|
140650
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
140650
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/i18n/replacers.js
|
|
140651
140651
|
init_cjs_shims();
|
|
140652
140652
|
|
|
140653
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
140653
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/transpile/index.js
|
|
140654
140654
|
init_cjs_shims();
|
|
140655
140655
|
|
|
140656
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
140656
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/transpile/file.js
|
|
140657
140657
|
init_cjs_shims();
|
|
140658
140658
|
async function transpileFile(code, filepath, keepTypes = !0) {
|
|
140659
|
-
let { transpileTs } = await import("./morph-
|
|
140659
|
+
let { transpileTs } = await import("./morph-WDFBUXWF.js");
|
|
140660
140660
|
return transpileTs(code, filepath, keepTypes);
|
|
140661
140661
|
}
|
|
140662
140662
|
|
|
140663
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
140663
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/transpile/project.js
|
|
140664
140664
|
init_cjs_shims();
|
|
140665
140665
|
var DEFAULT_JS_CONFIG = {
|
|
140666
140666
|
checkJs: !1,
|
|
@@ -140766,7 +140766,7 @@ async function transpileProject(projectDir, keepTypes = !0) {
|
|
|
140766
140766
|
}
|
|
140767
140767
|
}
|
|
140768
140768
|
|
|
140769
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
140769
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/i18n/replacers.js
|
|
140770
140770
|
async function replaceContextI18n({
|
|
140771
140771
|
rootDirectory,
|
|
140772
140772
|
contextCreate = joinPath("app", "lib", "context.ts")
|
|
@@ -140905,7 +140905,7 @@ async function findContextCreateFile({
|
|
|
140905
140905
|
return { filepath, astType };
|
|
140906
140906
|
}
|
|
140907
140907
|
|
|
140908
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
140908
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/i18n/index.js
|
|
140909
140909
|
var SETUP_I18N_STRATEGIES = [
|
|
140910
140910
|
"subfolders",
|
|
140911
140911
|
"domains",
|
|
@@ -140937,7 +140937,7 @@ async function renderI18nPrompt(options) {
|
|
|
140937
140937
|
});
|
|
140938
140938
|
}
|
|
140939
140939
|
|
|
140940
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
140940
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/flags.js
|
|
140941
140941
|
var DEFAULT_APP_PORT = 3e3, DEFAULT_INSPECTOR_PORT = 9229, commonFlags = {
|
|
140942
140942
|
path: {
|
|
140943
140943
|
path: import_core.Flags.string({
|
|
@@ -141007,7 +141007,7 @@ var DEFAULT_APP_PORT = 3e3, DEFAULT_INSPECTOR_PORT = 9229, commonFlags = {
|
|
|
141007
141007
|
},
|
|
141008
141008
|
sourcemap: {
|
|
141009
141009
|
sourcemap: import_core.Flags.boolean({
|
|
141010
|
-
description: "Controls whether sourcemaps are generated. Default to `true`. Deactivate `--no-sourcemaps`.",
|
|
141010
|
+
description: "Controls whether server sourcemaps are generated. Default to `true`. Deactivate `--no-sourcemaps`.",
|
|
141011
141011
|
env: "SHOPIFY_HYDROGEN_FLAG_SOURCEMAP",
|
|
141012
141012
|
default: !0,
|
|
141013
141013
|
allowNo: !0
|
|
@@ -141138,7 +141138,7 @@ function overrideFlag(flags, extra) {
|
|
|
141138
141138
|
);
|
|
141139
141139
|
}
|
|
141140
141140
|
|
|
141141
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141141
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/import-utils.js
|
|
141142
141142
|
init_cjs_shims();
|
|
141143
141143
|
import { createRequire } from "node:module";
|
|
141144
141144
|
import { pathToFileURL } from "node:url";
|
|
@@ -141161,13 +141161,13 @@ function importLocal(packageName, path3) {
|
|
|
141161
141161
|
return import(pathToFileURL(realPath).href);
|
|
141162
141162
|
}
|
|
141163
141163
|
|
|
141164
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141164
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/request-events.js
|
|
141165
141165
|
init_cjs_shims();
|
|
141166
141166
|
import path from "node:path";
|
|
141167
141167
|
import { EventEmitter } from "node:events";
|
|
141168
141168
|
import { ReadableStream } from "node:stream/web";
|
|
141169
141169
|
|
|
141170
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141170
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphiql-url.js
|
|
141171
141171
|
init_cjs_shims();
|
|
141172
141172
|
function getGraphiQLUrl({
|
|
141173
141173
|
host = "",
|
|
@@ -141181,7 +141181,7 @@ function getGraphiQLUrl({
|
|
|
141181
141181
|
return url;
|
|
141182
141182
|
}
|
|
141183
141183
|
|
|
141184
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141184
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/request-events.js
|
|
141185
141185
|
var import_source_map_support = __toESM(require_source_map_support(), 1), H2O_BINDING_NAME = "H2O_LOG_EVENT", ResponseConstructor;
|
|
141186
141186
|
function setConstructors(constructors) {
|
|
141187
141187
|
ResponseConstructor = constructors.Response;
|
|
@@ -141283,7 +141283,7 @@ function handleDebugNetworkRequest(request) {
|
|
|
141283
141283
|
return request.method === "DELETE" ? clearHistory() : streamRequestEvents(request);
|
|
141284
141284
|
}
|
|
141285
141285
|
|
|
141286
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141286
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/mini-oxygen/common.js
|
|
141287
141287
|
init_cjs_shims();
|
|
141288
141288
|
var SUBREQUEST_PROFILER_ENDPOINT = "/debug-network-server";
|
|
141289
141289
|
function handleMiniOxygenImportFail() {
|
|
@@ -141318,21 +141318,21 @@ function logRequestLine({
|
|
|
141318
141318
|
}
|
|
141319
141319
|
}
|
|
141320
141320
|
|
|
141321
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141321
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/dev-shared.js
|
|
141322
141322
|
init_cjs_shims();
|
|
141323
141323
|
|
|
141324
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141324
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/customer-account/push.js
|
|
141325
141325
|
init_cjs_shims();
|
|
141326
141326
|
var import_core3 = __toESM(require_lib(), 1);
|
|
141327
141327
|
|
|
141328
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141328
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/link.js
|
|
141329
141329
|
init_cjs_shims();
|
|
141330
141330
|
var import_core2 = __toESM(require_lib(), 1);
|
|
141331
141331
|
|
|
141332
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141332
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/link-storefront.js
|
|
141333
141333
|
init_cjs_shims();
|
|
141334
141334
|
|
|
141335
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141335
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/client.js
|
|
141336
141336
|
init_cjs_shims();
|
|
141337
141337
|
async function adminRequest(query, session, variables) {
|
|
141338
141338
|
let api = "Admin", url = `https://${session.storeFqdn}/admin/api/unstable/graphql.json`;
|
|
@@ -141368,7 +141368,7 @@ async function adminRequest(query, session, variables) {
|
|
|
141368
141368
|
}
|
|
141369
141369
|
}
|
|
141370
141370
|
|
|
141371
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141371
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/gid.js
|
|
141372
141372
|
init_cjs_shims();
|
|
141373
141373
|
var GID_REGEXP = /gid:\/\/shopify\/\w*\/(\d+)/;
|
|
141374
141374
|
function parseGid(gid) {
|
|
@@ -141378,7 +141378,7 @@ function parseGid(gid) {
|
|
|
141378
141378
|
throw new AbortError(`Invalid Global ID: ${gid}`);
|
|
141379
141379
|
}
|
|
141380
141380
|
|
|
141381
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141381
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/link-storefront.js
|
|
141382
141382
|
var LinkStorefrontQuery = `#graphql
|
|
141383
141383
|
query LinkStorefront {
|
|
141384
141384
|
hydrogenStorefronts {
|
|
@@ -141399,7 +141399,7 @@ async function getStorefronts(adminSession) {
|
|
|
141399
141399
|
}));
|
|
141400
141400
|
}
|
|
141401
141401
|
|
|
141402
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141402
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/shopify-config.js
|
|
141403
141403
|
init_cjs_shims();
|
|
141404
141404
|
var SHOPIFY_DIR = ".shopify", SHOPIFY_DIR_PROJECT = "project.json";
|
|
141405
141405
|
async function resetConfig(root) {
|
|
@@ -141470,7 +141470,7 @@ async function setCustomerAccountConfig(root, customerAccountConfig) {
|
|
|
141470
141470
|
}
|
|
141471
141471
|
}
|
|
141472
141472
|
|
|
141473
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141473
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/create-storefront.js
|
|
141474
141474
|
init_cjs_shims();
|
|
141475
141475
|
var CreateStorefrontMutation = `#graphql
|
|
141476
141476
|
mutation CreateStorefront($title: String!) {
|
|
@@ -141504,7 +141504,7 @@ async function createStorefront(adminSession, title) {
|
|
|
141504
141504
|
return { jobId, storefront: hydrogenStorefront };
|
|
141505
141505
|
}
|
|
141506
141506
|
|
|
141507
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141507
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/fetch-job.js
|
|
141508
141508
|
init_cjs_shims();
|
|
141509
141509
|
var FetchJobQuery = `#graphql
|
|
141510
141510
|
query FetchJob($id: ID!) {
|
|
@@ -141538,7 +141538,7 @@ function waitForJob(adminSession, jobId) {
|
|
|
141538
141538
|
});
|
|
141539
141539
|
}
|
|
141540
141540
|
|
|
141541
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141541
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/string.js
|
|
141542
141542
|
init_cjs_shims();
|
|
141543
141543
|
function titleize(name = "") {
|
|
141544
141544
|
return name.replace(/[\W_]+/g, " ").split(" ").filter((word) => word.length > 0).map(
|
|
@@ -141546,7 +141546,7 @@ function titleize(name = "") {
|
|
|
141546
141546
|
).join(" ");
|
|
141547
141547
|
}
|
|
141548
141548
|
|
|
141549
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141549
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/shell.js
|
|
141550
141550
|
init_cjs_shims();
|
|
141551
141551
|
import os from "node:os";
|
|
141552
141552
|
var ALIAS_NAME = "h2", isWindows = () => os.platform() === "win32", isGitBash = () => !!process.env.MINGW_PREFIX;
|
|
@@ -141661,10 +141661,10 @@ async function getCliCommand(directory = process.cwd(), forcePkgManager) {
|
|
|
141661
141661
|
return (pkgManager === "bun" || pkgManager === "pnpm" || pkgManager === "yarn") && (cli = pkgManager), `${cli} shopify hydrogen`;
|
|
141662
141662
|
}
|
|
141663
141663
|
|
|
141664
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141664
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/auth.js
|
|
141665
141665
|
init_cjs_shims();
|
|
141666
141666
|
|
|
141667
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141667
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/business-platform/user-account.js
|
|
141668
141668
|
init_cjs_shims();
|
|
141669
141669
|
|
|
141670
141670
|
// ../cli-kit/dist/public/node/api/business-platform.js
|
|
@@ -141716,7 +141716,7 @@ async function businessPlatformOrganizationsRequestDoc(query, token, organizatio
|
|
|
141716
141716
|
});
|
|
141717
141717
|
}
|
|
141718
141718
|
|
|
141719
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141719
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/business-platform/user-account.js
|
|
141720
141720
|
var CurrentUserAccountQuery = `#graphql
|
|
141721
141721
|
query currentUserAccount {
|
|
141722
141722
|
currentUserAccount {
|
|
@@ -141795,7 +141795,7 @@ async function getUserAccount(token) {
|
|
|
141795
141795
|
};
|
|
141796
141796
|
}
|
|
141797
141797
|
|
|
141798
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141798
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/log.js
|
|
141799
141799
|
init_cjs_shims();
|
|
141800
141800
|
var originalConsole = { ...console }, methodsReplaced = /* @__PURE__ */ new Set(), addedReplacers = /* @__PURE__ */ new Set(), messageReplacers = [];
|
|
141801
141801
|
function addMessageReplacers(key, ...items) {
|
|
@@ -142071,7 +142071,7 @@ function isH2Verbose() {
|
|
|
142071
142071
|
return !!(process.env.DEBUG === "*" || process.env.DEBUG?.includes("h2:*"));
|
|
142072
142072
|
}
|
|
142073
142073
|
|
|
142074
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
142074
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/auth.js
|
|
142075
142075
|
async function logout2(root) {
|
|
142076
142076
|
await logout(), await resetConfig(root);
|
|
142077
142077
|
}
|
|
@@ -142110,7 +142110,7 @@ function renderLoginSuccess(config) {
|
|
|
142110
142110
|
});
|
|
142111
142111
|
}
|
|
142112
142112
|
|
|
142113
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
142113
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/onboarding/common.js
|
|
142114
142114
|
init_cjs_shims();
|
|
142115
142115
|
import { symlink, readdir as readdir4 } from "node:fs/promises";
|
|
142116
142116
|
|
|
@@ -144935,11 +144935,11 @@ async function isClean(directory) {
|
|
|
144935
144935
|
return (await esm_default({ baseDir: directory }).status()).isClean();
|
|
144936
144936
|
}
|
|
144937
144937
|
|
|
144938
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
144938
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/routes/generate.js
|
|
144939
144939
|
init_cjs_shims();
|
|
144940
144940
|
import { readdir as readdir3 } from "node:fs/promises";
|
|
144941
144941
|
|
|
144942
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
144942
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/remix-version-interop.js
|
|
144943
144943
|
init_cjs_shims();
|
|
144944
144944
|
import { createRequire as createRequire2 } from "module";
|
|
144945
144945
|
function convertRouteToV1(route) {
|
|
@@ -144953,13 +144953,13 @@ function isV1RouteConventionInstalled() {
|
|
|
144953
144953
|
}
|
|
144954
144954
|
}
|
|
144955
144955
|
|
|
144956
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
144956
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/remix-config.js
|
|
144957
144957
|
init_cjs_shims();
|
|
144958
144958
|
import { createRequire as createRequire4 } from "node:module";
|
|
144959
144959
|
import path2 from "node:path";
|
|
144960
144960
|
import { readdir as readdir2 } from "node:fs/promises";
|
|
144961
144961
|
|
|
144962
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
144962
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/remix-version-check.js
|
|
144963
144963
|
init_cjs_shims();
|
|
144964
144964
|
import { createRequire as createRequire3 } from "node:module";
|
|
144965
144965
|
var REQUIRED_REMIX_VERSION = "^2.1.0";
|
|
@@ -144999,7 +144999,7 @@ function getRemixPackageVersion(require22, name, root) {
|
|
|
144999
144999
|
return result;
|
|
145000
145000
|
}
|
|
145001
145001
|
|
|
145002
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
145002
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/vite-config.js
|
|
145003
145003
|
init_cjs_shims();
|
|
145004
145004
|
async function hasViteConfig(root) {
|
|
145005
145005
|
return !!(await findFileWithExtension(root, "vite.config")).filepath;
|
|
@@ -145066,7 +145066,7 @@ function findOxygenPlugin(config) {
|
|
|
145066
145066
|
return findPlugin(config, "oxygen:main");
|
|
145067
145067
|
}
|
|
145068
145068
|
|
|
145069
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
145069
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/remix-config.js
|
|
145070
145070
|
async function hasRemixConfigFile(root) {
|
|
145071
145071
|
return !!(await findFileWithExtension(root, "remix.config")).filepath;
|
|
145072
145072
|
}
|
|
@@ -145192,7 +145192,7 @@ async function assertEntryFileExists(root, fileRelative) {
|
|
|
145192
145192
|
}
|
|
145193
145193
|
}
|
|
145194
145194
|
|
|
145195
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
145195
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/routes/generate.js
|
|
145196
145196
|
var NO_LOCALE_PATTERNS = [/robots\.txt/], ROUTE_MAP = {
|
|
145197
145197
|
home: ["_index", "$"],
|
|
145198
145198
|
page: "pages*",
|
|
@@ -145405,7 +145405,7 @@ async function copyRouteTemplate({
|
|
|
145405
145405
|
adapter && (templateContent = replaceAdapters(templateContent, adapter)), typescript || (templateContent = await transpileFile(templateContent, templatePath)), templateContent = await formatCode(templateContent, formatOptions, routePath), await writeFile(routePath, templateContent);
|
|
145406
145406
|
}
|
|
145407
145407
|
|
|
145408
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
145408
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/onboarding/common.js
|
|
145409
145409
|
var LANGUAGES = {
|
|
145410
145410
|
js: "JavaScript",
|
|
145411
145411
|
ts: "TypeScript"
|
|
@@ -145853,7 +145853,7 @@ function generateRandomName() {
|
|
|
145853
145853
|
])} ${geographicalFeature}`;
|
|
145854
145854
|
}
|
|
145855
145855
|
|
|
145856
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
145856
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/link.js
|
|
145857
145857
|
var Link = class _Link extends base_command_default {
|
|
145858
145858
|
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.
|
|
145859
145859
|
|
|
@@ -145974,7 +145974,7 @@ async function createNewStorefront(root, session, storefronts) {
|
|
|
145974
145974
|
return storefront;
|
|
145975
145975
|
}
|
|
145976
145976
|
|
|
145977
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
145977
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/customer-application-update.js
|
|
145978
145978
|
init_cjs_shims();
|
|
145979
145979
|
var CUSTOMER_APPLICATION_URLS_REPLACE = `#graphql
|
|
145980
145980
|
mutation CustomerApplicationUrlsReplace($storefrontId: ID!, $urlsReplaceInput: HydrogenStorefrontCustomerApplicationUrlsReplaceInput!) {
|
|
@@ -146002,7 +146002,7 @@ async function replaceCustomerApplicationUrls(adminSession, storefrontId, urlsRe
|
|
|
146002
146002
|
return { success, userErrors };
|
|
146003
146003
|
}
|
|
146004
146004
|
|
|
146005
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
146005
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/customer-account/push.js
|
|
146006
146006
|
var CustomerAccountPush = class _CustomerAccountPush extends base_command_default {
|
|
146007
146007
|
static description = "Push project configuration to admin";
|
|
146008
146008
|
static flags = {
|
|
@@ -146137,7 +146137,7 @@ async function getStorefrontId(root, storefrontIdFromFlag) {
|
|
|
146137
146137
|
}) ? (await getConfig(root)).storefront?.id : void 0;
|
|
146138
146138
|
}
|
|
146139
146139
|
|
|
146140
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
146140
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/environment-variables.js
|
|
146141
146141
|
init_cjs_shims();
|
|
146142
146142
|
|
|
146143
146143
|
// ../cli-kit/dist/public/node/dot-env.js
|
|
@@ -146207,7 +146207,7 @@ function createDotEnvFileLine(key, value, quote2) {
|
|
|
146207
146207
|
return `${key}=${value}`;
|
|
146208
146208
|
}
|
|
146209
146209
|
|
|
146210
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
146210
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/pull-variables.js
|
|
146211
146211
|
init_cjs_shims();
|
|
146212
146212
|
var PullVariablesQuery = `#graphql
|
|
146213
146213
|
query PullVariables($id: ID!, $handle: String) {
|
|
@@ -146235,7 +146235,7 @@ async function getStorefrontEnvVariables(adminSession, storefrontId, envHandle)
|
|
|
146235
146235
|
return hydrogenStorefront;
|
|
146236
146236
|
}
|
|
146237
146237
|
|
|
146238
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
146238
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/list-environments.js
|
|
146239
146239
|
init_cjs_shims();
|
|
146240
146240
|
var ListEnvironmentsQuery = `#graphql
|
|
146241
146241
|
query ListStorefronts($id: ID!) {
|
|
@@ -146263,7 +146263,7 @@ async function getStorefrontEnvironments(adminSession, storefrontId) {
|
|
|
146263
146263
|
return hydrogenStorefront;
|
|
146264
146264
|
}
|
|
146265
146265
|
|
|
146266
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
146266
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/common.js
|
|
146267
146267
|
init_cjs_shims();
|
|
146268
146268
|
function orderEnvironmentsBySafety(environments) {
|
|
146269
146269
|
return [
|
|
@@ -146304,7 +146304,7 @@ function environmentNotFound(criterion, value) {
|
|
|
146304
146304
|
);
|
|
146305
146305
|
}
|
|
146306
146306
|
|
|
146307
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
146307
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/environment-variables.js
|
|
146308
146308
|
var createEmptyRemoteVars = () => ({
|
|
146309
146309
|
remoteVariables: {},
|
|
146310
146310
|
remoteSecrets: {}
|
|
@@ -146375,7 +146375,7 @@ async function getLocalVariables(root, envFile) {
|
|
|
146375
146375
|
);
|
|
146376
146376
|
}
|
|
146377
146377
|
|
|
146378
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
146378
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/tunneling.js
|
|
146379
146379
|
init_cjs_shims();
|
|
146380
146380
|
async function startTunnelPlugin(config, port, provider) {
|
|
146381
146381
|
let hooks = await fanoutHooks(config, "tunnel_start", { port, provider }), first2 = Object.values(hooks).filter(
|
|
@@ -146406,7 +146406,7 @@ async function pollTunnelURL(tunnelClient) {
|
|
|
146406
146406
|
});
|
|
146407
146407
|
}
|
|
146408
146408
|
|
|
146409
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
146409
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.4_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/dev-shared.js
|
|
146410
146410
|
function isMockShop(envVariables) {
|
|
146411
146411
|
return envVariables.PUBLIC_STORE_DOMAIN === "mock.shop" || // We fallback to mock.shop if the env var is falsy.
|
|
146412
146412
|
// When it's undefined, it might be overwritten by remote variables.
|
|
@@ -146620,4 +146620,4 @@ export {
|
|
|
146620
146620
|
getDebugBannerLine,
|
|
146621
146621
|
getUtilityBannerlines
|
|
146622
146622
|
};
|
|
146623
|
-
//# sourceMappingURL=chunk-
|
|
146623
|
+
//# sourceMappingURL=chunk-DZU2Z54P.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-T5OZRID5.js";
|
|
4
4
|
import {
|
|
5
5
|
renderTable,
|
|
6
6
|
renderText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7QTS6ZWN.js";
|
|
8
8
|
import {
|
|
9
9
|
require_lib
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BFQFJ7IZ.js";
|
|
11
11
|
import {
|
|
12
12
|
__toESM,
|
|
13
13
|
init_cjs_shims
|
|
@@ -83,4 +83,4 @@ var import_core = __toESM(require_lib(), 1), CommandFlags = class _CommandFlags
|
|
|
83
83
|
export {
|
|
84
84
|
CommandFlags
|
|
85
85
|
};
|
|
86
|
-
//# sourceMappingURL=chunk-
|
|
86
|
+
//# sourceMappingURL=chunk-ETEUMLXG.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
staticService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6RGB2VE4.js";
|
|
4
4
|
import {
|
|
5
5
|
asyncTasks
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RG3ZCNYG.js";
|
|
7
7
|
import {
|
|
8
8
|
prompts
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UNEY6YDL.js";
|
|
10
10
|
import {
|
|
11
11
|
base_command_default
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-T5OZRID5.js";
|
|
13
13
|
import {
|
|
14
14
|
init_cjs_shims
|
|
15
15
|
} from "./chunk-POZ5MGPT.js";
|
|
@@ -34,4 +34,4 @@ var KitchenSinkAll = class extends base_command_default {
|
|
|
34
34
|
export {
|
|
35
35
|
KitchenSinkAll
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=chunk-
|
|
37
|
+
//# sourceMappingURL=chunk-FCZFZS5D.js.map
|