@shopify/cli 3.68.1 → 3.69.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/graphiql/style.css +58 -0
- package/dist/assets/hydrogen/starter/CHANGELOG.md +19 -0
- package/dist/assets/hydrogen/starter/app/components/Aside.tsx +24 -1
- package/dist/assets/hydrogen/starter/app/components/Header.tsx +13 -6
- package/dist/assets/hydrogen/starter/app/components/PageLayout.tsx +5 -3
- package/dist/assets/hydrogen/starter/app/components/SearchResultsPredictive.tsx +10 -25
- package/dist/assets/hydrogen/starter/app/routes/account.orders.$id.tsx +3 -1
- package/dist/assets/hydrogen/starter/package.json +4 -4
- package/dist/{chokidar-4TKDAB27.js → chokidar-OESTCX4H.js} +571 -8
- package/dist/{chunk-BFQFJ7IZ.js → chunk-27ILOE3X.js} +93 -5
- package/dist/{chunk-X4VIZNM7.js → chunk-4P6VDKXH.js} +2 -2
- package/dist/{chunk-6RT7XCLB.js → chunk-4UO6LFBD.js} +5 -5
- package/dist/{chunk-SFSTMK3J.js → chunk-5W3WRWHE.js} +3 -3
- package/dist/{chunk-MS2XBA2O.js → chunk-7SCNBKRX.js} +7 -7
- package/dist/{chunk-LAPJDMM4.js → chunk-A3JXD7N7.js} +2 -2
- package/dist/{chunk-N2B5M33U.js → chunk-CH6PR2VT.js} +3 -3
- package/dist/{chunk-SARPUMOJ.js → chunk-DQISYPN6.js} +4 -4
- package/dist/{chunk-3Q52FLVU.js → chunk-DYVC757D.js} +3 -3
- package/dist/{chunk-EPBXQ43B.js → chunk-E4FPHMGU.js} +8 -8
- package/dist/{chunk-JEUAVIWO.js → chunk-EFRDEP5S.js} +76 -77
- package/dist/{chunk-QNE3KDXA.js → chunk-EL4JXI6O.js} +2 -2
- package/dist/{chunk-CLB5CEKJ.js → chunk-ERVB6ERU.js} +3 -3
- package/dist/{chunk-NPVFC3AI.js → chunk-ITNHP733.js} +4 -4
- package/dist/{chunk-O2TXYCMU.js → chunk-JECUABVU.js} +3 -3
- package/dist/{chunk-S3KCQ67R.js → chunk-K55EL7HQ.js} +11 -11
- package/dist/{chunk-6H3CV7RL.js → chunk-KIVJKHH4.js} +3 -3
- package/dist/{chunk-V54N7BU5.js → chunk-KOQHK34U.js} +3 -3
- package/dist/{chunk-6MAEOVS3.js → chunk-KWVMII6E.js} +3 -3
- package/dist/{chunk-XPDRDFSD.js → chunk-KXCAVMHA.js} +3 -3
- package/dist/{chunk-6ZDQFSSJ.js → chunk-LQ7IL4AX.js} +142 -860
- package/dist/{chunk-M7RWRKXK.js → chunk-LSXK7YFC.js} +4 -4
- package/dist/{chunk-YESRKQ2L.js → chunk-LXEX6UNB.js} +2 -2
- package/dist/{chunk-F27QYMO7.js → chunk-MX4RJDBM.js} +591 -20
- package/dist/{chunk-ZFVK6EQX.js → chunk-NB4NLOEJ.js} +142 -703
- package/dist/{chunk-RUY5HVC5.js → chunk-OA6RDR4W.js} +2 -2
- package/dist/{chunk-QAP5YFY6.js → chunk-OFSGLPHJ.js} +2 -2
- package/dist/{chunk-NZDBLGNM.js → chunk-P7JUHQKL.js} +1 -2
- package/dist/{chunk-3M35CLHM.js → chunk-PZSU4QTH.js} +2 -2
- package/dist/{chunk-GLV27A4V.js → chunk-SS3JYL5S.js} +2 -2
- package/dist/{chunk-HWFFJANJ.js → chunk-SSVHNTMB.js} +3 -3
- package/dist/{chunk-7MDO7W7X.js → chunk-TM426SS3.js} +3 -3
- package/dist/{chunk-NOB736ZC.js → chunk-TODOEE5F.js} +3 -3
- package/dist/{chunk-7S76TS4X.js → chunk-TRFLZOJU.js} +5 -5
- package/dist/{chunk-72AFLINH.js → chunk-VSXWSKVK.js} +4 -4
- package/dist/{chunk-YGWIVVUL.js → chunk-VUQJSBXL.js} +161 -39
- package/dist/{chunk-GKSNOFYA.js → chunk-WOBGT6C6.js} +2 -2
- package/dist/{chunk-BZ2F2UZZ.js → chunk-YEITDZ7O.js} +4 -4
- package/dist/{chunk-JF3XJON5.js → chunk-YV6SWFDE.js} +5 -5
- package/dist/{chunk-43SYBNY3.js → chunk-ZKXBLV2V.js} +4 -4
- package/dist/cli/commands/auth/logout.js +15 -17
- package/dist/cli/commands/auth/logout.test.js +16 -18
- package/dist/cli/commands/debug/command-flags.js +14 -16
- package/dist/cli/commands/demo/catalog.js +15 -17
- package/dist/cli/commands/demo/generate-file.js +15 -17
- package/dist/cli/commands/demo/index.js +15 -17
- package/dist/cli/commands/demo/print-ai-prompt.js +15 -17
- package/dist/cli/commands/docs/generate.js +14 -16
- package/dist/cli/commands/docs/generate.test.js +14 -16
- package/dist/cli/commands/help.js +14 -16
- package/dist/cli/commands/kitchen-sink/async.js +15 -17
- package/dist/cli/commands/kitchen-sink/async.test.js +15 -17
- package/dist/cli/commands/kitchen-sink/index.js +17 -19
- package/dist/cli/commands/kitchen-sink/index.test.js +17 -19
- package/dist/cli/commands/kitchen-sink/prompts.js +15 -17
- package/dist/cli/commands/kitchen-sink/prompts.test.js +15 -17
- package/dist/cli/commands/kitchen-sink/static.js +15 -17
- package/dist/cli/commands/kitchen-sink/static.test.js +15 -17
- package/dist/cli/commands/search.js +15 -17
- package/dist/cli/commands/upgrade.js +15 -17
- package/dist/cli/commands/version.js +15 -17
- package/dist/cli/commands/version.test.js +15 -17
- package/dist/cli/services/commands/search.js +7 -9
- package/dist/cli/services/commands/search.test.js +7 -9
- package/dist/cli/services/commands/version.js +8 -10
- package/dist/cli/services/commands/version.test.js +9 -11
- package/dist/cli/services/demo.js +7 -9
- package/dist/cli/services/demo.test.js +7 -9
- package/dist/cli/services/kitchen-sink/async.js +7 -9
- package/dist/cli/services/kitchen-sink/prompts.js +7 -9
- package/dist/cli/services/kitchen-sink/static.js +7 -9
- package/dist/cli/services/upgrade.js +8 -10
- package/dist/cli/services/upgrade.test.js +10 -12
- package/dist/{constants-TR6ABVLJ.js → constants-T7JXE5K7.js} +2 -2
- package/dist/{custom-oclif-loader-KLQXTO4F.js → custom-oclif-loader-ETQSAFQG.js} +9 -11
- package/dist/{del-EL3PLWCY.js → del-7ZS2Z64N.js} +4 -4
- package/dist/{error-handler-5FD7IHCB.js → error-handler-ITARI4R7.js} +13 -15
- package/dist/hooks/postrun.js +14 -15
- package/dist/hooks/prerun.js +12 -14
- package/dist/index.js +4496 -3687
- package/dist/{lib-4WCTNKJK.js → lib-JHUCJTHS.js} +5 -6
- package/dist/{local-LNHYBD2A.js → local-JOQLVNNB.js} +7 -11
- package/dist/{morph-WDFBUXWF.js → morph-QZYXTRWT.js} +11 -11
- package/dist/{node-Y6VIULWD.js → node-XBEXHDBO.js} +18 -20
- package/dist/{node-package-manager-6CQ6226U.js → node-package-manager-EQM2DXHD.js} +8 -10
- package/dist/out-ZDSLKX4N.js +7 -0
- package/dist/{system-LDMV4BPS.js → system-VHEQK233.js} +7 -9
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-PA5ER7II.js → ui-SWA4K4YR.js} +7 -9
- package/dist/{workerd-APENUASI.js → workerd-QAI4NP7E.js} +17 -19
- package/oclif.manifest.json +30 -49
- package/package.json +19 -8
- package/dist/assets/auth-error.html +0 -23
- package/dist/assets/empty-url.html +0 -23
- package/dist/assets/favicon.svg +0 -26
- package/dist/assets/missing-code.html +0 -23
- package/dist/assets/missing-state.html +0 -23
- package/dist/assets/style.css +0 -58
- package/dist/assets/success.html +0 -20
- package/dist/chunk-2AW6NZQ5.js +0 -101
- package/dist/chunk-QETDXAFX.js +0 -106
- package/dist/lib-H3ZZGS7I.js +0 -1322
- package/dist/out-66YUO4CT.js +0 -7
- package/dist/templates/theme-extension/assets/thumbs-up.png +0 -0
- package/dist/templates/theme-extension/blocks/star_rating.liquid.raw +0 -21
- package/dist/templates/theme-extension/locales/en.default.json +0 -10
- package/dist/templates/theme-extension/shopify.extension.toml.liquid +0 -3
- package/dist/templates/theme-extension/snippets/stars.liquid.raw +0 -10
- package/dist/templates/ui-extensions/projects/product_subscription/package.json.liquid +0 -25
- package/dist/templates/ui-extensions/projects/product_subscription/shopify.extension.toml.liquid +0 -3
- package/dist/templates/ui-extensions/projects/product_subscription/src/index.liquid +0 -46
- package/dist/templates/ui-extensions/projects/web_pixel_extension/README.md +0 -23
- package/dist/templates/ui-extensions/projects/web_pixel_extension/package.json.liquid +0 -9
- package/dist/templates/ui-extensions/projects/web_pixel_extension/shopify.extension.toml.liquid +0 -16
- package/dist/templates/ui-extensions/projects/web_pixel_extension/src/index.liquid +0 -10
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
ensureAuthenticatedAdmin,
|
|
3
3
|
ensureAuthenticatedBusinessPlatform,
|
|
4
4
|
logout
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JECUABVU.js";
|
|
6
6
|
import {
|
|
7
7
|
base_command_default
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-7SCNBKRX.js";
|
|
9
9
|
import {
|
|
10
10
|
fanoutHooks
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-E4FPHMGU.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-LQ7IL4AX.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-KWVMII6E.js";
|
|
27
27
|
import {
|
|
28
28
|
AbortError,
|
|
29
29
|
BugError,
|
|
@@ -61,10 +61,10 @@ import {
|
|
|
61
61
|
runWithTimer,
|
|
62
62
|
source_default,
|
|
63
63
|
writeFile
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-VUQJSBXL.js";
|
|
65
65
|
import {
|
|
66
66
|
require_lib
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-27ILOE3X.js";
|
|
68
68
|
import {
|
|
69
69
|
require_src
|
|
70
70
|
} from "./chunk-SNOECVP4.js";
|
|
@@ -140191,21 +140191,21 @@ var require_main = __commonJS({
|
|
|
140191
140191
|
}
|
|
140192
140192
|
});
|
|
140193
140193
|
|
|
140194
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
140194
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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@8.4.
|
|
140198
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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@8.4.
|
|
140201
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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@8.4.
|
|
140204
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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@8.4.
|
|
140208
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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@8.4.
|
|
140220
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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@8.4.
|
|
140267
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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@8.4.
|
|
140302
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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@8.4.
|
|
140305
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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@8.4.
|
|
140309
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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@8.4.
|
|
140335
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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@8.4.
|
|
140416
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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@8.4.
|
|
140419
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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@8.4.
|
|
140428
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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@8.4.
|
|
140547
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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@8.4.
|
|
140583
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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@8.4.
|
|
140604
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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@8.4.
|
|
140649
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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@8.4.
|
|
140652
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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@8.4.
|
|
140655
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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@8.4.
|
|
140658
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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-QZYXTRWT.js");
|
|
140662
140662
|
return transpileTs(code, filepath, keepTypes);
|
|
140663
140663
|
}
|
|
140664
140664
|
|
|
140665
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
140665
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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@8.4.
|
|
140771
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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@8.4.
|
|
140910
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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@8.4.
|
|
140942
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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({
|
|
@@ -141140,7 +141140,7 @@ function overrideFlag(flags, extra) {
|
|
|
141140
141140
|
);
|
|
141141
141141
|
}
|
|
141142
141142
|
|
|
141143
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141143
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
141144
|
init_cjs_shims();
|
|
141145
141145
|
import { createRequire } from "node:module";
|
|
141146
141146
|
import { pathToFileURL } from "node:url";
|
|
@@ -141163,13 +141163,13 @@ function importLocal(packageName, path3) {
|
|
|
141163
141163
|
return import(pathToFileURL(realPath).href);
|
|
141164
141164
|
}
|
|
141165
141165
|
|
|
141166
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141166
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
141167
|
init_cjs_shims();
|
|
141168
141168
|
import path from "node:path";
|
|
141169
141169
|
import { EventEmitter } from "node:events";
|
|
141170
141170
|
import { ReadableStream } from "node:stream/web";
|
|
141171
141171
|
|
|
141172
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141172
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
141173
|
init_cjs_shims();
|
|
141174
141174
|
function getGraphiQLUrl({
|
|
141175
141175
|
host = "",
|
|
@@ -141183,7 +141183,7 @@ function getGraphiQLUrl({
|
|
|
141183
141183
|
return url;
|
|
141184
141184
|
}
|
|
141185
141185
|
|
|
141186
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141186
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
141187
|
var import_source_map_support = __toESM(require_source_map_support(), 1), H2O_BINDING_NAME = "H2O_LOG_EVENT", ResponseConstructor;
|
|
141188
141188
|
function setConstructors(constructors) {
|
|
141189
141189
|
ResponseConstructor = constructors.Response;
|
|
@@ -141285,7 +141285,7 @@ function handleDebugNetworkRequest(request) {
|
|
|
141285
141285
|
return request.method === "DELETE" ? clearHistory() : streamRequestEvents(request);
|
|
141286
141286
|
}
|
|
141287
141287
|
|
|
141288
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141288
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
141289
|
init_cjs_shims();
|
|
141290
141290
|
var SUBREQUEST_PROFILER_ENDPOINT = "/debug-network-server";
|
|
141291
141291
|
function handleMiniOxygenImportFail() {
|
|
@@ -141320,21 +141320,21 @@ function logRequestLine({
|
|
|
141320
141320
|
}
|
|
141321
141321
|
}
|
|
141322
141322
|
|
|
141323
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141323
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
141324
|
init_cjs_shims();
|
|
141325
141325
|
|
|
141326
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141326
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
141327
|
init_cjs_shims();
|
|
141328
141328
|
var import_core3 = __toESM(require_lib(), 1);
|
|
141329
141329
|
|
|
141330
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141330
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
141331
|
init_cjs_shims();
|
|
141332
141332
|
var import_core2 = __toESM(require_lib(), 1);
|
|
141333
141333
|
|
|
141334
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141334
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
141335
|
init_cjs_shims();
|
|
141336
141336
|
|
|
141337
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141337
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
141338
|
init_cjs_shims();
|
|
141339
141339
|
async function adminRequest(query, session, variables) {
|
|
141340
141340
|
let api = "Admin", url = `https://${session.storeFqdn}/admin/api/unstable/graphql.json`;
|
|
@@ -141370,7 +141370,7 @@ async function adminRequest(query, session, variables) {
|
|
|
141370
141370
|
}
|
|
141371
141371
|
}
|
|
141372
141372
|
|
|
141373
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141373
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
141374
|
init_cjs_shims();
|
|
141375
141375
|
var GID_REGEXP = /gid:\/\/shopify\/\w*\/(\d+)/;
|
|
141376
141376
|
function parseGid(gid) {
|
|
@@ -141380,7 +141380,7 @@ function parseGid(gid) {
|
|
|
141380
141380
|
throw new AbortError(`Invalid Global ID: ${gid}`);
|
|
141381
141381
|
}
|
|
141382
141382
|
|
|
141383
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141383
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
141384
|
var LinkStorefrontQuery = `#graphql
|
|
141385
141385
|
query LinkStorefront {
|
|
141386
141386
|
hydrogenStorefronts {
|
|
@@ -141401,7 +141401,7 @@ async function getStorefronts(adminSession) {
|
|
|
141401
141401
|
}));
|
|
141402
141402
|
}
|
|
141403
141403
|
|
|
141404
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141404
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
141405
|
init_cjs_shims();
|
|
141406
141406
|
var SHOPIFY_DIR = ".shopify", SHOPIFY_DIR_PROJECT = "project.json";
|
|
141407
141407
|
async function resetConfig(root) {
|
|
@@ -141472,7 +141472,7 @@ async function setCustomerAccountConfig(root, customerAccountConfig) {
|
|
|
141472
141472
|
}
|
|
141473
141473
|
}
|
|
141474
141474
|
|
|
141475
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141475
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
141476
|
init_cjs_shims();
|
|
141477
141477
|
var CreateStorefrontMutation = `#graphql
|
|
141478
141478
|
mutation CreateStorefront($title: String!) {
|
|
@@ -141506,7 +141506,7 @@ async function createStorefront(adminSession, title) {
|
|
|
141506
141506
|
return { jobId, storefront: hydrogenStorefront };
|
|
141507
141507
|
}
|
|
141508
141508
|
|
|
141509
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141509
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
141510
|
init_cjs_shims();
|
|
141511
141511
|
var FetchJobQuery = `#graphql
|
|
141512
141512
|
query FetchJob($id: ID!) {
|
|
@@ -141540,7 +141540,7 @@ function waitForJob(adminSession, jobId) {
|
|
|
141540
141540
|
});
|
|
141541
141541
|
}
|
|
141542
141542
|
|
|
141543
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141543
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
141544
|
init_cjs_shims();
|
|
141545
141545
|
function titleize(name = "") {
|
|
141546
141546
|
return name.replace(/[\W_]+/g, " ").split(" ").filter((word) => word.length > 0).map(
|
|
@@ -141548,7 +141548,7 @@ function titleize(name = "") {
|
|
|
141548
141548
|
).join(" ");
|
|
141549
141549
|
}
|
|
141550
141550
|
|
|
141551
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141551
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
141552
|
init_cjs_shims();
|
|
141553
141553
|
import os from "node:os";
|
|
141554
141554
|
var ALIAS_NAME = "h2", isWindows = () => os.platform() === "win32", isGitBash = () => !!process.env.MINGW_PREFIX;
|
|
@@ -141663,10 +141663,10 @@ async function getCliCommand(directory = process.cwd(), forcePkgManager) {
|
|
|
141663
141663
|
return (pkgManager === "bun" || pkgManager === "pnpm" || pkgManager === "yarn") && (cli = pkgManager), `${cli} shopify hydrogen`;
|
|
141664
141664
|
}
|
|
141665
141665
|
|
|
141666
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141666
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
141667
|
init_cjs_shims();
|
|
141668
141668
|
|
|
141669
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141669
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
141670
|
init_cjs_shims();
|
|
141671
141671
|
|
|
141672
141672
|
// ../cli-kit/dist/public/node/api/business-platform.js
|
|
@@ -141718,7 +141718,7 @@ async function businessPlatformOrganizationsRequestDoc(query, token, organizatio
|
|
|
141718
141718
|
});
|
|
141719
141719
|
}
|
|
141720
141720
|
|
|
141721
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141721
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
141722
|
var CurrentUserAccountQuery = `#graphql
|
|
141723
141723
|
query currentUserAccount {
|
|
141724
141724
|
currentUserAccount {
|
|
@@ -141797,7 +141797,7 @@ async function getUserAccount(token) {
|
|
|
141797
141797
|
};
|
|
141798
141798
|
}
|
|
141799
141799
|
|
|
141800
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
141800
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
141801
|
init_cjs_shims();
|
|
141802
141802
|
var originalConsole = { ...console }, methodsReplaced = /* @__PURE__ */ new Set(), addedReplacers = /* @__PURE__ */ new Set(), messageReplacers = [];
|
|
141803
141803
|
function addMessageReplacers(key, ...items) {
|
|
@@ -142073,7 +142073,7 @@ function isH2Verbose() {
|
|
|
142073
142073
|
return !!(process.env.DEBUG === "*" || process.env.DEBUG?.includes("h2:*"));
|
|
142074
142074
|
}
|
|
142075
142075
|
|
|
142076
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
142076
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
142077
|
async function logout2(root) {
|
|
142078
142078
|
await logout(), await resetConfig(root);
|
|
142079
142079
|
}
|
|
@@ -142112,7 +142112,7 @@ function renderLoginSuccess(config) {
|
|
|
142112
142112
|
});
|
|
142113
142113
|
}
|
|
142114
142114
|
|
|
142115
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
142115
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
142116
|
init_cjs_shims();
|
|
142117
142117
|
import { symlink, readdir as readdir4 } from "node:fs/promises";
|
|
142118
142118
|
|
|
@@ -144937,11 +144937,11 @@ async function isClean(directory) {
|
|
|
144937
144937
|
return (await esm_default({ baseDir: directory }).status()).isClean();
|
|
144938
144938
|
}
|
|
144939
144939
|
|
|
144940
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
144940
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
144941
|
init_cjs_shims();
|
|
144942
144942
|
import { readdir as readdir3 } from "node:fs/promises";
|
|
144943
144943
|
|
|
144944
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
144944
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
144945
|
init_cjs_shims();
|
|
144946
144946
|
import { createRequire as createRequire2 } from "module";
|
|
144947
144947
|
function convertRouteToV1(route) {
|
|
@@ -144955,13 +144955,13 @@ function isV1RouteConventionInstalled() {
|
|
|
144955
144955
|
}
|
|
144956
144956
|
}
|
|
144957
144957
|
|
|
144958
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
144958
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
144959
|
init_cjs_shims();
|
|
144960
144960
|
import { createRequire as createRequire4 } from "node:module";
|
|
144961
144961
|
import path2 from "node:path";
|
|
144962
144962
|
import { readdir as readdir2 } from "node:fs/promises";
|
|
144963
144963
|
|
|
144964
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
144964
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
144965
|
init_cjs_shims();
|
|
144966
144966
|
import { createRequire as createRequire3 } from "node:module";
|
|
144967
144967
|
var REQUIRED_REMIX_VERSION = "^2.1.0";
|
|
@@ -145001,7 +145001,7 @@ function getRemixPackageVersion(require22, name, root) {
|
|
|
145001
145001
|
return result;
|
|
145002
145002
|
}
|
|
145003
145003
|
|
|
145004
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
145004
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
145005
|
init_cjs_shims();
|
|
145006
145006
|
async function hasViteConfig(root) {
|
|
145007
145007
|
return !!(await findFileWithExtension(root, "vite.config")).filepath;
|
|
@@ -145068,7 +145068,7 @@ function findOxygenPlugin(config) {
|
|
|
145068
145068
|
return findPlugin(config, "oxygen:main");
|
|
145069
145069
|
}
|
|
145070
145070
|
|
|
145071
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
145071
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
145072
|
async function hasRemixConfigFile(root) {
|
|
145073
145073
|
return !!(await findFileWithExtension(root, "remix.config")).filepath;
|
|
145074
145074
|
}
|
|
@@ -145194,7 +145194,7 @@ async function assertEntryFileExists(root, fileRelative) {
|
|
|
145194
145194
|
}
|
|
145195
145195
|
}
|
|
145196
145196
|
|
|
145197
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
145197
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
145198
|
var NO_LOCALE_PATTERNS = [/robots\.txt/], ROUTE_MAP = {
|
|
145199
145199
|
home: ["_index", "$"],
|
|
145200
145200
|
page: "pages*",
|
|
@@ -145407,7 +145407,7 @@ async function copyRouteTemplate({
|
|
|
145407
145407
|
adapter && (templateContent = replaceAdapters(templateContent, adapter)), typescript || (templateContent = await transpileFile(templateContent, templatePath)), templateContent = await formatCode(templateContent, formatOptions, routePath), await writeFile(routePath, templateContent);
|
|
145408
145408
|
}
|
|
145409
145409
|
|
|
145410
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
145410
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
145411
|
var LANGUAGES = {
|
|
145412
145412
|
js: "JavaScript",
|
|
145413
145413
|
ts: "TypeScript"
|
|
@@ -145855,7 +145855,7 @@ function generateRandomName() {
|
|
|
145855
145855
|
])} ${geographicalFeature}`;
|
|
145856
145856
|
}
|
|
145857
145857
|
|
|
145858
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
145858
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
145859
|
var Link = class _Link extends base_command_default {
|
|
145860
145860
|
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
145861
|
|
|
@@ -145976,7 +145976,7 @@ async function createNewStorefront(root, session, storefronts) {
|
|
|
145976
145976
|
return storefront;
|
|
145977
145977
|
}
|
|
145978
145978
|
|
|
145979
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
145979
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
145980
|
init_cjs_shims();
|
|
145981
145981
|
var CUSTOMER_APPLICATION_URLS_REPLACE = `#graphql
|
|
145982
145982
|
mutation CustomerApplicationUrlsReplace($storefrontId: ID!, $urlsReplaceInput: HydrogenStorefrontCustomerApplicationUrlsReplaceInput!) {
|
|
@@ -146004,7 +146004,7 @@ async function replaceCustomerApplicationUrls(adminSession, storefrontId, urlsRe
|
|
|
146004
146004
|
return { success, userErrors };
|
|
146005
146005
|
}
|
|
146006
146006
|
|
|
146007
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
146007
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
146008
|
var CustomerAccountPush = class _CustomerAccountPush extends base_command_default {
|
|
146009
146009
|
static description = "Push project configuration to admin";
|
|
146010
146010
|
static flags = {
|
|
@@ -146139,7 +146139,7 @@ async function getStorefrontId(root, storefrontIdFromFlag) {
|
|
|
146139
146139
|
}) ? (await getConfig(root)).storefront?.id : void 0;
|
|
146140
146140
|
}
|
|
146141
146141
|
|
|
146142
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
146142
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
146143
|
init_cjs_shims();
|
|
146144
146144
|
|
|
146145
146145
|
// ../cli-kit/dist/public/node/dot-env.js
|
|
@@ -146199,7 +146199,7 @@ function patchEnvFile(envFileContent, updatedValues) {
|
|
|
146199
146199
|
function createDotEnvFileLine(key, value, quote2) {
|
|
146200
146200
|
if (quote2)
|
|
146201
146201
|
return `${key}=${quote2}${value}${quote2}`;
|
|
146202
|
-
if (value
|
|
146202
|
+
if (value?.includes(`
|
|
146203
146203
|
`)) {
|
|
146204
146204
|
let quoteCharacter = ['"', "'", "`"].find((char) => !value.includes(char));
|
|
146205
146205
|
if (!quoteCharacter)
|
|
@@ -146209,7 +146209,7 @@ function createDotEnvFileLine(key, value, quote2) {
|
|
|
146209
146209
|
return `${key}=${value}`;
|
|
146210
146210
|
}
|
|
146211
146211
|
|
|
146212
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
146212
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
146213
|
init_cjs_shims();
|
|
146214
146214
|
var PullVariablesQuery = `#graphql
|
|
146215
146215
|
query PullVariables($id: ID!, $handle: String) {
|
|
@@ -146237,7 +146237,7 @@ async function getStorefrontEnvVariables(adminSession, storefrontId, envHandle)
|
|
|
146237
146237
|
return hydrogenStorefront;
|
|
146238
146238
|
}
|
|
146239
146239
|
|
|
146240
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
146240
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
146241
|
init_cjs_shims();
|
|
146242
146242
|
var ListEnvironmentsQuery = `#graphql
|
|
146243
146243
|
query ListStorefronts($id: ID!) {
|
|
@@ -146265,7 +146265,7 @@ async function getStorefrontEnvironments(adminSession, storefrontId) {
|
|
|
146265
146265
|
return hydrogenStorefront;
|
|
146266
146266
|
}
|
|
146267
146267
|
|
|
146268
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
146268
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
146269
|
init_cjs_shims();
|
|
146270
146270
|
function orderEnvironmentsBySafety(environments) {
|
|
146271
146271
|
return [
|
|
@@ -146306,7 +146306,7 @@ function environmentNotFound(criterion, value) {
|
|
|
146306
146306
|
);
|
|
146307
146307
|
}
|
|
146308
146308
|
|
|
146309
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
146309
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
146310
|
var createEmptyRemoteVars = () => ({
|
|
146311
146311
|
remoteVariables: {},
|
|
146312
146312
|
remoteSecrets: {}
|
|
@@ -146377,7 +146377,7 @@ async function getLocalVariables(root, envFile) {
|
|
|
146377
146377
|
);
|
|
146378
146378
|
}
|
|
146379
146379
|
|
|
146380
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
146380
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
146381
|
init_cjs_shims();
|
|
146382
146382
|
async function startTunnelPlugin(config, port, provider) {
|
|
146383
146383
|
let hooks = await fanoutHooks(config, "tunnel_start", { port, provider }), first2 = Object.values(hooks).filter(
|
|
@@ -146408,7 +146408,7 @@ async function pollTunnelURL(tunnelClient) {
|
|
|
146408
146408
|
});
|
|
146409
146409
|
}
|
|
146410
146410
|
|
|
146411
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
146411
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@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
146412
|
function isMockShop(envVariables) {
|
|
146413
146413
|
return envVariables.PUBLIC_STORE_DOMAIN === "mock.shop" || // We fallback to mock.shop if the env var is falsy.
|
|
146414
146414
|
// When it's undefined, it might be overwritten by remote variables.
|
|
@@ -146569,7 +146569,6 @@ export {
|
|
|
146569
146569
|
ALIAS_NAME,
|
|
146570
146570
|
createPlatformShortcut,
|
|
146571
146571
|
getCliCommand,
|
|
146572
|
-
businessPlatformRequest,
|
|
146573
146572
|
businessPlatformRequestDoc,
|
|
146574
146573
|
businessPlatformOrganizationsRequest,
|
|
146575
146574
|
businessPlatformOrganizationsRequestDoc,
|
|
@@ -146622,4 +146621,4 @@ export {
|
|
|
146622
146621
|
getDebugBannerLine,
|
|
146623
146622
|
getUtilityBannerlines
|
|
146624
146623
|
};
|
|
146625
|
-
//# sourceMappingURL=chunk-
|
|
146624
|
+
//# sourceMappingURL=chunk-EFRDEP5S.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
renderSuccess,
|
|
8
8
|
renderTable,
|
|
9
9
|
renderWarning
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VUQJSBXL.js";
|
|
11
11
|
import {
|
|
12
12
|
init_cjs_shims
|
|
13
13
|
} from "./chunk-POZ5MGPT.js";
|
|
@@ -185,4 +185,4 @@ async function staticService() {
|
|
|
185
185
|
export {
|
|
186
186
|
staticService
|
|
187
187
|
};
|
|
188
|
-
//# sourceMappingURL=chunk-
|
|
188
|
+
//# sourceMappingURL=chunk-EL4JXI6O.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
init_cjs_shims
|
|
3
3
|
} from "./chunk-POZ5MGPT.js";
|
|
4
4
|
|
|
5
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
5
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/find-port.js
|
|
6
6
|
init_cjs_shims();
|
|
7
7
|
|
|
8
8
|
// ../../node_modules/.pnpm/get-port@7.1.0/node_modules/get-port/index.js
|
|
@@ -94,7 +94,7 @@ function portNumbers(from, to) {
|
|
|
94
94
|
}(from, to);
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.
|
|
97
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.4.6_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/find-port.js
|
|
98
98
|
function findPort(portPreference, range = 100) {
|
|
99
99
|
return getPorts({
|
|
100
100
|
port: portNumbers(portPreference, portPreference + range)
|
|
@@ -104,4 +104,4 @@ function findPort(portPreference, range = 100) {
|
|
|
104
104
|
export {
|
|
105
105
|
findPort
|
|
106
106
|
};
|
|
107
|
-
//# sourceMappingURL=chunk-
|
|
107
|
+
//# sourceMappingURL=chunk-ERVB6ERU.js.map
|