@shopify/cli 3.75.0 → 3.75.2
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 +206 -0
- package/dist/assets/hydrogen/starter/app/components/CartMain.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/components/CartSummary.tsx +17 -6
- package/dist/assets/hydrogen/starter/app/entry.server.tsx +2 -3
- package/dist/assets/hydrogen/starter/app/root.tsx +9 -5
- package/dist/assets/hydrogen/starter/app/routes/[robots.txt].tsx +0 -1
- package/dist/assets/hydrogen/starter/app/routes/_index.tsx +2 -2
- package/dist/assets/hydrogen/starter/app/routes/account.addresses.tsx +17 -17
- package/dist/assets/hydrogen/starter/app/routes/account.orders.$id.tsx +3 -3
- package/dist/assets/hydrogen/starter/app/routes/account.orders._index.tsx +2 -2
- package/dist/assets/hydrogen/starter/app/routes/account.profile.tsx +6 -6
- package/dist/assets/hydrogen/starter/app/routes/account.tsx +2 -2
- package/dist/assets/hydrogen/starter/app/routes/blogs.$blogHandle.$articleHandle.tsx +2 -2
- package/dist/assets/hydrogen/starter/app/routes/blogs.$blogHandle._index.tsx +2 -2
- package/dist/assets/hydrogen/starter/app/routes/blogs._index.tsx +2 -2
- package/dist/assets/hydrogen/starter/app/routes/cart.tsx +5 -3
- package/dist/assets/hydrogen/starter/app/routes/collections.$handle.tsx +2 -2
- package/dist/assets/hydrogen/starter/app/routes/collections._index.tsx +2 -2
- package/dist/assets/hydrogen/starter/app/routes/collections.all.tsx +2 -2
- package/dist/assets/hydrogen/starter/app/routes/pages.$handle.tsx +2 -2
- package/dist/assets/hydrogen/starter/app/routes/policies.$handle.tsx +2 -2
- package/dist/assets/hydrogen/starter/app/routes/policies._index.tsx +2 -2
- package/dist/assets/hydrogen/starter/app/routes/products.$handle.tsx +2 -2
- package/dist/assets/hydrogen/starter/app/routes/search.tsx +1 -2
- package/dist/assets/hydrogen/starter/eslint.config.js +261 -0
- package/dist/assets/hydrogen/starter/guides/predictiveSearch/predictiveSearch.md +3 -3
- package/dist/assets/hydrogen/starter/guides/search/search.md +3 -3
- package/dist/assets/hydrogen/starter/package.json +24 -12
- package/dist/assets/hydrogen/starter/server.ts +3 -2
- package/dist/assets/hydrogen/starter/tsconfig.json +5 -1
- package/dist/assets/hydrogen/starter/vite.config.ts +7 -0
- package/dist/assets/hydrogen/vite/package.json +1 -1
- package/dist/assets/hydrogen/vite/vite.config.js +0 -1
- package/dist/{chunk-GQIMWIIF.js → chunk-2OIJ27EK.js} +4 -4
- package/dist/{chunk-X3CFSDHA.js → chunk-3AS5GKO6.js} +2 -2
- package/dist/{chunk-W6IJP4MY.js → chunk-3LRCKABH.js} +3 -3
- package/dist/{chunk-S4YW77H4.js → chunk-3PD7N6QH.js} +3 -3
- package/dist/{chunk-6W5TMCT3.js → chunk-3WJDY4FZ.js} +2 -2
- package/dist/{chunk-DV2H7WDY.js → chunk-57OHFYZW.js} +76 -76
- package/dist/{chunk-6XBYMBOQ.js → chunk-BCU7E3NX.js} +4 -4
- package/dist/{chunk-BDLU7EEZ.js → chunk-BLPW2I3W.js} +3 -3
- package/dist/{chunk-S576QAPY.js → chunk-CBFYOUNJ.js} +2 -2
- package/dist/{chunk-6HBKMQLD.js → chunk-CFJGHT34.js} +5 -5
- package/dist/{chunk-VM4XPRZK.js → chunk-CUFY74G5.js} +3 -3
- package/dist/{chunk-IML7XVTM.js → chunk-DAEGCVUK.js} +2 -2
- package/dist/{chunk-57EEPGQZ.js → chunk-E4SQU64X.js} +3 -3
- package/dist/{chunk-T35HYPVZ.js → chunk-EA462PLP.js} +3 -3
- package/dist/{chunk-L656JYPI.js → chunk-FCDX2H3B.js} +2 -2
- package/dist/{chunk-YVTRJWYT.js → chunk-FIJ3WWBF.js} +3 -3
- package/dist/{chunk-OK2LJ3F3.js → chunk-FKREMPHC.js} +6 -6
- package/dist/{chunk-GMHA2S7O.js → chunk-FLZ6KRMX.js} +3 -3
- package/dist/{chunk-ILXYHK4Q.js → chunk-GQRPLC7G.js} +7 -7
- package/dist/{chunk-BTMRJLQ7.js → chunk-HCLJQ3JM.js} +5 -5
- package/dist/{chunk-2FZJER24.js → chunk-IQHA2TDB.js} +3 -3
- package/dist/{chunk-ORGKANED.js → chunk-J6EMXSVU.js} +3 -3
- package/dist/{chunk-MN33EVV7.js → chunk-M6SVFMGS.js} +2 -2
- package/dist/{chunk-MOZOZ3LN.js → chunk-MTSKUOEE.js} +3 -3
- package/dist/{chunk-KMPW66LQ.js → chunk-NDR4O4J3.js} +4 -4
- package/dist/{chunk-TJDZDZWG.js → chunk-NE67IDBS.js} +2 -2
- package/dist/{chunk-2B5C3QFS.js → chunk-NL5GQTGL.js} +3 -3
- package/dist/{chunk-I3WJF5NM.js → chunk-OPWN6NKB.js} +6 -6
- package/dist/{chunk-ESYWXFSK.js → chunk-OZMNUR4V.js} +2 -2
- package/dist/{chunk-QJQSCN3A.js → chunk-SWU2TFTH.js} +4 -4
- package/dist/{chunk-B7ABTOI4.js → chunk-ULYXT25M.js} +6 -6
- package/dist/{chunk-T4WJXSDW.js → chunk-URFDLLOJ.js} +4 -4
- package/dist/{chunk-IAM7IYO3.js → chunk-V3GIXKKS.js} +3 -3
- package/dist/{chunk-S6L5743K.js → chunk-VMNX6XTS.js} +2 -2
- package/dist/{chunk-SWQM7ICR.js → chunk-XMFUQCSH.js} +2 -2
- package/dist/{chunk-5KSWCELC.js → chunk-Y6NCC7TZ.js} +3 -3
- 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-MPQ33GKJ.js → custom-oclif-loader-6WQBP6PR.js} +2 -2
- package/dist/{error-handler-ABXDEJNM.js → error-handler-YTUPADNE.js} +9 -9
- package/dist/hooks/postrun.js +7 -7
- package/dist/hooks/prerun.js +7 -7
- package/dist/index.js +132 -128
- package/dist/{local-DGW3VZG7.js → local-WKQFIQIN.js} +2 -2
- package/dist/{morph-BTANDGVW.js → morph-KTKQ6R2Q.js} +9 -9
- package/dist/{node-GVOKD67H.js → node-A6TLJZ4P.js} +15 -15
- package/dist/{node-package-manager-WEN6FJ7Z.js → node-package-manager-EOJWZP46.js} +3 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-TWIKWYG2.js → ui-ZPCXVCGS.js} +2 -2
- package/dist/{workerd-SK47YSGA.js → workerd-VGNNMJ6S.js} +14 -14
- package/oclif.manifest.json +1 -1
- package/package.json +7 -7
- package/dist/assets/hydrogen/starter/.eslintignore +0 -5
- package/dist/assets/hydrogen/starter/.eslintrc.cjs +0 -19
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-J6EMXSVU.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-57OHFYZW.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-FIJ3WWBF.js";
|
|
157
157
|
import {
|
|
158
158
|
Search
|
|
159
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-3PD7N6QH.js";
|
|
160
160
|
import {
|
|
161
161
|
Upgrade
|
|
162
|
-
} from "./chunk-
|
|
163
|
-
import "./chunk-
|
|
162
|
+
} from "./chunk-NDR4O4J3.js";
|
|
163
|
+
import "./chunk-NL5GQTGL.js";
|
|
164
164
|
import {
|
|
165
165
|
Version
|
|
166
|
-
} from "./chunk-
|
|
167
|
-
import "./chunk-
|
|
168
|
-
import "./chunk-
|
|
166
|
+
} from "./chunk-Y6NCC7TZ.js";
|
|
167
|
+
import "./chunk-V3GIXKKS.js";
|
|
168
|
+
import "./chunk-OZMNUR4V.js";
|
|
169
169
|
import {
|
|
170
170
|
KitchenSinkAll
|
|
171
|
-
} from "./chunk-
|
|
171
|
+
} from "./chunk-HCLJQ3JM.js";
|
|
172
172
|
import {
|
|
173
173
|
KitchenSinkPrompts
|
|
174
|
-
} from "./chunk-
|
|
175
|
-
import "./chunk-
|
|
174
|
+
} from "./chunk-CUFY74G5.js";
|
|
175
|
+
import "./chunk-DAEGCVUK.js";
|
|
176
176
|
import {
|
|
177
177
|
KitchenSinkStatic
|
|
178
|
-
} from "./chunk-
|
|
179
|
-
import "./chunk-
|
|
178
|
+
} from "./chunk-MTSKUOEE.js";
|
|
179
|
+
import "./chunk-M6SVFMGS.js";
|
|
180
180
|
import {
|
|
181
181
|
Generate
|
|
182
|
-
} from "./chunk-
|
|
183
|
-
import "./chunk-
|
|
182
|
+
} from "./chunk-3LRCKABH.js";
|
|
183
|
+
import "./chunk-URFDLLOJ.js";
|
|
184
184
|
import {
|
|
185
185
|
Logout
|
|
186
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-BCU7E3NX.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-BLPW2I3W.js";
|
|
194
194
|
import {
|
|
195
195
|
ClearCache,
|
|
196
196
|
globalFlags,
|
|
197
197
|
jsonFlag,
|
|
198
198
|
runCLI
|
|
199
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-GQRPLC7G.js";
|
|
200
200
|
import {
|
|
201
201
|
CommandFlags
|
|
202
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-IQHA2TDB.js";
|
|
203
203
|
import {
|
|
204
204
|
DocsGenerate
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-E4SQU64X.js";
|
|
206
206
|
import {
|
|
207
207
|
HelpCommand
|
|
208
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-3WJDY4FZ.js";
|
|
209
209
|
import {
|
|
210
210
|
KitchenSinkAsync
|
|
211
|
-
} from "./chunk-
|
|
212
|
-
import "./chunk-
|
|
211
|
+
} from "./chunk-FLZ6KRMX.js";
|
|
212
|
+
import "./chunk-XMFUQCSH.js";
|
|
213
213
|
import {
|
|
214
214
|
base_command_default,
|
|
215
215
|
decodeToml,
|
|
216
216
|
encodeToml
|
|
217
|
-
} from "./chunk-
|
|
217
|
+
} from "./chunk-SWU2TFTH.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-OPWN6NKB.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-ULYXT25M.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-CFJGHT34.js";
|
|
246
246
|
import {
|
|
247
247
|
platformAndArch,
|
|
248
248
|
username
|
|
249
|
-
} from "./chunk-
|
|
249
|
+
} from "./chunk-NE67IDBS.js";
|
|
250
250
|
import {
|
|
251
251
|
showNotificationsIfNeeded
|
|
252
|
-
} from "./chunk-
|
|
252
|
+
} from "./chunk-FKREMPHC.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-2OIJ27EK.js";
|
|
264
264
|
import "./chunk-25IMI7TH.js";
|
|
265
265
|
import {
|
|
266
266
|
CLI_KIT_VERSION
|
|
267
|
-
} from "./chunk-
|
|
267
|
+
} from "./chunk-VMNX6XTS.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-CBFYOUNJ.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-3AS5GKO6.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.6_@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.6_@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.6_@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.6_@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.6_@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.6_@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.6_@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.6_@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.6_@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.6_@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.6_@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.6_@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.6_@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.6_@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.6_@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.6_@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.6_@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.6_@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.6_@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.6_@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.6_@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.6_@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.6_@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,7 +170894,7 @@ 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.6_@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
|
|
|
@@ -171894,16 +171894,16 @@ The deployment can be reached at the ${completedDeployment.url} preview URL`;
|
|
|
171894
171894
|
}
|
|
171895
171895
|
}
|
|
171896
171896
|
|
|
171897
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
171897
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
171898
|
import { createRequire } from "node:module";
|
|
171899
171899
|
|
|
171900
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
171900
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
171901
|
init_cjs_shims();
|
|
171902
171902
|
|
|
171903
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
171903
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
171904
|
init_cjs_shims();
|
|
171905
171905
|
|
|
171906
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
171906
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
171907
|
init_cjs_shims();
|
|
171908
171908
|
function newHydrogenStorefrontUrl(session) {
|
|
171909
171909
|
let { storeFqdn } = session;
|
|
@@ -171914,7 +171914,7 @@ function hydrogenStorefrontsUrl(session) {
|
|
|
171914
171914
|
return `https://${storeFqdn}/admin/custom_storefronts`;
|
|
171915
171915
|
}
|
|
171916
171916
|
|
|
171917
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
171917
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
171918
|
function renderMissingStorefront({
|
|
171919
171919
|
session,
|
|
171920
171920
|
storefront,
|
|
@@ -171956,7 +171956,7 @@ function renderMissingLink({ noStorefronts = !1 }) {
|
|
|
171956
171956
|
});
|
|
171957
171957
|
}
|
|
171958
171958
|
|
|
171959
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
171959
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
171960
|
init_cjs_shims();
|
|
171961
171961
|
var GetDeploymentDataQuery = `#graphql
|
|
171962
171962
|
query GetDeploymentToken($id: ID!) {
|
|
@@ -171982,7 +171982,7 @@ async function getOxygenData(adminSession, storefrontId) {
|
|
|
171982
171982
|
return { storefront: hydrogenStorefront };
|
|
171983
171983
|
}
|
|
171984
171984
|
|
|
171985
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
171985
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
171986
|
init_cjs_shims();
|
|
171987
171987
|
async function verifyLinkedStorefront({
|
|
171988
171988
|
root,
|
|
@@ -171998,7 +171998,7 @@ async function verifyLinkedStorefront({
|
|
|
171998
171998
|
}));
|
|
171999
171999
|
}
|
|
172000
172000
|
|
|
172001
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
172001
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
172002
|
async function getOxygenDeploymentData({
|
|
172003
172003
|
root
|
|
172004
172004
|
}) {
|
|
@@ -172029,7 +172029,7 @@ async function getOxygenDeploymentData({
|
|
|
172029
172029
|
return storefront;
|
|
172030
172030
|
}
|
|
172031
172031
|
|
|
172032
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
172032
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
172033
|
var DEPLOY_OUTPUT_FILE_HANDLE = "h2_deploy_log.json", deploymentLogger = (message, level = "info") => {
|
|
172034
172034
|
(level === "error" || level === "warn") && outputWarn(message);
|
|
172035
172035
|
}, Deploy = class _Deploy extends base_command_default {
|
|
@@ -172429,11 +172429,11 @@ async function getHydrogenVersion({ appPath }) {
|
|
|
172429
172429
|
return version;
|
|
172430
172430
|
}
|
|
172431
172431
|
|
|
172432
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
172432
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
172433
|
init_cjs_shims();
|
|
172434
172434
|
var import_core23 = __toESM(require_lib(), 1);
|
|
172435
172435
|
|
|
172436
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
172436
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
172437
|
init_cjs_shims();
|
|
172438
172438
|
var import_semver = __toESM(require_semver(), 1);
|
|
172439
172439
|
import { createRequire as createRequire2 } from "node:module";
|
|
@@ -172548,7 +172548,7 @@ function cliTruncate(text, columns3, options = {}) {
|
|
|
172548
172548
|
throw new Error(`Expected \`options.position\` to be either \`start\`, \`middle\` or \`end\`, got ${position}`);
|
|
172549
172549
|
}
|
|
172550
172550
|
|
|
172551
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
172551
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
172552
|
var import_core22 = __toESM(require_lib(), 1);
|
|
172553
172553
|
var INSTRUCTIONS_FOLDER = ".hydrogen", Upgrade2 = class _Upgrade extends base_command_default {
|
|
172554
172554
|
static descriptionWithMarkdown = "Upgrade Hydrogen project dependencies, preview features, fixes and breaking changes. The command also generates an instruction file for each upgrade.";
|
|
@@ -173109,11 +173109,11 @@ async function displayDevUpgradeNotice({
|
|
|
173109
173109
|
}
|
|
173110
173110
|
}
|
|
173111
173111
|
|
|
173112
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
173112
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
173113
|
init_cjs_shims();
|
|
173114
173114
|
import fs4 from "node:fs/promises";
|
|
173115
173115
|
|
|
173116
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
173116
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
173117
|
init_cjs_shims();
|
|
173118
173118
|
async function buildAssetsUrl(port, root) {
|
|
173119
173119
|
let { buildAssetsUrl: _buildAssetsUrl } = await importLocal(
|
|
@@ -173125,14 +173125,14 @@ async function buildAssetsUrl(port, root) {
|
|
|
173125
173125
|
async function startMiniOxygen(options, useNodeRuntime = !1) {
|
|
173126
173126
|
if (useNodeRuntime) {
|
|
173127
173127
|
process.env.MINIFLARE_SUBREQUEST_LIMIT = 100;
|
|
173128
|
-
let { startNodeServer } = await import("./node-
|
|
173128
|
+
let { startNodeServer } = await import("./node-A6TLJZ4P.js");
|
|
173129
173129
|
return startNodeServer(options);
|
|
173130
173130
|
}
|
|
173131
|
-
let { startWorkerdServer } = await import("./workerd-
|
|
173131
|
+
let { startWorkerdServer } = await import("./workerd-VGNNMJ6S.js");
|
|
173132
173132
|
return startWorkerdServer(options);
|
|
173133
173133
|
}
|
|
173134
173134
|
|
|
173135
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
173135
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
173136
|
init_cjs_shims();
|
|
173137
173137
|
var VIRTUAL_ROUTES_DIR = "virtual-routes/routes", VIRTUAL_ROOT = "virtual-routes/virtual-root";
|
|
173138
173138
|
async function addVirtualRoutes(config2) {
|
|
@@ -173168,7 +173168,7 @@ async function addVirtualRoutes(config2) {
|
|
|
173168
173168
|
return config2;
|
|
173169
173169
|
}
|
|
173170
173170
|
|
|
173171
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
173171
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
173172
|
init_cjs_shims();
|
|
173173
173173
|
import http from "node:http";
|
|
173174
173174
|
async function setupLiveReload(devServerPort, root) {
|
|
@@ -173227,7 +173227,7 @@ async function setupLiveReload(devServerPort, root) {
|
|
|
173227
173227
|
}
|
|
173228
173228
|
}
|
|
173229
173229
|
|
|
173230
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
173230
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
173231
|
var LOG_REBUILDING = "\u{1F9F1} Rebuilding...", LOG_REBUILT = "\u{1F680} Rebuilt";
|
|
173232
173232
|
async function runClassicCompilerDev({
|
|
173233
173233
|
port: appPort2,
|
|
@@ -173401,7 +173401,7 @@ async function runClassicCompilerDev({
|
|
|
173401
173401
|
};
|
|
173402
173402
|
}
|
|
173403
173403
|
|
|
173404
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
173404
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
173405
|
init_cjs_shims();
|
|
173406
173406
|
var throttledOptimizableDeps = /* @__PURE__ */ new Set(), debouncedBannerTimeout;
|
|
173407
173407
|
function createEntryPointErrorHandler({
|
|
@@ -173529,7 +173529,7 @@ ${source_default.dim(
|
|
|
173529
173529
|
});
|
|
173530
173530
|
}
|
|
173531
173531
|
|
|
173532
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
173532
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
173533
|
var Dev2 = class _Dev extends base_command_default {
|
|
173534
173534
|
static descriptionWithMarkdown = `Runs a Hydrogen storefront in a local runtime that emulates an Oxygen worker for development.
|
|
173535
173535
|
|
|
@@ -173768,7 +173768,7 @@ function setupMonorepoReload(viteServer, monorepoPackagesPath, setupCodegen) {
|
|
|
173768
173768
|
});
|
|
173769
173769
|
}
|
|
173770
173770
|
|
|
173771
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
173771
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
173772
|
init_cjs_shims();
|
|
173773
173773
|
var EnvList = class _EnvList extends base_command_default {
|
|
173774
173774
|
static descriptionWithMarkdown = "Lists all environments available on the linked Hydrogen storefront.";
|
|
@@ -173834,7 +173834,7 @@ var pluralizedEnvironments = ({
|
|
|
173834
173834
|
() => `There are no environments for the Hydrogen storefront ${storefrontTitle}`
|
|
173835
173835
|
);
|
|
173836
173836
|
|
|
173837
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
173837
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
173838
|
init_cjs_shims();
|
|
173839
173839
|
|
|
173840
173840
|
// ../../node_modules/.pnpm/diff@5.2.0/node_modules/diff/lib/index.mjs
|
|
@@ -174056,7 +174056,7 @@ arrayDiff.join = arrayDiff.removeEmpty = function(value) {
|
|
|
174056
174056
|
return value;
|
|
174057
174057
|
};
|
|
174058
174058
|
|
|
174059
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174059
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
174060
|
var EnvPull = class _EnvPull extends base_command_default {
|
|
174061
174061
|
static descriptionWithMarkdown = "Pulls environment variables from the linked Hydrogen storefront and writes them to an `.env` file.";
|
|
174062
174062
|
static description = "Populate your .env with variables from your Hydrogen storefront.";
|
|
@@ -174148,10 +174148,10 @@ Continue?`.value
|
|
|
174148
174148
|
});
|
|
174149
174149
|
}
|
|
174150
174150
|
|
|
174151
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174151
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
174152
|
init_cjs_shims();
|
|
174153
174153
|
|
|
174154
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174154
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
174155
|
init_cjs_shims();
|
|
174156
174156
|
var PushVariablesMutation = `#graphql
|
|
174157
174157
|
mutation PushVariables(
|
|
@@ -174184,7 +174184,7 @@ async function pushStorefrontEnvVariables(adminSession, storefrontId, environmen
|
|
|
174184
174184
|
return { userErrors };
|
|
174185
174185
|
}
|
|
174186
174186
|
|
|
174187
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174187
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
174188
|
var EnvPush = class _EnvPush extends base_command_default {
|
|
174189
174189
|
static description = "Push environment variables from the local .env file to your linked Hydrogen storefront.";
|
|
174190
174190
|
static flags = {
|
|
@@ -174299,10 +174299,10 @@ Continue?`.value
|
|
|
174299
174299
|
});
|
|
174300
174300
|
}
|
|
174301
174301
|
|
|
174302
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174302
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
174303
|
init_cjs_shims();
|
|
174304
174304
|
|
|
174305
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174305
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
174306
|
init_cjs_shims();
|
|
174307
174307
|
var import_core24 = __toESM(require_lib(), 1);
|
|
174308
174308
|
var GenerateRoute2 = class _GenerateRoute extends base_command_default {
|
|
@@ -174369,7 +174369,7 @@ async function runGenerate(options) {
|
|
|
174369
174369
|
});
|
|
174370
174370
|
}
|
|
174371
174371
|
|
|
174372
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174372
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
174373
|
var GenerateRouteShortcut = class extends base_command_default {
|
|
174374
174374
|
static description = "Shortcut for `hydrogen generate`. See `hydrogen generate --help` for more information.";
|
|
174375
174375
|
static strict = !1;
|
|
@@ -174382,7 +174382,7 @@ var GenerateRouteShortcut = class extends base_command_default {
|
|
|
174382
174382
|
}
|
|
174383
174383
|
};
|
|
174384
174384
|
|
|
174385
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174385
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
174386
|
init_cjs_shims();
|
|
174387
174387
|
var GenerateRoutes = class _GenerateRoutes extends base_command_default {
|
|
174388
174388
|
static description = "Generates all supported standard shopify routes.";
|
|
@@ -174397,11 +174397,11 @@ var GenerateRoutes = class _GenerateRoutes extends base_command_default {
|
|
|
174397
174397
|
}
|
|
174398
174398
|
};
|
|
174399
174399
|
|
|
174400
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174400
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
174401
|
init_cjs_shims();
|
|
174402
174402
|
var import_core25 = __toESM(require_lib(), 1);
|
|
174403
174403
|
|
|
174404
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174404
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
174405
|
init_cjs_shims();
|
|
174406
174406
|
import { fileURLToPath as fileURLToPath4 } from "node:url";
|
|
174407
174407
|
var UPGRADABLE_CLI_NAMES = {
|
|
@@ -174445,10 +174445,10 @@ You are currently running v${currentVersion}.
|
|
|
174445
174445
|
};
|
|
174446
174446
|
}
|
|
174447
174447
|
|
|
174448
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174448
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
174449
|
init_cjs_shims();
|
|
174450
174450
|
|
|
174451
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174451
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
174452
|
init_cjs_shims();
|
|
174453
174453
|
import { cp as cp2 } from "node:fs/promises";
|
|
174454
174454
|
async function setupLocalStarterTemplate(options, controller) {
|
|
@@ -174665,11 +174665,11 @@ function maybeInjectCliHydrogen(pkgJsonContent) {
|
|
|
174665
174665
|
return pkgJsonContent;
|
|
174666
174666
|
}
|
|
174667
174667
|
|
|
174668
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174668
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
174669
|
init_cjs_shims();
|
|
174670
174670
|
import { readdir } from "node:fs/promises";
|
|
174671
174671
|
|
|
174672
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174672
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
174673
|
init_cjs_shims();
|
|
174674
174674
|
var import_gunzip_maybe = __toESM(require_gunzip_maybe(), 1), import_tar_fs = __toESM(require_tar_fs(), 1);
|
|
174675
174675
|
import path3 from "node:path";
|
|
@@ -174701,7 +174701,7 @@ function parseGitHubRepositoryReference(reference) {
|
|
|
174701
174701
|
};
|
|
174702
174702
|
}
|
|
174703
174703
|
|
|
174704
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174704
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
174705
|
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
174706
|
async function getLatestReleaseDownloadUrl(signal) {
|
|
174707
174707
|
let response = await fetch2(REPO_RELEASES_URL, { signal });
|
|
@@ -174784,7 +174784,7 @@ async function downloadExternalRepo(appTemplate, signal) {
|
|
|
174784
174784
|
}), await rmdir(joinPath(templateDir, ".git"), { force: !0 }), { templateDir };
|
|
174785
174785
|
}
|
|
174786
174786
|
|
|
174787
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174787
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
174788
|
var DEMO_STORE_REPO = "shopify/hydrogen-demo-store";
|
|
174789
174789
|
async function setupRemoteTemplate(options, controller) {
|
|
174790
174790
|
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 +174870,7 @@ Skip the flag or provide the name of a template or example in the Hydrogen repos
|
|
|
174870
174870
|
);
|
|
174871
174871
|
}
|
|
174872
174872
|
|
|
174873
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174873
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
174874
|
async function setupTemplate(options) {
|
|
174875
174875
|
let controller = new AbortController2();
|
|
174876
174876
|
try {
|
|
@@ -174881,7 +174881,7 @@ async function setupTemplate(options) {
|
|
|
174881
174881
|
}
|
|
174882
174882
|
}
|
|
174883
174883
|
|
|
174884
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174884
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
174885
|
var FLAG_MAP = { f: "force" }, Init2 = class _Init extends base_command_default {
|
|
174886
174886
|
static descriptionWithMarkdown = "Creates a new Hydrogen storefront.";
|
|
174887
174887
|
static description = "Creates a new Hydrogen storefront.";
|
|
@@ -174955,10 +174955,10 @@ async function runInit({
|
|
|
174955
174955
|
return showUpgrade && showUpgrade(options.packageManager), setupTemplate(options);
|
|
174956
174956
|
}
|
|
174957
174957
|
|
|
174958
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174958
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
174959
|
init_cjs_shims();
|
|
174960
174960
|
|
|
174961
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174961
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
174962
|
init_cjs_shims();
|
|
174963
174963
|
var ListStorefrontsQuery = `#graphql
|
|
174964
174964
|
query ListStorefronts {
|
|
@@ -174985,7 +174985,7 @@ async function getStorefrontsWithDeployment(adminSession) {
|
|
|
174985
174985
|
}));
|
|
174986
174986
|
}
|
|
174987
174987
|
|
|
174988
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
174988
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
174989
|
var List3 = class _List extends base_command_default {
|
|
174990
174990
|
static descriptionWithMarkdown = "Lists all remote Hydrogen storefronts available to link to your local development environment.";
|
|
174991
174991
|
static description = "Returns a list of Hydrogen storefronts available on a given shop.";
|
|
@@ -175053,7 +175053,7 @@ var pluralizedStorefronts = ({
|
|
|
175053
175053
|
(_storefront) => `Showing 1 Hydrogen storefront for the store ${shop}`
|
|
175054
175054
|
);
|
|
175055
175055
|
|
|
175056
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
175056
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
175057
|
init_cjs_shims();
|
|
175058
175058
|
var Login = class _Login extends base_command_default {
|
|
175059
175059
|
static descriptionWithMarkdown = "Logs in to the specified shop and saves the shop domain to the project.";
|
|
@@ -175076,7 +175076,7 @@ async function runLogin({
|
|
|
175076
175076
|
renderLoginSuccess(config2);
|
|
175077
175077
|
}
|
|
175078
175078
|
|
|
175079
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
175079
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
175080
|
init_cjs_shims();
|
|
175081
175081
|
var Logout2 = class _Logout extends base_command_default {
|
|
175082
175082
|
static descriptionWithMarkdown = "Log out from the current shop.";
|
|
@@ -175093,7 +175093,7 @@ async function runLogout({ path: root = process.cwd() }) {
|
|
|
175093
175093
|
outputNewline(), await logout(root), renderSuccess({ body: "You are logged out from Shopify." });
|
|
175094
175094
|
}
|
|
175095
175095
|
|
|
175096
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
175096
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
175097
|
init_cjs_shims();
|
|
175098
175098
|
var import_core26 = __toESM(require_lib(), 1);
|
|
175099
175099
|
var Preview = class _Preview extends base_command_default {
|
|
@@ -175217,7 +175217,7 @@ async function runPreview({
|
|
|
175217
175217
|
};
|
|
175218
175218
|
}
|
|
175219
175219
|
|
|
175220
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
175220
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
175221
|
init_cjs_shims();
|
|
175222
175222
|
var Setup = class _Setup extends base_command_default {
|
|
175223
175223
|
static description = "Scaffold routes and core functionality.";
|
|
@@ -175308,7 +175308,7 @@ async function runSetup(options) {
|
|
|
175308
175308
|
));
|
|
175309
175309
|
}
|
|
175310
175310
|
|
|
175311
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
175311
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
175312
|
init_cjs_shims();
|
|
175313
175313
|
var import_core27 = __toESM(require_lib(), 1);
|
|
175314
175314
|
var SetupCSS = class _SetupCSS extends base_command_default {
|
|
@@ -175397,7 +175397,7 @@ Run`,
|
|
|
175397
175397
|
});
|
|
175398
175398
|
}
|
|
175399
175399
|
|
|
175400
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
175400
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
175401
|
init_cjs_shims();
|
|
175402
175402
|
var import_core28 = __toESM(require_lib(), 1);
|
|
175403
175403
|
var SetupMarkets = class _SetupMarkets extends base_command_default {
|
|
@@ -175441,7 +175441,7 @@ async function runSetupMarkets({
|
|
|
175441
175441
|
});
|
|
175442
175442
|
}
|
|
175443
175443
|
|
|
175444
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
175444
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
175445
|
init_cjs_shims();
|
|
175446
175446
|
var SetupVite = class _SetupVite extends base_command_default {
|
|
175447
175447
|
static description = "EXPERIMENTAL: Upgrades the project to use Vite.";
|
|
@@ -175683,7 +175683,7 @@ Please use Git to review the changes.`,
|
|
|
175683
175683
|
});
|
|
175684
175684
|
}
|
|
175685
175685
|
|
|
175686
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
175686
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
175687
|
init_cjs_shims();
|
|
175688
175688
|
var Shortcut = class extends base_command_default {
|
|
175689
175689
|
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 +175708,7 @@ Restart your terminal session and run \`${ALIAS_NAME}\` from your local project.
|
|
|
175708
175708
|
});
|
|
175709
175709
|
}
|
|
175710
175710
|
|
|
175711
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
175711
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
175712
|
init_cjs_shims();
|
|
175713
175713
|
var Unlink = class _Unlink extends base_command_default {
|
|
175714
175714
|
static descriptionWithMarkdown = "Unlinks your local development environment from a remote Hydrogen storefront.";
|
|
@@ -175733,7 +175733,7 @@ async function unlinkStorefront({ path: path4 }) {
|
|
|
175733
175733
|
});
|
|
175734
175734
|
}
|
|
175735
175735
|
|
|
175736
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
175736
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@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
175737
|
init_cjs_shims();
|
|
175738
175738
|
import { createRequire as createRequire3 } from "node:module";
|
|
175739
175739
|
import { spawnSync } from "node:child_process";
|
|
@@ -175788,7 +175788,7 @@ function isHydrogenProject(projectPath) {
|
|
|
175788
175788
|
}
|
|
175789
175789
|
var init_default2 = hook;
|
|
175790
175790
|
|
|
175791
|
-
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.
|
|
175791
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@9.0.6_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/index.js
|
|
175792
175792
|
var COMMANDS2 = {
|
|
175793
175793
|
"hydrogen:dev": Dev2,
|
|
175794
175794
|
"hydrogen:build": Build,
|
|
@@ -179828,7 +179828,7 @@ async function selectAppPrompt(onSearchForAppsByName, apps, hasMorePages, option
|
|
|
179828
179828
|
});
|
|
179829
179829
|
return currentAppChoices.find((app) => app.apiKey === apiKey);
|
|
179830
179830
|
}
|
|
179831
|
-
async function selectStorePrompt({ stores, hasMorePages = !1, onSearchForStoresByName
|
|
179831
|
+
async function selectStorePrompt({ stores, hasMorePages = !1, onSearchForStoresByName, showDomainOnPrompt = !0 }) {
|
|
179832
179832
|
if (stores.length === 0)
|
|
179833
179833
|
return;
|
|
179834
179834
|
if (stores.length === 1)
|
|
@@ -179836,19 +179836,21 @@ async function selectStorePrompt({ stores, hasMorePages = !1, onSearchForStoresB
|
|
|
179836
179836
|
let storeToChoice = (store) => {
|
|
179837
179837
|
let label = store.shopName;
|
|
179838
179838
|
return showDomainOnPrompt && store.shopDomain && (label = `${store.shopName} (${store.shopDomain})`), { label, value: store.shopId };
|
|
179839
|
-
}, currentStores = stores,
|
|
179839
|
+
}, currentStores = stores, extraAutocompletePromptProps = {};
|
|
179840
|
+
onSearchForStoresByName && (extraAutocompletePromptProps.search = async (term) => {
|
|
179841
|
+
let result = await onSearchForStoresByName(term);
|
|
179842
|
+
return currentStores = result.stores, {
|
|
179843
|
+
data: currentStores.map(storeToChoice),
|
|
179844
|
+
meta: {
|
|
179845
|
+
hasNextPage: result.hasMorePages
|
|
179846
|
+
}
|
|
179847
|
+
};
|
|
179848
|
+
});
|
|
179849
|
+
let id = await renderAutocompletePrompt({
|
|
179840
179850
|
message: "Which store would you like to use to view your project?",
|
|
179841
179851
|
choices: currentStores.map(storeToChoice),
|
|
179842
179852
|
hasMorePages,
|
|
179843
|
-
|
|
179844
|
-
let result = await onSearchForStoresByName(term);
|
|
179845
|
-
return currentStores = result.stores, {
|
|
179846
|
-
data: currentStores.map(storeToChoice),
|
|
179847
|
-
meta: {
|
|
179848
|
-
hasNextPage: result.hasMorePages
|
|
179849
|
-
}
|
|
179850
|
-
};
|
|
179851
|
-
}
|
|
179853
|
+
...extraAutocompletePromptProps
|
|
179852
179854
|
});
|
|
179853
179855
|
return currentStores.find((store) => store.shopId === id);
|
|
179854
179856
|
}
|
|
@@ -180949,7 +180951,7 @@ function getAppVars(org, name, isLaunchable = !0, scopesArray) {
|
|
|
180949
180951
|
}
|
|
180950
180952
|
var PartnersClient = class {
|
|
180951
180953
|
constructor(session) {
|
|
180952
|
-
this.clientName = ClientName.Partners, this.webUiName = "Partner Dashboard", this.supportsAtomicDeployments = !1, this.requiresOrganization = !1, this.supportsDevSessions = !1, this.organizationSource = OrganizationSource.Partners, this._session = session;
|
|
180954
|
+
this.clientName = ClientName.Partners, this.webUiName = "Partner Dashboard", this.supportsAtomicDeployments = !1, this.requiresOrganization = !1, this.supportsDevSessions = !1, this.supportsStoreSearch = !1, this.organizationSource = OrganizationSource.Partners, this._session = session;
|
|
180953
180955
|
}
|
|
180954
180956
|
async session() {
|
|
180955
180957
|
if (!this._session) {
|
|
@@ -183075,7 +183077,7 @@ async function functionsRequestDoc(orgId, query, token, appId, variables) {
|
|
|
183075
183077
|
// ../app/dist/cli/utilities/developer-platform-client/app-management-client.js
|
|
183076
183078
|
var TEMPLATE_JSON_URL = "https://cdn.shopify.com/static/cli/extensions/templates.json", AppManagementClient = class {
|
|
183077
183079
|
constructor(session) {
|
|
183078
|
-
this.clientName = ClientName.AppManagement, this.webUiName = "Developer Dashboard", this.requiresOrganization = !0, this.supportsAtomicDeployments = !0, this.supportsDevSessions = !0, this.organizationSource = OrganizationSource.BusinessPlatform, this._session = session;
|
|
183080
|
+
this.clientName = ClientName.AppManagement, this.webUiName = "Developer Dashboard", this.requiresOrganization = !0, this.supportsAtomicDeployments = !0, this.supportsDevSessions = !0, this.supportsStoreSearch = !0, this.organizationSource = OrganizationSource.BusinessPlatform, this._session = session;
|
|
183079
183081
|
}
|
|
183080
183082
|
async subscribeToAppLogs(input) {
|
|
183081
183083
|
throw new Error(`Not Implemented: ${JSON.stringify(input)}`);
|
|
@@ -190006,8 +190008,10 @@ init_cjs_shims();
|
|
|
190006
190008
|
// ../app/dist/cli/services/dev/select-store.js
|
|
190007
190009
|
init_cjs_shims();
|
|
190008
190010
|
async function selectStore(storesSearch, org, developerPlatformClient) {
|
|
190009
|
-
let showDomainOnPrompt = developerPlatformClient.clientName === ClientName.AppManagement,
|
|
190010
|
-
|
|
190011
|
+
let showDomainOnPrompt = developerPlatformClient.clientName === ClientName.AppManagement, onSearchForStoresByName;
|
|
190012
|
+
developerPlatformClient.supportsStoreSearch && (onSearchForStoresByName = async (term) => developerPlatformClient.devStoresForOrg(org.id, term));
|
|
190013
|
+
let store = await selectStorePrompt({
|
|
190014
|
+
onSearchForStoresByName,
|
|
190011
190015
|
...storesSearch,
|
|
190012
190016
|
showDomainOnPrompt
|
|
190013
190017
|
});
|