@shopify/cli 3.67.0 → 3.67.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-6RGB2VE4.js → chunk-3N2XGNSD.js} +2 -2
- package/dist/{chunk-NTY5IMTJ.js → chunk-3N6HMQXE.js} +3 -3
- package/dist/{chunk-SMD4PKJ4.js → chunk-3SR6OJSK.js} +2 -2
- package/dist/{chunk-RG3ZCNYG.js → chunk-4SSP6H2B.js} +2 -2
- package/dist/{chunk-7VVKCVPD.js → chunk-AGVZ7LKV.js} +4 -4
- package/dist/{chunk-UYB6BQ5X.js → chunk-BDRKGBQM.js} +3 -3
- package/dist/{chunk-BPTBCC7K.js → chunk-CGTFVNVW.js} +4 -4
- package/dist/{chunk-BLVJTR72.js → chunk-CQXLJ74Q.js} +2 -2
- package/dist/{chunk-V4VZ6RSC.js → chunk-CQXTRP7V.js} +2 -2
- package/dist/{chunk-ROVTA24T.js → chunk-D3PVKA4S.js} +3 -3
- package/dist/{chunk-HH6CL4YY.js → chunk-DOGPMXVD.js} +4 -4
- package/dist/{chunk-DZU2Z54P.js → chunk-DZ3IUP66.js} +6 -6
- package/dist/{chunk-HDUCYBDJ.js → chunk-ET3FXEGV.js} +4 -4
- package/dist/{chunk-TLEQTJSL.js → chunk-FFJ5GS2L.js} +3 -3
- package/dist/{chunk-DFWU3T6T.js → chunk-GBNYQAYW.js} +2 -2
- package/dist/{chunk-A3ZREYWQ.js → chunk-IKY4YZKM.js} +4 -4
- package/dist/{chunk-56GJOU7U.js → chunk-JNCUUFQ2.js} +2 -2
- package/dist/{chunk-33B37WAX.js → chunk-L7BARKPN.js} +5 -5
- package/dist/{chunk-DQX6APZ7.js → chunk-LE2SHHVG.js} +3 -3
- package/dist/{chunk-RZAH6V72.js → chunk-N4C6AXY7.js} +3 -3
- package/dist/{chunk-UNEY6YDL.js → chunk-NKKQGCMU.js} +2 -2
- package/dist/{chunk-W44P3FXC.js → chunk-OPHICISR.js} +2 -2
- package/dist/{chunk-2A4NZDBL.js → chunk-PRP4S22K.js} +6 -6
- package/dist/{chunk-7TTWOW5T.js → chunk-RRJXIWCI.js} +2 -2
- package/dist/{chunk-T5OZRID5.js → chunk-RX32UG2K.js} +4 -4
- package/dist/{chunk-FCZFZS5D.js → chunk-SG2SU3OS.js} +5 -5
- package/dist/{chunk-ETEUMLXG.js → chunk-TSKLJ4DZ.js} +3 -3
- package/dist/{chunk-ALNQ5ENK.js → chunk-TVHQ7O3U.js} +4 -4
- package/dist/{chunk-66CAOMYB.js → chunk-UK3DVACO.js} +3 -3
- package/dist/{chunk-7QTS6ZWN.js → chunk-W4K3OTNK.js} +2 -2
- package/dist/{chunk-V7FFSXYT.js → chunk-WOL7YMUX.js} +6 -6
- package/dist/{chunk-ZEKYC6RR.js → chunk-WWCONB45.js} +4 -4
- package/dist/{chunk-6JA2FWML.js → chunk-XHUGASG2.js} +3 -3
- package/dist/{chunk-X5O6SBDL.js → chunk-XLTHVJPQ.js} +3 -3
- package/dist/cli/commands/auth/logout.js +10 -10
- package/dist/cli/commands/auth/logout.test.js +11 -11
- package/dist/cli/commands/debug/command-flags.js +9 -9
- package/dist/cli/commands/demo/catalog.js +10 -10
- package/dist/cli/commands/demo/generate-file.js +10 -10
- package/dist/cli/commands/demo/index.js +10 -10
- package/dist/cli/commands/demo/print-ai-prompt.js +10 -10
- package/dist/cli/commands/docs/generate.js +9 -9
- package/dist/cli/commands/docs/generate.test.js +9 -9
- package/dist/cli/commands/help.js +9 -9
- package/dist/cli/commands/kitchen-sink/async.js +10 -10
- package/dist/cli/commands/kitchen-sink/async.test.js +10 -10
- package/dist/cli/commands/kitchen-sink/index.js +12 -12
- package/dist/cli/commands/kitchen-sink/index.test.js +12 -12
- package/dist/cli/commands/kitchen-sink/prompts.js +10 -10
- package/dist/cli/commands/kitchen-sink/prompts.test.js +10 -10
- package/dist/cli/commands/kitchen-sink/static.js +10 -10
- package/dist/cli/commands/kitchen-sink/static.test.js +10 -10
- package/dist/cli/commands/search.js +10 -10
- package/dist/cli/commands/upgrade.js +10 -10
- package/dist/cli/commands/version.js +10 -10
- package/dist/cli/commands/version.test.js +10 -10
- package/dist/cli/services/commands/search.js +2 -2
- package/dist/cli/services/commands/search.test.js +2 -2
- package/dist/cli/services/commands/version.js +3 -3
- package/dist/cli/services/commands/version.test.js +4 -4
- package/dist/cli/services/demo.js +2 -2
- package/dist/cli/services/demo.test.js +2 -2
- package/dist/cli/services/kitchen-sink/async.js +2 -2
- package/dist/cli/services/kitchen-sink/prompts.js +2 -2
- package/dist/cli/services/kitchen-sink/static.js +2 -2
- package/dist/cli/services/upgrade.js +3 -3
- package/dist/cli/services/upgrade.test.js +5 -5
- package/dist/{custom-oclif-loader-GZT2PBX4.js → custom-oclif-loader-EPKORNJY.js} +2 -2
- package/dist/{error-handler-H2JO5MGI.js → error-handler-ZY662MJL.js} +8 -8
- package/dist/hooks/postrun.js +6 -6
- package/dist/hooks/prerun.js +6 -6
- package/dist/index.js +54 -49
- package/dist/{local-PNRP6M3C.js → local-V2PIQZT7.js} +2 -2
- package/dist/{node-FRKV7HYW.js → node-I67G4HEQ.js} +11 -11
- package/dist/{node-package-manager-XKAH57SF.js → node-package-manager-FXUBXHFJ.js} +3 -3
- package/dist/{system-5YQPPSYJ.js → system-DGKNYSEI.js} +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-TWN6LBOI.js → ui-TPFQMYT2.js} +2 -2
- package/dist/{workerd-EK4JHLXE.js → workerd-WCFQKTR2.js} +11 -11
- package/oclif.manifest.json +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
unsetStorefront,
|
|
124
124
|
waitForJob,
|
|
125
125
|
writeDotEnv
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-DZ3IUP66.js";
|
|
127
127
|
import {
|
|
128
128
|
require_lib as require_lib4
|
|
129
129
|
} from "./chunk-NUP5TATA.js";
|
|
@@ -141,39 +141,39 @@ import {
|
|
|
141
141
|
} from "./chunk-OXKHBIW7.js";
|
|
142
142
|
import {
|
|
143
143
|
KitchenSinkStatic
|
|
144
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-3N6HMQXE.js";
|
|
145
145
|
import {
|
|
146
146
|
Search
|
|
147
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-BDRKGBQM.js";
|
|
148
148
|
import {
|
|
149
149
|
Upgrade
|
|
150
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-DOGPMXVD.js";
|
|
151
151
|
import {
|
|
152
152
|
getOutputUpdateCLIReminder
|
|
153
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-FFJ5GS2L.js";
|
|
154
154
|
import {
|
|
155
155
|
Version
|
|
156
|
-
} from "./chunk-
|
|
157
|
-
import "./chunk-
|
|
158
|
-
import "./chunk-
|
|
156
|
+
} from "./chunk-N4C6AXY7.js";
|
|
157
|
+
import "./chunk-XLTHVJPQ.js";
|
|
158
|
+
import "./chunk-3SR6OJSK.js";
|
|
159
159
|
import {
|
|
160
160
|
HelpCommand
|
|
161
|
-
} from "./chunk-
|
|
161
|
+
} from "./chunk-GBNYQAYW.js";
|
|
162
162
|
import {
|
|
163
163
|
KitchenSinkAsync
|
|
164
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-D3PVKA4S.js";
|
|
165
165
|
import {
|
|
166
166
|
KitchenSinkAll
|
|
167
|
-
} from "./chunk-
|
|
168
|
-
import "./chunk-
|
|
169
|
-
import "./chunk-
|
|
167
|
+
} from "./chunk-SG2SU3OS.js";
|
|
168
|
+
import "./chunk-3N2XGNSD.js";
|
|
169
|
+
import "./chunk-4SSP6H2B.js";
|
|
170
170
|
import {
|
|
171
171
|
KitchenSinkPrompts
|
|
172
|
-
} from "./chunk-
|
|
173
|
-
import "./chunk-
|
|
172
|
+
} from "./chunk-XHUGASG2.js";
|
|
173
|
+
import "./chunk-NKKQGCMU.js";
|
|
174
174
|
import {
|
|
175
175
|
Logout
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-TVHQ7O3U.js";
|
|
177
177
|
import {
|
|
178
178
|
appManagementFqdn,
|
|
179
179
|
checkPort,
|
|
@@ -194,27 +194,27 @@ import {
|
|
|
194
194
|
partnersRequest,
|
|
195
195
|
partnersRequestDoc,
|
|
196
196
|
require_lib as require_lib3
|
|
197
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-L7BARKPN.js";
|
|
198
198
|
import {
|
|
199
199
|
setNextDeprecationDate
|
|
200
200
|
} from "./chunk-LCWH3FW5.js";
|
|
201
201
|
import {
|
|
202
202
|
CommandFlags
|
|
203
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-TSKLJ4DZ.js";
|
|
204
204
|
import {
|
|
205
205
|
Catalog
|
|
206
|
-
} from "./chunk-
|
|
206
|
+
} from "./chunk-AGVZ7LKV.js";
|
|
207
207
|
import {
|
|
208
208
|
GenerateFile
|
|
209
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-ET3FXEGV.js";
|
|
210
210
|
import {
|
|
211
211
|
Demo
|
|
212
|
-
} from "./chunk-
|
|
212
|
+
} from "./chunk-WWCONB45.js";
|
|
213
213
|
import {
|
|
214
214
|
PrintAIPrompt
|
|
215
|
-
} from "./chunk-
|
|
215
|
+
} from "./chunk-IKY4YZKM.js";
|
|
216
216
|
import "./chunk-QSUS3GJF.js";
|
|
217
|
-
import "./chunk-
|
|
217
|
+
import "./chunk-OPHICISR.js";
|
|
218
218
|
import {
|
|
219
219
|
deepStrict,
|
|
220
220
|
errorsToString,
|
|
@@ -222,12 +222,12 @@ import {
|
|
|
222
222
|
} from "./chunk-NLUGD7PZ.js";
|
|
223
223
|
import {
|
|
224
224
|
DocsGenerate
|
|
225
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-UK3DVACO.js";
|
|
226
226
|
import {
|
|
227
227
|
base_command_default,
|
|
228
228
|
decodeToml,
|
|
229
229
|
encodeToml
|
|
230
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-RX32UG2K.js";
|
|
231
231
|
import {
|
|
232
232
|
require_byline,
|
|
233
233
|
require_end_of_stream,
|
|
@@ -235,7 +235,7 @@ import {
|
|
|
235
235
|
require_iserror,
|
|
236
236
|
require_pump,
|
|
237
237
|
require_stack_generator
|
|
238
|
-
} from "./chunk-
|
|
238
|
+
} from "./chunk-WOL7YMUX.js";
|
|
239
239
|
import {
|
|
240
240
|
ClientError,
|
|
241
241
|
FetchError,
|
|
@@ -254,17 +254,17 @@ import {
|
|
|
254
254
|
require_lib as require_lib2,
|
|
255
255
|
require_mime_types,
|
|
256
256
|
version
|
|
257
|
-
} from "./chunk-
|
|
257
|
+
} from "./chunk-PRP4S22K.js";
|
|
258
258
|
import "./chunk-VSLR7ET4.js";
|
|
259
259
|
import {
|
|
260
260
|
fileHash,
|
|
261
261
|
hashString,
|
|
262
262
|
randomUUID
|
|
263
|
-
} from "./chunk-
|
|
263
|
+
} from "./chunk-CGTFVNVW.js";
|
|
264
264
|
import {
|
|
265
265
|
platformAndArch,
|
|
266
266
|
username
|
|
267
|
-
} from "./chunk-
|
|
267
|
+
} from "./chunk-CQXLJ74Q.js";
|
|
268
268
|
import {
|
|
269
269
|
LocalStorage,
|
|
270
270
|
UnknownPackageManagerError,
|
|
@@ -286,7 +286,7 @@ import {
|
|
|
286
286
|
usesWorkspaces,
|
|
287
287
|
versionSatisfies,
|
|
288
288
|
writePackageJSON
|
|
289
|
-
} from "./chunk-
|
|
289
|
+
} from "./chunk-JNCUUFQ2.js";
|
|
290
290
|
import {
|
|
291
291
|
require_semver
|
|
292
292
|
} from "./chunk-BYPQXSAL.js";
|
|
@@ -295,7 +295,7 @@ import {
|
|
|
295
295
|
} from "./chunk-O5K4AU7Q.js";
|
|
296
296
|
import {
|
|
297
297
|
CLI_KIT_VERSION
|
|
298
|
-
} from "./chunk-
|
|
298
|
+
} from "./chunk-RRJXIWCI.js";
|
|
299
299
|
import {
|
|
300
300
|
AbortController as AbortController2,
|
|
301
301
|
AbortError,
|
|
@@ -472,7 +472,7 @@ import {
|
|
|
472
472
|
use_stdin_default,
|
|
473
473
|
writeFile,
|
|
474
474
|
writeFileSync
|
|
475
|
-
} from "./chunk-
|
|
475
|
+
} from "./chunk-W4K3OTNK.js";
|
|
476
476
|
import {
|
|
477
477
|
require_signal_exit
|
|
478
478
|
} from "./chunk-QETDXAFX.js";
|
|
@@ -144613,7 +144613,7 @@ import { fileURLToPath } from "url";
|
|
|
144613
144613
|
async function warnIfOldNodeVersion() {
|
|
144614
144614
|
let nodeVersion = process.versions.node, nodeMajorVersion = Number(nodeVersion.split(".")[0]);
|
|
144615
144615
|
if (nodeMajorVersion < 18) {
|
|
144616
|
-
let { renderWarning: renderWarning2 } = await import("./ui-
|
|
144616
|
+
let { renderWarning: renderWarning2 } = await import("./ui-TPFQMYT2.js");
|
|
144617
144617
|
renderWarning2({
|
|
144618
144618
|
headline: "Upgrade to a supported Node version now.",
|
|
144619
144619
|
body: [
|
|
@@ -144638,7 +144638,7 @@ function forceNoColor() {
|
|
|
144638
144638
|
}
|
|
144639
144639
|
async function runCLI(options) {
|
|
144640
144640
|
setupEnvironmentVariables(options), forceNoColor(), await warnIfOldNodeVersion();
|
|
144641
|
-
let { errorHandler: errorHandler2 } = await import("./error-handler-
|
|
144641
|
+
let { errorHandler: errorHandler2 } = await import("./error-handler-ZY662MJL.js"), { isDevelopment } = await import("./local-V2PIQZT7.js"), oclif = await import("./lib-4WCTNKJK.js"), { ShopifyConfig } = await import("./custom-oclif-loader-EPKORNJY.js");
|
|
144642
144642
|
isDevelopment() && (oclif.default.settings.debug = !0);
|
|
144643
144643
|
try {
|
|
144644
144644
|
let config2 = new ShopifyConfig({ root: fileURLToPath(options.moduleURL) });
|
|
@@ -144648,7 +144648,7 @@ async function runCLI(options) {
|
|
|
144648
144648
|
}
|
|
144649
144649
|
}
|
|
144650
144650
|
async function useLocalCLIIfDetected(filepath) {
|
|
144651
|
-
let { environmentVariables: environmentVariables2 } = await import("./constants-TR6ABVLJ.js"), { joinPath: join6 } = await import("./path-T2RCZTRE.js"), { exec: exec2 } = await import("./system-
|
|
144651
|
+
let { environmentVariables: environmentVariables2 } = await import("./constants-TR6ABVLJ.js"), { joinPath: join6 } = await import("./path-T2RCZTRE.js"), { exec: exec2 } = await import("./system-DGKNYSEI.js");
|
|
144652
144652
|
if (!isTruthy(process.env[environmentVariables2.enableCliRedirect]) || isTruthy(process.env[environmentVariables2.skipCliRedirect]) || process.env.npm_config_user_agent)
|
|
144653
144653
|
return !1;
|
|
144654
144654
|
let cliPackage = await localCliPackage();
|
|
@@ -144668,7 +144668,7 @@ async function useLocalCLIIfDetected(filepath) {
|
|
|
144668
144668
|
return !0;
|
|
144669
144669
|
}
|
|
144670
144670
|
async function localCliPackage() {
|
|
144671
|
-
let { captureOutput } = await import("./system-
|
|
144671
|
+
let { captureOutput } = await import("./system-DGKNYSEI.js"), npmListOutput = "", localShopifyCLI = {};
|
|
144672
144672
|
try {
|
|
144673
144673
|
npmListOutput = await captureOutput("npm", ["list", "@shopify/cli", "--json", "-l"]), localShopifyCLI = JSON.parse(npmListOutput);
|
|
144674
144674
|
} catch {
|
|
@@ -144801,7 +144801,7 @@ init_cjs_shims();
|
|
|
144801
144801
|
|
|
144802
144802
|
// ../theme/dist/cli/services/local-storage.js
|
|
144803
144803
|
init_cjs_shims();
|
|
144804
|
-
var _themeLocalStorageInstance, _developmentThemeLocalStorageInstance, _replThemeLocalStorageInstance,
|
|
144804
|
+
var _themeLocalStorageInstance, _developmentThemeLocalStorageInstance, _replThemeLocalStorageInstance, _themeStorePasswordStorageInstance;
|
|
144805
144805
|
function themeLocalStorage() {
|
|
144806
144806
|
return _themeLocalStorageInstance || (_themeLocalStorageInstance = new LocalStorage({ projectName: "shopify-cli-theme-conf" })), _themeLocalStorageInstance;
|
|
144807
144807
|
}
|
|
@@ -144815,10 +144815,10 @@ function replThemeLocalStorage() {
|
|
|
144815
144815
|
projectName: "shopify-cli-repl-theme-config"
|
|
144816
144816
|
})), _replThemeLocalStorageInstance;
|
|
144817
144817
|
}
|
|
144818
|
-
function
|
|
144819
|
-
return
|
|
144818
|
+
function themeStorePasswordStorage() {
|
|
144819
|
+
return _themeStorePasswordStorageInstance || (_themeStorePasswordStorageInstance = new LocalStorage({
|
|
144820
144820
|
projectName: "shopify-cli-theme-store-password"
|
|
144821
|
-
})),
|
|
144821
|
+
})), _themeStorePasswordStorageInstance;
|
|
144822
144822
|
}
|
|
144823
144823
|
function getThemeStore() {
|
|
144824
144824
|
return themeLocalStorage().get("themeStore");
|
|
@@ -144846,15 +144846,15 @@ function removeREPLTheme() {
|
|
|
144846
144846
|
}
|
|
144847
144847
|
function getStorefrontPassword() {
|
|
144848
144848
|
let themeStore = getThemeStore();
|
|
144849
|
-
return outputDebug(outputContent`Getting storefront password for shop ${themeStore}...`),
|
|
144849
|
+
return outputDebug(outputContent`Getting storefront password for shop ${themeStore}...`), themeStorePasswordStorage().get(getThemeStore());
|
|
144850
144850
|
}
|
|
144851
144851
|
function setStorefrontPassword(password) {
|
|
144852
144852
|
let themeStore = getThemeStore();
|
|
144853
|
-
outputDebug(outputContent`Setting storefront password for shop ${themeStore}...`),
|
|
144853
|
+
outputDebug(outputContent`Setting storefront password for shop ${themeStore}...`), themeStorePasswordStorage().set(themeStore, password);
|
|
144854
144854
|
}
|
|
144855
144855
|
function removeStorefrontPassword() {
|
|
144856
144856
|
let themeStore = getThemeStore();
|
|
144857
|
-
outputDebug(outputContent`Removing storefront password for ${themeStore}...`),
|
|
144857
|
+
outputDebug(outputContent`Removing storefront password for ${themeStore}...`), themeStorePasswordStorage().delete(themeStore);
|
|
144858
144858
|
}
|
|
144859
144859
|
|
|
144860
144860
|
// ../theme/dist/cli/utilities/theme-store.js
|
|
@@ -145170,7 +145170,7 @@ function buildChecksum(asset) {
|
|
|
145170
145170
|
function buildThemeAsset(asset) {
|
|
145171
145171
|
if (!asset)
|
|
145172
145172
|
return;
|
|
145173
|
-
let { key, checksum, attachment, value } = asset, stats = { size: (value || attachment).length, mtime: Date.now() };
|
|
145173
|
+
let { key, checksum, attachment, value } = asset, stats = { size: (value || attachment || "").length, mtime: Date.now() };
|
|
145174
145174
|
return { key, checksum, attachment, value, stats };
|
|
145175
145175
|
}
|
|
145176
145176
|
function buildBulkUploadResults(bulkUploadResponse, assets) {
|
|
@@ -145379,6 +145379,7 @@ var REPLThemeManager = class extends ThemeManager {
|
|
|
145379
145379
|
// ../theme/dist/cli/utilities/theme-environment/storefront-password-prompt.js
|
|
145380
145380
|
init_cjs_shims();
|
|
145381
145381
|
async function ensureValidPassword(password, store) {
|
|
145382
|
+
getThemeStore() || ensureThemeStore({ store });
|
|
145382
145383
|
let finalPassword = password || getStorefrontPassword() || await promptPassword("Enter your store password"), isPasswordRemoved = !1;
|
|
145383
145384
|
for (; !await isStorefrontPasswordCorrect(finalPassword, store); )
|
|
145384
145385
|
isPasswordRemoved || (removeStorefrontPassword(), isPasswordRemoved = !0), finalPassword = await promptPassword("Incorrect password provided. Please try again");
|
|
@@ -146469,7 +146470,7 @@ async function render2(session, context) {
|
|
|
146469
146470
|
cause: error
|
|
146470
146471
|
});
|
|
146471
146472
|
}), requestId = response.headers.get("x-request-id");
|
|
146472
|
-
return outputDebug(`\u2190 ${response.status} (request_id: ${requestId})`), response;
|
|
146473
|
+
return outputDebug(`\u2190 ${response.status} (request_id: ${requestId})`), response.headers.delete("Content-Type"), response;
|
|
146473
146474
|
}
|
|
146474
146475
|
async function buildHeaders2(session, context) {
|
|
146475
146476
|
return isThemeAccessSession2(session) ? buildThemeAccessHeaders(session, context) : buildStandardHeaders(session, context);
|
|
@@ -146700,7 +146701,11 @@ async function initializeDevServerSession(themeId, adminSession, adminPassword,
|
|
|
146700
146701
|
}, SESSION_TIMEOUT_IN_MS), session;
|
|
146701
146702
|
}
|
|
146702
146703
|
async function fetchDevServerSession(themeId, adminSession, adminPassword, storefrontPassword) {
|
|
146703
|
-
let baseUrl = buildBaseStorefrontUrl(adminSession), session = await ensureAuthenticatedThemes(adminSession.storeFqdn, adminPassword, []), storefrontToken = await ensureAuthenticatedStorefront([], adminPassword), sessionCookies = await getStorefrontSessionCookies(baseUrl, themeId, storefrontPassword, {
|
|
146704
|
+
let baseUrl = buildBaseStorefrontUrl(adminSession), session = await ensureAuthenticatedThemes(adminSession.storeFqdn, adminPassword, []), storefrontToken = await ensureAuthenticatedStorefront([], adminPassword), sessionCookies = await getStorefrontSessionCookies(baseUrl, themeId, storefrontPassword, {
|
|
146705
|
+
"X-Shopify-Shop": session.storeFqdn,
|
|
146706
|
+
"X-Shopify-Access-Token": session.token,
|
|
146707
|
+
Authorization: `Bearer ${storefrontToken}`
|
|
146708
|
+
});
|
|
146704
146709
|
return {
|
|
146705
146710
|
...session,
|
|
146706
146711
|
sessionCookies,
|
|
@@ -153830,10 +153835,10 @@ async function buildAssetsUrl(port, root) {
|
|
|
153830
153835
|
async function startMiniOxygen(options, useNodeRuntime = !1) {
|
|
153831
153836
|
if (useNodeRuntime) {
|
|
153832
153837
|
process.env.MINIFLARE_SUBREQUEST_LIMIT = 100;
|
|
153833
|
-
let { startNodeServer } = await import("./node-
|
|
153838
|
+
let { startNodeServer } = await import("./node-I67G4HEQ.js");
|
|
153834
153839
|
return startNodeServer(options);
|
|
153835
153840
|
}
|
|
153836
|
-
let { startWorkerdServer } = await import("./workerd-
|
|
153841
|
+
let { startWorkerdServer } = await import("./workerd-WCFQKTR2.js");
|
|
153837
153842
|
return startWorkerdServer(options);
|
|
153838
153843
|
}
|
|
153839
153844
|
|
|
@@ -159058,7 +159063,7 @@ async function performActionWithRetryAfterRecovery(performAction, recoveryProced
|
|
|
159058
159063
|
import stream from "node:stream/promises";
|
|
159059
159064
|
import * as gzip from "node:zlib";
|
|
159060
159065
|
import { fileURLToPath as fileURLToPath5 } from "node:url";
|
|
159061
|
-
var FUNCTION_RUNNER_VERSION = "v6.2.1", JAVY_VERSION = "v3.1.
|
|
159066
|
+
var FUNCTION_RUNNER_VERSION = "v6.2.1", JAVY_VERSION = "v3.1.1", DownloadableBinary = class {
|
|
159062
159067
|
constructor(name, version2, gitHubRepo) {
|
|
159063
159068
|
this.name = name, this.version = version2;
|
|
159064
159069
|
let filename = process.platform === "win32" ? `${name}.exe` : name;
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
useDeviceAuth,
|
|
22
22
|
useEmbeddedThemeCLI,
|
|
23
23
|
useThemebundling
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-W4K3OTNK.js";
|
|
25
25
|
import "./chunk-QETDXAFX.js";
|
|
26
26
|
import "./chunk-NZDBLGNM.js";
|
|
27
27
|
import "./chunk-BFQFJ7IZ.js";
|
|
@@ -63,4 +63,4 @@ export {
|
|
|
63
63
|
useEmbeddedThemeCLI,
|
|
64
64
|
useThemebundling
|
|
65
65
|
};
|
|
66
|
-
//# sourceMappingURL=local-
|
|
66
|
+
//# sourceMappingURL=local-V2PIQZT7.js.map
|
|
@@ -12,27 +12,27 @@ import {
|
|
|
12
12
|
importLocal,
|
|
13
13
|
logRequestLine,
|
|
14
14
|
setConstructors
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-DZ3IUP66.js";
|
|
16
|
+
import "./chunk-L7BARKPN.js";
|
|
17
17
|
import "./chunk-LCWH3FW5.js";
|
|
18
18
|
import "./chunk-NLUGD7PZ.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-RX32UG2K.js";
|
|
20
|
+
import "./chunk-WOL7YMUX.js";
|
|
21
|
+
import "./chunk-PRP4S22K.js";
|
|
22
22
|
import "./chunk-VSLR7ET4.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-CGTFVNVW.js";
|
|
24
|
+
import "./chunk-CQXLJ74Q.js";
|
|
25
|
+
import "./chunk-JNCUUFQ2.js";
|
|
26
26
|
import "./chunk-BYPQXSAL.js";
|
|
27
27
|
import "./chunk-O5K4AU7Q.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-RRJXIWCI.js";
|
|
29
29
|
import {
|
|
30
30
|
AbortError,
|
|
31
31
|
outputNewline,
|
|
32
32
|
readFile,
|
|
33
33
|
renderSuccess,
|
|
34
34
|
source_default
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-W4K3OTNK.js";
|
|
36
36
|
import "./chunk-QETDXAFX.js";
|
|
37
37
|
import "./chunk-NZDBLGNM.js";
|
|
38
38
|
import "./chunk-BFQFJ7IZ.js";
|
|
@@ -166,4 +166,4 @@ async function startNodeServer({
|
|
|
166
166
|
export {
|
|
167
167
|
startNodeServer
|
|
168
168
|
};
|
|
169
|
-
//# sourceMappingURL=node-
|
|
169
|
+
//# sourceMappingURL=node-I67G4HEQ.js.map
|
|
@@ -27,9 +27,9 @@ import {
|
|
|
27
27
|
versionSatisfies,
|
|
28
28
|
writePackageJSON,
|
|
29
29
|
yarnLockfile
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-JNCUUFQ2.js";
|
|
31
31
|
import "./chunk-BYPQXSAL.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-W4K3OTNK.js";
|
|
33
33
|
import "./chunk-QETDXAFX.js";
|
|
34
34
|
import "./chunk-NZDBLGNM.js";
|
|
35
35
|
import "./chunk-BFQFJ7IZ.js";
|
|
@@ -77,4 +77,4 @@ export {
|
|
|
77
77
|
writePackageJSON,
|
|
78
78
|
yarnLockfile
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=node-package-manager-
|
|
80
|
+
//# sourceMappingURL=node-package-manager-FXUBXHFJ.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
openURL,
|
|
5
5
|
sleep,
|
|
6
6
|
terminalSupportsPrompting
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-W4K3OTNK.js";
|
|
8
8
|
import "./chunk-QETDXAFX.js";
|
|
9
9
|
import "./chunk-NZDBLGNM.js";
|
|
10
10
|
import "./chunk-BFQFJ7IZ.js";
|
|
@@ -29,4 +29,4 @@ export {
|
|
|
29
29
|
sleep,
|
|
30
30
|
terminalSupportsPrompting
|
|
31
31
|
};
|
|
32
|
-
//# sourceMappingURL=system-
|
|
32
|
+
//# sourceMappingURL=system-DGKNYSEI.js.map
|