@shopify/cli 3.85.2 → 3.85.3
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-G6VSMPDS.js → chunk-3XWYM7QS.js} +3 -3
- package/dist/{chunk-SJI2AT4E.js → chunk-5RNGA7FX.js} +5 -5
- package/dist/{chunk-PCO7BTB2.js → chunk-6A6GDV25.js} +4 -4
- package/dist/{chunk-63DVTKIC.js → chunk-6RJ7HBOQ.js} +3 -3
- package/dist/{chunk-YCRRJE3E.js → chunk-AMWSD3HH.js} +3 -3
- package/dist/{chunk-BNANL2RF.js → chunk-C45MKMJT.js} +398 -314
- package/dist/{chunk-LYLEKYI6.js → chunk-CAONVM2S.js} +3 -3
- package/dist/{chunk-3HB45LNC.js → chunk-D5DJSKHK.js} +6 -6
- package/dist/{chunk-K4MF722S.js → chunk-EDXQ22O4.js} +6 -6
- package/dist/{chunk-BBD57WPK.js → chunk-EWEA4LRT.js} +2 -2
- package/dist/{chunk-DHC7FUNN.js → chunk-F7TU455C.js} +2 -2
- package/dist/{chunk-NONJKAAK.js → chunk-FGEKMLLA.js} +5 -5
- package/dist/{chunk-HJUBFP6H.js → chunk-GRVHLYQS.js} +3 -3
- package/dist/{chunk-CO5XRUNB.js → chunk-HBANZKAF.js} +3 -3
- package/dist/{chunk-IIFNATCS.js → chunk-HS2O5IHL.js} +2 -2
- package/dist/{chunk-GWSQTZJI.js → chunk-HTTZVPR6.js} +3 -3
- package/dist/{chunk-TPK3IOCE.js → chunk-I4ATBX6D.js} +4 -4
- package/dist/{chunk-JJTURC36.js → chunk-IHXRXBUN.js} +6 -6
- package/dist/{chunk-J3GJSEAX.js → chunk-JAUHWNMJ.js} +5 -5
- package/dist/{chunk-3GLPAOWG.js → chunk-L54PNQGV.js} +2 -2
- package/dist/{chunk-3KWF52OH.js → chunk-LJXXOFEJ.js} +2 -2
- package/dist/{chunk-UWYW5CE4.js → chunk-NLFRHIZY.js} +5 -5
- package/dist/{chunk-FZGEJWCA.js → chunk-OQKAZQIC.js} +5 -5
- package/dist/{chunk-YTNLVKDJ.js → chunk-OURS5IQY.js} +3 -3
- package/dist/{chunk-PK2ZJN2D.js → chunk-QHKSKL4E.js} +3 -3
- package/dist/{chunk-ETGIQIBS.js → chunk-QP2MOS2Y.js} +2 -2
- package/dist/{chunk-B2IMQTAS.js → chunk-RPU6TIF2.js} +7 -7
- package/dist/{chunk-QGFQPDQE.js → chunk-UW4ASA6Y.js} +3 -3
- package/dist/{chunk-5RQSFT35.js → chunk-V5ONTA7N.js} +2 -2
- package/dist/{chunk-EUJBLPMW.js → chunk-VR6Z7LKU.js} +3 -3
- package/dist/{chunk-MI76AMGA.js → chunk-VVUZFYUK.js} +4 -4
- package/dist/{chunk-YTHR7DHB.js → chunk-XJBIASMX.js} +3 -3
- package/dist/{chunk-AQBAXHB6.js → chunk-Y4H4HMEZ.js} +2 -2
- package/dist/{chunk-MU6B24WQ.js → chunk-ZHKIKKU7.js} +3 -3
- package/dist/cli/commands/auth/login.js +10 -10
- package/dist/cli/commands/auth/login.test.js +11 -11
- package/dist/cli/commands/auth/logout.js +10 -10
- package/dist/cli/commands/auth/logout.test.js +11 -11
- package/dist/cli/commands/cache/clear.js +10 -10
- package/dist/cli/commands/debug/command-flags.js +10 -10
- package/dist/cli/commands/docs/generate.js +10 -10
- package/dist/cli/commands/docs/generate.test.js +10 -10
- package/dist/cli/commands/help.js +10 -10
- package/dist/cli/commands/kitchen-sink/async.js +11 -11
- package/dist/cli/commands/kitchen-sink/async.test.js +11 -11
- package/dist/cli/commands/kitchen-sink/index.js +13 -13
- package/dist/cli/commands/kitchen-sink/index.test.js +13 -13
- package/dist/cli/commands/kitchen-sink/prompts.js +11 -11
- package/dist/cli/commands/kitchen-sink/prompts.test.js +11 -11
- package/dist/cli/commands/kitchen-sink/static.js +11 -11
- package/dist/cli/commands/kitchen-sink/static.test.js +11 -11
- package/dist/cli/commands/notifications/generate.js +11 -11
- package/dist/cli/commands/notifications/list.js +11 -11
- package/dist/cli/commands/search.js +11 -11
- package/dist/cli/commands/upgrade.js +11 -11
- package/dist/cli/commands/version.js +11 -11
- package/dist/cli/commands/version.test.js +11 -11
- 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 +4 -4
- package/dist/{custom-oclif-loader-MIHTOE44.js → custom-oclif-loader-YDKLB47A.js} +2 -2
- package/dist/{error-handler-NTBLUSJY.js → error-handler-BYZU2C5C.js} +8 -8
- package/dist/hooks/postrun.js +6 -6
- package/dist/hooks/prerun.js +7 -7
- package/dist/index.js +37 -61
- package/dist/{local-JNP36HLV.js → local-XLJD5WYP.js} +2 -2
- package/dist/{node-package-manager-EHYWEIML.js → node-package-manager-I7AWSWJ4.js} +3 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-XVYQT3H5.js → ui-2AJAFJYY.js} +2 -2
- package/dist/{workerd-X2PCOICQ.js → workerd-4DJKRJUB.js} +11 -11
- package/oclif.manifest.json +1 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -114,7 +114,7 @@ import {
|
|
|
114
114
|
supressNodeExperimentalWarnings,
|
|
115
115
|
unsetStorefront,
|
|
116
116
|
waitForJob
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-D5DJSKHK.js";
|
|
118
118
|
import {
|
|
119
119
|
require_lib as require_lib6,
|
|
120
120
|
require_semver as require_semver2
|
|
@@ -139,66 +139,66 @@ import {
|
|
|
139
139
|
} from "./chunk-3GXB4ZRP.js";
|
|
140
140
|
import {
|
|
141
141
|
Generate
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-HBANZKAF.js";
|
|
143
143
|
import {
|
|
144
144
|
List
|
|
145
|
-
} from "./chunk-
|
|
146
|
-
import "./chunk-
|
|
145
|
+
} from "./chunk-VVUZFYUK.js";
|
|
146
|
+
import "./chunk-OQKAZQIC.js";
|
|
147
147
|
import {
|
|
148
148
|
Search
|
|
149
|
-
} from "./chunk-
|
|
150
|
-
import "./chunk-
|
|
149
|
+
} from "./chunk-OURS5IQY.js";
|
|
150
|
+
import "./chunk-EWEA4LRT.js";
|
|
151
151
|
import {
|
|
152
152
|
Upgrade
|
|
153
|
-
} from "./chunk-
|
|
154
|
-
import "./chunk-
|
|
153
|
+
} from "./chunk-6A6GDV25.js";
|
|
154
|
+
import "./chunk-CAONVM2S.js";
|
|
155
155
|
import {
|
|
156
156
|
Version
|
|
157
|
-
} from "./chunk-
|
|
158
|
-
import "./chunk-
|
|
157
|
+
} from "./chunk-HTTZVPR6.js";
|
|
158
|
+
import "./chunk-AMWSD3HH.js";
|
|
159
159
|
import {
|
|
160
160
|
HelpCommand
|
|
161
|
-
} from "./chunk-
|
|
161
|
+
} from "./chunk-LJXXOFEJ.js";
|
|
162
162
|
import {
|
|
163
163
|
KitchenSinkAsync
|
|
164
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-6RJ7HBOQ.js";
|
|
165
165
|
import {
|
|
166
166
|
KitchenSinkAll
|
|
167
|
-
} from "./chunk-
|
|
168
|
-
import "./chunk-
|
|
167
|
+
} from "./chunk-5RNGA7FX.js";
|
|
168
|
+
import "./chunk-Y4H4HMEZ.js";
|
|
169
169
|
import {
|
|
170
170
|
KitchenSinkPrompts
|
|
171
|
-
} from "./chunk-
|
|
172
|
-
import "./chunk-
|
|
171
|
+
} from "./chunk-XJBIASMX.js";
|
|
172
|
+
import "./chunk-QP2MOS2Y.js";
|
|
173
173
|
import {
|
|
174
174
|
KitchenSinkStatic
|
|
175
|
-
} from "./chunk-
|
|
176
|
-
import "./chunk-
|
|
175
|
+
} from "./chunk-VR6Z7LKU.js";
|
|
176
|
+
import "./chunk-V5ONTA7N.js";
|
|
177
177
|
import {
|
|
178
178
|
Login
|
|
179
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-JAUHWNMJ.js";
|
|
180
180
|
import {
|
|
181
181
|
Logout
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-I4ATBX6D.js";
|
|
183
183
|
import {
|
|
184
184
|
ClearCache,
|
|
185
185
|
globalFlags,
|
|
186
186
|
jsonFlag,
|
|
187
187
|
runCLI
|
|
188
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-RPU6TIF2.js";
|
|
189
189
|
import {
|
|
190
190
|
CommandFlags
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-3XWYM7QS.js";
|
|
192
192
|
import {
|
|
193
193
|
DocsGenerate
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-ZHKIKKU7.js";
|
|
195
195
|
import {
|
|
196
196
|
base_command_default,
|
|
197
197
|
decodeToml,
|
|
198
198
|
encodeToml,
|
|
199
199
|
loadEnvironment,
|
|
200
200
|
noDefaultsOptions
|
|
201
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-NLFRHIZY.js";
|
|
202
202
|
import {
|
|
203
203
|
require_byline,
|
|
204
204
|
require_end_of_stream,
|
|
@@ -206,7 +206,7 @@ import {
|
|
|
206
206
|
require_iserror,
|
|
207
207
|
require_pump,
|
|
208
208
|
require_stack_generator
|
|
209
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-C45MKMJT.js";
|
|
210
210
|
import {
|
|
211
211
|
require_once
|
|
212
212
|
} from "./chunk-SHWOPMLQ.js";
|
|
@@ -218,7 +218,7 @@ import {
|
|
|
218
218
|
recordEvent,
|
|
219
219
|
recordTiming,
|
|
220
220
|
reportAnalyticsEvent
|
|
221
|
-
} from "./chunk-
|
|
221
|
+
} from "./chunk-EDXQ22O4.js";
|
|
222
222
|
import {
|
|
223
223
|
DevServerCore,
|
|
224
224
|
addCursorAndFiltersToAppLogsUrl,
|
|
@@ -264,10 +264,10 @@ import {
|
|
|
264
264
|
serviceEnvironment,
|
|
265
265
|
setNextDeprecationDate,
|
|
266
266
|
setPathValue
|
|
267
|
-
} from "./chunk-
|
|
267
|
+
} from "./chunk-FGEKMLLA.js";
|
|
268
268
|
import {
|
|
269
269
|
showNotificationsIfNeeded
|
|
270
|
-
} from "./chunk-
|
|
270
|
+
} from "./chunk-IHXRXBUN.js";
|
|
271
271
|
import {
|
|
272
272
|
ClientError,
|
|
273
273
|
FetchError,
|
|
@@ -295,7 +295,7 @@ import {
|
|
|
295
295
|
require_type,
|
|
296
296
|
shopifyFetch,
|
|
297
297
|
z
|
|
298
|
-
} from "./chunk-
|
|
298
|
+
} from "./chunk-GRVHLYQS.js";
|
|
299
299
|
import "./chunk-25IMI7TH.js";
|
|
300
300
|
import {
|
|
301
301
|
LocalStorage,
|
|
@@ -320,10 +320,10 @@ import {
|
|
|
320
320
|
usesWorkspaces,
|
|
321
321
|
versionSatisfies,
|
|
322
322
|
writePackageJSON
|
|
323
|
-
} from "./chunk-
|
|
323
|
+
} from "./chunk-UW4ASA6Y.js";
|
|
324
324
|
import {
|
|
325
325
|
CLI_KIT_VERSION
|
|
326
|
-
} from "./chunk-
|
|
326
|
+
} from "./chunk-L54PNQGV.js";
|
|
327
327
|
import {
|
|
328
328
|
AbortController as AbortController2,
|
|
329
329
|
AbortError,
|
|
@@ -509,7 +509,7 @@ import {
|
|
|
509
509
|
username,
|
|
510
510
|
writeFile,
|
|
511
511
|
writeFileSync
|
|
512
|
-
} from "./chunk-
|
|
512
|
+
} from "./chunk-HS2O5IHL.js";
|
|
513
513
|
import {
|
|
514
514
|
require_ansis,
|
|
515
515
|
require_commonjs,
|
|
@@ -208610,7 +208610,7 @@ var import_core29 = __toESM(require_lib5(), 1);
|
|
|
208610
208610
|
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.3_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_c5825d46f8c022877c16d44d9004dd56/node_modules/@shopify/cli-hydrogen/dist/lib/mini-oxygen/index.js
|
|
208611
208611
|
init_cjs_shims();
|
|
208612
208612
|
async function startMiniOxygen(options) {
|
|
208613
|
-
let { startWorkerdServer } = await import("./workerd-
|
|
208613
|
+
let { startWorkerdServer } = await import("./workerd-4DJKRJUB.js");
|
|
208614
208614
|
return startWorkerdServer(options);
|
|
208615
208615
|
}
|
|
208616
208616
|
|
|
@@ -227375,21 +227375,10 @@ init_cjs_shims();
|
|
|
227375
227375
|
|
|
227376
227376
|
// ../app/dist/cli/services/generate/fetch-template-specifications.js
|
|
227377
227377
|
init_cjs_shims();
|
|
227378
|
-
|
|
227379
|
-
// ../cli-kit/dist/public/node/is-polaris-unified-enabled.js
|
|
227380
|
-
init_cjs_shims();
|
|
227381
|
-
function isPolarisUnifiedEnabled() {
|
|
227382
|
-
return isTruthy(process.env.POLARIS_UNIFIED);
|
|
227383
|
-
}
|
|
227384
|
-
|
|
227385
|
-
// ../app/dist/cli/services/generate/fetch-template-specifications.js
|
|
227386
227378
|
async function fetchExtensionTemplates(developerPlatformClient, app, availableSpecifications) {
|
|
227387
|
-
let { templates: remoteTemplates, groupOrder } = await developerPlatformClient.templateSpecifications(app)
|
|
227379
|
+
let { templates: remoteTemplates, groupOrder } = await developerPlatformClient.templateSpecifications(app);
|
|
227388
227380
|
return {
|
|
227389
|
-
templates: remoteTemplates.filter((template) => availableSpecifications.includes(template.identifier) || availableSpecifications.includes(template.type))
|
|
227390
|
-
...template,
|
|
227391
|
-
supportedFlavors: template.supportedFlavors.filter((flavor) => polarisUnifiedEnabled ? flavor.value === "preact" : flavor.value !== "preact")
|
|
227392
|
-
} : template).filter((template) => template.supportedFlavors.length > 0),
|
|
227381
|
+
templates: remoteTemplates.filter((template) => availableSpecifications.includes(template.identifier) || availableSpecifications.includes(template.type)),
|
|
227393
227382
|
groupOrder
|
|
227394
227383
|
};
|
|
227395
227384
|
}
|
|
@@ -227555,7 +227544,7 @@ async function uiExtensionInit({ directory, url, app, name, extensionFlavor, onG
|
|
|
227555
227544
|
flavor: extensionFlavor?.value ?? "",
|
|
227556
227545
|
uid: nonRandomUUID(slugify(name))
|
|
227557
227546
|
});
|
|
227558
|
-
}), templateLanguage === "javascript" &&
|
|
227547
|
+
}), templateLanguage === "javascript" && await changeIndexFileExtension(directory, srcFileExtension);
|
|
227559
227548
|
}
|
|
227560
227549
|
},
|
|
227561
227550
|
{
|
|
@@ -227612,9 +227601,6 @@ async function changeIndexFileExtension(extensionDirectory, fileExtension, renam
|
|
|
227612
227601
|
srcFileExensionsToChange.push(moveFile(srcFilePath, `${srcFilePath}.${fileExtension}`));
|
|
227613
227602
|
await Promise.all(srcFileExensionsToChange);
|
|
227614
227603
|
}
|
|
227615
|
-
async function removeUnwantedTemplateFilesPerFlavor(extensionDirectory, extensionFlavor) {
|
|
227616
|
-
extensionFlavor !== "preact" && extensionFlavor !== "typescript-react" && await removeFile(joinPath(extensionDirectory, "tsconfig.json"));
|
|
227617
|
-
}
|
|
227618
227604
|
async function addResolutionOrOverrideIfNeeded(directory, extensionFlavor) {
|
|
227619
227605
|
extensionFlavor === "typescript-react" && await addResolutionOrOverride(directory, { "@types/react": versions.reactTypes });
|
|
227620
227606
|
}
|
|
@@ -228089,17 +228075,7 @@ var templates = {
|
|
|
228089
228075
|
prompt: "For your Remix template, which language do you want?",
|
|
228090
228076
|
options: {
|
|
228091
228077
|
javascript: { branch: "javascript", label: "JavaScript" },
|
|
228092
|
-
typescript: { branch: "main", label: "TypeScript" }
|
|
228093
|
-
...process.env.POLARIS_UNIFIED && {
|
|
228094
|
-
javascriptPolarisEarlyAccess: {
|
|
228095
|
-
branch: "polaris-docs-2025-js",
|
|
228096
|
-
label: "JavaScript (Polaris Release Candidate)"
|
|
228097
|
-
},
|
|
228098
|
-
typescriptPolarisEarlyAccess: {
|
|
228099
|
-
branch: "polaris-docs-2025",
|
|
228100
|
-
label: "TypeScript (Polaris Release Candidate)"
|
|
228101
|
-
}
|
|
228102
|
-
}
|
|
228078
|
+
typescript: { branch: "main", label: "TypeScript" }
|
|
228103
228079
|
}
|
|
228104
228080
|
}
|
|
228105
228081
|
},
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
macAddress,
|
|
21
21
|
opentelemetryDomain,
|
|
22
22
|
themeToken
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-HS2O5IHL.js";
|
|
24
24
|
import "./chunk-F7F4BQYW.js";
|
|
25
25
|
import "./chunk-UMUTXITN.js";
|
|
26
26
|
import "./chunk-UATXMR5F.js";
|
|
@@ -54,4 +54,4 @@ export {
|
|
|
54
54
|
opentelemetryDomain,
|
|
55
55
|
themeToken
|
|
56
56
|
};
|
|
57
|
-
//# sourceMappingURL=local-
|
|
57
|
+
//# sourceMappingURL=local-XLJD5WYP.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-UW4ASA6Y.js";
|
|
33
|
+
import "./chunk-HS2O5IHL.js";
|
|
34
34
|
import "./chunk-F7F4BQYW.js";
|
|
35
35
|
import "./chunk-UMUTXITN.js";
|
|
36
36
|
import "./chunk-UATXMR5F.js";
|
|
@@ -73,4 +73,4 @@ export {
|
|
|
73
73
|
writePackageJSON,
|
|
74
74
|
yarnLockfile
|
|
75
75
|
};
|
|
76
|
-
//# sourceMappingURL=node-package-manager-
|
|
76
|
+
//# sourceMappingURL=node-package-manager-I7AWSWJ4.js.map
|