@shopify/cli 3.75.3 → 3.75.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/hydrogen/starter/CHANGELOG.md +9 -0
- package/dist/assets/hydrogen/starter/package.json +3 -3
- package/dist/{chunk-2NZ7C43W.js → chunk-2OX7ESM2.js} +6 -6
- package/dist/{chunk-VJRNACS6.js → chunk-37RGPUOL.js} +3 -3
- package/dist/{chunk-EIDXBYRF.js → chunk-3CB5D2ZO.js} +2 -2
- package/dist/{chunk-BI6OG3SW.js → chunk-3FPXLCF5.js} +3 -3
- package/dist/{chunk-QGVSI72K.js → chunk-4IY25QPC.js} +3 -3
- package/dist/{chunk-KTZUTNES.js → chunk-7DRESMZH.js} +3 -3
- package/dist/{chunk-WZLRLCYA.js → chunk-7DV7FO6D.js} +4 -4
- package/dist/{chunk-OV2HTJBT.js → chunk-ARR2ZV5X.js} +3 -3
- package/dist/{chunk-5R65XQBB.js → chunk-CBIPUP4Q.js} +3 -3
- package/dist/{chunk-WMN57UOI.js → chunk-DFK6H6Q2.js} +76 -76
- package/dist/{chunk-YFC422QN.js → chunk-DLW5TTAO.js} +3 -3
- package/dist/{chunk-GXE74MLK.js → chunk-EFDLFMUG.js} +2 -2
- package/dist/{chunk-LCLDLGWN.js → chunk-EPSGPKFO.js} +5 -5
- package/dist/{chunk-PD5FJTJV.js → chunk-HV2KH53A.js} +3 -3
- package/dist/{chunk-JTBKPH2T.js → chunk-IAFN3BTU.js} +2 -2
- package/dist/{chunk-K4H4V3DT.js → chunk-IROHTJ5D.js} +6 -6
- package/dist/{chunk-FNGSPBMI.js → chunk-KRPDLCMT.js} +7 -7
- package/dist/{chunk-22VHHB6E.js → chunk-LH3QC4DP.js} +3 -3
- package/dist/{chunk-G4WKRFAA.js → chunk-LLYJXSNC.js} +3 -3
- package/dist/{chunk-3QMRSRBQ.js → chunk-LRTITZPZ.js} +2 -2
- package/dist/{chunk-IKLIMBXL.js → chunk-LWZVD7VH.js} +3 -3
- package/dist/{chunk-YJQB4KNO.js → chunk-NNHELYN3.js} +3 -3
- package/dist/{chunk-B5KBQUD7.js → chunk-O5UY3K6F.js} +3 -3
- package/dist/{chunk-MAEFXTUW.js → chunk-OSDKLELI.js} +4 -4
- package/dist/{chunk-G4AWJOUT.js → chunk-QGAHQAXG.js} +3 -3
- package/dist/{chunk-USS26MJN.js → chunk-R27Y5T4H.js} +2 -2
- package/dist/{chunk-5U5CBWN6.js → chunk-R2KFJZQF.js} +6 -6
- package/dist/{chunk-A2VS5S6I.js → chunk-R6ST4Q4K.js} +2 -2
- package/dist/{chunk-KD3XBFOR.js → chunk-TPUB2CUK.js} +2 -2
- package/dist/{chunk-C33FHDOM.js → chunk-V4FD5VKG.js} +2 -2
- package/dist/{chunk-QODWZ6PQ.js → chunk-VH3W76GN.js} +3 -3
- package/dist/{chunk-RR6KDBGU.js → chunk-VIMSAJBK.js} +5 -5
- package/dist/{chunk-CM7HYAXG.js → chunk-VTTVH23Q.js} +2 -2
- package/dist/{chunk-33Y36JTQ.js → chunk-WCTQ65EF.js} +3 -3
- package/dist/{chunk-LZMNVVKL.js → chunk-WHYTGJJU.js} +4 -4
- package/dist/{chunk-MW2DSTSP.js → chunk-Y3V7CDDP.js} +4 -4
- 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 +6 -6
- package/dist/cli/services/commands/search.js +2 -2
- package/dist/cli/services/commands/search.test.js +2 -2
- package/dist/cli/services/commands/version.js +3 -3
- package/dist/cli/services/commands/version.test.js +4 -4
- package/dist/cli/services/kitchen-sink/async.js +2 -2
- package/dist/cli/services/kitchen-sink/prompts.js +2 -2
- package/dist/cli/services/kitchen-sink/static.js +2 -2
- package/dist/cli/services/upgrade.js +3 -3
- package/dist/cli/services/upgrade.test.js +5 -5
- package/dist/{custom-oclif-loader-T46YXHAL.js → custom-oclif-loader-24E7DVTH.js} +2 -2
- package/dist/{error-handler-CQQM6XL7.js → error-handler-7V7HCPFM.js} +9 -9
- package/dist/hooks/postrun.js +7 -7
- package/dist/hooks/prerun.js +7 -7
- package/dist/index.js +145 -144
- package/dist/{local-UIVNM7TY.js → local-WHLQPZNS.js} +2 -2
- package/dist/{morph-K3QSNZNW.js → morph-WRZ7XCTF.js} +9 -9
- package/dist/{node-Y5CCPBME.js → node-AJELTNRR.js} +15 -15
- package/dist/{node-package-manager-LYGJUDK2.js → node-package-manager-KULBOPYH.js} +3 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-6CY7AHOT.js → ui-B4IIF7YO.js} +2 -2
- package/dist/{workerd-S3A3XU2A.js → workerd-PWW3BB6B.js} +14 -14
- package/oclif.manifest.json +1 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-X7YTIMNN.js";
|
|
7
7
|
import {
|
|
8
8
|
findPort
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LLYJXSNC.js";
|
|
10
10
|
import {
|
|
11
11
|
ALIAS_NAME,
|
|
12
12
|
ALL_ROUTE_CHOICES,
|
|
@@ -134,7 +134,7 @@ import {
|
|
|
134
134
|
supressNodeExperimentalWarnings,
|
|
135
135
|
unsetStorefront,
|
|
136
136
|
waitForJob
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-DFK6H6Q2.js";
|
|
138
138
|
import {
|
|
139
139
|
require_ms,
|
|
140
140
|
require_src
|
|
@@ -153,68 +153,68 @@ import {
|
|
|
153
153
|
} from "./chunk-MW7RWHY5.js";
|
|
154
154
|
import {
|
|
155
155
|
List
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-HV2KH53A.js";
|
|
157
157
|
import {
|
|
158
158
|
Search
|
|
159
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-VH3W76GN.js";
|
|
160
160
|
import {
|
|
161
161
|
Upgrade
|
|
162
|
-
} from "./chunk-
|
|
163
|
-
import "./chunk-
|
|
162
|
+
} from "./chunk-OSDKLELI.js";
|
|
163
|
+
import "./chunk-ARR2ZV5X.js";
|
|
164
164
|
import {
|
|
165
165
|
Version
|
|
166
|
-
} from "./chunk-
|
|
167
|
-
import "./chunk-
|
|
168
|
-
import "./chunk-
|
|
166
|
+
} from "./chunk-CBIPUP4Q.js";
|
|
167
|
+
import "./chunk-3FPXLCF5.js";
|
|
168
|
+
import "./chunk-LRTITZPZ.js";
|
|
169
169
|
import {
|
|
170
170
|
KitchenSinkAll
|
|
171
|
-
} from "./chunk-
|
|
171
|
+
} from "./chunk-EPSGPKFO.js";
|
|
172
172
|
import {
|
|
173
173
|
KitchenSinkPrompts
|
|
174
|
-
} from "./chunk-
|
|
175
|
-
import "./chunk-
|
|
174
|
+
} from "./chunk-37RGPUOL.js";
|
|
175
|
+
import "./chunk-R6ST4Q4K.js";
|
|
176
176
|
import {
|
|
177
177
|
KitchenSinkStatic
|
|
178
|
-
} from "./chunk-
|
|
179
|
-
import "./chunk-
|
|
178
|
+
} from "./chunk-LWZVD7VH.js";
|
|
179
|
+
import "./chunk-R27Y5T4H.js";
|
|
180
180
|
import {
|
|
181
181
|
Generate
|
|
182
|
-
} from "./chunk-
|
|
183
|
-
import "./chunk-
|
|
182
|
+
} from "./chunk-4IY25QPC.js";
|
|
183
|
+
import "./chunk-7DV7FO6D.js";
|
|
184
184
|
import {
|
|
185
185
|
Logout
|
|
186
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-Y3V7CDDP.js";
|
|
187
187
|
import {
|
|
188
188
|
ensureAuthenticatedAdmin,
|
|
189
189
|
ensureAuthenticatedAppManagementAndBusinessPlatform,
|
|
190
190
|
ensureAuthenticatedPartners,
|
|
191
191
|
ensureAuthenticatedStorefront,
|
|
192
192
|
ensureAuthenticatedThemes
|
|
193
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-NNHELYN3.js";
|
|
194
194
|
import {
|
|
195
195
|
ClearCache,
|
|
196
196
|
globalFlags,
|
|
197
197
|
jsonFlag,
|
|
198
198
|
runCLI
|
|
199
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-KRPDLCMT.js";
|
|
200
200
|
import {
|
|
201
201
|
CommandFlags
|
|
202
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-WCTQ65EF.js";
|
|
203
203
|
import {
|
|
204
204
|
DocsGenerate
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-DLW5TTAO.js";
|
|
206
206
|
import {
|
|
207
207
|
HelpCommand
|
|
208
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-TPUB2CUK.js";
|
|
209
209
|
import {
|
|
210
210
|
KitchenSinkAsync
|
|
211
|
-
} from "./chunk-
|
|
212
|
-
import "./chunk-
|
|
211
|
+
} from "./chunk-QGAHQAXG.js";
|
|
212
|
+
import "./chunk-3CB5D2ZO.js";
|
|
213
213
|
import {
|
|
214
214
|
base_command_default,
|
|
215
215
|
decodeToml,
|
|
216
216
|
encodeToml
|
|
217
|
-
} from "./chunk-
|
|
217
|
+
} from "./chunk-WHYTGJJU.js";
|
|
218
218
|
import {
|
|
219
219
|
require_byline,
|
|
220
220
|
require_end_of_stream,
|
|
@@ -222,7 +222,7 @@ import {
|
|
|
222
222
|
require_iserror,
|
|
223
223
|
require_pump,
|
|
224
224
|
require_stack_generator
|
|
225
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-IROHTJ5D.js";
|
|
226
226
|
import {
|
|
227
227
|
require_once
|
|
228
228
|
} from "./chunk-SHWOPMLQ.js";
|
|
@@ -230,7 +230,7 @@ import {
|
|
|
230
230
|
fanoutHooks,
|
|
231
231
|
getListOfTunnelPlugins,
|
|
232
232
|
reportAnalyticsEvent
|
|
233
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-2OX7ESM2.js";
|
|
234
234
|
import {
|
|
235
235
|
appManagementFqdn,
|
|
236
236
|
developerDashboardFqdn,
|
|
@@ -242,14 +242,14 @@ import {
|
|
|
242
242
|
restRequestBody,
|
|
243
243
|
restRequestHeaders,
|
|
244
244
|
restRequestUrl
|
|
245
|
-
} from "./chunk-
|
|
245
|
+
} from "./chunk-VIMSAJBK.js";
|
|
246
246
|
import {
|
|
247
247
|
platformAndArch,
|
|
248
248
|
username
|
|
249
|
-
} from "./chunk-
|
|
249
|
+
} from "./chunk-VTTVH23Q.js";
|
|
250
250
|
import {
|
|
251
251
|
showNotificationsIfNeeded
|
|
252
|
-
} from "./chunk-
|
|
252
|
+
} from "./chunk-R2KFJZQF.js";
|
|
253
253
|
import {
|
|
254
254
|
ClientError,
|
|
255
255
|
FetchError,
|
|
@@ -260,11 +260,11 @@ import {
|
|
|
260
260
|
require_lib as require_lib2,
|
|
261
261
|
require_mime_types,
|
|
262
262
|
z
|
|
263
|
-
} from "./chunk-
|
|
263
|
+
} from "./chunk-O5UY3K6F.js";
|
|
264
264
|
import "./chunk-25IMI7TH.js";
|
|
265
265
|
import {
|
|
266
266
|
CLI_KIT_VERSION
|
|
267
|
-
} from "./chunk-
|
|
267
|
+
} from "./chunk-EFDLFMUG.js";
|
|
268
268
|
import {
|
|
269
269
|
LocalStorage,
|
|
270
270
|
UnknownPackageManagerError,
|
|
@@ -287,7 +287,7 @@ import {
|
|
|
287
287
|
usesWorkspaces,
|
|
288
288
|
versionSatisfies,
|
|
289
289
|
writePackageJSON
|
|
290
|
-
} from "./chunk-
|
|
290
|
+
} from "./chunk-LH3QC4DP.js";
|
|
291
291
|
import {
|
|
292
292
|
require_semver
|
|
293
293
|
} from "./chunk-HMDWNGIV.js";
|
|
@@ -503,7 +503,7 @@ import {
|
|
|
503
503
|
use_stdin_default,
|
|
504
504
|
writeFile,
|
|
505
505
|
writeFileSync
|
|
506
|
-
} from "./chunk-
|
|
506
|
+
} from "./chunk-V4FD5VKG.js";
|
|
507
507
|
import "./chunk-B5EXYCV3.js";
|
|
508
508
|
import {
|
|
509
509
|
require_graceful_fs
|
|
@@ -169485,14 +169485,14 @@ var COMMANDS = {
|
|
|
169485
169485
|
"theme:share": share_default
|
|
169486
169486
|
}, dist_default3 = COMMANDS;
|
|
169487
169487
|
|
|
169488
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
169488
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/index.js
|
|
169489
169489
|
init_cjs_shims();
|
|
169490
169490
|
|
|
169491
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
169491
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/build.js
|
|
169492
169492
|
init_cjs_shims();
|
|
169493
169493
|
var import_core17 = __toESM(require_lib(), 1);
|
|
169494
169494
|
|
|
169495
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
169495
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/template-diff.js
|
|
169496
169496
|
init_cjs_shims();
|
|
169497
169497
|
import { symlink, cp } from "node:fs/promises";
|
|
169498
169498
|
|
|
@@ -169509,7 +169509,7 @@ function temporaryDirectory({ prefix = "" } = {}) {
|
|
|
169509
169509
|
return fs2.mkdirSync(directory), directory;
|
|
169510
169510
|
}
|
|
169511
169511
|
|
|
169512
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
169512
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/template-diff.js
|
|
169513
169513
|
async function prepareDiffDirectory(diffDirectory, watch) {
|
|
169514
169514
|
let targetDirectory = temporaryDirectory({ prefix: "tmp-hydrogen-diff-" });
|
|
169515
169515
|
outputInfo(
|
|
@@ -169681,10 +169681,10 @@ async function applyTemplateDiff(targetDirectory, diffDirectory, templateDir) {
|
|
|
169681
169681
|
}), await mergeTsConfig(diffDirectory, targetDirectory);
|
|
169682
169682
|
}
|
|
169683
169683
|
|
|
169684
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
169684
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/check-lockfile.js
|
|
169685
169685
|
init_cjs_shims();
|
|
169686
169686
|
|
|
169687
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
169687
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/package-managers.js
|
|
169688
169688
|
init_cjs_shims();
|
|
169689
169689
|
var packageManagers = [
|
|
169690
169690
|
{
|
|
@@ -169709,7 +169709,7 @@ var packageManagers = [
|
|
|
169709
169709
|
}
|
|
169710
169710
|
];
|
|
169711
169711
|
|
|
169712
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
169712
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/check-lockfile.js
|
|
169713
169713
|
function missingLockfileWarning(shouldExit) {
|
|
169714
169714
|
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 = [
|
|
169715
169715
|
[
|
|
@@ -169759,7 +169759,7 @@ async function checkLockfileStatus(directory, shouldExit = !1) {
|
|
|
169759
169759
|
]).catch(() => [])).length > 0 && lockfileIgnoredWarning(lockfile2);
|
|
169760
169760
|
}
|
|
169761
169761
|
|
|
169762
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
169762
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/route-validator.js
|
|
169763
169763
|
init_cjs_shims();
|
|
169764
169764
|
var RESERVED_ROUTES = ["^api/[^/]+/graphql.json", "^cdn/", "^_t/"];
|
|
169765
169765
|
function findReservedRoutes(config2) {
|
|
@@ -169858,10 +169858,10 @@ These routes are reserved by Shopify and may cause issues with your storefront:
|
|
|
169858
169858
|
});
|
|
169859
169859
|
}
|
|
169860
169860
|
|
|
169861
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
169861
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/classic-compiler/build.js
|
|
169862
169862
|
init_cjs_shims();
|
|
169863
169863
|
|
|
169864
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
169864
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/codegen.js
|
|
169865
169865
|
init_cjs_shims();
|
|
169866
169866
|
import { spawn } from "node:child_process";
|
|
169867
169867
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
@@ -170090,7 +170090,7 @@ async function addHooksToHydrogenOptions(codegenConfig, { rootDirectory }) {
|
|
|
170090
170090
|
}
|
|
170091
170091
|
}
|
|
170092
170092
|
|
|
170093
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
170093
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/bundle/analyzer.js
|
|
170094
170094
|
init_cjs_shims();
|
|
170095
170095
|
var BUNDLE_ANALYZER_JSON_FILE = "metafile.server.json", BUNDLE_ANALYZER_HTML_FILE = "server-bundle-analyzer.html";
|
|
170096
170096
|
async function classicBuildBundleAnalysis(buildPath) {
|
|
@@ -170164,14 +170164,14 @@ function classicGetBundleAnalysisSummary(bundlePath) {
|
|
|
170164
170164
|
return getBundleAnalysisSummary(dirname(bundlePath));
|
|
170165
170165
|
}
|
|
170166
170166
|
|
|
170167
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
170167
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/is-ci.js
|
|
170168
170168
|
init_cjs_shims();
|
|
170169
170169
|
function isCI() {
|
|
170170
170170
|
let { env: env4 } = process;
|
|
170171
170171
|
return env4.CI === "false" ? !1 : !!(env4.CI || env4.CI_NAME || env4.BUILD_NUMBER || env4.TF_BUILD);
|
|
170172
170172
|
}
|
|
170173
170173
|
|
|
170174
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
170174
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/classic-compiler/build.js
|
|
170175
170175
|
var LOG_WORKER_BUILT = "\u{1F4E6} Worker built", WORKER_BUILD_SIZE_LIMIT = 5;
|
|
170176
170176
|
async function runClassicCompilerBuild({
|
|
170177
170177
|
directory,
|
|
@@ -170268,7 +170268,7 @@ async function copyPublicFiles(publicPath, buildPathClient) {
|
|
|
170268
170268
|
return copyFile(publicPath, buildPathClient);
|
|
170269
170269
|
}
|
|
170270
170270
|
|
|
170271
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
170271
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/bundle/vite-plugin.js
|
|
170272
170272
|
init_cjs_shims();
|
|
170273
170273
|
function hydrogenBundleAnalyzer(pluginOptions) {
|
|
170274
170274
|
let config2;
|
|
@@ -170394,7 +170394,7 @@ function createImportsMeta(ids, kind, root, resolveImportString, code) {
|
|
|
170394
170394
|
}));
|
|
170395
170395
|
}
|
|
170396
170396
|
|
|
170397
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
170397
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/defer.js
|
|
170398
170398
|
init_cjs_shims();
|
|
170399
170399
|
function deferPromise() {
|
|
170400
170400
|
let deferred = { state: "pending" };
|
|
@@ -170403,7 +170403,7 @@ function deferPromise() {
|
|
|
170403
170403
|
}), deferred;
|
|
170404
170404
|
}
|
|
170405
170405
|
|
|
170406
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
170406
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/resource-cleanup.js
|
|
170407
170407
|
init_cjs_shims();
|
|
170408
170408
|
function setupResourceCleanup(cleanup2) {
|
|
170409
170409
|
let closingPromise, processExit = process.exit;
|
|
@@ -170414,7 +170414,7 @@ function setupResourceCleanup(cleanup2) {
|
|
|
170414
170414
|
};
|
|
170415
170415
|
}
|
|
170416
170416
|
|
|
170417
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
170417
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/build.js
|
|
170418
170418
|
var Build = class _Build extends base_command_default {
|
|
170419
170419
|
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.";
|
|
170420
170420
|
static description = "Builds a Hydrogen storefront for production.";
|
|
@@ -170603,7 +170603,7 @@ This build is missing ${missingRoutes.length} route${missingRoutes.length > 1 ?
|
|
|
170603
170603
|
};
|
|
170604
170604
|
}
|
|
170605
170605
|
|
|
170606
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
170606
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/check.js
|
|
170607
170607
|
init_cjs_shims();
|
|
170608
170608
|
var import_core18 = __toESM(require_lib(), 1), GenerateRoute = class _GenerateRoute extends base_command_default {
|
|
170609
170609
|
static descriptionWithMarkdown = "Checks whether your Hydrogen app includes a set of standard Shopify routes.";
|
|
@@ -170632,7 +170632,7 @@ async function runCheckRoutes({ directory }) {
|
|
|
170632
170632
|
logMissingRoutes(findMissingRoutes(remixConfig)), warnReservedRoutes(findReservedRoutes(remixConfig));
|
|
170633
170633
|
}
|
|
170634
170634
|
|
|
170635
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
170635
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/codegen.js
|
|
170636
170636
|
init_cjs_shims();
|
|
170637
170637
|
var import_core19 = __toESM(require_lib(), 1);
|
|
170638
170638
|
var Codegen = class _Codegen extends base_command_default {
|
|
@@ -170691,11 +170691,11 @@ async function runCodegen({
|
|
|
170691
170691
|
});
|
|
170692
170692
|
}
|
|
170693
170693
|
|
|
170694
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
170694
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/debug/cpu.js
|
|
170695
170695
|
init_cjs_shims();
|
|
170696
170696
|
var import_core20 = __toESM(require_lib(), 1);
|
|
170697
170697
|
|
|
170698
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
170698
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/classic-compiler/debug-cpu.js
|
|
170699
170699
|
init_cjs_shims();
|
|
170700
170700
|
async function runClassicCompilerDebugCpu({
|
|
170701
170701
|
directory,
|
|
@@ -170738,7 +170738,7 @@ Build failed, waiting for changes to restart...`);
|
|
|
170738
170738
|
};
|
|
170739
170739
|
}
|
|
170740
170740
|
|
|
170741
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
170741
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/cpu-profiler.js
|
|
170742
170742
|
init_cjs_shims();
|
|
170743
170743
|
import { Session } from "node:inspector";
|
|
170744
170744
|
async function createCpuStartupProfiler(root) {
|
|
@@ -170816,7 +170816,7 @@ function silenceNode(node) {
|
|
|
170816
170816
|
});
|
|
170817
170817
|
}
|
|
170818
170818
|
|
|
170819
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
170819
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/debug/cpu.js
|
|
170820
170820
|
var DEFAULT_OUTPUT_PATH = "startup.cpuprofile", DebugCpu = class _DebugCpu extends base_command_default {
|
|
170821
170821
|
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).";
|
|
170822
170822
|
static description = "Builds and profiles the server startup time the app.";
|
|
@@ -170894,14 +170894,14 @@ Waiting for changes...`);
|
|
|
170894
170894
|
};
|
|
170895
170895
|
}
|
|
170896
170896
|
|
|
170897
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
170897
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/deploy.js
|
|
170898
170898
|
init_cjs_shims();
|
|
170899
170899
|
var import_core21 = __toESM(require_lib(), 1);
|
|
170900
170900
|
|
|
170901
|
-
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.
|
|
170901
|
+
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.10_@oclif+core@3.26.5_@shopify+cli-kit@packages+cli-kit/node_modules/@shopify/oxygen-cli/dist/deploy/index.js
|
|
170902
170902
|
init_cjs_shims();
|
|
170903
170903
|
|
|
170904
|
-
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.
|
|
170904
|
+
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.10_@oclif+core@3.26.5_@shopify+cli-kit@packages+cli-kit/node_modules/@shopify/oxygen-cli/dist/utils/utils.js
|
|
170905
170905
|
init_cjs_shims();
|
|
170906
170906
|
import fs3 from "fs";
|
|
170907
170907
|
import path2, { dirname as dirname2 } from "path";
|
|
@@ -171008,7 +171008,7 @@ function convertKeysToCamelCase(obj) {
|
|
|
171008
171008
|
}, {}) : obj;
|
|
171009
171009
|
}
|
|
171010
171010
|
|
|
171011
|
-
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.
|
|
171011
|
+
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.10_@oclif+core@3.26.5_@shopify+cli-kit@packages+cli-kit/node_modules/@shopify/oxygen-cli/dist/utils/bugsnag.js
|
|
171012
171012
|
init_cjs_shims();
|
|
171013
171013
|
var import_node = __toESM(require_bugsnag(), 1);
|
|
171014
171014
|
var BugsnagClient;
|
|
@@ -171045,7 +171045,7 @@ function sanitizeError(error, rootPath) {
|
|
|
171045
171045
|
return replaceRootPath(error);
|
|
171046
171046
|
}
|
|
171047
171047
|
|
|
171048
|
-
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.
|
|
171048
|
+
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.10_@oclif+core@3.26.5_@shopify+cli-kit@packages+cli-kit/node_modules/@shopify/oxygen-cli/dist/utils/metrics-exporter.js
|
|
171049
171049
|
init_cjs_shims();
|
|
171050
171050
|
var MetricName = /* @__PURE__ */ ((MetricName2) => (MetricName2.BuildTime = "build_time", MetricName2.NumFilesRequested = "num_files_requested", MetricName2.NumFilesUploaded = "num_files_uploaded", MetricName2.TotalSizeUploaded = "total_size_uploaded", MetricName2.TotalSizeRequested = "total_size_requested", MetricName2.TotalTime = "total_time", MetricName2.UploadTime = "upload_time", MetricName2.DeploymentCompletedTime = "deployment_completed_time", MetricName2.DeploymentRoutableTime = "deployment_routable_time", MetricName2))(MetricName || {}), MetricsExporter = class {
|
|
171051
171051
|
metrics = {};
|
|
@@ -171094,10 +171094,10 @@ var MetricName = /* @__PURE__ */ ((MetricName2) => (MetricName2.BuildTime = "bui
|
|
|
171094
171094
|
}
|
|
171095
171095
|
};
|
|
171096
171096
|
|
|
171097
|
-
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.
|
|
171097
|
+
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.10_@oclif+core@3.26.5_@shopify+cli-kit@packages+cli-kit/node_modules/@shopify/oxygen-cli/dist/deploy/build-initiate.js
|
|
171098
171098
|
init_cjs_shims();
|
|
171099
171099
|
|
|
171100
|
-
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.
|
|
171100
|
+
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.10_@oclif+core@3.26.5_@shopify+cli-kit@packages+cli-kit/node_modules/@shopify/oxygen-cli/dist/deploy/graphql/build-initiate.js
|
|
171101
171101
|
init_cjs_shims();
|
|
171102
171102
|
var BuildInitiateQuery = `
|
|
171103
171103
|
mutation BuildInitiate($environment: EnvironmentSelectorInput, $labels: [String!]) {
|
|
@@ -171113,7 +171113,7 @@ var BuildInitiateQuery = `
|
|
|
171113
171113
|
}
|
|
171114
171114
|
`;
|
|
171115
171115
|
|
|
171116
|
-
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.
|
|
171116
|
+
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.10_@oclif+core@3.26.5_@shopify+cli-kit@packages+cli-kit/node_modules/@shopify/oxygen-cli/dist/deploy/build-initiate.js
|
|
171117
171117
|
async function buildInitiate(options) {
|
|
171118
171118
|
let { config: config2, logger, environment, labels = [] } = options, variables = {
|
|
171119
171119
|
environment,
|
|
@@ -171143,10 +171143,10 @@ async function buildInitiate(options) {
|
|
|
171143
171143
|
}
|
|
171144
171144
|
}
|
|
171145
171145
|
|
|
171146
|
-
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.
|
|
171146
|
+
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.10_@oclif+core@3.26.5_@shopify+cli-kit@packages+cli-kit/node_modules/@shopify/oxygen-cli/dist/deploy/build-cancel.js
|
|
171147
171147
|
init_cjs_shims();
|
|
171148
171148
|
|
|
171149
|
-
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.
|
|
171149
|
+
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.10_@oclif+core@3.26.5_@shopify+cli-kit@packages+cli-kit/node_modules/@shopify/oxygen-cli/dist/deploy/graphql/build-cancel.js
|
|
171150
171150
|
init_cjs_shims();
|
|
171151
171151
|
var BuildCancelQuery = `
|
|
171152
171152
|
mutation BuildCancel($buildId: ID!, $reason: String!) {
|
|
@@ -171161,7 +171161,7 @@ var BuildCancelQuery = `
|
|
|
171161
171161
|
}
|
|
171162
171162
|
`;
|
|
171163
171163
|
|
|
171164
|
-
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.
|
|
171164
|
+
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.10_@oclif+core@3.26.5_@shopify+cli-kit@packages+cli-kit/node_modules/@shopify/oxygen-cli/dist/deploy/build-cancel.js
|
|
171165
171165
|
async function buildCancel(options) {
|
|
171166
171166
|
let { config: config2, buildId, reason, logger } = options, variables = {
|
|
171167
171167
|
buildId,
|
|
@@ -171188,16 +171188,16 @@ async function buildCancel(options) {
|
|
|
171188
171188
|
}
|
|
171189
171189
|
}
|
|
171190
171190
|
|
|
171191
|
-
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.
|
|
171191
|
+
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.10_@oclif+core@3.26.5_@shopify+cli-kit@packages+cli-kit/node_modules/@shopify/oxygen-cli/dist/deploy/get-upload-files.js
|
|
171192
171192
|
init_cjs_shims();
|
|
171193
171193
|
|
|
171194
|
-
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.
|
|
171194
|
+
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.10_@oclif+core@3.26.5_@shopify+cli-kit@packages+cli-kit/node_modules/@shopify/oxygen-cli/dist/deploy/types.js
|
|
171195
171195
|
init_cjs_shims();
|
|
171196
171196
|
var FileType = /* @__PURE__ */ ((FileType2) => (FileType2.Worker = "WORKER", FileType2.Asset = "ASSET", FileType2))(FileType || {}), VerificationError = class extends Error {
|
|
171197
171197
|
}, DeploymentCompletedVerificationError = class extends Error {
|
|
171198
171198
|
};
|
|
171199
171199
|
|
|
171200
|
-
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.
|
|
171200
|
+
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.10_@oclif+core@3.26.5_@shopify+cli-kit@packages+cli-kit/node_modules/@shopify/oxygen-cli/dist/deploy/get-upload-files.js
|
|
171201
171201
|
async function getUploadFiles(config2, metricsExporter) {
|
|
171202
171202
|
let workerPath = joinPath(config2.rootPath, config2.workerDir), workerFiles = await glob(`${workerPath}/**`), manifest = createManifestEntries({
|
|
171203
171203
|
files: workerFiles,
|
|
@@ -171249,10 +171249,10 @@ function assetFileFilter(fileName) {
|
|
|
171249
171249
|
return !new RegExp(regexString).test(fileName.toLowerCase());
|
|
171250
171250
|
}
|
|
171251
171251
|
|
|
171252
|
-
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.
|
|
171252
|
+
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.10_@oclif+core@3.26.5_@shopify+cli-kit@packages+cli-kit/node_modules/@shopify/oxygen-cli/dist/deploy/deployment-initiate.js
|
|
171253
171253
|
init_cjs_shims();
|
|
171254
171254
|
|
|
171255
|
-
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.
|
|
171255
|
+
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.10_@oclif+core@3.26.5_@shopify+cli-kit@packages+cli-kit/node_modules/@shopify/oxygen-cli/dist/deploy/graphql/deployment-initiate.js
|
|
171256
171256
|
init_cjs_shims();
|
|
171257
171257
|
var DeploymentInitiateQuery = `
|
|
171258
171258
|
mutation DeploymentInitiate($buildId: ID, $environment: EnvironmentSelectorInput, $labels: [String!], $files: [FileInput!]!) {
|
|
@@ -171280,7 +171280,7 @@ var DeploymentInitiateQuery = `
|
|
|
171280
171280
|
}
|
|
171281
171281
|
`;
|
|
171282
171282
|
|
|
171283
|
-
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.
|
|
171283
|
+
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.10_@oclif+core@3.26.5_@shopify+cli-kit@packages+cli-kit/node_modules/@shopify/oxygen-cli/dist/deploy/deployment-initiate.js
|
|
171284
171284
|
async function deploymentInitiate(options) {
|
|
171285
171285
|
let { config: config2, input, logger } = options, variables = {
|
|
171286
171286
|
buildId: input.buildId,
|
|
@@ -171312,10 +171312,10 @@ async function deploymentInitiate(options) {
|
|
|
171312
171312
|
}
|
|
171313
171313
|
}
|
|
171314
171314
|
|
|
171315
|
-
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.
|
|
171315
|
+
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.10_@oclif+core@3.26.5_@shopify+cli-kit@packages+cli-kit/node_modules/@shopify/oxygen-cli/dist/deploy/deployment-complete.js
|
|
171316
171316
|
init_cjs_shims();
|
|
171317
171317
|
|
|
171318
|
-
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.
|
|
171318
|
+
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.10_@oclif+core@3.26.5_@shopify+cli-kit@packages+cli-kit/node_modules/@shopify/oxygen-cli/dist/deploy/graphql/deployment-complete.js
|
|
171319
171319
|
init_cjs_shims();
|
|
171320
171320
|
var DeploymentCompleteQuery = `
|
|
171321
171321
|
mutation DeploymentComplete($deploymentId: ID!, $generateAuthBypassToken: Boolean, $authBypassTokenDuration: Int, $environmentVariables: [EnvironmentVariableInput!]) {
|
|
@@ -171332,7 +171332,7 @@ var DeploymentCompleteQuery = `
|
|
|
171332
171332
|
}
|
|
171333
171333
|
`;
|
|
171334
171334
|
|
|
171335
|
-
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.
|
|
171335
|
+
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.10_@oclif+core@3.26.5_@shopify+cli-kit@packages+cli-kit/node_modules/@shopify/oxygen-cli/dist/deploy/deployment-complete.js
|
|
171336
171336
|
async function deploymentComplete(config2, deploymentId) {
|
|
171337
171337
|
let variables = {
|
|
171338
171338
|
deploymentId,
|
|
@@ -171368,7 +171368,7 @@ async function deploymentComplete(config2, deploymentId) {
|
|
|
171368
171368
|
}
|
|
171369
171369
|
}
|
|
171370
171370
|
|
|
171371
|
-
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.
|
|
171371
|
+
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.10_@oclif+core@3.26.5_@shopify+cli-kit@packages+cli-kit/node_modules/@shopify/oxygen-cli/dist/deploy/verify-deployment.js
|
|
171372
171372
|
init_cjs_shims();
|
|
171373
171373
|
async function verifyDeployment(options) {
|
|
171374
171374
|
let { config: config2, url, logger, hooks: hooks2 } = options;
|
|
@@ -171395,10 +171395,10 @@ async function verifyDeployment(options) {
|
|
|
171395
171395
|
await check2();
|
|
171396
171396
|
}
|
|
171397
171397
|
|
|
171398
|
-
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.
|
|
171398
|
+
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.10_@oclif+core@3.26.5_@shopify+cli-kit@packages+cli-kit/node_modules/@shopify/oxygen-cli/dist/deploy/deployment-cancel.js
|
|
171399
171399
|
init_cjs_shims();
|
|
171400
171400
|
|
|
171401
|
-
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.
|
|
171401
|
+
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.10_@oclif+core@3.26.5_@shopify+cli-kit@packages+cli-kit/node_modules/@shopify/oxygen-cli/dist/deploy/graphql/deployment-cancel.js
|
|
171402
171402
|
init_cjs_shims();
|
|
171403
171403
|
var DeploymentCancelQuery = `
|
|
171404
171404
|
mutation DeploymentCancel($deploymentId: ID!, $reason: String!) {
|
|
@@ -171413,7 +171413,7 @@ mutation DeploymentCancel($deploymentId: ID!, $reason: String!) {
|
|
|
171413
171413
|
}
|
|
171414
171414
|
`;
|
|
171415
171415
|
|
|
171416
|
-
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.
|
|
171416
|
+
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.10_@oclif+core@3.26.5_@shopify+cli-kit@packages+cli-kit/node_modules/@shopify/oxygen-cli/dist/deploy/deployment-cancel.js
|
|
171417
171417
|
async function deploymentCancel(options) {
|
|
171418
171418
|
let { config: config2, deploymentId, reason, logger } = options, variables = {
|
|
171419
171419
|
deploymentId,
|
|
@@ -171440,7 +171440,7 @@ async function deploymentCancel(options) {
|
|
|
171440
171440
|
}
|
|
171441
171441
|
}
|
|
171442
171442
|
|
|
171443
|
-
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.
|
|
171443
|
+
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.10_@oclif+core@3.26.5_@shopify+cli-kit@packages+cli-kit/node_modules/@shopify/oxygen-cli/dist/deploy/upload-files.js
|
|
171444
171444
|
init_cjs_shims();
|
|
171445
171445
|
import { Agent } from "https";
|
|
171446
171446
|
var import_async = __toESM(require_async2(), 1);
|
|
@@ -171588,10 +171588,10 @@ function isErrorCode(err2, code) {
|
|
|
171588
171588
|
return err2 instanceof Error && "code" in err2 && err2.code === code;
|
|
171589
171589
|
}
|
|
171590
171590
|
|
|
171591
|
-
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.
|
|
171591
|
+
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.10_@oclif+core@3.26.5_@shopify+cli-kit@packages+cli-kit/node_modules/@shopify/oxygen-cli/dist/deploy/verify-deployment-completed.js
|
|
171592
171592
|
init_cjs_shims();
|
|
171593
171593
|
|
|
171594
|
-
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.
|
|
171594
|
+
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.10_@oclif+core@3.26.5_@shopify+cli-kit@packages+cli-kit/node_modules/@shopify/oxygen-cli/dist/deploy/graphql/deployment-verification-details.js
|
|
171595
171595
|
init_cjs_shims();
|
|
171596
171596
|
var DeploymentVerificationDetailsQuery = `
|
|
171597
171597
|
query DeploymentVerificationDetails($deploymentId: ID!) {
|
|
@@ -171599,11 +171599,12 @@ var DeploymentVerificationDetailsQuery = `
|
|
|
171599
171599
|
url
|
|
171600
171600
|
status
|
|
171601
171601
|
error
|
|
171602
|
+
startupTime
|
|
171602
171603
|
}
|
|
171603
171604
|
}
|
|
171604
171605
|
`, Status = /* @__PURE__ */ ((Status2) => (Status2.Pending = "PENDING", Status2.Deployed = "DEPLOYED", Status2.Failed = "FAILED", Status2.Cancelled = "CANCELLED", Status2))(Status || {});
|
|
171605
171606
|
|
|
171606
|
-
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.
|
|
171607
|
+
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.10_@oclif+core@3.26.5_@shopify+cli-kit@packages+cli-kit/node_modules/@shopify/oxygen-cli/dist/deploy/verify-deployment-completed.js
|
|
171607
171608
|
async function verifyDeploymentCompleted(options, deploymentId) {
|
|
171608
171609
|
let { config: config2, logger, timeoutInSeconds, hooks: hooks2 } = options, variables = {
|
|
171609
171610
|
deploymentId
|
|
@@ -171632,14 +171633,14 @@ async function verifyDeploymentCompleted(options, deploymentId) {
|
|
|
171632
171633
|
return outputCompleted("Deployment to Oxygen completed successfully", logger), hooks2?.onDeploymentCompleted?.(), data;
|
|
171633
171634
|
if (data.status === Status.Failed || data.status === Status.Cancelled)
|
|
171634
171635
|
throw hooks2?.onDeploymentFailed?.(data), new DeploymentCompletedVerificationError(
|
|
171635
|
-
data.error ? `Deployment ${data.status.toLocaleLowerCase()}, error: ${data.error}` : `Deployment ${data.status.toLocaleLowerCase()}`
|
|
171636
|
+
data.error ? `Deployment ${data.status.toLocaleLowerCase()}, error: ${data.error}${data.startupTime && data.error.includes("exceeded CPU time limit") ? ` (Startup time: ${data.startupTime}ms exceeded CPU time limit)` : ""}` : `Deployment ${data.status.toLocaleLowerCase()}`
|
|
171636
171637
|
);
|
|
171637
171638
|
return handleInterval();
|
|
171638
171639
|
};
|
|
171639
171640
|
return check2();
|
|
171640
171641
|
}
|
|
171641
171642
|
|
|
171642
|
-
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.
|
|
171643
|
+
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.10_@oclif+core@3.26.5_@shopify+cli-kit@packages+cli-kit/node_modules/@shopify/oxygen-cli/dist/deploy/build-project.js
|
|
171643
171644
|
init_cjs_shims();
|
|
171644
171645
|
import { spawn as spawn2 } from "child_process";
|
|
171645
171646
|
import { PassThrough } from "stream";
|
|
@@ -171693,7 +171694,7 @@ async function buildProject(options) {
|
|
|
171693
171694
|
}
|
|
171694
171695
|
}
|
|
171695
171696
|
|
|
171696
|
-
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.
|
|
171697
|
+
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.10_@oclif+core@3.26.5_@shopify+cli-kit@packages+cli-kit/node_modules/@shopify/oxygen-cli/dist/deploy/metadata.js
|
|
171697
171698
|
init_cjs_shims();
|
|
171698
171699
|
async function getMetadata(config2, logger) {
|
|
171699
171700
|
let ciInfo = ciPlatform(), metadata2 = ciInfo.metadata ?? {};
|
|
@@ -171789,7 +171790,7 @@ function createLabels(metadata2) {
|
|
|
171789
171790
|
return labels;
|
|
171790
171791
|
}
|
|
171791
171792
|
|
|
171792
|
-
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.
|
|
171793
|
+
// ../../node_modules/.pnpm/@shopify+oxygen-cli@4.6.10_@oclif+core@3.26.5_@shopify+cli-kit@packages+cli-kit/node_modules/@shopify/oxygen-cli/dist/deploy/index.js
|
|
171793
171794
|
async function createDeploy(options) {
|
|
171794
171795
|
let cliStartTime = performance.now();
|
|
171795
171796
|
initializeBugsnag(!options.config.bugsnag);
|
|
@@ -171894,16 +171895,16 @@ The deployment can be reached at the ${completedDeployment.url} preview URL`;
|
|
|
171894
171895
|
}
|
|
171895
171896
|
}
|
|
171896
171897
|
|
|
171897
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
171898
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/deploy.js
|
|
171898
171899
|
import { createRequire } from "node:module";
|
|
171899
171900
|
|
|
171900
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
171901
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/get-oxygen-deployment-data.js
|
|
171901
171902
|
init_cjs_shims();
|
|
171902
171903
|
|
|
171903
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
171904
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/render-errors.js
|
|
171904
171905
|
init_cjs_shims();
|
|
171905
171906
|
|
|
171906
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
171907
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/admin-urls.js
|
|
171907
171908
|
init_cjs_shims();
|
|
171908
171909
|
function newHydrogenStorefrontUrl(session) {
|
|
171909
171910
|
let { storeFqdn } = session;
|
|
@@ -171914,7 +171915,7 @@ function hydrogenStorefrontsUrl(session) {
|
|
|
171914
171915
|
return `https://${storeFqdn}/admin/custom_storefronts`;
|
|
171915
171916
|
}
|
|
171916
171917
|
|
|
171917
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
171918
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/render-errors.js
|
|
171918
171919
|
function renderMissingStorefront({
|
|
171919
171920
|
session,
|
|
171920
171921
|
storefront,
|
|
@@ -171956,7 +171957,7 @@ function renderMissingLink({ noStorefronts = !1 }) {
|
|
|
171956
171957
|
});
|
|
171957
171958
|
}
|
|
171958
171959
|
|
|
171959
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
171960
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/get-oxygen-data.js
|
|
171960
171961
|
init_cjs_shims();
|
|
171961
171962
|
var GetDeploymentDataQuery = `#graphql
|
|
171962
171963
|
query GetDeploymentToken($id: ID!) {
|
|
@@ -171982,7 +171983,7 @@ async function getOxygenData(adminSession, storefrontId) {
|
|
|
171982
171983
|
return { storefront: hydrogenStorefront };
|
|
171983
171984
|
}
|
|
171984
171985
|
|
|
171985
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
171986
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/verify-linked-storefront.js
|
|
171986
171987
|
init_cjs_shims();
|
|
171987
171988
|
async function verifyLinkedStorefront({
|
|
171988
171989
|
root,
|
|
@@ -171998,7 +171999,7 @@ async function verifyLinkedStorefront({
|
|
|
171998
171999
|
}));
|
|
171999
172000
|
}
|
|
172000
172001
|
|
|
172001
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
172002
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/get-oxygen-deployment-data.js
|
|
172002
172003
|
async function getOxygenDeploymentData({
|
|
172003
172004
|
root
|
|
172004
172005
|
}) {
|
|
@@ -172029,7 +172030,7 @@ async function getOxygenDeploymentData({
|
|
|
172029
172030
|
return storefront;
|
|
172030
172031
|
}
|
|
172031
172032
|
|
|
172032
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
172033
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/deploy.js
|
|
172033
172034
|
var DEPLOY_OUTPUT_FILE_HANDLE = "h2_deploy_log.json", deploymentLogger = (message, level = "info") => {
|
|
172034
172035
|
(level === "error" || level === "warn") && outputWarn(message);
|
|
172035
172036
|
}, Deploy = class _Deploy extends base_command_default {
|
|
@@ -172429,11 +172430,11 @@ async function getHydrogenVersion({ appPath }) {
|
|
|
172429
172430
|
return version;
|
|
172430
172431
|
}
|
|
172431
172432
|
|
|
172432
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
172433
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/dev.js
|
|
172433
172434
|
init_cjs_shims();
|
|
172434
172435
|
var import_core23 = __toESM(require_lib(), 1);
|
|
172435
172436
|
|
|
172436
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
172437
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/upgrade.js
|
|
172437
172438
|
init_cjs_shims();
|
|
172438
172439
|
var import_semver = __toESM(require_semver(), 1);
|
|
172439
172440
|
import { createRequire as createRequire2 } from "node:module";
|
|
@@ -172548,7 +172549,7 @@ function cliTruncate(text, columns3, options = {}) {
|
|
|
172548
172549
|
throw new Error(`Expected \`options.position\` to be either \`start\`, \`middle\` or \`end\`, got ${position}`);
|
|
172549
172550
|
}
|
|
172550
172551
|
|
|
172551
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
172552
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/upgrade.js
|
|
172552
172553
|
var import_core22 = __toESM(require_lib(), 1);
|
|
172553
172554
|
var INSTRUCTIONS_FOLDER = ".hydrogen", Upgrade2 = class _Upgrade extends base_command_default {
|
|
172554
172555
|
static descriptionWithMarkdown = "Upgrade Hydrogen project dependencies, preview features, fixes and breaking changes. The command also generates an instruction file for each upgrade.";
|
|
@@ -173109,11 +173110,11 @@ async function displayDevUpgradeNotice({
|
|
|
173109
173110
|
}
|
|
173110
173111
|
}
|
|
173111
173112
|
|
|
173112
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
173113
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/classic-compiler/dev.js
|
|
173113
173114
|
init_cjs_shims();
|
|
173114
173115
|
import fs4 from "node:fs/promises";
|
|
173115
173116
|
|
|
173116
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
173117
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/mini-oxygen/index.js
|
|
173117
173118
|
init_cjs_shims();
|
|
173118
173119
|
async function buildAssetsUrl(port, root) {
|
|
173119
173120
|
let { buildAssetsUrl: _buildAssetsUrl } = await importLocal(
|
|
@@ -173125,14 +173126,14 @@ async function buildAssetsUrl(port, root) {
|
|
|
173125
173126
|
async function startMiniOxygen(options, useNodeRuntime = !1) {
|
|
173126
173127
|
if (useNodeRuntime) {
|
|
173127
173128
|
process.env.MINIFLARE_SUBREQUEST_LIMIT = 100;
|
|
173128
|
-
let { startNodeServer } = await import("./node-
|
|
173129
|
+
let { startNodeServer } = await import("./node-AJELTNRR.js");
|
|
173129
173130
|
return startNodeServer(options);
|
|
173130
173131
|
}
|
|
173131
|
-
let { startWorkerdServer } = await import("./workerd-
|
|
173132
|
+
let { startWorkerdServer } = await import("./workerd-PWW3BB6B.js");
|
|
173132
173133
|
return startWorkerdServer(options);
|
|
173133
173134
|
}
|
|
173134
173135
|
|
|
173135
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
173136
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/virtual-routes.js
|
|
173136
173137
|
init_cjs_shims();
|
|
173137
173138
|
var VIRTUAL_ROUTES_DIR = "virtual-routes/routes", VIRTUAL_ROOT = "virtual-routes/virtual-root";
|
|
173138
173139
|
async function addVirtualRoutes(config2) {
|
|
@@ -173168,7 +173169,7 @@ async function addVirtualRoutes(config2) {
|
|
|
173168
173169
|
return config2;
|
|
173169
173170
|
}
|
|
173170
173171
|
|
|
173171
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
173172
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/live-reload.js
|
|
173172
173173
|
init_cjs_shims();
|
|
173173
173174
|
import http from "node:http";
|
|
173174
173175
|
async function setupLiveReload(devServerPort, root) {
|
|
@@ -173227,7 +173228,7 @@ async function setupLiveReload(devServerPort, root) {
|
|
|
173227
173228
|
}
|
|
173228
173229
|
}
|
|
173229
173230
|
|
|
173230
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
173231
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/classic-compiler/dev.js
|
|
173231
173232
|
var LOG_REBUILDING = "\u{1F9F1} Rebuilding...", LOG_REBUILT = "\u{1F680} Rebuilt";
|
|
173232
173233
|
async function runClassicCompilerDev({
|
|
173233
173234
|
port: appPort2,
|
|
@@ -173401,7 +173402,7 @@ async function runClassicCompilerDev({
|
|
|
173401
173402
|
};
|
|
173402
173403
|
}
|
|
173403
173404
|
|
|
173404
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
173405
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/deps-optimizer.js
|
|
173405
173406
|
init_cjs_shims();
|
|
173406
173407
|
var throttledOptimizableDeps = /* @__PURE__ */ new Set(), debouncedBannerTimeout;
|
|
173407
173408
|
function createEntryPointErrorHandler({
|
|
@@ -173529,7 +173530,7 @@ ${source_default.dim(
|
|
|
173529
173530
|
});
|
|
173530
173531
|
}
|
|
173531
173532
|
|
|
173532
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
173533
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/dev.js
|
|
173533
173534
|
var Dev2 = class _Dev extends base_command_default {
|
|
173534
173535
|
static descriptionWithMarkdown = `Runs a Hydrogen storefront in a local runtime that emulates an Oxygen worker for development.
|
|
173535
173536
|
|
|
@@ -173768,7 +173769,7 @@ function setupMonorepoReload(viteServer, monorepoPackagesPath, setupCodegen) {
|
|
|
173768
173769
|
});
|
|
173769
173770
|
}
|
|
173770
173771
|
|
|
173771
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
173772
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/env/list.js
|
|
173772
173773
|
init_cjs_shims();
|
|
173773
173774
|
var EnvList = class _EnvList extends base_command_default {
|
|
173774
173775
|
static descriptionWithMarkdown = "Lists all environments available on the linked Hydrogen storefront.";
|
|
@@ -173834,7 +173835,7 @@ var pluralizedEnvironments = ({
|
|
|
173834
173835
|
() => `There are no environments for the Hydrogen storefront ${storefrontTitle}`
|
|
173835
173836
|
);
|
|
173836
173837
|
|
|
173837
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
173838
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/env/pull.js
|
|
173838
173839
|
init_cjs_shims();
|
|
173839
173840
|
|
|
173840
173841
|
// ../../node_modules/.pnpm/diff@5.2.0/node_modules/diff/lib/index.mjs
|
|
@@ -174056,7 +174057,7 @@ arrayDiff.join = arrayDiff.removeEmpty = function(value) {
|
|
|
174056
174057
|
return value;
|
|
174057
174058
|
};
|
|
174058
174059
|
|
|
174059
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174060
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/env/pull.js
|
|
174060
174061
|
var EnvPull = class _EnvPull extends base_command_default {
|
|
174061
174062
|
static descriptionWithMarkdown = "Pulls environment variables from the linked Hydrogen storefront and writes them to an `.env` file.";
|
|
174062
174063
|
static description = "Populate your .env with variables from your Hydrogen storefront.";
|
|
@@ -174148,10 +174149,10 @@ Continue?`.value
|
|
|
174148
174149
|
});
|
|
174149
174150
|
}
|
|
174150
174151
|
|
|
174151
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174152
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/env/push.js
|
|
174152
174153
|
init_cjs_shims();
|
|
174153
174154
|
|
|
174154
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174155
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/push-variables.js
|
|
174155
174156
|
init_cjs_shims();
|
|
174156
174157
|
var PushVariablesMutation = `#graphql
|
|
174157
174158
|
mutation PushVariables(
|
|
@@ -174184,7 +174185,7 @@ async function pushStorefrontEnvVariables(adminSession, storefrontId, environmen
|
|
|
174184
174185
|
return { userErrors };
|
|
174185
174186
|
}
|
|
174186
174187
|
|
|
174187
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174188
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/env/push.js
|
|
174188
174189
|
var EnvPush = class _EnvPush extends base_command_default {
|
|
174189
174190
|
static description = "Push environment variables from the local .env file to your linked Hydrogen storefront.";
|
|
174190
174191
|
static flags = {
|
|
@@ -174299,10 +174300,10 @@ Continue?`.value
|
|
|
174299
174300
|
});
|
|
174300
174301
|
}
|
|
174301
174302
|
|
|
174302
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174303
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/g.js
|
|
174303
174304
|
init_cjs_shims();
|
|
174304
174305
|
|
|
174305
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174306
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/generate/route.js
|
|
174306
174307
|
init_cjs_shims();
|
|
174307
174308
|
var import_core24 = __toESM(require_lib(), 1);
|
|
174308
174309
|
var GenerateRoute2 = class _GenerateRoute extends base_command_default {
|
|
@@ -174369,7 +174370,7 @@ async function runGenerate(options) {
|
|
|
174369
174370
|
});
|
|
174370
174371
|
}
|
|
174371
174372
|
|
|
174372
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174373
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/g.js
|
|
174373
174374
|
var GenerateRouteShortcut = class extends base_command_default {
|
|
174374
174375
|
static description = "Shortcut for `hydrogen generate`. See `hydrogen generate --help` for more information.";
|
|
174375
174376
|
static strict = !1;
|
|
@@ -174382,7 +174383,7 @@ var GenerateRouteShortcut = class extends base_command_default {
|
|
|
174382
174383
|
}
|
|
174383
174384
|
};
|
|
174384
174385
|
|
|
174385
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174386
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/generate/routes.js
|
|
174386
174387
|
init_cjs_shims();
|
|
174387
174388
|
var GenerateRoutes = class _GenerateRoutes extends base_command_default {
|
|
174388
174389
|
static description = "Generates all supported standard shopify routes.";
|
|
@@ -174397,11 +174398,11 @@ var GenerateRoutes = class _GenerateRoutes extends base_command_default {
|
|
|
174397
174398
|
}
|
|
174398
174399
|
};
|
|
174399
174400
|
|
|
174400
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174401
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/init.js
|
|
174401
174402
|
init_cjs_shims();
|
|
174402
174403
|
var import_core25 = __toESM(require_lib(), 1);
|
|
174403
174404
|
|
|
174404
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174405
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/check-cli-version.js
|
|
174405
174406
|
init_cjs_shims();
|
|
174406
174407
|
import { fileURLToPath as fileURLToPath4 } from "node:url";
|
|
174407
174408
|
var UPGRADABLE_CLI_NAMES = {
|
|
@@ -174445,10 +174446,10 @@ You are currently running v${currentVersion}.
|
|
|
174445
174446
|
};
|
|
174446
174447
|
}
|
|
174447
174448
|
|
|
174448
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174449
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/onboarding/index.js
|
|
174449
174450
|
init_cjs_shims();
|
|
174450
174451
|
|
|
174451
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174452
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/onboarding/local.js
|
|
174452
174453
|
init_cjs_shims();
|
|
174453
174454
|
import { cp as cp2 } from "node:fs/promises";
|
|
174454
174455
|
async function setupLocalStarterTemplate(options, controller) {
|
|
@@ -174665,11 +174666,11 @@ function maybeInjectCliHydrogen(pkgJsonContent) {
|
|
|
174665
174666
|
return pkgJsonContent;
|
|
174666
174667
|
}
|
|
174667
174668
|
|
|
174668
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174669
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/onboarding/remote.js
|
|
174669
174670
|
init_cjs_shims();
|
|
174670
174671
|
import { readdir } from "node:fs/promises";
|
|
174671
174672
|
|
|
174672
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174673
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/template-downloader.js
|
|
174673
174674
|
init_cjs_shims();
|
|
174674
174675
|
var import_gunzip_maybe = __toESM(require_gunzip_maybe(), 1), import_tar_fs = __toESM(require_tar_fs(), 1);
|
|
174675
174676
|
import path3 from "node:path";
|
|
@@ -174701,7 +174702,7 @@ function parseGitHubRepositoryReference(reference) {
|
|
|
174701
174702
|
};
|
|
174702
174703
|
}
|
|
174703
174704
|
|
|
174704
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174705
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/template-downloader.js
|
|
174705
174706
|
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;
|
|
174706
174707
|
async function getLatestReleaseDownloadUrl(signal) {
|
|
174707
174708
|
let response = await fetch2(REPO_RELEASES_URL, { signal });
|
|
@@ -174784,7 +174785,7 @@ async function downloadExternalRepo(appTemplate, signal) {
|
|
|
174784
174785
|
}), await rmdir(joinPath(templateDir, ".git"), { force: !0 }), { templateDir };
|
|
174785
174786
|
}
|
|
174786
174787
|
|
|
174787
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174788
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/onboarding/remote.js
|
|
174788
174789
|
var DEMO_STORE_REPO = "shopify/hydrogen-demo-store";
|
|
174789
174790
|
async function setupRemoteTemplate(options, controller) {
|
|
174790
174791
|
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 });
|
|
@@ -174870,7 +174871,7 @@ Skip the flag or provide the name of a template or example in the Hydrogen repos
|
|
|
174870
174871
|
);
|
|
174871
174872
|
}
|
|
174872
174873
|
|
|
174873
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174874
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/onboarding/index.js
|
|
174874
174875
|
async function setupTemplate(options) {
|
|
174875
174876
|
let controller = new AbortController2();
|
|
174876
174877
|
try {
|
|
@@ -174881,7 +174882,7 @@ async function setupTemplate(options) {
|
|
|
174881
174882
|
}
|
|
174882
174883
|
}
|
|
174883
174884
|
|
|
174884
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174885
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/init.js
|
|
174885
174886
|
var FLAG_MAP = { f: "force" }, Init2 = class _Init extends base_command_default {
|
|
174886
174887
|
static descriptionWithMarkdown = "Creates a new Hydrogen storefront.";
|
|
174887
174888
|
static description = "Creates a new Hydrogen storefront.";
|
|
@@ -174955,10 +174956,10 @@ async function runInit({
|
|
|
174955
174956
|
return showUpgrade && showUpgrade(options.packageManager), setupTemplate(options);
|
|
174956
174957
|
}
|
|
174957
174958
|
|
|
174958
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174959
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/list.js
|
|
174959
174960
|
init_cjs_shims();
|
|
174960
174961
|
|
|
174961
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174962
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/list-storefronts.js
|
|
174962
174963
|
init_cjs_shims();
|
|
174963
174964
|
var ListStorefrontsQuery = `#graphql
|
|
174964
174965
|
query ListStorefronts {
|
|
@@ -174985,7 +174986,7 @@ async function getStorefrontsWithDeployment(adminSession) {
|
|
|
174985
174986
|
}));
|
|
174986
174987
|
}
|
|
174987
174988
|
|
|
174988
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174989
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/list.js
|
|
174989
174990
|
var List3 = class _List extends base_command_default {
|
|
174990
174991
|
static descriptionWithMarkdown = "Lists all remote Hydrogen storefronts available to link to your local development environment.";
|
|
174991
174992
|
static description = "Returns a list of Hydrogen storefronts available on a given shop.";
|
|
@@ -175053,7 +175054,7 @@ var pluralizedStorefronts = ({
|
|
|
175053
175054
|
(_storefront) => `Showing 1 Hydrogen storefront for the store ${shop}`
|
|
175054
175055
|
);
|
|
175055
175056
|
|
|
175056
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
175057
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/login.js
|
|
175057
175058
|
init_cjs_shims();
|
|
175058
175059
|
var Login = class _Login extends base_command_default {
|
|
175059
175060
|
static descriptionWithMarkdown = "Logs in to the specified shop and saves the shop domain to the project.";
|
|
@@ -175076,7 +175077,7 @@ async function runLogin({
|
|
|
175076
175077
|
renderLoginSuccess(config2);
|
|
175077
175078
|
}
|
|
175078
175079
|
|
|
175079
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
175080
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/logout.js
|
|
175080
175081
|
init_cjs_shims();
|
|
175081
175082
|
var Logout2 = class _Logout extends base_command_default {
|
|
175082
175083
|
static descriptionWithMarkdown = "Log out from the current shop.";
|
|
@@ -175093,7 +175094,7 @@ async function runLogout({ path: root = process.cwd() }) {
|
|
|
175093
175094
|
outputNewline(), await logout(root), renderSuccess({ body: "You are logged out from Shopify." });
|
|
175094
175095
|
}
|
|
175095
175096
|
|
|
175096
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
175097
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/preview.js
|
|
175097
175098
|
init_cjs_shims();
|
|
175098
175099
|
var import_core26 = __toESM(require_lib(), 1);
|
|
175099
175100
|
var Preview = class _Preview extends base_command_default {
|
|
@@ -175217,7 +175218,7 @@ async function runPreview({
|
|
|
175217
175218
|
};
|
|
175218
175219
|
}
|
|
175219
175220
|
|
|
175220
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
175221
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/setup.js
|
|
175221
175222
|
init_cjs_shims();
|
|
175222
175223
|
var Setup = class _Setup extends base_command_default {
|
|
175223
175224
|
static description = "Scaffold routes and core functionality.";
|
|
@@ -175308,7 +175309,7 @@ async function runSetup(options) {
|
|
|
175308
175309
|
));
|
|
175309
175310
|
}
|
|
175310
175311
|
|
|
175311
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
175312
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/setup/css.js
|
|
175312
175313
|
init_cjs_shims();
|
|
175313
175314
|
var import_core27 = __toESM(require_lib(), 1);
|
|
175314
175315
|
var SetupCSS = class _SetupCSS extends base_command_default {
|
|
@@ -175397,7 +175398,7 @@ Run`,
|
|
|
175397
175398
|
});
|
|
175398
175399
|
}
|
|
175399
175400
|
|
|
175400
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
175401
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/setup/markets.js
|
|
175401
175402
|
init_cjs_shims();
|
|
175402
175403
|
var import_core28 = __toESM(require_lib(), 1);
|
|
175403
175404
|
var SetupMarkets = class _SetupMarkets extends base_command_default {
|
|
@@ -175441,7 +175442,7 @@ async function runSetupMarkets({
|
|
|
175441
175442
|
});
|
|
175442
175443
|
}
|
|
175443
175444
|
|
|
175444
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
175445
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/setup/vite.js
|
|
175445
175446
|
init_cjs_shims();
|
|
175446
175447
|
var SetupVite = class _SetupVite extends base_command_default {
|
|
175447
175448
|
static description = "EXPERIMENTAL: Upgrades the project to use Vite.";
|
|
@@ -175683,7 +175684,7 @@ Please use Git to review the changes.`,
|
|
|
175683
175684
|
});
|
|
175684
175685
|
}
|
|
175685
175686
|
|
|
175686
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
175687
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/shortcut.js
|
|
175687
175688
|
init_cjs_shims();
|
|
175688
175689
|
var Shortcut = class extends base_command_default {
|
|
175689
175690
|
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>`.";
|
|
@@ -175708,7 +175709,7 @@ Restart your terminal session and run \`${ALIAS_NAME}\` from your local project.
|
|
|
175708
175709
|
});
|
|
175709
175710
|
}
|
|
175710
175711
|
|
|
175711
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
175712
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/unlink.js
|
|
175712
175713
|
init_cjs_shims();
|
|
175713
175714
|
var Unlink = class _Unlink extends base_command_default {
|
|
175714
175715
|
static descriptionWithMarkdown = "Unlinks your local development environment from a remote Hydrogen storefront.";
|
|
@@ -175733,7 +175734,7 @@ async function unlinkStorefront({ path: path4 }) {
|
|
|
175733
175734
|
});
|
|
175734
175735
|
}
|
|
175735
175736
|
|
|
175736
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
175737
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/hooks/init.js
|
|
175737
175738
|
init_cjs_shims();
|
|
175738
175739
|
import { createRequire as createRequire3 } from "node:module";
|
|
175739
175740
|
import { spawnSync } from "node:child_process";
|
|
@@ -175788,7 +175789,7 @@ function isHydrogenProject(projectPath) {
|
|
|
175788
175789
|
}
|
|
175789
175790
|
var init_default2 = hook;
|
|
175790
175791
|
|
|
175791
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
175792
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.8_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/index.js
|
|
175792
175793
|
var COMMANDS2 = {
|
|
175793
175794
|
"hydrogen:dev": Dev2,
|
|
175794
175795
|
"hydrogen:build": Build,
|