@shopify/cli 3.80.4 → 3.80.5
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/.cursor/rules/hydrogen-react-router.mdc +5 -3
- package/dist/assets/hydrogen/starter/CHANGELOG.md +52 -40
- package/dist/assets/hydrogen/starter/package.json +2 -2
- package/dist/assets/hydrogen/starter/vite.config.ts +1 -1
- package/dist/{chunk-IRKPDUZE.js → chunk-2ZXZ6TMG.js} +6 -6
- package/dist/{chunk-4DKJ765Z.js → chunk-3Y3XPRQ6.js} +4 -4
- package/dist/{chunk-JJMWQP2L.js → chunk-4QN5J4PQ.js} +5 -5
- package/dist/{chunk-ZVMNEYFH.js → chunk-52XNWDUG.js} +3 -3
- package/dist/{chunk-EBDVIUOD.js → chunk-7VUAPVO6.js} +8 -8
- package/dist/{chunk-MIJF5LNA.js → chunk-BK4IIAID.js} +4 -4
- package/dist/{chunk-G6KVL4TS.js → chunk-BR2NBKUW.js} +4 -4
- package/dist/{chunk-QXOOIYRJ.js → chunk-D5NBHTIZ.js} +2 -2
- package/dist/{chunk-AKFTTMP7.js → chunk-DCBKCTEJ.js} +2 -2
- package/dist/{chunk-RPVZXBFY.js → chunk-EXAGVZF6.js} +4 -4
- package/dist/{chunk-22KQHOXJ.js → chunk-F5KMS2TZ.js} +2 -2
- package/dist/{chunk-A3FV2Y5F.js → chunk-HHXHFCPT.js} +97 -82
- package/dist/{chunk-JR36QMOU.js → chunk-HK5IHRTT.js} +6 -6
- package/dist/{chunk-MJBSMK2E.js → chunk-I2MST2WP.js} +3 -3
- package/dist/{chunk-HDXBAFR4.js → chunk-I726U4UA.js} +4 -4
- package/dist/{chunk-NRAZQETL.js → chunk-IWJSMR4L.js} +3 -3
- package/dist/{chunk-NPWBOQKI.js → chunk-JATT3FYX.js} +3 -3
- package/dist/{chunk-FE76VMCW.js → chunk-KBENE52L.js} +3 -3
- package/dist/{chunk-3DDKTA7S.js → chunk-KYH3WDGK.js} +4 -4
- package/dist/{chunk-HJMWM6XE.js → chunk-L6ROCMDO.js} +5 -5
- package/dist/{chunk-EV63EJKX.js → chunk-N4CSAPLU.js} +3 -3
- package/dist/{chunk-Z7RQZ537.js → chunk-N6LDKETI.js} +3 -3
- package/dist/{chunk-Z4ZLMWHP.js → chunk-ONMISMO4.js} +6 -6
- package/dist/{chunk-D7FVBSG2.js → chunk-PMIAZTDQ.js} +2 -2
- package/dist/{chunk-FOC6QQ3Z.js → chunk-PUMTB3YW.js} +7 -7
- package/dist/{chunk-JHJEXKDW.js → chunk-Q43ZURCK.js} +2 -2
- package/dist/{chunk-3WZJKL5I.js → chunk-SELFIPBY.js} +2 -2
- package/dist/{chunk-RTFBL435.js → chunk-T3LVGAPV.js} +3 -3
- package/dist/{chunk-FTFP354F.js → chunk-TX7PPGUZ.js} +5 -5
- package/dist/{chunk-72EQI7B6.js → chunk-UEIMUAER.js} +2 -2
- package/dist/{chunk-DTZTWKIB.js → chunk-VAUXWFOM.js} +3 -3
- package/dist/{chunk-ZMQFWHEX.js → chunk-WI6TASTN.js} +5 -5
- package/dist/{chunk-NJDE4VHA.js → chunk-YYB2DPLI.js} +3 -3
- package/dist/{chunk-57Q6OQG4.js → chunk-ZUCWDIGE.js} +2 -2
- package/dist/{chunk-HTPOBJEV.js → chunk-ZXVXGNY4.js} +5 -5
- package/dist/cli/commands/auth/logout.js +12 -12
- package/dist/cli/commands/auth/logout.test.js +13 -13
- package/dist/cli/commands/cache/clear.js +11 -11
- package/dist/cli/commands/debug/command-flags.js +11 -11
- package/dist/cli/commands/docs/generate.js +11 -11
- package/dist/cli/commands/docs/generate.test.js +11 -11
- package/dist/cli/commands/help.js +11 -11
- package/dist/cli/commands/kitchen-sink/async.js +12 -12
- package/dist/cli/commands/kitchen-sink/async.test.js +12 -12
- package/dist/cli/commands/kitchen-sink/index.js +14 -14
- package/dist/cli/commands/kitchen-sink/index.test.js +14 -14
- package/dist/cli/commands/kitchen-sink/prompts.js +12 -12
- package/dist/cli/commands/kitchen-sink/prompts.test.js +12 -12
- package/dist/cli/commands/kitchen-sink/static.js +12 -12
- package/dist/cli/commands/kitchen-sink/static.test.js +12 -12
- package/dist/cli/commands/notifications/generate.js +12 -12
- package/dist/cli/commands/notifications/list.js +12 -12
- package/dist/cli/commands/search.js +12 -12
- package/dist/cli/commands/upgrade.js +12 -12
- package/dist/cli/commands/version.js +12 -12
- package/dist/cli/commands/version.test.js +12 -12
- package/dist/cli/services/commands/notifications.js +7 -7
- package/dist/cli/services/commands/search.js +3 -3
- package/dist/cli/services/commands/search.test.js +3 -3
- package/dist/cli/services/commands/version.js +4 -4
- package/dist/cli/services/commands/version.test.js +5 -5
- package/dist/cli/services/kitchen-sink/async.js +3 -3
- package/dist/cli/services/kitchen-sink/prompts.js +3 -3
- package/dist/cli/services/kitchen-sink/static.js +3 -3
- package/dist/cli/services/upgrade.js +4 -4
- package/dist/cli/services/upgrade.test.js +5 -5
- package/dist/{custom-oclif-loader-FJYCRCHY.js → custom-oclif-loader-NRWKTMWK.js} +3 -3
- package/dist/{error-handler-ZFOBG3KZ.js → error-handler-AVFBYBX3.js} +9 -9
- package/dist/hooks/postrun.js +7 -7
- package/dist/hooks/prerun.js +8 -8
- package/dist/index.js +125 -117
- package/dist/{local-7CUVJHVC.js → local-IZUQBMP3.js} +3 -3
- package/dist/{morph-EKLK7JWU.js → morph-3VOLMA55.js} +9 -9
- package/dist/{node-package-manager-KJ2WBUZP.js → node-package-manager-F7U753X4.js} +4 -4
- package/dist/{path-2K5HIMHZ.js → path-GWAZZN2N.js} +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-5JYYJU2R.js → ui-JUF2QSGU.js} +3 -3
- package/dist/{workerd-GXYWGSKC.js → workerd-MVGKDJ7H.js} +14 -14
- package/oclif.manifest.json +1 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -129,7 +129,7 @@ import {
|
|
|
129
129
|
supressNodeExperimentalWarnings,
|
|
130
130
|
unsetStorefront,
|
|
131
131
|
waitForJob
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-HHXHFCPT.js";
|
|
133
133
|
import {
|
|
134
134
|
require_ms,
|
|
135
135
|
require_src
|
|
@@ -148,69 +148,69 @@ import {
|
|
|
148
148
|
} from "./chunk-3GXB4ZRP.js";
|
|
149
149
|
import {
|
|
150
150
|
List
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-KYH3WDGK.js";
|
|
152
152
|
import {
|
|
153
153
|
Search
|
|
154
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-IWJSMR4L.js";
|
|
155
155
|
import {
|
|
156
156
|
Upgrade
|
|
157
|
-
} from "./chunk-
|
|
158
|
-
import "./chunk-
|
|
157
|
+
} from "./chunk-BR2NBKUW.js";
|
|
158
|
+
import "./chunk-T3LVGAPV.js";
|
|
159
159
|
import {
|
|
160
160
|
Version
|
|
161
|
-
} from "./chunk-
|
|
162
|
-
import "./chunk-
|
|
163
|
-
import "./chunk-
|
|
161
|
+
} from "./chunk-VAUXWFOM.js";
|
|
162
|
+
import "./chunk-N6LDKETI.js";
|
|
163
|
+
import "./chunk-DCBKCTEJ.js";
|
|
164
164
|
import {
|
|
165
165
|
KitchenSinkAll
|
|
166
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-L6ROCMDO.js";
|
|
167
167
|
import {
|
|
168
168
|
KitchenSinkPrompts
|
|
169
|
-
} from "./chunk-
|
|
170
|
-
import "./chunk-
|
|
169
|
+
} from "./chunk-I2MST2WP.js";
|
|
170
|
+
import "./chunk-Q43ZURCK.js";
|
|
171
171
|
import {
|
|
172
172
|
KitchenSinkStatic
|
|
173
|
-
} from "./chunk-
|
|
174
|
-
import "./chunk-
|
|
173
|
+
} from "./chunk-KBENE52L.js";
|
|
174
|
+
import "./chunk-PMIAZTDQ.js";
|
|
175
175
|
import {
|
|
176
176
|
Generate
|
|
177
|
-
} from "./chunk-
|
|
178
|
-
import "./chunk-
|
|
177
|
+
} from "./chunk-YYB2DPLI.js";
|
|
178
|
+
import "./chunk-ZXVXGNY4.js";
|
|
179
179
|
import {
|
|
180
180
|
Logout
|
|
181
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-EXAGVZF6.js";
|
|
182
182
|
import {
|
|
183
183
|
ensureAuthenticatedAdmin,
|
|
184
184
|
ensureAuthenticatedAppManagementAndBusinessPlatform,
|
|
185
185
|
ensureAuthenticatedPartners,
|
|
186
186
|
ensureAuthenticatedStorefront,
|
|
187
187
|
ensureAuthenticatedThemes
|
|
188
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-3Y3XPRQ6.js";
|
|
189
189
|
import {
|
|
190
190
|
ClearCache,
|
|
191
191
|
globalFlags,
|
|
192
192
|
jsonFlag,
|
|
193
193
|
runCLI
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-PUMTB3YW.js";
|
|
195
195
|
import {
|
|
196
196
|
CommandFlags
|
|
197
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-N4CSAPLU.js";
|
|
198
198
|
import {
|
|
199
199
|
DocsGenerate
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-BK4IIAID.js";
|
|
201
201
|
import {
|
|
202
202
|
HelpCommand
|
|
203
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-SELFIPBY.js";
|
|
204
204
|
import {
|
|
205
205
|
KitchenSinkAsync
|
|
206
|
-
} from "./chunk-
|
|
207
|
-
import "./chunk-
|
|
206
|
+
} from "./chunk-JATT3FYX.js";
|
|
207
|
+
import "./chunk-D5NBHTIZ.js";
|
|
208
208
|
import {
|
|
209
209
|
base_command_default,
|
|
210
210
|
decodeToml,
|
|
211
211
|
encodeToml,
|
|
212
212
|
loadEnvironment
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-HK5IHRTT.js";
|
|
214
214
|
import {
|
|
215
215
|
require_byline,
|
|
216
216
|
require_end_of_stream,
|
|
@@ -218,7 +218,7 @@ import {
|
|
|
218
218
|
require_iserror,
|
|
219
219
|
require_pump,
|
|
220
220
|
require_stack_generator
|
|
221
|
-
} from "./chunk-
|
|
221
|
+
} from "./chunk-7VUAPVO6.js";
|
|
222
222
|
import {
|
|
223
223
|
require_once
|
|
224
224
|
} from "./chunk-SHWOPMLQ.js";
|
|
@@ -226,7 +226,7 @@ import {
|
|
|
226
226
|
fanoutHooks,
|
|
227
227
|
getListOfTunnelPlugins,
|
|
228
228
|
reportAnalyticsEvent
|
|
229
|
-
} from "./chunk-
|
|
229
|
+
} from "./chunk-ONMISMO4.js";
|
|
230
230
|
import {
|
|
231
231
|
adminFqdn,
|
|
232
232
|
appDevFqdn,
|
|
@@ -237,10 +237,10 @@ import {
|
|
|
237
237
|
normalizeStoreFqdn,
|
|
238
238
|
ok,
|
|
239
239
|
partnersFqdn
|
|
240
|
-
} from "./chunk-
|
|
240
|
+
} from "./chunk-4QN5J4PQ.js";
|
|
241
241
|
import {
|
|
242
242
|
showNotificationsIfNeeded
|
|
243
|
-
} from "./chunk-
|
|
243
|
+
} from "./chunk-2ZXZ6TMG.js";
|
|
244
244
|
import {
|
|
245
245
|
ClientError,
|
|
246
246
|
FetchError,
|
|
@@ -262,11 +262,11 @@ import {
|
|
|
262
262
|
require_mime_types,
|
|
263
263
|
shopifyFetch,
|
|
264
264
|
z
|
|
265
|
-
} from "./chunk-
|
|
265
|
+
} from "./chunk-TX7PPGUZ.js";
|
|
266
266
|
import "./chunk-25IMI7TH.js";
|
|
267
267
|
import {
|
|
268
268
|
CLI_KIT_VERSION
|
|
269
|
-
} from "./chunk-
|
|
269
|
+
} from "./chunk-UEIMUAER.js";
|
|
270
270
|
import {
|
|
271
271
|
LocalStorage,
|
|
272
272
|
UnknownPackageManagerError,
|
|
@@ -290,7 +290,7 @@ import {
|
|
|
290
290
|
usesWorkspaces,
|
|
291
291
|
versionSatisfies,
|
|
292
292
|
writePackageJSON
|
|
293
|
-
} from "./chunk-
|
|
293
|
+
} from "./chunk-52XNWDUG.js";
|
|
294
294
|
import {
|
|
295
295
|
AbortController as AbortController2,
|
|
296
296
|
AbortError,
|
|
@@ -504,7 +504,7 @@ import {
|
|
|
504
504
|
username,
|
|
505
505
|
writeFile,
|
|
506
506
|
writeFileSync
|
|
507
|
-
} from "./chunk-
|
|
507
|
+
} from "./chunk-WI6TASTN.js";
|
|
508
508
|
import {
|
|
509
509
|
require_semver
|
|
510
510
|
} from "./chunk-HMDWNGIV.js";
|
|
@@ -527,7 +527,7 @@ import {
|
|
|
527
527
|
relativizePath,
|
|
528
528
|
resolvePath,
|
|
529
529
|
sniffForJson
|
|
530
|
-
} from "./chunk-
|
|
530
|
+
} from "./chunk-ZUCWDIGE.js";
|
|
531
531
|
import {
|
|
532
532
|
require_escape_string_regexp,
|
|
533
533
|
require_lib
|
|
@@ -211424,14 +211424,14 @@ var COMMANDS = {
|
|
|
211424
211424
|
"theme:share": share_default
|
|
211425
211425
|
}, dist_default3 = COMMANDS;
|
|
211426
211426
|
|
|
211427
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
211427
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/index.js
|
|
211428
211428
|
init_cjs_shims();
|
|
211429
211429
|
|
|
211430
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
211430
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/build.js
|
|
211431
211431
|
init_cjs_shims();
|
|
211432
211432
|
var import_core17 = __toESM(require_lib(), 1);
|
|
211433
211433
|
|
|
211434
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
211434
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/template-diff.js
|
|
211435
211435
|
init_cjs_shims();
|
|
211436
211436
|
import { symlink, cp } from "node:fs/promises";
|
|
211437
211437
|
|
|
@@ -211448,7 +211448,7 @@ function temporaryDirectory({ prefix = "" } = {}) {
|
|
|
211448
211448
|
return fs2.mkdirSync(directory), directory;
|
|
211449
211449
|
}
|
|
211450
211450
|
|
|
211451
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
211451
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/template-diff.js
|
|
211452
211452
|
async function prepareDiffDirectory(diffDirectory, watch) {
|
|
211453
211453
|
let targetDirectory = temporaryDirectory({ prefix: "tmp-hydrogen-diff-" });
|
|
211454
211454
|
outputInfo(
|
|
@@ -211620,10 +211620,10 @@ async function applyTemplateDiff(targetDirectory, diffDirectory, templateDir) {
|
|
|
211620
211620
|
}), await mergeTsConfig(diffDirectory, targetDirectory);
|
|
211621
211621
|
}
|
|
211622
211622
|
|
|
211623
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
211623
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/check-lockfile.js
|
|
211624
211624
|
init_cjs_shims();
|
|
211625
211625
|
|
|
211626
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
211626
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/package-managers.js
|
|
211627
211627
|
init_cjs_shims();
|
|
211628
211628
|
var packageManagers = [
|
|
211629
211629
|
{
|
|
@@ -211648,7 +211648,7 @@ var packageManagers = [
|
|
|
211648
211648
|
}
|
|
211649
211649
|
];
|
|
211650
211650
|
|
|
211651
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
211651
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/check-lockfile.js
|
|
211652
211652
|
function missingLockfileWarning(shouldExit) {
|
|
211653
211653
|
let headline = "No lockfile found", body = "If you don\u2019t commit a lockfile, then your app might install the wrong package versions when deploying. To avoid versioning issues, generate a new lockfile and commit it to your repository.", nextSteps = [
|
|
211654
211654
|
[
|
|
@@ -211698,9 +211698,9 @@ async function checkLockfileStatus(directory, shouldExit = !1) {
|
|
|
211698
211698
|
]).catch(() => [])).length > 0 && lockfileIgnoredWarning(lockfile2);
|
|
211699
211699
|
}
|
|
211700
211700
|
|
|
211701
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
211701
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/route-validator.js
|
|
211702
211702
|
init_cjs_shims();
|
|
211703
|
-
var RESERVED_ROUTES = ["^
|
|
211703
|
+
var RESERVED_ROUTES = ["^cdn/", "^_t/"];
|
|
211704
211704
|
function findReservedRoutes(config2) {
|
|
211705
211705
|
let routes = /* @__PURE__ */ new Set();
|
|
211706
211706
|
return Object.values(config2.routes).filter(
|
|
@@ -211797,10 +211797,10 @@ These routes are reserved by Shopify and may cause issues with your storefront:
|
|
|
211797
211797
|
});
|
|
211798
211798
|
}
|
|
211799
211799
|
|
|
211800
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
211800
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/bundle/vite-plugin.js
|
|
211801
211801
|
init_cjs_shims();
|
|
211802
211802
|
|
|
211803
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
211803
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/bundle/analyzer.js
|
|
211804
211804
|
init_cjs_shims();
|
|
211805
211805
|
var BUNDLE_ANALYZER_JSON_FILE = "metafile.server.json", BUNDLE_ANALYZER_HTML_FILE = "server-bundle-analyzer.html";
|
|
211806
211806
|
async function getAnalyzerTemplate() {
|
|
@@ -211835,7 +211835,7 @@ async function getBundleAnalysisSummary(distPath) {
|
|
|
211835
211835
|
}
|
|
211836
211836
|
}
|
|
211837
211837
|
|
|
211838
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
211838
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/bundle/vite-plugin.js
|
|
211839
211839
|
function hydrogenBundleAnalyzer(pluginOptions) {
|
|
211840
211840
|
let config2;
|
|
211841
211841
|
return {
|
|
@@ -211976,7 +211976,7 @@ function createImportsMeta(ids, kind, root, resolveImportString, code) {
|
|
|
211976
211976
|
}));
|
|
211977
211977
|
}
|
|
211978
211978
|
|
|
211979
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
211979
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/codegen.js
|
|
211980
211980
|
init_cjs_shims();
|
|
211981
211981
|
import { spawn } from "node:child_process";
|
|
211982
211982
|
import { fileURLToPath as fileURLToPath3 } from "node:url";
|
|
@@ -212220,14 +212220,14 @@ async function addHooksToHydrogenOptions(codegenConfig, { rootDirectory }) {
|
|
|
212220
212220
|
}
|
|
212221
212221
|
}
|
|
212222
212222
|
|
|
212223
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
212223
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/is-ci.js
|
|
212224
212224
|
init_cjs_shims();
|
|
212225
212225
|
function isCI() {
|
|
212226
212226
|
let { env: env4 } = process;
|
|
212227
212227
|
return env4.CI === "false" ? !1 : !!(env4.CI || env4.CI_NAME || env4.BUILD_NUMBER || env4.TF_BUILD);
|
|
212228
212228
|
}
|
|
212229
212229
|
|
|
212230
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
212230
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/defer.js
|
|
212231
212231
|
init_cjs_shims();
|
|
212232
212232
|
function deferPromise() {
|
|
212233
212233
|
let deferred = { state: "pending" };
|
|
@@ -212236,7 +212236,7 @@ function deferPromise() {
|
|
|
212236
212236
|
}), deferred;
|
|
212237
212237
|
}
|
|
212238
212238
|
|
|
212239
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
212239
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/resource-cleanup.js
|
|
212240
212240
|
init_cjs_shims();
|
|
212241
212241
|
function setupResourceCleanup(cleanup2) {
|
|
212242
212242
|
let closingPromise, processExit = process.exit;
|
|
@@ -212247,7 +212247,7 @@ function setupResourceCleanup(cleanup2) {
|
|
|
212247
212247
|
};
|
|
212248
212248
|
}
|
|
212249
212249
|
|
|
212250
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
212250
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/build.js
|
|
212251
212251
|
var Build = class _Build extends base_command_default {
|
|
212252
212252
|
static descriptionWithMarkdown = "Builds a Hydrogen storefront for production. The client and app worker files are compiled to a `/dist` folder in your Hydrogen project directory.";
|
|
212253
212253
|
static description = "Builds a Hydrogen storefront for production.";
|
|
@@ -212445,7 +212445,7 @@ This build is missing ${missingRoutes.length} route${missingRoutes.length > 1 ?
|
|
|
212445
212445
|
};
|
|
212446
212446
|
}
|
|
212447
212447
|
|
|
212448
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
212448
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/check.js
|
|
212449
212449
|
init_cjs_shims();
|
|
212450
212450
|
var import_core18 = __toESM(require_lib(), 1), GenerateRoute = class _GenerateRoute extends base_command_default {
|
|
212451
212451
|
static descriptionWithMarkdown = "Checks whether your Hydrogen app includes a set of standard Shopify routes.";
|
|
@@ -212474,7 +212474,7 @@ async function runCheckRoutes({ directory }) {
|
|
|
212474
212474
|
logMissingRoutes(findMissingRoutes(remixConfig)), warnReservedRoutes(findReservedRoutes(remixConfig));
|
|
212475
212475
|
}
|
|
212476
212476
|
|
|
212477
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
212477
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/codegen.js
|
|
212478
212478
|
init_cjs_shims();
|
|
212479
212479
|
var import_core19 = __toESM(require_lib(), 1);
|
|
212480
212480
|
var Codegen = class _Codegen extends base_command_default {
|
|
@@ -212533,11 +212533,11 @@ async function runCodegen({
|
|
|
212533
212533
|
});
|
|
212534
212534
|
}
|
|
212535
212535
|
|
|
212536
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
212536
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/debug/cpu.js
|
|
212537
212537
|
init_cjs_shims();
|
|
212538
212538
|
var import_core20 = __toESM(require_lib(), 1);
|
|
212539
212539
|
|
|
212540
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
212540
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/cpu-profiler.js
|
|
212541
212541
|
init_cjs_shims();
|
|
212542
212542
|
import { Session } from "node:inspector";
|
|
212543
212543
|
async function createCpuStartupProfiler(root) {
|
|
@@ -212615,7 +212615,7 @@ function silenceNode(node) {
|
|
|
212615
212615
|
});
|
|
212616
212616
|
}
|
|
212617
212617
|
|
|
212618
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
212618
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/debug/cpu.js
|
|
212619
212619
|
var DEFAULT_OUTPUT_PATH = "startup.cpuprofile", DebugCpu = class _DebugCpu extends base_command_default {
|
|
212620
212620
|
static descriptionWithMarkdown = "Builds the app and runs the resulting code to profile the server startup time, watching for changes. This command can be used to [debug slow app startup times](https://shopify.dev/docs/custom-storefronts/hydrogen/debugging/cpu-startup) that cause failed deployments in Oxygen.\n\n The profiling results are written to a `.cpuprofile` file that can be viewed with certain tools such as [Flame Chart Visualizer for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-js-profile-flame).";
|
|
212621
212621
|
static description = "Builds and profiles the server startup time the app.";
|
|
@@ -212688,7 +212688,7 @@ Waiting for changes...`);
|
|
|
212688
212688
|
};
|
|
212689
212689
|
}
|
|
212690
212690
|
|
|
212691
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
212691
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/deploy.js
|
|
212692
212692
|
init_cjs_shims();
|
|
212693
212693
|
var import_core21 = __toESM(require_lib(), 1);
|
|
212694
212694
|
|
|
@@ -213693,16 +213693,16 @@ The deployment can be reached at the ${completedDeployment.url} preview URL`;
|
|
|
213693
213693
|
}
|
|
213694
213694
|
}
|
|
213695
213695
|
|
|
213696
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
213696
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/deploy.js
|
|
213697
213697
|
import { createRequire } from "node:module";
|
|
213698
213698
|
|
|
213699
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
213699
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/get-oxygen-deployment-data.js
|
|
213700
213700
|
init_cjs_shims();
|
|
213701
213701
|
|
|
213702
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
213702
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/render-errors.js
|
|
213703
213703
|
init_cjs_shims();
|
|
213704
213704
|
|
|
213705
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
213705
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/admin-urls.js
|
|
213706
213706
|
init_cjs_shims();
|
|
213707
213707
|
function newHydrogenStorefrontUrl(session) {
|
|
213708
213708
|
let { storeFqdn } = session;
|
|
@@ -213713,7 +213713,7 @@ function hydrogenStorefrontsUrl(session) {
|
|
|
213713
213713
|
return `https://${storeFqdn}/admin/custom_storefronts`;
|
|
213714
213714
|
}
|
|
213715
213715
|
|
|
213716
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
213716
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/render-errors.js
|
|
213717
213717
|
function renderMissingStorefront({
|
|
213718
213718
|
session,
|
|
213719
213719
|
storefront,
|
|
@@ -213755,7 +213755,7 @@ function renderMissingLink({ noStorefronts = !1 }) {
|
|
|
213755
213755
|
});
|
|
213756
213756
|
}
|
|
213757
213757
|
|
|
213758
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
213758
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/get-oxygen-data.js
|
|
213759
213759
|
init_cjs_shims();
|
|
213760
213760
|
var GetDeploymentDataQuery = `#graphql
|
|
213761
213761
|
query GetDeploymentToken($id: ID!) {
|
|
@@ -213781,7 +213781,7 @@ async function getOxygenData(adminSession, storefrontId) {
|
|
|
213781
213781
|
return { storefront: hydrogenStorefront };
|
|
213782
213782
|
}
|
|
213783
213783
|
|
|
213784
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
213784
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/verify-linked-storefront.js
|
|
213785
213785
|
init_cjs_shims();
|
|
213786
213786
|
async function verifyLinkedStorefront({
|
|
213787
213787
|
root,
|
|
@@ -213797,7 +213797,7 @@ async function verifyLinkedStorefront({
|
|
|
213797
213797
|
}));
|
|
213798
213798
|
}
|
|
213799
213799
|
|
|
213800
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
213800
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/get-oxygen-deployment-data.js
|
|
213801
213801
|
async function getOxygenDeploymentData({
|
|
213802
213802
|
root
|
|
213803
213803
|
}) {
|
|
@@ -213828,7 +213828,7 @@ async function getOxygenDeploymentData({
|
|
|
213828
213828
|
return storefront;
|
|
213829
213829
|
}
|
|
213830
213830
|
|
|
213831
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
213831
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/deploy.js
|
|
213832
213832
|
var DEPLOY_OUTPUT_FILE_HANDLE = "h2_deploy_log.json", deploymentLogger = (message, level = "info") => {
|
|
213833
213833
|
(level === "error" || level === "warn") && outputWarn(message);
|
|
213834
213834
|
}, Deploy = class _Deploy extends base_command_default {
|
|
@@ -214232,11 +214232,11 @@ async function getHydrogenVersion({ appPath }) {
|
|
|
214232
214232
|
return version;
|
|
214233
214233
|
}
|
|
214234
214234
|
|
|
214235
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
214235
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/dev.js
|
|
214236
214236
|
init_cjs_shims();
|
|
214237
214237
|
var import_core23 = __toESM(require_lib(), 1);
|
|
214238
214238
|
|
|
214239
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
214239
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/upgrade.js
|
|
214240
214240
|
init_cjs_shims();
|
|
214241
214241
|
var import_semver = __toESM(require_semver3(), 1);
|
|
214242
214242
|
import { createRequire as createRequire2 } from "node:module";
|
|
@@ -214351,7 +214351,7 @@ function cliTruncate(text, columns2, options = {}) {
|
|
|
214351
214351
|
throw new Error(`Expected \`options.position\` to be either \`start\`, \`middle\` or \`end\`, got ${position}`);
|
|
214352
214352
|
}
|
|
214353
214353
|
|
|
214354
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
214354
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/upgrade.js
|
|
214355
214355
|
var import_core22 = __toESM(require_lib(), 1);
|
|
214356
214356
|
var INSTRUCTIONS_FOLDER = ".hydrogen", Upgrade2 = class _Upgrade extends base_command_default {
|
|
214357
214357
|
static descriptionWithMarkdown = "Upgrade Hydrogen project dependencies, preview features, fixes and breaking changes. The command also generates an instruction file for each upgrade.";
|
|
@@ -214942,7 +214942,7 @@ async function displayDevUpgradeNotice({
|
|
|
214942
214942
|
}
|
|
214943
214943
|
}
|
|
214944
214944
|
|
|
214945
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
214945
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/find-port.js
|
|
214946
214946
|
init_cjs_shims();
|
|
214947
214947
|
|
|
214948
214948
|
// ../../node_modules/.pnpm/get-port@7.1.0/node_modules/get-port/index.js
|
|
@@ -215034,14 +215034,14 @@ function portNumbers(from, to) {
|
|
|
215034
215034
|
}(from, to);
|
|
215035
215035
|
}
|
|
215036
215036
|
|
|
215037
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
215037
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/find-port.js
|
|
215038
215038
|
function findPort(portPreference, range = 100) {
|
|
215039
215039
|
return getPorts({
|
|
215040
215040
|
port: portNumbers(portPreference, portPreference + range)
|
|
215041
215041
|
});
|
|
215042
215042
|
}
|
|
215043
215043
|
|
|
215044
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
215044
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/deps-optimizer.js
|
|
215045
215045
|
init_cjs_shims();
|
|
215046
215046
|
var throttledOptimizableDeps = /* @__PURE__ */ new Set(), debouncedBannerTimeout;
|
|
215047
215047
|
function createEntryPointErrorHandler({
|
|
@@ -215169,7 +215169,7 @@ ${source_default.dim(
|
|
|
215169
215169
|
});
|
|
215170
215170
|
}
|
|
215171
215171
|
|
|
215172
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
215172
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/dev.js
|
|
215173
215173
|
var Dev2 = class _Dev extends base_command_default {
|
|
215174
215174
|
static descriptionWithMarkdown = `Runs a Hydrogen storefront in a local runtime that emulates an Oxygen worker for development.
|
|
215175
215175
|
|
|
@@ -215406,7 +215406,7 @@ function setupMonorepoReload(viteServer, monorepoPackagesPath, setupCodegen) {
|
|
|
215406
215406
|
});
|
|
215407
215407
|
}
|
|
215408
215408
|
|
|
215409
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
215409
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/env/list.js
|
|
215410
215410
|
init_cjs_shims();
|
|
215411
215411
|
var EnvList = class _EnvList extends base_command_default {
|
|
215412
215412
|
static descriptionWithMarkdown = "Lists all environments available on the linked Hydrogen storefront.";
|
|
@@ -215472,7 +215472,7 @@ var pluralizedEnvironments = ({
|
|
|
215472
215472
|
() => `There are no environments for the Hydrogen storefront ${storefrontTitle}`
|
|
215473
215473
|
);
|
|
215474
215474
|
|
|
215475
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
215475
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/env/pull.js
|
|
215476
215476
|
init_cjs_shims();
|
|
215477
215477
|
|
|
215478
215478
|
// ../../node_modules/.pnpm/diff@5.2.0/node_modules/diff/lib/index.mjs
|
|
@@ -215694,7 +215694,7 @@ arrayDiff.join = arrayDiff.removeEmpty = function(value) {
|
|
|
215694
215694
|
return value;
|
|
215695
215695
|
};
|
|
215696
215696
|
|
|
215697
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
215697
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/env/pull.js
|
|
215698
215698
|
var EnvPull = class _EnvPull extends base_command_default {
|
|
215699
215699
|
static descriptionWithMarkdown = "Pulls environment variables from the linked Hydrogen storefront and writes them to an `.env` file.";
|
|
215700
215700
|
static description = "Populate your .env with variables from your Hydrogen storefront.";
|
|
@@ -215786,10 +215786,10 @@ Continue?`.value
|
|
|
215786
215786
|
});
|
|
215787
215787
|
}
|
|
215788
215788
|
|
|
215789
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
215789
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/env/push.js
|
|
215790
215790
|
init_cjs_shims();
|
|
215791
215791
|
|
|
215792
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
215792
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/push-variables.js
|
|
215793
215793
|
init_cjs_shims();
|
|
215794
215794
|
var PushVariablesMutation = `#graphql
|
|
215795
215795
|
mutation PushVariables(
|
|
@@ -215822,7 +215822,7 @@ async function pushStorefrontEnvVariables(adminSession, storefrontId, environmen
|
|
|
215822
215822
|
return { userErrors };
|
|
215823
215823
|
}
|
|
215824
215824
|
|
|
215825
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
215825
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/env/push.js
|
|
215826
215826
|
var EnvPush = class _EnvPush extends base_command_default {
|
|
215827
215827
|
static description = "Push environment variables from the local .env file to your linked Hydrogen storefront.";
|
|
215828
215828
|
static flags = {
|
|
@@ -215937,10 +215937,10 @@ Continue?`.value
|
|
|
215937
215937
|
});
|
|
215938
215938
|
}
|
|
215939
215939
|
|
|
215940
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
215940
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/g.js
|
|
215941
215941
|
init_cjs_shims();
|
|
215942
215942
|
|
|
215943
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
215943
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/generate/route.js
|
|
215944
215944
|
init_cjs_shims();
|
|
215945
215945
|
var import_core24 = __toESM(require_lib(), 1);
|
|
215946
215946
|
var GenerateRoute2 = class _GenerateRoute extends base_command_default {
|
|
@@ -216007,7 +216007,7 @@ async function runGenerate(options) {
|
|
|
216007
216007
|
});
|
|
216008
216008
|
}
|
|
216009
216009
|
|
|
216010
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
216010
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/g.js
|
|
216011
216011
|
var GenerateRouteShortcut = class extends base_command_default {
|
|
216012
216012
|
static description = "Shortcut for `hydrogen generate`. See `hydrogen generate --help` for more information.";
|
|
216013
216013
|
static strict = !1;
|
|
@@ -216020,7 +216020,7 @@ var GenerateRouteShortcut = class extends base_command_default {
|
|
|
216020
216020
|
}
|
|
216021
216021
|
};
|
|
216022
216022
|
|
|
216023
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
216023
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/generate/routes.js
|
|
216024
216024
|
init_cjs_shims();
|
|
216025
216025
|
var GenerateRoutes = class _GenerateRoutes extends base_command_default {
|
|
216026
216026
|
static description = "Generates all supported standard shopify routes.";
|
|
@@ -216035,11 +216035,11 @@ var GenerateRoutes = class _GenerateRoutes extends base_command_default {
|
|
|
216035
216035
|
}
|
|
216036
216036
|
};
|
|
216037
216037
|
|
|
216038
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
216038
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/init.js
|
|
216039
216039
|
init_cjs_shims();
|
|
216040
216040
|
var import_core25 = __toESM(require_lib(), 1);
|
|
216041
216041
|
|
|
216042
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
216042
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/check-cli-version.js
|
|
216043
216043
|
init_cjs_shims();
|
|
216044
216044
|
import { fileURLToPath as fileURLToPath5 } from "node:url";
|
|
216045
216045
|
var UPGRADABLE_CLI_NAMES = {
|
|
@@ -216083,10 +216083,10 @@ You are currently running v${currentVersion}.
|
|
|
216083
216083
|
};
|
|
216084
216084
|
}
|
|
216085
216085
|
|
|
216086
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
216086
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/onboarding/index.js
|
|
216087
216087
|
init_cjs_shims();
|
|
216088
216088
|
|
|
216089
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
216089
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/onboarding/local.js
|
|
216090
216090
|
init_cjs_shims();
|
|
216091
216091
|
import { cp as cp2 } from "node:fs/promises";
|
|
216092
216092
|
async function setupLocalStarterTemplate(options, controller) {
|
|
@@ -216303,11 +216303,11 @@ function maybeInjectCliHydrogen(pkgJsonContent) {
|
|
|
216303
216303
|
return pkgJsonContent;
|
|
216304
216304
|
}
|
|
216305
216305
|
|
|
216306
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
216306
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/onboarding/remote.js
|
|
216307
216307
|
init_cjs_shims();
|
|
216308
216308
|
import { readdir as readdir2 } from "node:fs/promises";
|
|
216309
216309
|
|
|
216310
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
216310
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/template-downloader.js
|
|
216311
216311
|
init_cjs_shims();
|
|
216312
216312
|
var import_gunzip_maybe = __toESM(require_gunzip_maybe(), 1), import_tar_fs = __toESM(require_tar_fs(), 1);
|
|
216313
216313
|
import path3 from "node:path";
|
|
@@ -216355,7 +216355,7 @@ async function downloadGitHubRelease(repo, version, assetName, targetPath) {
|
|
|
216355
216355
|
});
|
|
216356
216356
|
}
|
|
216357
216357
|
|
|
216358
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
216358
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/template-downloader.js
|
|
216359
216359
|
var REPO_RELEASES_URL = "https://api.github.com/repos/shopify/hydrogen/releases/latest", getTryMessage = (status) => status === 403 ? "If you are using a VPN, WARP, or similar service, consider disabling it momentarily." : void 0;
|
|
216360
216360
|
async function getLatestReleaseDownloadUrl(signal) {
|
|
216361
216361
|
let response = await fetch2(REPO_RELEASES_URL, { signal });
|
|
@@ -216438,7 +216438,7 @@ async function downloadExternalRepo(appTemplate, signal) {
|
|
|
216438
216438
|
}), await rmdir(joinPath(templateDir, ".git"), { force: !0 }), { templateDir };
|
|
216439
216439
|
}
|
|
216440
216440
|
|
|
216441
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
216441
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/onboarding/remote.js
|
|
216442
216442
|
var DEMO_STORE_REPO = "shopify/hydrogen-demo-store";
|
|
216443
216443
|
async function setupRemoteTemplate(options, controller) {
|
|
216444
216444
|
let appTemplate = options.template === "demo-store" ? DEMO_STORE_REPO : options.template, abort2 = createAbortHandler(controller), backgroundDownloadPromise = appTemplate.includes("/") ? getExternalTemplate(appTemplate, controller.signal).catch(abort2) : getMonorepoTemplate(appTemplate, controller.signal).catch(abort2), project = await handleProjectLocation({ ...options, controller });
|
|
@@ -216524,7 +216524,7 @@ Skip the flag or provide the name of a template or example in the Hydrogen repos
|
|
|
216524
216524
|
);
|
|
216525
216525
|
}
|
|
216526
216526
|
|
|
216527
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
216527
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/onboarding/index.js
|
|
216528
216528
|
async function setupTemplate(options) {
|
|
216529
216529
|
let controller = new AbortController2();
|
|
216530
216530
|
try {
|
|
@@ -216535,7 +216535,7 @@ async function setupTemplate(options) {
|
|
|
216535
216535
|
}
|
|
216536
216536
|
}
|
|
216537
216537
|
|
|
216538
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
216538
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/init.js
|
|
216539
216539
|
var FLAG_MAP = { f: "force" }, Init2 = class _Init extends base_command_default {
|
|
216540
216540
|
static descriptionWithMarkdown = "Creates a new Hydrogen storefront.";
|
|
216541
216541
|
static description = "Creates a new Hydrogen storefront.";
|
|
@@ -216609,10 +216609,10 @@ async function runInit({
|
|
|
216609
216609
|
return showUpgrade && showUpgrade(options.packageManager), setupTemplate(options);
|
|
216610
216610
|
}
|
|
216611
216611
|
|
|
216612
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
216612
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/list.js
|
|
216613
216613
|
init_cjs_shims();
|
|
216614
216614
|
|
|
216615
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
216615
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/list-storefronts.js
|
|
216616
216616
|
init_cjs_shims();
|
|
216617
216617
|
var ListStorefrontsQuery = `#graphql
|
|
216618
216618
|
query ListStorefronts {
|
|
@@ -216639,7 +216639,7 @@ async function getStorefrontsWithDeployment(adminSession) {
|
|
|
216639
216639
|
}));
|
|
216640
216640
|
}
|
|
216641
216641
|
|
|
216642
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
216642
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/list.js
|
|
216643
216643
|
var List3 = class _List extends base_command_default {
|
|
216644
216644
|
static descriptionWithMarkdown = "Lists all remote Hydrogen storefronts available to link to your local development environment.";
|
|
216645
216645
|
static description = "Returns a list of Hydrogen storefronts available on a given shop.";
|
|
@@ -216707,7 +216707,7 @@ var pluralizedStorefronts = ({
|
|
|
216707
216707
|
(_storefront) => `Showing 1 Hydrogen storefront for the store ${shop}`
|
|
216708
216708
|
);
|
|
216709
216709
|
|
|
216710
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
216710
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/login.js
|
|
216711
216711
|
init_cjs_shims();
|
|
216712
216712
|
var Login = class _Login extends base_command_default {
|
|
216713
216713
|
static descriptionWithMarkdown = "Logs in to the specified shop and saves the shop domain to the project.";
|
|
@@ -216730,7 +216730,7 @@ async function runLogin({
|
|
|
216730
216730
|
renderLoginSuccess(config2);
|
|
216731
216731
|
}
|
|
216732
216732
|
|
|
216733
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
216733
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/logout.js
|
|
216734
216734
|
init_cjs_shims();
|
|
216735
216735
|
var Logout2 = class _Logout extends base_command_default {
|
|
216736
216736
|
static descriptionWithMarkdown = "Log out from the current shop.";
|
|
@@ -216747,18 +216747,18 @@ async function runLogout({ path: root = process.cwd() }) {
|
|
|
216747
216747
|
outputNewline(), await logout(root), renderSuccess({ body: "You are logged out from Shopify." });
|
|
216748
216748
|
}
|
|
216749
216749
|
|
|
216750
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
216750
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/preview.js
|
|
216751
216751
|
init_cjs_shims();
|
|
216752
216752
|
var import_core26 = __toESM(require_lib(), 1);
|
|
216753
216753
|
|
|
216754
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
216754
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/mini-oxygen/index.js
|
|
216755
216755
|
init_cjs_shims();
|
|
216756
216756
|
async function startMiniOxygen(options) {
|
|
216757
|
-
let { startWorkerdServer } = await import("./workerd-
|
|
216757
|
+
let { startWorkerdServer } = await import("./workerd-MVGKDJ7H.js");
|
|
216758
216758
|
return startWorkerdServer(options);
|
|
216759
216759
|
}
|
|
216760
216760
|
|
|
216761
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
216761
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/preview.js
|
|
216762
216762
|
var Preview = class _Preview extends base_command_default {
|
|
216763
216763
|
static descriptionWithMarkdown = "Runs a server in your local development environment that serves your Hydrogen app's production build. Requires running the [build](https://shopify.dev/docs/api/shopify-cli/hydrogen/hydrogen-build) command first.";
|
|
216764
216764
|
static description = "Runs a Hydrogen storefront in an Oxygen worker for production.";
|
|
@@ -216870,7 +216870,7 @@ async function runPreview({
|
|
|
216870
216870
|
};
|
|
216871
216871
|
}
|
|
216872
216872
|
|
|
216873
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
216873
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/setup.js
|
|
216874
216874
|
init_cjs_shims();
|
|
216875
216875
|
var Setup = class _Setup extends base_command_default {
|
|
216876
216876
|
static description = "Scaffold routes and core functionality.";
|
|
@@ -216959,7 +216959,7 @@ async function runSetup(options) {
|
|
|
216959
216959
|
));
|
|
216960
216960
|
}
|
|
216961
216961
|
|
|
216962
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
216962
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/setup/css.js
|
|
216963
216963
|
init_cjs_shims();
|
|
216964
216964
|
var import_core27 = __toESM(require_lib(), 1);
|
|
216965
216965
|
var SetupCSS = class _SetupCSS extends base_command_default {
|
|
@@ -217048,7 +217048,7 @@ Run`,
|
|
|
217048
217048
|
});
|
|
217049
217049
|
}
|
|
217050
217050
|
|
|
217051
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
217051
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/setup/markets.js
|
|
217052
217052
|
init_cjs_shims();
|
|
217053
217053
|
var import_core28 = __toESM(require_lib(), 1);
|
|
217054
217054
|
var SetupMarkets = class _SetupMarkets extends base_command_default {
|
|
@@ -217092,7 +217092,7 @@ async function runSetupMarkets({
|
|
|
217092
217092
|
});
|
|
217093
217093
|
}
|
|
217094
217094
|
|
|
217095
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
217095
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/setup/vite.js
|
|
217096
217096
|
init_cjs_shims();
|
|
217097
217097
|
var SetupVite = class _SetupVite extends base_command_default {
|
|
217098
217098
|
static description = "EXPERIMENTAL: Upgrades the project to use Vite.";
|
|
@@ -217334,7 +217334,7 @@ Please use Git to review the changes.`,
|
|
|
217334
217334
|
});
|
|
217335
217335
|
}
|
|
217336
217336
|
|
|
217337
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
217337
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/shortcut.js
|
|
217338
217338
|
init_cjs_shims();
|
|
217339
217339
|
var Shortcut = class extends base_command_default {
|
|
217340
217340
|
static descriptionWithMarkdown = "Creates a global h2 shortcut for Shopify CLI using shell aliases.\n\n The following shells are supported:\n\n - Bash (using `~/.bashrc`)\n - ZSH (using `~/.zshrc`)\n - Fish (using `~/.config/fish/functions`)\n - PowerShell (added to `$PROFILE`)\n\n After the alias is created, you can call Shopify CLI from anywhere in your project using `h2 <command>`.";
|
|
@@ -217359,7 +217359,7 @@ Restart your terminal session and run \`${ALIAS_NAME}\` from your local project.
|
|
|
217359
217359
|
});
|
|
217360
217360
|
}
|
|
217361
217361
|
|
|
217362
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
217362
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/unlink.js
|
|
217363
217363
|
init_cjs_shims();
|
|
217364
217364
|
var Unlink = class _Unlink extends base_command_default {
|
|
217365
217365
|
static descriptionWithMarkdown = "Unlinks your local development environment from a remote Hydrogen storefront.";
|
|
@@ -217384,7 +217384,7 @@ async function unlinkStorefront({ path: path4 }) {
|
|
|
217384
217384
|
});
|
|
217385
217385
|
}
|
|
217386
217386
|
|
|
217387
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
217387
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/hooks/init.js
|
|
217388
217388
|
init_cjs_shims();
|
|
217389
217389
|
import { createRequire as createRequire3 } from "node:module";
|
|
217390
217390
|
import { spawnSync } from "node:child_process";
|
|
@@ -217438,7 +217438,7 @@ function isHydrogenProject(projectPath) {
|
|
|
217438
217438
|
}
|
|
217439
217439
|
var init_default2 = hook;
|
|
217440
217440
|
|
|
217441
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.
|
|
217441
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/index.js
|
|
217442
217442
|
var COMMANDS2 = {
|
|
217443
217443
|
"hydrogen:dev": Dev2,
|
|
217444
217444
|
"hydrogen:build": Build,
|
|
@@ -217562,7 +217562,7 @@ import { pipeline as pipeline3 } from "stream/promises";
|
|
|
217562
217562
|
import stream2 from "node:stream/promises";
|
|
217563
217563
|
import * as gzip from "node:zlib";
|
|
217564
217564
|
import { fileURLToPath as fileURLToPath6 } from "node:url";
|
|
217565
|
-
var PREFERRED_FUNCTION_RUNNER_VERSION = "v9.0.0", PREFERRED_JAVY_VERSION = "v5.0.3", PREFERRED_JAVY_PLUGIN_VERSION = "v2", BINARYEN_VERSION = "123.0.0", TRAMPOLINE_VERSION = "v1.0.
|
|
217565
|
+
var PREFERRED_FUNCTION_RUNNER_VERSION = "v9.0.0", PREFERRED_JAVY_VERSION = "v5.0.3", PREFERRED_JAVY_PLUGIN_VERSION = "v2", BINARYEN_VERSION = "123.0.0", TRAMPOLINE_VERSION = "v1.0.2";
|
|
217566
217566
|
function deriveJavaScriptBinaryDependencies(version) {
|
|
217567
217567
|
return version === "0" || version === "1" ? {
|
|
217568
217568
|
functionRunner: "v7.0.1",
|
|
@@ -218061,6 +218061,13 @@ function searchForAppsByNameFactory(developerPlatformClient, orgId) {
|
|
|
218061
218061
|
// ../app/dist/cli/prompts/dev.js
|
|
218062
218062
|
init_cjs_shims();
|
|
218063
218063
|
|
|
218064
|
+
// ../app/dist/cli/models/organization.js
|
|
218065
|
+
init_cjs_shims();
|
|
218066
|
+
var OrganizationSource;
|
|
218067
|
+
(function(OrganizationSource2) {
|
|
218068
|
+
OrganizationSource2.Partners = "Partners", OrganizationSource2.BusinessPlatform = "BusinessPlatform";
|
|
218069
|
+
})(OrganizationSource || (OrganizationSource = {}));
|
|
218070
|
+
|
|
218064
218071
|
// ../app/dist/cli/utilities/app/config/getTomls.js
|
|
218065
218072
|
init_cjs_shims();
|
|
218066
218073
|
|
|
@@ -221719,6 +221726,14 @@ async function getTomls(appDirectory) {
|
|
|
221719
221726
|
async function selectOrganizationPrompt(organizations) {
|
|
221720
221727
|
if (organizations.length === 1)
|
|
221721
221728
|
return organizations[0];
|
|
221729
|
+
organizations.some((org) => org.source === OrganizationSource.BusinessPlatform) && organizations.some((org) => org.source === OrganizationSource.Partners) && renderInfo({
|
|
221730
|
+
headline: "You have access to the Next-Gen Dev Platform.",
|
|
221731
|
+
body: "Select a Dev Dashboard organization from the list below to use it.",
|
|
221732
|
+
link: {
|
|
221733
|
+
label: "See documentation for more information.",
|
|
221734
|
+
url: "https://shopify.dev/beta/next-gen-dev-platform"
|
|
221735
|
+
}
|
|
221736
|
+
});
|
|
221722
221737
|
let orgList = organizations.map((org) => ({ label: org.businessName, value: org.id })), id = await renderAutocompletePrompt({
|
|
221723
221738
|
message: "Which organization is this work for?",
|
|
221724
221739
|
choices: orgList
|
|
@@ -221864,13 +221879,6 @@ async function selectOrCreateApp(apps, hasMorePages, org, developerPlatformClien
|
|
|
221864
221879
|
// ../app/dist/cli/services/dev/fetch.js
|
|
221865
221880
|
init_cjs_shims();
|
|
221866
221881
|
|
|
221867
|
-
// ../app/dist/cli/models/organization.js
|
|
221868
|
-
init_cjs_shims();
|
|
221869
|
-
var OrganizationSource;
|
|
221870
|
-
(function(OrganizationSource2) {
|
|
221871
|
-
OrganizationSource2.Partners = "Partners", OrganizationSource2.BusinessPlatform = "BusinessPlatform";
|
|
221872
|
-
})(OrganizationSource || (OrganizationSource = {}));
|
|
221873
|
-
|
|
221874
221882
|
// ../app/dist/cli/services/context/partner-account-info.js
|
|
221875
221883
|
init_cjs_shims();
|
|
221876
221884
|
|