@shopify/cli 3.92.0 → 3.92.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-TCRGWXEM.js → chunk-42GAT4OC.js} +2 -2
- package/dist/{chunk-3R4Y7JP2.js → chunk-67BH5NUT.js} +3 -3
- package/dist/{chunk-UKXV3TI2.js → chunk-6FKKSH4P.js} +3 -3
- package/dist/{chunk-HOM3AURQ.js → chunk-6O2ILC2V.js} +7 -7
- package/dist/{chunk-CLSOJHPG.js → chunk-7H2O5J4R.js} +2 -2
- package/dist/{chunk-SHITJREU.js → chunk-7QAT7P3M.js} +3 -3
- package/dist/{chunk-6QAGQRBW.js → chunk-AVEWTIFC.js} +6 -6
- package/dist/{chunk-GISQNWKA.js → chunk-C74PXA4B.js} +3 -3
- package/dist/{chunk-7LLU6ZWI.js → chunk-CLJTWTB3.js} +2 -2
- package/dist/{chunk-5Z2EIBKO.js → chunk-DM56XRBC.js} +5 -5
- package/dist/{chunk-DELDMHFW.js → chunk-E7IWFBAC.js} +4 -4
- package/dist/{chunk-EKSKCUFY.js → chunk-ESKZOJHR.js} +4 -4
- package/dist/{chunk-3Q7HT6Z6.js → chunk-FESVG7HJ.js} +6 -6
- package/dist/{chunk-PV4DS7Q3.js → chunk-FNFU6QXG.js} +2 -2
- package/dist/{chunk-VK6V5QGU.js → chunk-GUCQ3JUX.js} +5 -5
- package/dist/{chunk-KMZDRVOH.js → chunk-HG2B3F2E.js} +2 -2
- package/dist/{chunk-CFMCPDKD.js → chunk-HOCBMVPF.js} +3 -3
- package/dist/{chunk-7ZPI3YZT.js → chunk-IJLB2OZD.js} +3 -3
- package/dist/{chunk-WORXIBDA.js → chunk-JOUJHIPW.js} +5 -5
- package/dist/{chunk-TSCSVXFR.js → chunk-JW4Y5WPI.js} +3 -3
- package/dist/{chunk-ALCWBCTB.js → chunk-KQU2IAXJ.js} +4 -4
- package/dist/{chunk-VNO7KUNW.js → chunk-LM5QFSME.js} +3 -3
- package/dist/{chunk-L332YARR.js → chunk-M7TUKQMY.js} +4 -4
- package/dist/{chunk-7HBHG7AR.js → chunk-NE5FI6FS.js} +4 -4
- package/dist/{chunk-2GBRPYQO.js → chunk-NG44KZZS.js} +3 -3
- package/dist/{chunk-UB4S5CPZ.js → chunk-NK4SILXH.js} +3 -3
- package/dist/{chunk-SK7ID6O3.js → chunk-NQTUC6ZO.js} +3 -3
- package/dist/{chunk-CETXO4QF.js → chunk-O3GDENDY.js} +2 -2
- package/dist/{chunk-4ZJ6IMY7.js → chunk-Q7FGFF32.js} +2 -2
- package/dist/{chunk-PEQG7FIO.js → chunk-SMO4IV7V.js} +5 -5
- package/dist/{chunk-D5DIBYZM.js → chunk-T5M3A5TW.js} +2 -2
- package/dist/{chunk-UL3ZEXYW.js → chunk-TC5DUCXE.js} +3 -3
- package/dist/{chunk-ULMWBRHO.js → chunk-UL2FJ5NI.js} +3 -3
- package/dist/{chunk-3PJMBRB6.js → chunk-WXB4MZ4Q.js} +2 -2
- package/dist/{chunk-TKKSRIK5.js → chunk-YDQVL7CP.js} +3 -3
- package/dist/{chunk-S6E4CCUW.js → chunk-YUJEBN2A.js} +2 -2
- package/dist/{chunk-QLJ6X5VL.js → chunk-ZN7BY463.js} +5 -5
- package/dist/{chunk-NCTTAHU4.js → chunk-ZVE6VSBX.js} +5 -5
- package/dist/cli/commands/auth/login.js +7 -7
- package/dist/cli/commands/auth/login.test.js +8 -8
- package/dist/cli/commands/auth/logout.js +7 -7
- package/dist/cli/commands/auth/logout.test.js +8 -8
- package/dist/cli/commands/cache/clear.js +8 -8
- package/dist/cli/commands/debug/command-flags.js +7 -7
- package/dist/cli/commands/docs/generate.js +7 -7
- package/dist/cli/commands/docs/generate.test.js +7 -7
- package/dist/cli/commands/doctor-release/doctor-release.js +7 -7
- package/dist/cli/commands/doctor-release/theme/index.js +12 -12
- package/dist/cli/commands/help.js +7 -7
- package/dist/cli/commands/kitchen-sink/async.js +8 -8
- package/dist/cli/commands/kitchen-sink/async.test.js +8 -8
- package/dist/cli/commands/kitchen-sink/index.js +10 -10
- package/dist/cli/commands/kitchen-sink/index.test.js +10 -10
- package/dist/cli/commands/kitchen-sink/prompts.js +8 -8
- package/dist/cli/commands/kitchen-sink/prompts.test.js +8 -8
- package/dist/cli/commands/kitchen-sink/static.js +8 -8
- package/dist/cli/commands/kitchen-sink/static.test.js +8 -8
- package/dist/cli/commands/notifications/generate.js +8 -8
- package/dist/cli/commands/notifications/list.js +8 -8
- package/dist/cli/commands/search.js +8 -8
- package/dist/cli/commands/upgrade.js +8 -8
- package/dist/cli/commands/version.js +8 -8
- package/dist/cli/commands/version.test.js +8 -8
- 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/doctor-release/theme/runner.js +5 -5
- package/dist/cli/services/doctor-release/theme/tests/init.js +3 -3
- package/dist/cli/services/doctor-release/theme/tests/push.js +3 -3
- 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/{custom-oclif-loader-QHZYLDHD.js → custom-oclif-loader-MKZUUH3S.js} +2 -2
- package/dist/{error-handler-25WG4VTL.js → error-handler-STUDJHBV.js} +5 -5
- package/dist/hooks/postrun.js +5 -5
- package/dist/hooks/prerun.js +6 -6
- package/dist/index.js +40 -44
- package/dist/{local-QBNR7GHY.js → local-SJCC5BYA.js} +2 -2
- package/dist/{node-package-manager-TKOPH3K5.js → node-package-manager-2L2NJGLS.js} +3 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-QCEOAQDC.js → ui-ER5WOAGG.js} +2 -2
- package/dist/{workerd-L2OEKCQL.js → workerd-KQSXBLVM.js} +8 -8
- package/oclif.manifest.json +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -113,7 +113,7 @@ import {
|
|
|
113
113
|
supressNodeExperimentalWarnings,
|
|
114
114
|
unsetStorefront,
|
|
115
115
|
waitForJob
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-ZN7BY463.js";
|
|
117
117
|
import {
|
|
118
118
|
require_lib as require_lib6,
|
|
119
119
|
require_semver as require_semver2
|
|
@@ -134,85 +134,85 @@ import {
|
|
|
134
134
|
} from "./chunk-CE4S2SGM.js";
|
|
135
135
|
import {
|
|
136
136
|
postRunHookHasCompleted
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-UL2FJ5NI.js";
|
|
138
138
|
import {
|
|
139
139
|
Version as Version2
|
|
140
|
-
} from "./chunk-
|
|
141
|
-
import "./chunk-
|
|
140
|
+
} from "./chunk-TC5DUCXE.js";
|
|
141
|
+
import "./chunk-67BH5NUT.js";
|
|
142
142
|
import {
|
|
143
143
|
KitchenSinkStatic
|
|
144
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-6FKKSH4P.js";
|
|
145
145
|
import {
|
|
146
146
|
Generate
|
|
147
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-NK4SILXH.js";
|
|
148
148
|
import {
|
|
149
149
|
List
|
|
150
|
-
} from "./chunk-
|
|
151
|
-
import "./chunk-
|
|
150
|
+
} from "./chunk-ESKZOJHR.js";
|
|
151
|
+
import "./chunk-GUCQ3JUX.js";
|
|
152
152
|
import {
|
|
153
153
|
Search
|
|
154
|
-
} from "./chunk-
|
|
155
|
-
import "./chunk-
|
|
154
|
+
} from "./chunk-LM5QFSME.js";
|
|
155
|
+
import "./chunk-Q7FGFF32.js";
|
|
156
156
|
import {
|
|
157
157
|
Upgrade
|
|
158
|
-
} from "./chunk-
|
|
159
|
-
import "./chunk-
|
|
158
|
+
} from "./chunk-NE5FI6FS.js";
|
|
159
|
+
import "./chunk-IJLB2OZD.js";
|
|
160
160
|
import {
|
|
161
161
|
DoctorRelease
|
|
162
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-NQTUC6ZO.js";
|
|
163
163
|
import {
|
|
164
164
|
DoctorReleaseTheme
|
|
165
|
-
} from "./chunk-
|
|
166
|
-
import "./chunk-
|
|
167
|
-
import "./chunk-
|
|
168
|
-
import "./chunk-
|
|
169
|
-
import "./chunk-
|
|
165
|
+
} from "./chunk-DM56XRBC.js";
|
|
166
|
+
import "./chunk-E7IWFBAC.js";
|
|
167
|
+
import "./chunk-C74PXA4B.js";
|
|
168
|
+
import "./chunk-HG2B3F2E.js";
|
|
169
|
+
import "./chunk-7H2O5J4R.js";
|
|
170
170
|
import "./chunk-QJQS7BBK.js";
|
|
171
171
|
import {
|
|
172
172
|
HelpCommand
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-WXB4MZ4Q.js";
|
|
174
174
|
import {
|
|
175
175
|
KitchenSinkAsync
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-NG44KZZS.js";
|
|
177
177
|
import {
|
|
178
178
|
KitchenSinkAll
|
|
179
|
-
} from "./chunk-
|
|
180
|
-
import "./chunk-
|
|
181
|
-
import "./chunk-
|
|
179
|
+
} from "./chunk-JOUJHIPW.js";
|
|
180
|
+
import "./chunk-YUJEBN2A.js";
|
|
181
|
+
import "./chunk-FNFU6QXG.js";
|
|
182
182
|
import {
|
|
183
183
|
KitchenSinkPrompts
|
|
184
|
-
} from "./chunk-
|
|
185
|
-
import "./chunk-
|
|
184
|
+
} from "./chunk-YDQVL7CP.js";
|
|
185
|
+
import "./chunk-42GAT4OC.js";
|
|
186
186
|
import {
|
|
187
187
|
Login
|
|
188
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-SMO4IV7V.js";
|
|
189
189
|
import {
|
|
190
190
|
Logout
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-M7TUKQMY.js";
|
|
192
192
|
import {
|
|
193
193
|
ClearCache
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-HOCBMVPF.js";
|
|
195
195
|
import {
|
|
196
196
|
globalFlags,
|
|
197
197
|
jsonFlag,
|
|
198
198
|
runCLI
|
|
199
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-AVEWTIFC.js";
|
|
200
200
|
import {
|
|
201
201
|
CommandFlags
|
|
202
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-JW4Y5WPI.js";
|
|
203
203
|
import {
|
|
204
204
|
DocsGenerate
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-7QAT7P3M.js";
|
|
206
206
|
import {
|
|
207
207
|
base_command_default,
|
|
208
208
|
decodeToml,
|
|
209
209
|
encodeToml,
|
|
210
210
|
loadEnvironment,
|
|
211
211
|
noDefaultsOptions
|
|
212
|
-
} from "./chunk-
|
|
212
|
+
} from "./chunk-KQU2IAXJ.js";
|
|
213
213
|
import {
|
|
214
214
|
showNotificationsIfNeeded
|
|
215
|
-
} from "./chunk-
|
|
215
|
+
} from "./chunk-FESVG7HJ.js";
|
|
216
216
|
import {
|
|
217
217
|
ClientError,
|
|
218
218
|
DevServerCore,
|
|
@@ -296,7 +296,7 @@ import {
|
|
|
296
296
|
shopifyFetch,
|
|
297
297
|
storeAdminUrl,
|
|
298
298
|
z
|
|
299
|
-
} from "./chunk-
|
|
299
|
+
} from "./chunk-ZVE6VSBX.js";
|
|
300
300
|
import {
|
|
301
301
|
require_once
|
|
302
302
|
} from "./chunk-SHWOPMLQ.js";
|
|
@@ -324,10 +324,10 @@ import {
|
|
|
324
324
|
usesWorkspaces,
|
|
325
325
|
versionSatisfies,
|
|
326
326
|
writePackageJSON
|
|
327
|
-
} from "./chunk-
|
|
327
|
+
} from "./chunk-O3GDENDY.js";
|
|
328
328
|
import {
|
|
329
329
|
CLI_KIT_VERSION
|
|
330
|
-
} from "./chunk-
|
|
330
|
+
} from "./chunk-T5M3A5TW.js";
|
|
331
331
|
import {
|
|
332
332
|
AbortController as AbortController2,
|
|
333
333
|
AbortError,
|
|
@@ -517,7 +517,7 @@ import {
|
|
|
517
517
|
wrapAnsi,
|
|
518
518
|
writeFile,
|
|
519
519
|
writeFileSync
|
|
520
|
-
} from "./chunk-
|
|
520
|
+
} from "./chunk-6O2ILC2V.js";
|
|
521
521
|
import {
|
|
522
522
|
require_graceful_fs
|
|
523
523
|
} from "./chunk-6NVYATES.js";
|
|
@@ -345639,7 +345639,7 @@ function setMimeTypes(newTypes) {
|
|
|
345639
345639
|
}
|
|
345640
345640
|
|
|
345641
345641
|
// ../theme/dist/cli/utilities/theme-environment/proxy.js
|
|
345642
|
-
var VANITY_CDN_PREFIX = "/cdn/", EXTENSION_CDN_PREFIX = "/ext/cdn/", API_COLLECT_PATH = "/api/collect", CART_PATTERN = /^\/cart\//,
|
|
345642
|
+
var VANITY_CDN_PREFIX = "/cdn/", EXTENSION_CDN_PREFIX = "/ext/cdn/", API_COLLECT_PATH = "/api/collect", CART_PATTERN = /^\/cart\//, CHECKOUT_PATTERN = /^\/checkouts\/(?!internal\/)/, ACCOUNT_PATTERN = /^\/account(\/login\/multipass(\/[^/]+)?|\/logout)?\/?$/, VANITY_CDN_PATTERN = new RegExp(`^${VANITY_CDN_PREFIX}`), EXTENSION_CDN_PATTERN = new RegExp(`^${EXTENSION_CDN_PREFIX}`), IGNORED_ENDPOINTS = [
|
|
345643
345643
|
"/.well-known",
|
|
345644
345644
|
"/shopify/monorail",
|
|
345645
345645
|
"/mini-profiler-resources",
|
|
@@ -345679,10 +345679,6 @@ function canProxyRequest(event) {
|
|
|
345679
345679
|
let [pathname] = event.path.split("?"), extension = extname(pathname), acceptsType = event.headers.get("accept") ?? "*/*";
|
|
345680
345680
|
return extension === ".html" || acceptsType.includes("text/html") ? !1 : !!extension || acceptsType !== "*/*";
|
|
345681
345681
|
}
|
|
345682
|
-
function needsBearerToken(path3) {
|
|
345683
|
-
let [pathname] = path3.split("?");
|
|
345684
|
-
return !(CART_SESSION_PATTERN.test(pathname) || CHECKOUT_PATTERN.test(pathname) || ACCOUNT_PATTERN.test(pathname));
|
|
345685
|
-
}
|
|
345686
345682
|
function getStoreFqdnForRegEx(ctx) {
|
|
345687
345683
|
return ctx.session.storeFqdn.replace(/\\/g, "\\\\").replace(/\./g, "\\.");
|
|
345688
345684
|
}
|
|
@@ -345766,7 +345762,7 @@ function proxyStorefrontRequest(event, ctx) {
|
|
|
345766
345762
|
referer: url.origin,
|
|
345767
345763
|
Cookie: buildCookies(ctx.session, { headers })
|
|
345768
345764
|
};
|
|
345769
|
-
ctx.type === "theme" &&
|
|
345765
|
+
ctx.type === "theme" && (baseHeaders.Authorization = `Bearer ${ctx.session.storefrontToken}`);
|
|
345770
345766
|
let finalHeaders = cleanHeader(baseHeaders);
|
|
345771
345767
|
return fetch(url, {
|
|
345772
345768
|
method: event.method,
|
|
@@ -354528,7 +354524,7 @@ var import_core27 = __toESM(require_lib5(), 1);
|
|
|
354528
354524
|
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.10_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+n_224b49f683ddd0894a6efb2678941bc0/node_modules/@shopify/cli-hydrogen/dist/lib/mini-oxygen/index.js
|
|
354529
354525
|
init_cjs_shims();
|
|
354530
354526
|
async function startMiniOxygen(options) {
|
|
354531
|
-
let { startWorkerdServer } = await import("./workerd-
|
|
354527
|
+
let { startWorkerdServer } = await import("./workerd-KQSXBLVM.js");
|
|
354532
354528
|
return startWorkerdServer(options);
|
|
354533
354529
|
}
|
|
354534
354530
|
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
macAddress,
|
|
22
22
|
opentelemetryDomain,
|
|
23
23
|
themeToken
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-6O2ILC2V.js";
|
|
25
25
|
import "./chunk-6NVYATES.js";
|
|
26
26
|
import "./chunk-CTFDRWUN.js";
|
|
27
27
|
import "./chunk-7IK72W75.js";
|
|
@@ -58,4 +58,4 @@ export {
|
|
|
58
58
|
opentelemetryDomain,
|
|
59
59
|
themeToken
|
|
60
60
|
};
|
|
61
|
-
//# sourceMappingURL=local-
|
|
61
|
+
//# sourceMappingURL=local-SJCC5BYA.js.map
|
|
@@ -29,8 +29,8 @@ import {
|
|
|
29
29
|
versionSatisfies,
|
|
30
30
|
writePackageJSON,
|
|
31
31
|
yarnLockfile
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import "./chunk-
|
|
32
|
+
} from "./chunk-O3GDENDY.js";
|
|
33
|
+
import "./chunk-6O2ILC2V.js";
|
|
34
34
|
import "./chunk-6NVYATES.js";
|
|
35
35
|
import "./chunk-CTFDRWUN.js";
|
|
36
36
|
import "./chunk-7IK72W75.js";
|
|
@@ -75,4 +75,4 @@ export {
|
|
|
75
75
|
writePackageJSON,
|
|
76
76
|
yarnLockfile
|
|
77
77
|
};
|
|
78
|
-
//# sourceMappingURL=node-package-manager-
|
|
78
|
+
//# sourceMappingURL=node-package-manager-2L2NJGLS.js.map
|