@shopify/cli 3.75.4 → 3.76.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-IROHTJ5D.js → chunk-3Q5TSFEN.js} +6 -6
- package/dist/{chunk-CBIPUP4Q.js → chunk-3THHNKSL.js} +3 -3
- package/dist/{chunk-Y3V7CDDP.js → chunk-4OD4TP6T.js} +4 -4
- package/dist/{chunk-NNHELYN3.js → chunk-4SFWD6RY.js} +3 -3
- package/dist/{chunk-VIMSAJBK.js → chunk-5TZDSORY.js} +93 -163
- package/dist/{chunk-3FPXLCF5.js → chunk-6KV6OKFB.js} +3 -3
- package/dist/{chunk-2OX7ESM2.js → chunk-6TPMZTXG.js} +6 -6
- package/dist/{chunk-VH3W76GN.js → chunk-742MYXOA.js} +3 -3
- package/dist/{chunk-LWZVD7VH.js → chunk-7UIQNXWE.js} +3 -3
- package/dist/{chunk-7DV7FO6D.js → chunk-A44GEDKW.js} +7 -6
- package/dist/{chunk-KRPDLCMT.js → chunk-ACGZSEHA.js} +11 -11
- package/dist/{chunk-4IY25QPC.js → chunk-BJG7ZRQ2.js} +3 -3
- package/dist/{chunk-EFDLFMUG.js → chunk-DFFXOFLT.js} +2 -2
- package/dist/{chunk-WHYTGJJU.js → chunk-EHL6XSBG.js} +10 -9
- package/dist/{chunk-QGAHQAXG.js → chunk-EJU7LVJW.js} +3 -3
- package/dist/{chunk-TPUB2CUK.js → chunk-FUA76K3T.js} +2 -2
- package/dist/{chunk-OSDKLELI.js → chunk-FZT5AGA5.js} +4 -4
- package/dist/{chunk-R2KFJZQF.js → chunk-IROPFRNN.js} +36 -15
- package/dist/{chunk-EPSGPKFO.js → chunk-JBS4NEJX.js} +5 -5
- package/dist/{chunk-ARR2ZV5X.js → chunk-LTIYNGCV.js} +3 -3
- package/dist/{chunk-IAFN3BTU.js → chunk-LUCMIGZJ.js} +2 -2
- package/dist/{chunk-V4FD5VKG.js → chunk-LXQWZFLX.js} +74 -11
- package/dist/{chunk-LRTITZPZ.js → chunk-MVZ4LGIM.js} +2 -2
- package/dist/{chunk-7DRESMZH.js → chunk-PDQLM7DM.js} +3 -3
- package/dist/{chunk-R6ST4Q4K.js → chunk-RB5K7TGA.js} +2 -2
- package/dist/{chunk-WCTQ65EF.js → chunk-RDHYYXFE.js} +3 -3
- package/dist/{chunk-R27Y5T4H.js → chunk-T2LQCR7X.js} +2 -2
- package/dist/{chunk-HV2KH53A.js → chunk-UAZUB5EV.js} +3 -3
- package/dist/{chunk-3CB5D2ZO.js → chunk-ULBY4CUT.js} +2 -2
- package/dist/{chunk-DFK6H6Q2.js → chunk-VX5SZCUI.js} +59 -19
- package/dist/{chunk-O5UY3K6F.js → chunk-W6WCETMJ.js} +4 -4
- package/dist/{chunk-37RGPUOL.js → chunk-WOG2LQ3X.js} +3 -3
- package/dist/{chunk-LH3QC4DP.js → chunk-WWI2QVFK.js} +4 -3
- package/dist/{chunk-DLW5TTAO.js → chunk-ZQU7DVLN.js} +3 -3
- package/dist/cli/commands/auth/logout.js +11 -12
- package/dist/cli/commands/auth/logout.test.js +12 -13
- package/dist/cli/commands/cache/clear.js +10 -11
- package/dist/cli/commands/debug/command-flags.js +10 -11
- package/dist/cli/commands/docs/generate.js +10 -11
- package/dist/cli/commands/docs/generate.test.js +10 -11
- package/dist/cli/commands/help.js +10 -11
- package/dist/cli/commands/kitchen-sink/async.js +11 -12
- package/dist/cli/commands/kitchen-sink/async.test.js +11 -12
- package/dist/cli/commands/kitchen-sink/index.js +13 -14
- package/dist/cli/commands/kitchen-sink/index.test.js +13 -14
- package/dist/cli/commands/kitchen-sink/prompts.js +11 -12
- package/dist/cli/commands/kitchen-sink/prompts.test.js +11 -12
- package/dist/cli/commands/kitchen-sink/static.js +11 -12
- package/dist/cli/commands/kitchen-sink/static.test.js +11 -12
- package/dist/cli/commands/notifications/generate.js +11 -12
- package/dist/cli/commands/notifications/list.js +11 -12
- package/dist/cli/commands/search.js +11 -12
- package/dist/cli/commands/upgrade.js +11 -12
- package/dist/cli/commands/version.js +11 -12
- package/dist/cli/commands/version.test.js +11 -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 -7
- package/dist/{custom-oclif-loader-24E7DVTH.js → custom-oclif-loader-BXHJERI2.js} +2 -2
- package/dist/{error-handler-7V7HCPFM.js → error-handler-FV3FJ3VW.js} +8 -9
- package/dist/hooks/postrun.js +8 -8
- package/dist/hooks/prerun.js +10 -8
- package/dist/index.js +7214 -6859
- package/dist/{local-WHLQPZNS.js → local-PMOJBQT6.js} +2 -2
- package/dist/{node-AJELTNRR.js → node-5MJ6ATKS.js} +12 -13
- package/dist/{node-package-manager-KULBOPYH.js → node-package-manager-FZRL3EQB.js} +3 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-B4IIF7YO.js → ui-5VMS7DNB.js} +2 -2
- package/dist/{workerd-PWW3BB6B.js → workerd-JHDITYBC.js} +12 -13
- package/oclif.manifest.json +46 -22
- package/package.json +6 -6
- package/dist/chunk-VTTVH23Q.js +0 -63
package/dist/hooks/postrun.js
CHANGED
|
@@ -3,20 +3,19 @@ import {
|
|
|
3
3
|
} from "../chunk-CP3BRHWK.js";
|
|
4
4
|
import {
|
|
5
5
|
reportAnalyticsEvent
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-O5UY3K6F.js";
|
|
6
|
+
} from "../chunk-6TPMZTXG.js";
|
|
7
|
+
import "../chunk-5TZDSORY.js";
|
|
8
|
+
import "../chunk-W6WCETMJ.js";
|
|
10
9
|
import "../chunk-25IMI7TH.js";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-DFFXOFLT.js";
|
|
11
|
+
import "../chunk-WWI2QVFK.js";
|
|
13
12
|
import "../chunk-HMDWNGIV.js";
|
|
14
13
|
import {
|
|
15
14
|
addSensitiveMetadata,
|
|
16
15
|
getAllSensitiveMetadata,
|
|
17
16
|
outputDebug,
|
|
18
17
|
renderWarning
|
|
19
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-LXQWZFLX.js";
|
|
20
19
|
import "../chunk-B5EXYCV3.js";
|
|
21
20
|
import "../chunk-75LV6AQS.js";
|
|
22
21
|
import "../chunk-57Q6OQG4.js";
|
|
@@ -78,9 +77,10 @@ async function detectStopCommand(commandClass) {
|
|
|
78
77
|
let stopCommand = commandClass.analyticsStopCommand();
|
|
79
78
|
if (stopCommand) {
|
|
80
79
|
let { commandStartOptions } = getAllSensitiveMetadata();
|
|
80
|
+
if (!commandStartOptions)
|
|
81
|
+
return;
|
|
81
82
|
await addSensitiveMetadata(() => ({
|
|
82
83
|
commandStartOptions: {
|
|
83
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
84
84
|
...commandStartOptions,
|
|
85
85
|
startTime: currentTime,
|
|
86
86
|
startCommand: stopCommand
|
package/dist/hooks/prerun.js
CHANGED
|
@@ -1,25 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getOutputUpdateCLIReminder
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-LTIYNGCV.js";
|
|
4
4
|
import {
|
|
5
5
|
startAnalytics
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import
|
|
8
|
-
|
|
6
|
+
} from "../chunk-5TZDSORY.js";
|
|
7
|
+
import {
|
|
8
|
+
fetchNotificationsInBackground
|
|
9
|
+
} from "../chunk-IROPFRNN.js";
|
|
10
|
+
import "../chunk-W6WCETMJ.js";
|
|
9
11
|
import "../chunk-25IMI7TH.js";
|
|
10
12
|
import {
|
|
11
13
|
CLI_KIT_VERSION
|
|
12
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-DFFXOFLT.js";
|
|
13
15
|
import {
|
|
14
16
|
checkForCachedNewVersion,
|
|
15
17
|
checkForNewVersion,
|
|
16
18
|
runAtMinimumInterval
|
|
17
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-WWI2QVFK.js";
|
|
18
20
|
import "../chunk-HMDWNGIV.js";
|
|
19
21
|
import {
|
|
20
22
|
outputDebug,
|
|
21
23
|
outputWarn
|
|
22
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-LXQWZFLX.js";
|
|
23
25
|
import "../chunk-B5EXYCV3.js";
|
|
24
26
|
import "../chunk-75LV6AQS.js";
|
|
25
27
|
import "../chunk-57Q6OQG4.js";
|
|
@@ -47,7 +49,7 @@ var hook = async (options) => {
|
|
|
47
49
|
aliases: options.Command.aliases,
|
|
48
50
|
pluginAlias: options.Command.plugin?.alias
|
|
49
51
|
}), args = options.argv;
|
|
50
|
-
await warnOnAvailableUpgrade(), outputDebug(`Running command ${commandContent.command}`), await startAnalytics({ commandContent, args, commandClass: options.Command });
|
|
52
|
+
await warnOnAvailableUpgrade(), outputDebug(`Running command ${commandContent.command}`), await startAnalytics({ commandContent, args, commandClass: options.Command }), options.Command.hidden || fetchNotificationsInBackground(options.Command.id);
|
|
51
53
|
};
|
|
52
54
|
function parseCommandContent(cmdInfo) {
|
|
53
55
|
let commandContent = parseCreateCommand(cmdInfo.pluginAlias);
|