@shopify/cli 3.73.0 → 3.73.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/{chunk-QNK2EAZ3.js → chunk-2EKHINO6.js} +4 -4
- package/dist/{chunk-65GSOZHL.js → chunk-2GWO5FJL.js} +6 -6
- package/dist/{chunk-CEIZT2W3.js → chunk-2QGVACPR.js} +3 -3
- package/dist/{chunk-SANP6FPA.js → chunk-2RKSPXIM.js} +5 -5
- package/dist/{chunk-KMWARALD.js → chunk-52WEPVL5.js} +4 -4
- package/dist/{chunk-XAGT2UNE.js → chunk-5NHIBL5K.js} +2 -2
- package/dist/{chunk-SUUVDRTQ.js → chunk-7TAOK36E.js} +3 -3
- package/dist/{chunk-KTNFE44J.js → chunk-7VQ2QADA.js} +4 -4
- package/dist/{chunk-TEHNKBLD.js → chunk-AWW6JHWH.js} +3 -3
- package/dist/{chunk-YP7WU5EU.js → chunk-CKC5C2DR.js} +4 -4
- package/dist/{chunk-5OFJTURZ.js → chunk-DVCOVWXF.js} +3 -3
- package/dist/{chunk-O77L7CCL.js → chunk-ES3T7FIW.js} +3 -3
- package/dist/{chunk-RCA7PFH4.js → chunk-FJHGD37G.js} +3 -3
- package/dist/{chunk-ELTOJBOJ.js → chunk-GSPOKRGB.js} +2 -2
- package/dist/{chunk-3OXCI3HX.js → chunk-IY7TUSI2.js} +2 -2
- package/dist/{chunk-RK7JAMCI.js → chunk-KETZRITQ.js} +5 -5
- package/dist/{chunk-JORKLY7M.js → chunk-KIOWYILS.js} +5 -5
- package/dist/{chunk-I25PGLBO.js → chunk-KXGCBBJW.js} +2 -2
- package/dist/{chunk-OE3IXTC5.js → chunk-LLWX47E4.js} +5 -5
- package/dist/{chunk-GDLROW57.js → chunk-LVEURM2X.js} +2 -2
- package/dist/{chunk-IRHYYIN7.js → chunk-NQFTYLP6.js} +3 -3
- package/dist/{chunk-ONOLOXLM.js → chunk-O73CKGH7.js} +3 -3
- package/dist/{chunk-YPTEMDFR.js → chunk-ONK6AXDE.js} +3 -3
- package/dist/{chunk-6PEBJVBW.js → chunk-PJZVGRJ6.js} +2 -2
- package/dist/{chunk-NFQLKURK.js → chunk-R4HZPLY4.js} +6 -6
- package/dist/{chunk-PRWEHR2C.js → chunk-SVSIFM5Y.js} +2 -2
- package/dist/{chunk-AFPOP3K5.js → chunk-WKN62GWH.js} +2 -2
- package/dist/{chunk-KZBL6BQ7.js → chunk-WNQ6HYKJ.js} +3 -3
- package/dist/{chunk-F7D333WQ.js → chunk-XEZJEXCU.js} +2 -2
- package/dist/{chunk-VPNXQGG6.js → chunk-Y2KXNORY.js} +3 -3
- package/dist/{chunk-7RKRCUFA.js → chunk-Y43XESY2.js} +7 -7
- package/dist/{chunk-X5FJXK25.js → chunk-YMB5HUU3.js} +7 -7
- package/dist/{chunk-KF2D6QHZ.js → chunk-YP35ARHU.js} +6 -6
- package/dist/{chunk-ZENVITME.js → chunk-ZOCACHGF.js} +2 -2
- package/dist/{chunk-66HLUVKV.js → chunk-ZQ55XXD5.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-V3IB4SYZ.js → custom-oclif-loader-4X7Y4CNS.js} +2 -2
- package/dist/{error-handler-WK3AZ7A2.js → error-handler-KHFKBXR4.js} +9 -9
- package/dist/hooks/postrun.js +7 -7
- package/dist/hooks/prerun.js +7 -7
- package/dist/index.js +52 -47
- package/dist/{local-3ERK45M5.js → local-PBMBK3CF.js} +2 -2
- package/dist/{node-2KLEBSMO.js → node-ENALIQ2H.js} +13 -13
- package/dist/{node-package-manager-QIM24GB3.js → node-package-manager-CVGCLCTC.js} +3 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-5AHG256I.js → ui-BBB46DQS.js} +2 -2
- package/dist/{workerd-MSNALKI2.js → workerd-F7DWDIYO.js} +13 -13
- package/oclif.manifest.json +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -124,7 +124,7 @@ import {
|
|
|
124
124
|
supressNodeExperimentalWarnings,
|
|
125
125
|
unsetStorefront,
|
|
126
126
|
waitForJob
|
|
127
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-Y43XESY2.js";
|
|
128
128
|
import {
|
|
129
129
|
require_lib as require_lib4
|
|
130
130
|
} from "./chunk-EZQWZ57B.js";
|
|
@@ -139,39 +139,39 @@ import {
|
|
|
139
139
|
} from "./chunk-3HBRMIPY.js";
|
|
140
140
|
import {
|
|
141
141
|
List
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-ES3T7FIW.js";
|
|
143
143
|
import {
|
|
144
144
|
Search
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-O73CKGH7.js";
|
|
146
146
|
import {
|
|
147
147
|
Upgrade
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-CKC5C2DR.js";
|
|
149
149
|
import {
|
|
150
150
|
getOutputUpdateCLIReminder
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-DVCOVWXF.js";
|
|
152
152
|
import {
|
|
153
153
|
Version
|
|
154
|
-
} from "./chunk-
|
|
155
|
-
import "./chunk-
|
|
156
|
-
import "./chunk-
|
|
154
|
+
} from "./chunk-NQFTYLP6.js";
|
|
155
|
+
import "./chunk-2QGVACPR.js";
|
|
156
|
+
import "./chunk-PJZVGRJ6.js";
|
|
157
157
|
import {
|
|
158
158
|
KitchenSinkAll
|
|
159
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-KETZRITQ.js";
|
|
160
160
|
import {
|
|
161
161
|
KitchenSinkPrompts
|
|
162
|
-
} from "./chunk-
|
|
163
|
-
import "./chunk-
|
|
162
|
+
} from "./chunk-Y2KXNORY.js";
|
|
163
|
+
import "./chunk-GSPOKRGB.js";
|
|
164
164
|
import {
|
|
165
165
|
KitchenSinkStatic
|
|
166
|
-
} from "./chunk-
|
|
167
|
-
import "./chunk-
|
|
166
|
+
} from "./chunk-FJHGD37G.js";
|
|
167
|
+
import "./chunk-LVEURM2X.js";
|
|
168
168
|
import {
|
|
169
169
|
Generate
|
|
170
|
-
} from "./chunk-
|
|
171
|
-
import "./chunk-
|
|
170
|
+
} from "./chunk-ZQ55XXD5.js";
|
|
171
|
+
import "./chunk-2RKSPXIM.js";
|
|
172
172
|
import {
|
|
173
173
|
Logout
|
|
174
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-52WEPVL5.js";
|
|
175
175
|
import {
|
|
176
176
|
ensureAuthenticatedAdmin,
|
|
177
177
|
ensureAuthenticatedAppManagement,
|
|
@@ -179,31 +179,31 @@ import {
|
|
|
179
179
|
ensureAuthenticatedPartners,
|
|
180
180
|
ensureAuthenticatedStorefront,
|
|
181
181
|
ensureAuthenticatedThemes
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-2EKHINO6.js";
|
|
183
183
|
import {
|
|
184
184
|
ClearCache,
|
|
185
185
|
globalFlags,
|
|
186
186
|
jsonFlag,
|
|
187
187
|
runCLI
|
|
188
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-YMB5HUU3.js";
|
|
189
189
|
import {
|
|
190
190
|
CommandFlags
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-ONK6AXDE.js";
|
|
192
192
|
import {
|
|
193
193
|
DocsGenerate
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-7TAOK36E.js";
|
|
195
195
|
import {
|
|
196
196
|
HelpCommand
|
|
197
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-ZOCACHGF.js";
|
|
198
198
|
import {
|
|
199
199
|
KitchenSinkAsync
|
|
200
|
-
} from "./chunk-
|
|
201
|
-
import "./chunk-
|
|
200
|
+
} from "./chunk-WNQ6HYKJ.js";
|
|
201
|
+
import "./chunk-XEZJEXCU.js";
|
|
202
202
|
import {
|
|
203
203
|
base_command_default,
|
|
204
204
|
decodeToml,
|
|
205
205
|
encodeToml
|
|
206
|
-
} from "./chunk-
|
|
206
|
+
} from "./chunk-LLWX47E4.js";
|
|
207
207
|
import {
|
|
208
208
|
require_byline,
|
|
209
209
|
require_end_of_stream,
|
|
@@ -211,7 +211,7 @@ import {
|
|
|
211
211
|
require_iserror,
|
|
212
212
|
require_pump,
|
|
213
213
|
require_stack_generator
|
|
214
|
-
} from "./chunk-
|
|
214
|
+
} from "./chunk-YP35ARHU.js";
|
|
215
215
|
import {
|
|
216
216
|
require_once
|
|
217
217
|
} from "./chunk-SHWOPMLQ.js";
|
|
@@ -219,7 +219,7 @@ import {
|
|
|
219
219
|
fanoutHooks,
|
|
220
220
|
getListOfTunnelPlugins,
|
|
221
221
|
reportAnalyticsEvent
|
|
222
|
-
} from "./chunk-
|
|
222
|
+
} from "./chunk-R4HZPLY4.js";
|
|
223
223
|
import {
|
|
224
224
|
appManagementFqdn,
|
|
225
225
|
developerDashboardFqdn,
|
|
@@ -237,14 +237,14 @@ import {
|
|
|
237
237
|
restRequestHeaders,
|
|
238
238
|
restRequestUrl,
|
|
239
239
|
setNextDeprecationDate
|
|
240
|
-
} from "./chunk-
|
|
240
|
+
} from "./chunk-KIOWYILS.js";
|
|
241
241
|
import {
|
|
242
242
|
platformAndArch,
|
|
243
243
|
username
|
|
244
|
-
} from "./chunk-
|
|
244
|
+
} from "./chunk-5NHIBL5K.js";
|
|
245
245
|
import {
|
|
246
246
|
showNotificationsIfNeeded
|
|
247
|
-
} from "./chunk-
|
|
247
|
+
} from "./chunk-2GWO5FJL.js";
|
|
248
248
|
import {
|
|
249
249
|
ClientError,
|
|
250
250
|
FetchError,
|
|
@@ -262,11 +262,11 @@ import {
|
|
|
262
262
|
require_lib as require_lib2,
|
|
263
263
|
require_mime_types,
|
|
264
264
|
z
|
|
265
|
-
} from "./chunk-
|
|
265
|
+
} from "./chunk-7VQ2QADA.js";
|
|
266
266
|
import "./chunk-25IMI7TH.js";
|
|
267
267
|
import {
|
|
268
268
|
CLI_KIT_VERSION
|
|
269
|
-
} from "./chunk-
|
|
269
|
+
} from "./chunk-KXGCBBJW.js";
|
|
270
270
|
import {
|
|
271
271
|
LocalStorage,
|
|
272
272
|
UnknownPackageManagerError,
|
|
@@ -289,7 +289,7 @@ import {
|
|
|
289
289
|
usesWorkspaces,
|
|
290
290
|
versionSatisfies,
|
|
291
291
|
writePackageJSON
|
|
292
|
-
} from "./chunk-
|
|
292
|
+
} from "./chunk-WKN62GWH.js";
|
|
293
293
|
import {
|
|
294
294
|
require_semver
|
|
295
295
|
} from "./chunk-KUM3DVPF.js";
|
|
@@ -474,7 +474,7 @@ import {
|
|
|
474
474
|
use_stdin_default,
|
|
475
475
|
writeFile,
|
|
476
476
|
writeFileSync
|
|
477
|
-
} from "./chunk-
|
|
477
|
+
} from "./chunk-IY7TUSI2.js";
|
|
478
478
|
import "./chunk-B5EXYCV3.js";
|
|
479
479
|
import {
|
|
480
480
|
require_graceful_fs
|
|
@@ -149079,20 +149079,19 @@ var Operation;
|
|
|
149079
149079
|
|
|
149080
149080
|
// ../cli-kit/dist/public/node/themes/api.js
|
|
149081
149081
|
async function fetchTheme(id, session) {
|
|
149082
|
+
let gid = composeThemeGid(id);
|
|
149082
149083
|
try {
|
|
149083
|
-
let
|
|
149084
|
+
let { theme } = await adminRequestDoc(GetTheme, session, { id: gid }, void 0, {
|
|
149084
149085
|
handleErrors: !1
|
|
149085
|
-
})
|
|
149086
|
-
|
|
149087
|
-
|
|
149088
|
-
|
|
149089
|
-
|
|
149090
|
-
|
|
149091
|
-
|
|
149092
|
-
|
|
149093
|
-
|
|
149094
|
-
return;
|
|
149095
|
-
throw new AbortError(`Failed to fetch theme: ${id}`);
|
|
149086
|
+
});
|
|
149087
|
+
if (theme)
|
|
149088
|
+
return buildTheme({
|
|
149089
|
+
id: parseGid2(theme.id),
|
|
149090
|
+
processing: theme.processing,
|
|
149091
|
+
role: theme.role.toLowerCase(),
|
|
149092
|
+
name: theme.name
|
|
149093
|
+
});
|
|
149094
|
+
} catch {
|
|
149096
149095
|
}
|
|
149097
149096
|
}
|
|
149098
149097
|
async function fetchThemes(session) {
|
|
@@ -158276,10 +158275,10 @@ async function buildAssetsUrl(port, root) {
|
|
|
158276
158275
|
async function startMiniOxygen(options, useNodeRuntime = !1) {
|
|
158277
158276
|
if (useNodeRuntime) {
|
|
158278
158277
|
process.env.MINIFLARE_SUBREQUEST_LIMIT = 100;
|
|
158279
|
-
let { startNodeServer } = await import("./node-
|
|
158278
|
+
let { startNodeServer } = await import("./node-ENALIQ2H.js");
|
|
158280
158279
|
return startNodeServer(options);
|
|
158281
158280
|
}
|
|
158282
|
-
let { startWorkerdServer } = await import("./workerd-
|
|
158281
|
+
let { startWorkerdServer } = await import("./workerd-F7DWDIYO.js");
|
|
158283
158282
|
return startWorkerdServer(options);
|
|
158284
158283
|
}
|
|
158285
158284
|
|
|
@@ -163779,6 +163778,10 @@ var CREDIT_CARD_TARGET = "payments.credit-card.render", MAX_CHECKOUT_PAYMENT_MET
|
|
|
163779
163778
|
targeting: z.array(z.object({ target: z.literal(CREDIT_CARD_TARGET) })).length(1),
|
|
163780
163779
|
verification_session_url: z.string().url().optional(),
|
|
163781
163780
|
ui_extension_handle: z.string().optional(),
|
|
163781
|
+
supports_moto: z.boolean({
|
|
163782
|
+
required_error: "supports_moto is required",
|
|
163783
|
+
invalid_type_error: "Value must be Boolean"
|
|
163784
|
+
}),
|
|
163782
163785
|
encryption_certificate_fingerprint: z.string().min(1, { message: "Encryption certificate fingerprint can't be blank" }),
|
|
163783
163786
|
checkout_payment_method_fields: z.array(z.object({
|
|
163784
163787
|
type: z.union([z.literal("string"), z.literal("number"), z.literal("boolean")]),
|
|
@@ -163807,6 +163810,7 @@ function creditCardDeployConfigToCLIConfig(config2, allExtensions) {
|
|
|
163807
163810
|
supported_buyer_contexts: config2.supported_buyer_contexts,
|
|
163808
163811
|
test_mode_available: config2.test_mode_available,
|
|
163809
163812
|
supports_3ds: config2.supports_3ds,
|
|
163813
|
+
supports_moto: config2.supports_moto,
|
|
163810
163814
|
supports_deferred_payments: config2.supports_deferred_payments,
|
|
163811
163815
|
supports_installments: config2.supports_installments,
|
|
163812
163816
|
verification_session_url: config2.start_verification_session_url,
|
|
@@ -163830,6 +163834,7 @@ async function creditCardPaymentsAppExtensionDeployConfig(config2) {
|
|
|
163830
163834
|
supported_buyer_contexts: config2.supported_buyer_contexts,
|
|
163831
163835
|
test_mode_available: config2.test_mode_available,
|
|
163832
163836
|
supports_3ds: config2.supports_3ds,
|
|
163837
|
+
supports_moto: config2.supports_moto,
|
|
163833
163838
|
supports_deferred_payments: config2.supports_deferred_payments,
|
|
163834
163839
|
encryption_certificate_fingerprint: config2.encryption_certificate_fingerprint,
|
|
163835
163840
|
supports_installments: config2.supports_installments,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
themeToken,
|
|
23
23
|
useEmbeddedThemeCLI,
|
|
24
24
|
useThemebundling
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-IY7TUSI2.js";
|
|
26
26
|
import "./chunk-B5EXYCV3.js";
|
|
27
27
|
import "./chunk-75LV6AQS.js";
|
|
28
28
|
import "./chunk-K7HGDAI4.js";
|
|
@@ -61,4 +61,4 @@ export {
|
|
|
61
61
|
useEmbeddedThemeCLI,
|
|
62
62
|
useThemebundling
|
|
63
63
|
};
|
|
64
|
-
//# sourceMappingURL=local-
|
|
64
|
+
//# sourceMappingURL=local-PBMBK3CF.js.map
|
|
@@ -12,19 +12,19 @@ import {
|
|
|
12
12
|
importLocal,
|
|
13
13
|
logRequestLine,
|
|
14
14
|
setConstructors
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-Y43XESY2.js";
|
|
16
|
+
import "./chunk-2EKHINO6.js";
|
|
17
|
+
import "./chunk-LLWX47E4.js";
|
|
18
|
+
import "./chunk-YP35ARHU.js";
|
|
19
19
|
import "./chunk-SHWOPMLQ.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-R4HZPLY4.js";
|
|
21
|
+
import "./chunk-KIOWYILS.js";
|
|
22
|
+
import "./chunk-5NHIBL5K.js";
|
|
23
|
+
import "./chunk-2GWO5FJL.js";
|
|
24
|
+
import "./chunk-7VQ2QADA.js";
|
|
25
25
|
import "./chunk-25IMI7TH.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-KXGCBBJW.js";
|
|
27
|
+
import "./chunk-WKN62GWH.js";
|
|
28
28
|
import "./chunk-KUM3DVPF.js";
|
|
29
29
|
import {
|
|
30
30
|
AbortError,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
readFile,
|
|
33
33
|
renderSuccess,
|
|
34
34
|
source_default
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-IY7TUSI2.js";
|
|
36
36
|
import "./chunk-B5EXYCV3.js";
|
|
37
37
|
import "./chunk-75LV6AQS.js";
|
|
38
38
|
import "./chunk-K7HGDAI4.js";
|
|
@@ -162,4 +162,4 @@ async function startNodeServer({
|
|
|
162
162
|
export {
|
|
163
163
|
startNodeServer
|
|
164
164
|
};
|
|
165
|
-
//# sourceMappingURL=node-
|
|
165
|
+
//# sourceMappingURL=node-ENALIQ2H.js.map
|
|
@@ -29,9 +29,9 @@ import {
|
|
|
29
29
|
versionSatisfies,
|
|
30
30
|
writePackageJSON,
|
|
31
31
|
yarnLockfile
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-WKN62GWH.js";
|
|
33
33
|
import "./chunk-KUM3DVPF.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-IY7TUSI2.js";
|
|
35
35
|
import "./chunk-B5EXYCV3.js";
|
|
36
36
|
import "./chunk-75LV6AQS.js";
|
|
37
37
|
import "./chunk-K7HGDAI4.js";
|
|
@@ -77,4 +77,4 @@ export {
|
|
|
77
77
|
writePackageJSON,
|
|
78
78
|
yarnLockfile
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=node-package-manager-
|
|
80
|
+
//# sourceMappingURL=node-package-manager-CVGCLCTC.js.map
|