@shopify/cli 3.69.3 → 3.69.4
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 +147 -0
- package/dist/assets/hydrogen/starter/app/components/ProductForm.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/root.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/[sitemap.xml].tsx +6 -166
- package/dist/assets/hydrogen/starter/app/routes/cart.tsx +2 -1
- package/dist/assets/hydrogen/starter/app/routes/products.$handle.tsx +3 -1
- package/dist/assets/hydrogen/starter/app/routes/sitemap.$type.$page[.xml].tsx +24 -0
- package/dist/assets/hydrogen/starter/package.json +10 -10
- package/dist/assets/hydrogen/starter/storefrontapi.generated.d.ts +11 -37
- package/dist/{chunk-RTXVY32Y.js → chunk-2JRUKBKX.js} +6 -6
- package/dist/{chunk-B6RI3XO4.js → chunk-2NCWYVM4.js} +2 -2
- package/dist/{chunk-WITDBDKW.js → chunk-334DJQUN.js} +2 -2
- package/dist/{chunk-UL6L7ZS3.js → chunk-6IATSQ3X.js} +3 -3
- package/dist/{chunk-VEEUPLAO.js → chunk-7B5FNNVB.js} +3 -3
- package/dist/{chunk-65CKWSWQ.js → chunk-7NPDPZ22.js} +5 -5
- package/dist/{chunk-T65TTGOS.js → chunk-BMTELIUS.js} +4 -4
- package/dist/{chunk-5O3Y6TSZ.js → chunk-BRO6DC7D.js} +77 -91
- package/dist/{chunk-F2NOZSYG.js → chunk-CPEFXM7T.js} +4 -4
- package/dist/{chunk-NIFSDRC3.js → chunk-EJGKAHVK.js} +2 -2
- package/dist/{chunk-PO7KPJGR.js → chunk-F54UWMGQ.js} +3 -3
- package/dist/{chunk-JGXT3WUR.js → chunk-FVUAIT37.js} +2 -2
- package/dist/{chunk-V5DOEDF4.js → chunk-FWX3KCDM.js} +4 -4
- package/dist/{chunk-KNW6BL2Q.js → chunk-FX2HB3CJ.js} +4 -4
- package/dist/{chunk-Y54K4MPH.js → chunk-GYP4MV72.js} +4 -4
- package/dist/{chunk-MLSNFFTR.js → chunk-HV364V3E.js} +2 -2
- package/dist/{chunk-ZCYPTS6V.js → chunk-ISDSND4L.js} +2 -2
- package/dist/{chunk-7D77RINN.js → chunk-JHVVETTP.js} +2 -2
- package/dist/{chunk-XROTFVTO.js → chunk-K3GASX6Y.js} +3 -3
- package/dist/{chunk-WJCZFW37.js → chunk-KM4TMAQ2.js} +4 -4
- package/dist/{chunk-WHHRKJDE.js → chunk-N3U3EHOE.js} +3 -3
- package/dist/{chunk-I66GPBMO.js → chunk-ORDEDRCZ.js} +3 -3
- package/dist/{chunk-KGLQ4JD4.js → chunk-OWCYMR5Y.js} +3 -3
- package/dist/{chunk-ERVB6ERU.js → chunk-OWLPHMUA.js} +3 -3
- package/dist/{chunk-IUHYP3QG.js → chunk-RYTZQSHH.js} +2 -2
- package/dist/{chunk-AKHBZYBW.js → chunk-S2IXL3EU.js} +2 -2
- package/dist/{chunk-7GWY3FA4.js → chunk-TLZ4ZBH3.js} +3 -3
- package/dist/{chunk-ACM5TZH6.js → chunk-TV5WOUSX.js} +2 -2
- package/dist/{chunk-RHX2I4MG.js → chunk-UQUVQV3X.js} +3 -3
- package/dist/{chunk-2Q5IM74H.js → chunk-VHEJRU4K.js} +5 -5
- package/dist/{chunk-AZKJLRVK.js → chunk-VQ3R5DHS.js} +3 -3
- package/dist/{chunk-OWPU7LGF.js → chunk-WHP4CEBJ.js} +6 -6
- package/dist/{chunk-FRDQIYC3.js → chunk-Y3MSANL5.js} +2 -2
- package/dist/{chunk-BZO3BX6M.js → chunk-YNL4XNMX.js} +4 -4
- package/dist/{chunk-AN5WQN4K.js → chunk-YPWRQ5AU.js} +3 -3
- package/dist/cli/commands/auth/logout.js +10 -10
- package/dist/cli/commands/auth/logout.test.js +11 -11
- package/dist/cli/commands/debug/command-flags.js +9 -9
- package/dist/cli/commands/demo/catalog.js +10 -10
- package/dist/cli/commands/demo/generate-file.js +10 -10
- package/dist/cli/commands/demo/index.js +10 -10
- package/dist/cli/commands/demo/print-ai-prompt.js +10 -10
- package/dist/cli/commands/docs/generate.js +9 -9
- package/dist/cli/commands/docs/generate.test.js +9 -9
- package/dist/cli/commands/help.js +9 -9
- package/dist/cli/commands/kitchen-sink/async.js +10 -10
- package/dist/cli/commands/kitchen-sink/async.test.js +10 -10
- package/dist/cli/commands/kitchen-sink/index.js +12 -12
- package/dist/cli/commands/kitchen-sink/index.test.js +12 -12
- package/dist/cli/commands/kitchen-sink/prompts.js +10 -10
- package/dist/cli/commands/kitchen-sink/prompts.test.js +10 -10
- package/dist/cli/commands/kitchen-sink/static.js +10 -10
- package/dist/cli/commands/kitchen-sink/static.test.js +10 -10
- package/dist/cli/commands/search.js +10 -10
- package/dist/cli/commands/upgrade.js +10 -10
- package/dist/cli/commands/version.js +10 -10
- package/dist/cli/commands/version.test.js +10 -10
- package/dist/cli/services/commands/search.js +2 -2
- package/dist/cli/services/commands/search.test.js +2 -2
- package/dist/cli/services/commands/version.js +3 -3
- package/dist/cli/services/commands/version.test.js +4 -4
- package/dist/cli/services/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 +5 -5
- package/dist/{custom-oclif-loader-YBMJNE6U.js → custom-oclif-loader-TBU3GENB.js} +2 -2
- package/dist/{error-handler-A4P3264C.js → error-handler-IL72ACEX.js} +8 -8
- package/dist/hooks/postrun.js +6 -6
- package/dist/hooks/prerun.js +6 -6
- package/dist/index.js +1838 -420
- package/dist/{local-ZKVS3PQJ.js → local-OE2I46PA.js} +2 -2
- package/dist/{morph-QZYXTRWT.js → morph-UIXWG2S7.js} +9 -9
- package/dist/{node-UHHST6UJ.js → node-SDBKEHIV.js} +13 -13
- package/dist/{node-package-manager-EU3ZOEFD.js → node-package-manager-LPDV6HZY.js} +3 -3
- package/dist/{system-L7HP2PAP.js → system-SGABHAU2.js} +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-HXNDVEEG.js → ui-WB42ZV4M.js} +2 -2
- package/dist/{workerd-7CGH4YHE.js → workerd-YWTPL4SF.js} +12 -12
- package/oclif.manifest.json +2 -12
- package/package.json +7 -7
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
ensureAuthenticatedAdmin,
|
|
3
3
|
ensureAuthenticatedBusinessPlatform,
|
|
4
4
|
logout
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-TLZ4ZBH3.js";
|
|
6
6
|
import {
|
|
7
7
|
base_command_default
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KM4TMAQ2.js";
|
|
9
9
|
import {
|
|
10
10
|
fanoutHooks
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2JRUKBKX.js";
|
|
12
12
|
import {
|
|
13
13
|
businessPlatformFqdn,
|
|
14
14
|
graphqlRequest,
|
|
15
15
|
graphqlRequestDoc,
|
|
16
16
|
handleDeprecations,
|
|
17
17
|
normalizeStoreFqdn
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7NPDPZ22.js";
|
|
19
19
|
import {
|
|
20
20
|
findUpAndReadPackageJson,
|
|
21
21
|
getPackageManager,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
packageManagerFromUserAgent,
|
|
24
24
|
readAndParsePackageJson,
|
|
25
25
|
writePackageJSON
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-JHVVETTP.js";
|
|
27
27
|
import {
|
|
28
28
|
AbortError,
|
|
29
29
|
BugError,
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
runWithTimer,
|
|
62
62
|
source_default,
|
|
63
63
|
writeFile
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-2NCWYVM4.js";
|
|
65
65
|
import {
|
|
66
66
|
require_lib
|
|
67
67
|
} from "./chunk-27ILOE3X.js";
|
|
@@ -117512,7 +117512,7 @@ var require_prettier = __commonJS({
|
|
|
117512
117512
|
descriptor = defaults_1.defaultDescriptor,
|
|
117513
117513
|
unknown = defaults_1.defaultUnknownHandler,
|
|
117514
117514
|
invalid = defaults_1.defaultInvalidHandler,
|
|
117515
|
-
deprecated
|
|
117515
|
+
deprecated = defaults_1.defaultDeprecatedHandler
|
|
117516
117516
|
} = opts || {};
|
|
117517
117517
|
this._utils = {
|
|
117518
117518
|
descriptor,
|
|
@@ -117526,7 +117526,7 @@ var require_prettier = __commonJS({
|
|
|
117526
117526
|
normalizeForwardResult: utils_1.normalizeForwardResult,
|
|
117527
117527
|
normalizeRedirectResult: utils_1.normalizeRedirectResult,
|
|
117528
117528
|
normalizeValidateResult: utils_1.normalizeValidateResult
|
|
117529
|
-
}, this._unknownHandler = unknown, this._invalidHandler = invalid, this._deprecatedHandler =
|
|
117529
|
+
}, this._unknownHandler = unknown, this._invalidHandler = invalid, this._deprecatedHandler = deprecated, this.cleanHistory();
|
|
117530
117530
|
}
|
|
117531
117531
|
cleanHistory() {
|
|
117532
117532
|
this._hasDeprecationWarned = utils_1.createAutoChecklist();
|
|
@@ -140191,21 +140191,21 @@ var require_main = __commonJS({
|
|
|
140191
140191
|
}
|
|
140192
140192
|
});
|
|
140193
140193
|
|
|
140194
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
140194
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/flags.js
|
|
140195
140195
|
init_cjs_shims();
|
|
140196
140196
|
var import_core = __toESM(require_lib(), 1);
|
|
140197
140197
|
|
|
140198
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
140198
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
140199
140199
|
init_cjs_shims();
|
|
140200
140200
|
|
|
140201
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
140201
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
140202
140202
|
init_cjs_shims();
|
|
140203
140203
|
|
|
140204
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
140204
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/build.js
|
|
140205
140205
|
init_cjs_shims();
|
|
140206
140206
|
import { fileURLToPath } from "node:url";
|
|
140207
140207
|
|
|
140208
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
140208
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/process.js
|
|
140209
140209
|
init_cjs_shims();
|
|
140210
140210
|
import { exec } from "node:child_process";
|
|
140211
140211
|
import { promisify } from "node:util";
|
|
@@ -140217,7 +140217,7 @@ function supressNodeExperimentalWarnings() {
|
|
|
140217
140217
|
}));
|
|
140218
140218
|
}
|
|
140219
140219
|
|
|
140220
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
140220
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/build.js
|
|
140221
140221
|
var monorepoPackagesPath = new URL("../../..", import.meta.url).pathname, isHydrogenMonorepo = monorepoPackagesPath.endsWith(
|
|
140222
140222
|
"/hydrogen/packages/"
|
|
140223
140223
|
), hydrogenPackagesPath = isHydrogenMonorepo ? monorepoPackagesPath : void 0, ASSETS_DIR_PREFIX = "assets/hydrogen", ASSETS_STARTER_DIR = "starter", ASSETS_STARTER_DIR_ROUTES = "routes", pkgJsonPath;
|
|
@@ -140264,7 +140264,7 @@ async function getRepoNodeModules() {
|
|
|
140264
140264
|
return !nodeModulesPath && isHydrogenMonorepo && (nodeModulesPath = joinPath(dirname(monorepoPackagesPath), "node_modules")), nodeModulesPath;
|
|
140265
140265
|
}
|
|
140266
140266
|
|
|
140267
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
140267
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
140268
140268
|
var SETUP_CSS_STRATEGIES = [
|
|
140269
140269
|
"tailwind",
|
|
140270
140270
|
"vanilla-extract",
|
|
@@ -140299,14 +140299,14 @@ async function canWriteFiles(assetMap, directory, force) {
|
|
|
140299
140299
|
}));
|
|
140300
140300
|
}
|
|
140301
140301
|
|
|
140302
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
140302
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
140303
140303
|
init_cjs_shims();
|
|
140304
140304
|
|
|
140305
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
140305
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/file.js
|
|
140306
140306
|
init_cjs_shims();
|
|
140307
140307
|
import { readdir } from "node:fs/promises";
|
|
140308
140308
|
|
|
140309
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
140309
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
140310
140310
|
init_cjs_shims();
|
|
140311
140311
|
var prettier = __toESM(require_prettier(), 1), DEFAULT_PRETTIER_CONFIG = {
|
|
140312
140312
|
arrowParens: "always",
|
|
@@ -140332,7 +140332,7 @@ async function formatCode(content, config = DEFAULT_PRETTIER_CONFIG, filePath =
|
|
|
140332
140332
|
});
|
|
140333
140333
|
}
|
|
140334
140334
|
|
|
140335
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
140335
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/file.js
|
|
140336
140336
|
async function replaceFileContent(filepath, formatConfig, replacer) {
|
|
140337
140337
|
let content = await replacer(await readFile(filepath));
|
|
140338
140338
|
if (typeof content == "string")
|
|
@@ -140413,10 +140413,10 @@ async function mergeTsConfig(sourceDir, targetDir) {
|
|
|
140413
140413
|
);
|
|
140414
140414
|
}
|
|
140415
140415
|
|
|
140416
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
140416
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
140417
140417
|
init_cjs_shims();
|
|
140418
140418
|
|
|
140419
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
140419
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/ast.js
|
|
140420
140420
|
init_cjs_shims();
|
|
140421
140421
|
async function importLangAstGrep(lang) {
|
|
140422
140422
|
let astGrep = await import("@ast-grep/napi");
|
|
@@ -140425,7 +140425,7 @@ async function importLangAstGrep(lang) {
|
|
|
140425
140425
|
return astGrep[lang];
|
|
140426
140426
|
}
|
|
140427
140427
|
|
|
140428
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
140428
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
140429
140429
|
async function replaceRootLinks(appDirectory, formatConfig, importer) {
|
|
140430
140430
|
let { filepath, astType } = await findFileWithExtension(appDirectory, "root");
|
|
140431
140431
|
if (!filepath || !astType)
|
|
@@ -140544,7 +140544,7 @@ var vitePluginListRule = {
|
|
|
140544
140544
|
}
|
|
140545
140545
|
};
|
|
140546
140546
|
|
|
140547
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
140547
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
140548
140548
|
var tailwindCssPath = "styles/tailwind.css";
|
|
140549
140549
|
async function setupTailwind({ rootDirectory, appDirectory }, force = !1) {
|
|
140550
140550
|
let relativeAppDirectory = relativePath(rootDirectory, appDirectory), assetMap = {
|
|
@@ -140580,7 +140580,7 @@ async function setupTailwind({ rootDirectory, appDirectory }, force = !1) {
|
|
|
140580
140580
|
};
|
|
140581
140581
|
}
|
|
140582
140582
|
|
|
140583
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
140583
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
140584
140584
|
init_cjs_shims();
|
|
140585
140585
|
async function setupVanillaExtract({
|
|
140586
140586
|
rootDirectory
|
|
@@ -140601,7 +140601,7 @@ async function setupVanillaExtract({
|
|
|
140601
140601
|
};
|
|
140602
140602
|
}
|
|
140603
140603
|
|
|
140604
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
140604
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
140605
140605
|
var STYLING_CHOICES = [...SETUP_CSS_STRATEGIES, "none"], CSS_STRATEGY_NAME_MAP = {
|
|
140606
140606
|
tailwind: "Tailwind (v4 alpha)",
|
|
140607
140607
|
"vanilla-extract": "Vanilla Extract",
|
|
@@ -140646,23 +140646,23 @@ async function renderCssPrompt(options) {
|
|
|
140646
140646
|
});
|
|
140647
140647
|
}
|
|
140648
140648
|
|
|
140649
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
140649
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
140650
140650
|
init_cjs_shims();
|
|
140651
140651
|
|
|
140652
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
140652
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
140653
140653
|
init_cjs_shims();
|
|
140654
140654
|
|
|
140655
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
140655
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
140656
140656
|
init_cjs_shims();
|
|
140657
140657
|
|
|
140658
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
140658
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
140659
140659
|
init_cjs_shims();
|
|
140660
140660
|
async function transpileFile(code, filepath, keepTypes = !0) {
|
|
140661
|
-
let { transpileTs } = await import("./morph-
|
|
140661
|
+
let { transpileTs } = await import("./morph-UIXWG2S7.js");
|
|
140662
140662
|
return transpileTs(code, filepath, keepTypes);
|
|
140663
140663
|
}
|
|
140664
140664
|
|
|
140665
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
140665
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
140666
140666
|
init_cjs_shims();
|
|
140667
140667
|
var DEFAULT_JS_CONFIG = {
|
|
140668
140668
|
checkJs: !1,
|
|
@@ -140768,7 +140768,7 @@ async function transpileProject(projectDir, keepTypes = !0) {
|
|
|
140768
140768
|
}
|
|
140769
140769
|
}
|
|
140770
140770
|
|
|
140771
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
140771
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
140772
140772
|
async function replaceContextI18n({
|
|
140773
140773
|
rootDirectory,
|
|
140774
140774
|
contextCreate = joinPath("app", "lib", "context.ts")
|
|
@@ -140907,7 +140907,7 @@ async function findContextCreateFile({
|
|
|
140907
140907
|
return { filepath, astType };
|
|
140908
140908
|
}
|
|
140909
140909
|
|
|
140910
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
140910
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
140911
140911
|
var SETUP_I18N_STRATEGIES = [
|
|
140912
140912
|
"subfolders",
|
|
140913
140913
|
"domains",
|
|
@@ -140939,7 +140939,7 @@ async function renderI18nPrompt(options) {
|
|
|
140939
140939
|
});
|
|
140940
140940
|
}
|
|
140941
140941
|
|
|
140942
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
140942
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/flags.js
|
|
140943
140943
|
var DEFAULT_APP_PORT = 3e3, DEFAULT_INSPECTOR_PORT = 9229, commonFlags = {
|
|
140944
140944
|
path: {
|
|
140945
140945
|
path: import_core.Flags.string({
|
|
@@ -141120,19 +141120,6 @@ function parseProcessFlags(processArgv, flagMap = {}) {
|
|
|
141120
141120
|
}
|
|
141121
141121
|
return flagsToCamelObject(options);
|
|
141122
141122
|
}
|
|
141123
|
-
function deprecated(name, { isBoolean = !1 } = {}) {
|
|
141124
|
-
return {
|
|
141125
|
-
...import_core.Flags.custom({
|
|
141126
|
-
parse: () => (renderInfo({
|
|
141127
|
-
headline: `The ${source_default.bold(
|
|
141128
|
-
name
|
|
141129
|
-
)} flag is deprecated and will be removed in a future version of Shopify Hydrogen CLI.`
|
|
141130
|
-
}), Promise.resolve(" ")),
|
|
141131
|
-
hidden: !0
|
|
141132
|
-
})(),
|
|
141133
|
-
type: isBoolean ? "boolean" : "option"
|
|
141134
|
-
};
|
|
141135
|
-
}
|
|
141136
141123
|
function overrideFlag(flags, extra) {
|
|
141137
141124
|
return Object.entries(extra).reduce(
|
|
141138
141125
|
(acc, [key, value]) => (acc[key] = { ...flags[key], ...value }, acc),
|
|
@@ -141140,7 +141127,7 @@ function overrideFlag(flags, extra) {
|
|
|
141140
141127
|
);
|
|
141141
141128
|
}
|
|
141142
141129
|
|
|
141143
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
141130
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
141144
141131
|
init_cjs_shims();
|
|
141145
141132
|
import { createRequire } from "node:module";
|
|
141146
141133
|
import { pathToFileURL } from "node:url";
|
|
@@ -141163,13 +141150,13 @@ function importLocal(packageName, path3) {
|
|
|
141163
141150
|
return import(pathToFileURL(realPath).href);
|
|
141164
141151
|
}
|
|
141165
141152
|
|
|
141166
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
141153
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
141167
141154
|
init_cjs_shims();
|
|
141168
141155
|
import path from "node:path";
|
|
141169
141156
|
import { EventEmitter } from "node:events";
|
|
141170
141157
|
import { ReadableStream } from "node:stream/web";
|
|
141171
141158
|
|
|
141172
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
141159
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
141173
141160
|
init_cjs_shims();
|
|
141174
141161
|
function getGraphiQLUrl({
|
|
141175
141162
|
host = "",
|
|
@@ -141183,7 +141170,7 @@ function getGraphiQLUrl({
|
|
|
141183
141170
|
return url;
|
|
141184
141171
|
}
|
|
141185
141172
|
|
|
141186
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
141173
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
141187
141174
|
var import_source_map_support = __toESM(require_source_map_support(), 1), H2O_BINDING_NAME = "H2O_LOG_EVENT", ResponseConstructor;
|
|
141188
141175
|
function setConstructors(constructors) {
|
|
141189
141176
|
ResponseConstructor = constructors.Response;
|
|
@@ -141285,7 +141272,7 @@ function handleDebugNetworkRequest(request) {
|
|
|
141285
141272
|
return request.method === "DELETE" ? clearHistory() : streamRequestEvents(request);
|
|
141286
141273
|
}
|
|
141287
141274
|
|
|
141288
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
141275
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
141289
141276
|
init_cjs_shims();
|
|
141290
141277
|
var SUBREQUEST_PROFILER_ENDPOINT = "/debug-network-server";
|
|
141291
141278
|
function handleMiniOxygenImportFail() {
|
|
@@ -141320,21 +141307,21 @@ function logRequestLine({
|
|
|
141320
141307
|
}
|
|
141321
141308
|
}
|
|
141322
141309
|
|
|
141323
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
141310
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
141324
141311
|
init_cjs_shims();
|
|
141325
141312
|
|
|
141326
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
141313
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
141327
141314
|
init_cjs_shims();
|
|
141328
141315
|
var import_core3 = __toESM(require_lib(), 1);
|
|
141329
141316
|
|
|
141330
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
141317
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
141331
141318
|
init_cjs_shims();
|
|
141332
141319
|
var import_core2 = __toESM(require_lib(), 1);
|
|
141333
141320
|
|
|
141334
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
141321
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
141335
141322
|
init_cjs_shims();
|
|
141336
141323
|
|
|
141337
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
141324
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
141338
141325
|
init_cjs_shims();
|
|
141339
141326
|
async function adminRequest(query, session, variables) {
|
|
141340
141327
|
let api = "Admin", url = `https://${session.storeFqdn}/admin/api/unstable/graphql.json`;
|
|
@@ -141370,7 +141357,7 @@ async function adminRequest(query, session, variables) {
|
|
|
141370
141357
|
}
|
|
141371
141358
|
}
|
|
141372
141359
|
|
|
141373
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
141360
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/gid.js
|
|
141374
141361
|
init_cjs_shims();
|
|
141375
141362
|
var GID_REGEXP = /gid:\/\/shopify\/\w*\/(\d+)/;
|
|
141376
141363
|
function parseGid(gid) {
|
|
@@ -141380,7 +141367,7 @@ function parseGid(gid) {
|
|
|
141380
141367
|
throw new AbortError(`Invalid Global ID: ${gid}`);
|
|
141381
141368
|
}
|
|
141382
141369
|
|
|
141383
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
141370
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
141384
141371
|
var LinkStorefrontQuery = `#graphql
|
|
141385
141372
|
query LinkStorefront {
|
|
141386
141373
|
hydrogenStorefronts {
|
|
@@ -141401,7 +141388,7 @@ async function getStorefronts(adminSession) {
|
|
|
141401
141388
|
}));
|
|
141402
141389
|
}
|
|
141403
141390
|
|
|
141404
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
141391
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
141405
141392
|
init_cjs_shims();
|
|
141406
141393
|
var SHOPIFY_DIR = ".shopify", SHOPIFY_DIR_PROJECT = "project.json";
|
|
141407
141394
|
async function resetConfig(root) {
|
|
@@ -141472,7 +141459,7 @@ async function setCustomerAccountConfig(root, customerAccountConfig) {
|
|
|
141472
141459
|
}
|
|
141473
141460
|
}
|
|
141474
141461
|
|
|
141475
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
141462
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
141476
141463
|
init_cjs_shims();
|
|
141477
141464
|
var CreateStorefrontMutation = `#graphql
|
|
141478
141465
|
mutation CreateStorefront($title: String!) {
|
|
@@ -141506,7 +141493,7 @@ async function createStorefront(adminSession, title) {
|
|
|
141506
141493
|
return { jobId, storefront: hydrogenStorefront };
|
|
141507
141494
|
}
|
|
141508
141495
|
|
|
141509
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
141496
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
141510
141497
|
init_cjs_shims();
|
|
141511
141498
|
var FetchJobQuery = `#graphql
|
|
141512
141499
|
query FetchJob($id: ID!) {
|
|
@@ -141540,7 +141527,7 @@ function waitForJob(adminSession, jobId) {
|
|
|
141540
141527
|
});
|
|
141541
141528
|
}
|
|
141542
141529
|
|
|
141543
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
141530
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/string.js
|
|
141544
141531
|
init_cjs_shims();
|
|
141545
141532
|
function titleize(name = "") {
|
|
141546
141533
|
return name.replace(/[\W_]+/g, " ").split(" ").filter((word) => word.length > 0).map(
|
|
@@ -141548,7 +141535,7 @@ function titleize(name = "") {
|
|
|
141548
141535
|
).join(" ");
|
|
141549
141536
|
}
|
|
141550
141537
|
|
|
141551
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
141538
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/shell.js
|
|
141552
141539
|
init_cjs_shims();
|
|
141553
141540
|
import os from "node:os";
|
|
141554
141541
|
var ALIAS_NAME = "h2", isWindows = () => os.platform() === "win32", isGitBash = () => !!process.env.MINGW_PREFIX;
|
|
@@ -141663,10 +141650,10 @@ async function getCliCommand(directory = process.cwd(), forcePkgManager) {
|
|
|
141663
141650
|
return (pkgManager === "bun" || pkgManager === "pnpm" || pkgManager === "yarn") && (cli = pkgManager), `${cli} shopify hydrogen`;
|
|
141664
141651
|
}
|
|
141665
141652
|
|
|
141666
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
141653
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/auth.js
|
|
141667
141654
|
init_cjs_shims();
|
|
141668
141655
|
|
|
141669
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
141656
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
141670
141657
|
init_cjs_shims();
|
|
141671
141658
|
|
|
141672
141659
|
// ../cli-kit/dist/public/node/api/business-platform.js
|
|
@@ -141718,7 +141705,7 @@ async function businessPlatformOrganizationsRequestDoc(query, token, organizatio
|
|
|
141718
141705
|
});
|
|
141719
141706
|
}
|
|
141720
141707
|
|
|
141721
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
141708
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
141722
141709
|
var CurrentUserAccountQuery = `#graphql
|
|
141723
141710
|
query currentUserAccount {
|
|
141724
141711
|
currentUserAccount {
|
|
@@ -141797,7 +141784,7 @@ async function getUserAccount(token) {
|
|
|
141797
141784
|
};
|
|
141798
141785
|
}
|
|
141799
141786
|
|
|
141800
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
141787
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/log.js
|
|
141801
141788
|
init_cjs_shims();
|
|
141802
141789
|
var originalConsole = { ...console }, methodsReplaced = /* @__PURE__ */ new Set(), addedReplacers = /* @__PURE__ */ new Set(), messageReplacers = [];
|
|
141803
141790
|
function addMessageReplacers(key, ...items) {
|
|
@@ -142073,7 +142060,7 @@ function isH2Verbose() {
|
|
|
142073
142060
|
return !!(process.env.DEBUG === "*" || process.env.DEBUG?.includes("h2:*"));
|
|
142074
142061
|
}
|
|
142075
142062
|
|
|
142076
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
142063
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/auth.js
|
|
142077
142064
|
async function logout2(root) {
|
|
142078
142065
|
await logout(), await resetConfig(root);
|
|
142079
142066
|
}
|
|
@@ -142112,7 +142099,7 @@ function renderLoginSuccess(config) {
|
|
|
142112
142099
|
});
|
|
142113
142100
|
}
|
|
142114
142101
|
|
|
142115
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
142102
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
142116
142103
|
init_cjs_shims();
|
|
142117
142104
|
import { symlink, readdir as readdir4 } from "node:fs/promises";
|
|
142118
142105
|
|
|
@@ -144937,11 +144924,11 @@ async function isClean(directory) {
|
|
|
144937
144924
|
return (await esm_default({ baseDir: directory }).status()).isClean();
|
|
144938
144925
|
}
|
|
144939
144926
|
|
|
144940
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
144927
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
144941
144928
|
init_cjs_shims();
|
|
144942
144929
|
import { readdir as readdir3 } from "node:fs/promises";
|
|
144943
144930
|
|
|
144944
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
144931
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
144945
144932
|
init_cjs_shims();
|
|
144946
144933
|
import { createRequire as createRequire2 } from "module";
|
|
144947
144934
|
function convertRouteToV1(route) {
|
|
@@ -144955,13 +144942,13 @@ function isV1RouteConventionInstalled() {
|
|
|
144955
144942
|
}
|
|
144956
144943
|
}
|
|
144957
144944
|
|
|
144958
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
144945
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
144959
144946
|
init_cjs_shims();
|
|
144960
144947
|
import { createRequire as createRequire4 } from "node:module";
|
|
144961
144948
|
import path2 from "node:path";
|
|
144962
144949
|
import { readdir as readdir2 } from "node:fs/promises";
|
|
144963
144950
|
|
|
144964
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
144951
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
144965
144952
|
init_cjs_shims();
|
|
144966
144953
|
import { createRequire as createRequire3 } from "node:module";
|
|
144967
144954
|
var REQUIRED_REMIX_VERSION = "^2.1.0";
|
|
@@ -145001,7 +144988,7 @@ function getRemixPackageVersion(require22, name, root) {
|
|
|
145001
144988
|
return result;
|
|
145002
144989
|
}
|
|
145003
144990
|
|
|
145004
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
144991
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
145005
144992
|
init_cjs_shims();
|
|
145006
144993
|
async function hasViteConfig(root) {
|
|
145007
144994
|
return !!(await findFileWithExtension(root, "vite.config")).filepath;
|
|
@@ -145068,7 +145055,7 @@ function findOxygenPlugin(config) {
|
|
|
145068
145055
|
return findPlugin(config, "oxygen:main");
|
|
145069
145056
|
}
|
|
145070
145057
|
|
|
145071
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
145058
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
145072
145059
|
async function hasRemixConfigFile(root) {
|
|
145073
145060
|
return !!(await findFileWithExtension(root, "remix.config")).filepath;
|
|
145074
145061
|
}
|
|
@@ -145194,7 +145181,7 @@ async function assertEntryFileExists(root, fileRelative) {
|
|
|
145194
145181
|
}
|
|
145195
145182
|
}
|
|
145196
145183
|
|
|
145197
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
145184
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
145198
145185
|
var NO_LOCALE_PATTERNS = [/robots\.txt/], ROUTE_MAP = {
|
|
145199
145186
|
home: ["_index", "$"],
|
|
145200
145187
|
page: "pages*",
|
|
@@ -145206,7 +145193,7 @@ var NO_LOCALE_PATTERNS = [/robots\.txt/], ROUTE_MAP = {
|
|
|
145206
145193
|
account: "account*",
|
|
145207
145194
|
search: ["search", "api.predictive-search"],
|
|
145208
145195
|
robots: "[robots.txt]",
|
|
145209
|
-
sitemap: "[sitemap.xml]"
|
|
145196
|
+
sitemap: ["[sitemap.xml]", "sitemap.$type.$page[.xml]"]
|
|
145210
145197
|
}, allRouteTemplateFiles = [];
|
|
145211
145198
|
async function getResolvedRoutes(routeKeys = Object.keys(ROUTE_MAP)) {
|
|
145212
145199
|
allRouteTemplateFiles.length === 0 && (allRouteTemplateFiles = (await readdir3(await getTemplateAppFile(ASSETS_STARTER_DIR_ROUTES))).map((item) => item.replace(/\.tsx?$/, "")));
|
|
@@ -145407,7 +145394,7 @@ async function copyRouteTemplate({
|
|
|
145407
145394
|
adapter && (templateContent = replaceAdapters(templateContent, adapter)), typescript || (templateContent = await transpileFile(templateContent, templatePath)), templateContent = await formatCode(templateContent, formatOptions, routePath), await writeFile(routePath, templateContent);
|
|
145408
145395
|
}
|
|
145409
145396
|
|
|
145410
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
145397
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
145411
145398
|
var LANGUAGES = {
|
|
145412
145399
|
js: "JavaScript",
|
|
145413
145400
|
ts: "TypeScript"
|
|
@@ -145855,7 +145842,7 @@ function generateRandomName() {
|
|
|
145855
145842
|
])} ${geographicalFeature}`;
|
|
145856
145843
|
}
|
|
145857
145844
|
|
|
145858
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
145845
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
145859
145846
|
var Link = class _Link extends base_command_default {
|
|
145860
145847
|
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.
|
|
145861
145848
|
|
|
@@ -145976,7 +145963,7 @@ async function createNewStorefront(root, session, storefronts) {
|
|
|
145976
145963
|
return storefront;
|
|
145977
145964
|
}
|
|
145978
145965
|
|
|
145979
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
145966
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
145980
145967
|
init_cjs_shims();
|
|
145981
145968
|
var CUSTOMER_APPLICATION_URLS_REPLACE = `#graphql
|
|
145982
145969
|
mutation CustomerApplicationUrlsReplace($storefrontId: ID!, $urlsReplaceInput: HydrogenStorefrontCustomerApplicationUrlsReplaceInput!) {
|
|
@@ -146004,7 +145991,7 @@ async function replaceCustomerApplicationUrls(adminSession, storefrontId, urlsRe
|
|
|
146004
145991
|
return { success, userErrors };
|
|
146005
145992
|
}
|
|
146006
145993
|
|
|
146007
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
145994
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
146008
145995
|
var CustomerAccountPush = class _CustomerAccountPush extends base_command_default {
|
|
146009
145996
|
static description = "Push project configuration to admin";
|
|
146010
145997
|
static flags = {
|
|
@@ -146139,7 +146126,7 @@ async function getStorefrontId(root, storefrontIdFromFlag) {
|
|
|
146139
146126
|
}) ? (await getConfig(root)).storefront?.id : void 0;
|
|
146140
146127
|
}
|
|
146141
146128
|
|
|
146142
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
146129
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
146143
146130
|
init_cjs_shims();
|
|
146144
146131
|
|
|
146145
146132
|
// ../cli-kit/dist/public/node/dot-env.js
|
|
@@ -146209,7 +146196,7 @@ function createDotEnvFileLine(key, value, quote2) {
|
|
|
146209
146196
|
return `${key}=${value}`;
|
|
146210
146197
|
}
|
|
146211
146198
|
|
|
146212
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
146199
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
146213
146200
|
init_cjs_shims();
|
|
146214
146201
|
var PullVariablesQuery = `#graphql
|
|
146215
146202
|
query PullVariables($id: ID!, $handle: String) {
|
|
@@ -146237,7 +146224,7 @@ async function getStorefrontEnvVariables(adminSession, storefrontId, envHandle)
|
|
|
146237
146224
|
return hydrogenStorefront;
|
|
146238
146225
|
}
|
|
146239
146226
|
|
|
146240
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
146227
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
146241
146228
|
init_cjs_shims();
|
|
146242
146229
|
var ListEnvironmentsQuery = `#graphql
|
|
146243
146230
|
query ListStorefronts($id: ID!) {
|
|
@@ -146265,7 +146252,7 @@ async function getStorefrontEnvironments(adminSession, storefrontId) {
|
|
|
146265
146252
|
return hydrogenStorefront;
|
|
146266
146253
|
}
|
|
146267
146254
|
|
|
146268
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
146255
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/common.js
|
|
146269
146256
|
init_cjs_shims();
|
|
146270
146257
|
function orderEnvironmentsBySafety(environments) {
|
|
146271
146258
|
return [
|
|
@@ -146306,7 +146293,7 @@ function environmentNotFound(criterion, value) {
|
|
|
146306
146293
|
);
|
|
146307
146294
|
}
|
|
146308
146295
|
|
|
146309
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
146296
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
146310
146297
|
var createEmptyRemoteVars = () => ({
|
|
146311
146298
|
remoteVariables: {},
|
|
146312
146299
|
remoteSecrets: {}
|
|
@@ -146377,7 +146364,7 @@ async function getLocalVariables(root, envFile) {
|
|
|
146377
146364
|
);
|
|
146378
146365
|
}
|
|
146379
146366
|
|
|
146380
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
146367
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/tunneling.js
|
|
146381
146368
|
init_cjs_shims();
|
|
146382
146369
|
async function startTunnelPlugin(config, port, provider) {
|
|
146383
146370
|
let hooks = await fanoutHooks(config, "tunnel_start", { port, provider }), first2 = Object.values(hooks).filter(
|
|
@@ -146408,7 +146395,7 @@ async function pollTunnelURL(tunnelClient) {
|
|
|
146408
146395
|
});
|
|
146409
146396
|
}
|
|
146410
146397
|
|
|
146411
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@
|
|
146398
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.2_@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
|
|
146412
146399
|
function isMockShop(envVariables) {
|
|
146413
146400
|
return envVariables.PUBLIC_STORE_DOMAIN === "mock.shop" || // We fallback to mock.shop if the env var is falsy.
|
|
146414
146401
|
// When it's undefined, it might be overwritten by remote variables.
|
|
@@ -146534,7 +146521,6 @@ export {
|
|
|
146534
146521
|
commonFlags,
|
|
146535
146522
|
flagsToCamelObject,
|
|
146536
146523
|
parseProcessFlags,
|
|
146537
|
-
deprecated,
|
|
146538
146524
|
overrideFlag,
|
|
146539
146525
|
importVite,
|
|
146540
146526
|
importLocal,
|
|
@@ -146621,4 +146607,4 @@ export {
|
|
|
146621
146607
|
getDebugBannerLine,
|
|
146622
146608
|
getUtilityBannerlines
|
|
146623
146609
|
};
|
|
146624
|
-
//# sourceMappingURL=chunk-
|
|
146610
|
+
//# sourceMappingURL=chunk-BRO6DC7D.js.map
|