@shopify/create-app 4.3.0 → 4.4.0
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/{analytics-3PMXYIP7.js → analytics-QHRELZLM.js} +11 -11
- package/dist/{analytics-UKSMSQBS.js → analytics-ZUNBGXYN.js} +11 -11
- package/dist/{chunk-ZTXAANY4.js → chunk-2QBCAA2H.js} +2 -2
- package/dist/{chunk-GYXZK243.js → chunk-4K6N4HPB.js} +2 -2
- package/dist/{chunk-WJSRZNB2.js → chunk-62QNHSYH.js} +6 -6
- package/dist/{chunk-BLEIVACU.js → chunk-6HSLT7CL.js} +2948 -535
- package/dist/{chunk-5UUZHSUY.js → chunk-BSWIPNAC.js} +3 -3
- package/dist/{chunk-76IXOUER.js → chunk-BURYKXEK.js} +3 -3
- package/dist/{chunk-BL35W5EH.js → chunk-IIKNZMZ3.js} +16 -16
- package/dist/{chunk-3HO4OGB2.js → chunk-J2RZURHV.js} +2 -2
- package/dist/{chunk-HIWQ3G6P.js → chunk-KIFOZKPG.js} +6 -6
- package/dist/{chunk-EBLNNEPP.js → chunk-LXXKYAVF.js} +14 -7
- package/dist/{chunk-OFTMFPMR.js → chunk-OEWJXNZ3.js} +3 -3
- package/dist/{chunk-ZNNK6ZF5.js → chunk-QIPOIRI3.js} +4 -4
- package/dist/{chunk-LQOISCOF.js → chunk-RU7WY226.js} +10 -10
- package/dist/{chunk-HJATSDRW.js → chunk-YPGFYTKI.js} +13 -10
- package/dist/{conf-store-HDH4Y2F3.js → conf-store-UHO3XWAB.js} +5 -5
- package/dist/{deprecations-AREYHAI7.js → deprecations-QW5VFBSX.js} +7 -7
- package/dist/{environments-C3Z4TCZS.js → environments-QH3M37S5.js} +8 -8
- package/dist/{error-handler-C3IHDYS6.js → error-handler-5PE7ZVHN.js} +11 -11
- package/dist/{fs-BANPZ2MD.js → fs-EMRZP532.js} +3 -3
- package/dist/hooks/postrun.js +4 -4
- package/dist/hooks/prerun.js +6 -6
- package/dist/index.js +1598 -1115
- package/dist/{is-global-G56KES2Y.js → is-global-KJG33UDT.js} +3 -3
- package/dist/{local-JBCA7C7D.js → local-ZYOWEOLU.js} +2 -2
- package/dist/{metadata-FSAZEGLO.js → metadata-CJ2MZGDF.js} +3 -3
- package/dist/{node-package-manager-MQEWWORU.js → node-package-manager-UMBL54DA.js} +9 -9
- package/dist/{notifications-system-LRNZSYSG.js → notifications-system-OQOH54WS.js} +12 -12
- package/dist/{output-SAJPYFUY.js → output-E6LGYDU7.js} +3 -3
- package/dist/{system-ERPUEL46.js → system-6NBRPH6N.js} +7 -7
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-SD2MSDNB.js → ui-6HWKB4U5.js} +7 -7
- package/dist/{upgrade-UCWZU5UX.js → upgrade-6SKUAGJM.js} +13 -13
- package/dist/{version-ZWXWXLYG.js → version-QEK7UUGF.js} +8 -8
- package/dist/{version-ODTNTG3P.js → version-ZQZJVZRD.js} +2 -2
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
|
@@ -530,11 +530,11 @@ var environmentVariables = {
|
|
|
530
530
|
var import_macaddress = __toESM(require_macaddress(), 1);
|
|
531
531
|
import { homedir as homedir2 } from "os";
|
|
532
532
|
async function lazyFileExists(path2) {
|
|
533
|
-
let { fileExists } = await import("./fs-
|
|
533
|
+
let { fileExists } = await import("./fs-EMRZP532.js");
|
|
534
534
|
return fileExists(path2);
|
|
535
535
|
}
|
|
536
536
|
async function lazyExec(command, args) {
|
|
537
|
-
let { exec } = await import("./system-
|
|
537
|
+
let { exec } = await import("./system-6NBRPH6N.js");
|
|
538
538
|
await exec(command, args);
|
|
539
539
|
}
|
|
540
540
|
function isTerminalInteractive() {
|
|
@@ -658,4 +658,4 @@ export {
|
|
|
658
658
|
getThemeKitAccessDomain,
|
|
659
659
|
opentelemetryDomain
|
|
660
660
|
};
|
|
661
|
-
//# sourceMappingURL=chunk-
|
|
661
|
+
//# sourceMappingURL=chunk-BSWIPNAC.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isUnitTest
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BSWIPNAC.js";
|
|
4
4
|
import {
|
|
5
5
|
init_cjs_shims
|
|
6
6
|
} from "./chunk-3XNI6LP4.js";
|
|
@@ -32,7 +32,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
|
|
|
32
32
|
try {
|
|
33
33
|
await getAndSet();
|
|
34
34
|
} catch (error) {
|
|
35
|
-
let { sendErrorToBugsnag } = await import("./error-handler-
|
|
35
|
+
let { sendErrorToBugsnag } = await import("./error-handler-5PE7ZVHN.js");
|
|
36
36
|
await sendErrorToBugsnag(error, "unexpected_error");
|
|
37
37
|
}
|
|
38
38
|
}, durationStack = [];
|
|
@@ -75,4 +75,4 @@ export {
|
|
|
75
75
|
addSensitiveMetadata,
|
|
76
76
|
runWithTimer
|
|
77
77
|
};
|
|
78
|
-
//# sourceMappingURL=chunk-
|
|
78
|
+
//# sourceMappingURL=chunk-BURYKXEK.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
treeKill
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4K6N4HPB.js";
|
|
4
4
|
import {
|
|
5
5
|
init_cjs_shims
|
|
6
6
|
} from "./chunk-3XNI6LP4.js";
|
|
@@ -26,22 +26,22 @@ function waitForPostRunHookAndExit() {
|
|
|
26
26
|
}
|
|
27
27
|
var hook = async ({ config, Command }) => {
|
|
28
28
|
await detectStopCommand(Command);
|
|
29
|
-
let metadata = await import("./metadata-
|
|
29
|
+
let metadata = await import("./metadata-CJ2MZGDF.js"), { commandStartOptions } = metadata.getAllSensitiveMetadata();
|
|
30
30
|
commandStartOptions && await metadata.addSensitiveMetadata(() => ({
|
|
31
31
|
commandStartOptions: {
|
|
32
32
|
...commandStartOptions,
|
|
33
33
|
endTime: (/* @__PURE__ */ new Date()).getTime()
|
|
34
34
|
}
|
|
35
35
|
}));
|
|
36
|
-
let { postrun: deprecationsHook } = await import("./deprecations-
|
|
36
|
+
let { postrun: deprecationsHook } = await import("./deprecations-QW5VFBSX.js");
|
|
37
37
|
deprecationsHook(Command);
|
|
38
|
-
let { outputDebug } = await import("./output-
|
|
38
|
+
let { outputDebug } = await import("./output-E6LGYDU7.js"), command = Command.id.replace(/:/g, " ");
|
|
39
39
|
outputDebug(`Completed command ${command}`), !command.includes("notifications") && !command.includes("upgrade") && await autoUpgradeIfNeeded();
|
|
40
|
-
let { reportAnalyticsEvent } = await import("./analytics-
|
|
40
|
+
let { reportAnalyticsEvent } = await import("./analytics-QHRELZLM.js");
|
|
41
41
|
await reportAnalyticsEvent({ config, exitMode: "ok" }), postRunHookCompleted = !0;
|
|
42
42
|
};
|
|
43
43
|
async function autoUpgradeIfNeeded() {
|
|
44
|
-
let { versionToAutoUpgrade, warnIfUpgradeAvailable } = await import("./upgrade-
|
|
44
|
+
let { versionToAutoUpgrade, warnIfUpgradeAvailable } = await import("./upgrade-6SKUAGJM.js"), newerVersion = versionToAutoUpgrade();
|
|
45
45
|
if (!newerVersion) {
|
|
46
46
|
await warnIfUpgradeAvailable();
|
|
47
47
|
return;
|
|
@@ -49,7 +49,7 @@ async function autoUpgradeIfNeeded() {
|
|
|
49
49
|
if (process.env.SHOPIFY_CLI_FORCE_AUTO_UPGRADE === "1")
|
|
50
50
|
await performAutoUpgrade(newerVersion);
|
|
51
51
|
else {
|
|
52
|
-
let { runAtMinimumInterval } = await import("./conf-store-
|
|
52
|
+
let { runAtMinimumInterval } = await import("./conf-store-UHO3XWAB.js");
|
|
53
53
|
await runAtMinimumInterval("auto-upgrade", { days: 1 }, async () => {
|
|
54
54
|
await performAutoUpgrade(newerVersion);
|
|
55
55
|
});
|
|
@@ -57,11 +57,11 @@ async function autoUpgradeIfNeeded() {
|
|
|
57
57
|
}
|
|
58
58
|
async function performAutoUpgrade(newerVersion) {
|
|
59
59
|
let [{ CLI_KIT_VERSION }, { isMajorVersionChange }, { outputWarn, outputDebug }, { getOutputUpdateCLIReminder, runCLIUpgrade, hasBlockingAutoUpgradeNotification }, metadata] = await Promise.all([
|
|
60
|
-
import("./version-
|
|
61
|
-
import("./version-
|
|
62
|
-
import("./output-
|
|
63
|
-
import("./upgrade-
|
|
64
|
-
import("./metadata-
|
|
60
|
+
import("./version-ZQZJVZRD.js"),
|
|
61
|
+
import("./version-QEK7UUGF.js"),
|
|
62
|
+
import("./output-E6LGYDU7.js"),
|
|
63
|
+
import("./upgrade-6SKUAGJM.js"),
|
|
64
|
+
import("./metadata-CJ2MZGDF.js")
|
|
65
65
|
]);
|
|
66
66
|
if (isMajorVersionChange(CLI_KIT_VERSION, newerVersion)) {
|
|
67
67
|
outputWarn(getOutputUpdateCLIReminder(newerVersion, !0)), await metadata.addPublicMetadata(() => ({
|
|
@@ -81,8 +81,8 @@ async function performAutoUpgrade(newerVersion) {
|
|
|
81
81
|
let errorMessage = `Auto-upgrade failed: ${error}`;
|
|
82
82
|
outputDebug(errorMessage), outputWarn(getOutputUpdateCLIReminder(newerVersion)), await metadata.addPublicMetadata(() => ({ env_auto_upgrade_success: !1 }));
|
|
83
83
|
let [{ sendErrorToBugsnag }, { inferPackageManagerForGlobalCLI }] = await Promise.all([
|
|
84
|
-
import("./error-handler-
|
|
85
|
-
import("./is-global-
|
|
84
|
+
import("./error-handler-5PE7ZVHN.js"),
|
|
85
|
+
import("./is-global-KJG33UDT.js")
|
|
86
86
|
]), enrichedError = Object.assign(new Error(errorMessage), {
|
|
87
87
|
packageManager: inferPackageManagerForGlobalCLI(),
|
|
88
88
|
platform: process.platform,
|
|
@@ -96,7 +96,7 @@ async function detectStopCommand(commandClass) {
|
|
|
96
96
|
if (commandClass && "analyticsStopCommand" in commandClass && typeof commandClass.analyticsStopCommand == "function") {
|
|
97
97
|
let stopCommand = commandClass.analyticsStopCommand();
|
|
98
98
|
if (stopCommand) {
|
|
99
|
-
let metadata = await import("./metadata-
|
|
99
|
+
let metadata = await import("./metadata-CJ2MZGDF.js"), { commandStartOptions } = metadata.getAllSensitiveMetadata();
|
|
100
100
|
if (!commandStartOptions)
|
|
101
101
|
return;
|
|
102
102
|
await metadata.addSensitiveMetadata(() => ({
|
|
@@ -114,4 +114,4 @@ export {
|
|
|
114
114
|
waitForPostRunHookAndExit,
|
|
115
115
|
hook
|
|
116
116
|
};
|
|
117
|
-
//# sourceMappingURL=chunk-
|
|
117
|
+
//# sourceMappingURL=chunk-IIKNZMZ3.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
captureOutput,
|
|
3
3
|
require_lib
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-LXXKYAVF.js";
|
|
5
5
|
import {
|
|
6
6
|
require_semver
|
|
7
7
|
} from "./chunk-OQ3KXXGH.js";
|
|
@@ -52,4 +52,4 @@ export {
|
|
|
52
52
|
isPreReleaseVersion,
|
|
53
53
|
isMajorVersionChange
|
|
54
54
|
};
|
|
55
|
-
//# sourceMappingURL=chunk-
|
|
55
|
+
//# sourceMappingURL=chunk-J2RZURHV.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderWarning
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LXXKYAVF.js";
|
|
4
4
|
import {
|
|
5
5
|
addSensitiveMetadata
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BURYKXEK.js";
|
|
7
7
|
import {
|
|
8
8
|
AbortError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OEWJXNZ3.js";
|
|
10
10
|
import {
|
|
11
11
|
fileExists,
|
|
12
12
|
findPathUp,
|
|
13
13
|
readFile,
|
|
14
14
|
writeFile
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YPGFYTKI.js";
|
|
16
16
|
import {
|
|
17
17
|
cwd
|
|
18
18
|
} from "./chunk-C3J4HVUN.js";
|
|
@@ -1623,7 +1623,7 @@ function encodeToml(content) {
|
|
|
1623
1623
|
}
|
|
1624
1624
|
|
|
1625
1625
|
// ../cli-kit/dist/public/node/toml/toml-file.js
|
|
1626
|
-
var import_toml_patch = __toESM(require_toml_patch()
|
|
1626
|
+
var import_toml_patch = __toESM(require_toml_patch()), TomlFileError = class extends AbortError {
|
|
1627
1627
|
constructor(path, message) {
|
|
1628
1628
|
super(message), this.name = "TomlFileError", this.path = path;
|
|
1629
1629
|
}
|
|
@@ -1771,4 +1771,4 @@ export {
|
|
|
1771
1771
|
loadEnvironment,
|
|
1772
1772
|
environmentFilePath
|
|
1773
1773
|
};
|
|
1774
|
-
//# sourceMappingURL=chunk-
|
|
1774
|
+
//# sourceMappingURL=chunk-KIFOZKPG.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runWithTimer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BURYKXEK.js";
|
|
4
4
|
import {
|
|
5
5
|
AbortError,
|
|
6
6
|
AbortSilentError,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
ExternalError,
|
|
9
9
|
cleanSingleStackTracePath,
|
|
10
10
|
mimicFunction
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-OEWJXNZ3.js";
|
|
12
12
|
import {
|
|
13
13
|
require_ansi_styles
|
|
14
14
|
} from "./chunk-KWG6VAVE.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./chunk-JGGOQOPO.js";
|
|
21
21
|
import {
|
|
22
22
|
treeKill
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-4K6N4HPB.js";
|
|
24
24
|
import {
|
|
25
25
|
Box_default,
|
|
26
26
|
Command,
|
|
@@ -67,12 +67,12 @@ import {
|
|
|
67
67
|
use_input_default,
|
|
68
68
|
use_stdin_default,
|
|
69
69
|
use_stdout_default
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-YPGFYTKI.js";
|
|
71
71
|
import {
|
|
72
72
|
isCloudEnvironment,
|
|
73
73
|
isTruthy,
|
|
74
74
|
isUnitTest
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-BSWIPNAC.js";
|
|
76
76
|
import {
|
|
77
77
|
cwd,
|
|
78
78
|
delimiter,
|
|
@@ -4331,7 +4331,14 @@ var Footnotes = () => {
|
|
|
4331
4331
|
if (linksContext === null || linksContext.links.current === null)
|
|
4332
4332
|
return null;
|
|
4333
4333
|
let links = linksContext.links.current, linkIds = Object.keys(links);
|
|
4334
|
-
return linkIds.length > 0 ? import_react4.default.createElement(Box_default, { marginBottom: 1, marginTop: -1, flexDirection: "column" }, linkIds.map((id) =>
|
|
4334
|
+
return linkIds.length > 0 ? import_react4.default.createElement(Box_default, { marginBottom: 1, marginTop: -1, flexDirection: "column" }, linkIds.map((id) => {
|
|
4335
|
+
let line = `[${id}] ${links[id]?.url}`;
|
|
4336
|
+
return import_react4.default.createElement(
|
|
4337
|
+
Box_default,
|
|
4338
|
+
{ key: id, width: line.length },
|
|
4339
|
+
import_react4.default.createElement(Text, null, line)
|
|
4340
|
+
);
|
|
4341
|
+
})) : null;
|
|
4335
4342
|
}, BoxWithBorder = ({ type, children }) => {
|
|
4336
4343
|
let { twoThirds } = useLayout(), links = (0, import_react4.useRef)({});
|
|
4337
4344
|
return import_react4.default.createElement(
|
|
@@ -5623,4 +5630,4 @@ export {
|
|
|
5623
5630
|
isStdinPiped,
|
|
5624
5631
|
readStdinString
|
|
5625
5632
|
};
|
|
5626
|
-
//# sourceMappingURL=chunk-
|
|
5633
|
+
//# sourceMappingURL=chunk-LXXKYAVF.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
TokenizedString,
|
|
6
6
|
stringifyMessage,
|
|
7
7
|
tokenItemToString
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-YPGFYTKI.js";
|
|
9
9
|
import {
|
|
10
10
|
normalizePath
|
|
11
11
|
} from "./chunk-C3J4HVUN.js";
|
|
@@ -174,7 +174,7 @@ async function handler(error) {
|
|
|
174
174
|
let maybeError = error;
|
|
175
175
|
fatal = new BugError(maybeError?.message ?? "Unknown error"), maybeError?.stack && (fatal.stack = maybeError?.stack);
|
|
176
176
|
}
|
|
177
|
-
let { renderFatalError } = await import("./ui-
|
|
177
|
+
let { renderFatalError } = await import("./ui-6HWKB4U5.js");
|
|
178
178
|
return renderFatalError(fatal), Promise.resolve(error);
|
|
179
179
|
}
|
|
180
180
|
function errorMapper(error) {
|
|
@@ -261,4 +261,4 @@ export {
|
|
|
261
261
|
cleanSingleStackTracePath,
|
|
262
262
|
import_ts_error
|
|
263
263
|
};
|
|
264
|
-
//# sourceMappingURL=chunk-
|
|
264
|
+
//# sourceMappingURL=chunk-OEWJXNZ3.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
AbortError,
|
|
3
3
|
BugError,
|
|
4
4
|
mimicFunction
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OEWJXNZ3.js";
|
|
6
6
|
import {
|
|
7
7
|
require_semver
|
|
8
8
|
} from "./chunk-OQ3KXXGH.js";
|
|
@@ -11,12 +11,12 @@ import {
|
|
|
11
11
|
outputContent,
|
|
12
12
|
outputDebug,
|
|
13
13
|
unixFileIsOwnedByCurrentUser
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YPGFYTKI.js";
|
|
15
15
|
import {
|
|
16
16
|
envPaths,
|
|
17
17
|
environmentVariables,
|
|
18
18
|
isUnitTest
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-BSWIPNAC.js";
|
|
20
20
|
import {
|
|
21
21
|
dirname
|
|
22
22
|
} from "./chunk-C3J4HVUN.js";
|
|
@@ -6103,4 +6103,4 @@ export {
|
|
|
6103
6103
|
getCachedPartnerAccountStatus,
|
|
6104
6104
|
setCachedPartnerAccountStatus
|
|
6105
6105
|
};
|
|
6106
|
-
//# sourceMappingURL=chunk-
|
|
6106
|
+
//# sourceMappingURL=chunk-QIPOIRI3.js.map
|
|
@@ -2,32 +2,32 @@ import {
|
|
|
2
2
|
external_exports,
|
|
3
3
|
fetch,
|
|
4
4
|
jsonOutputEnabled
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-6HSLT7CL.js";
|
|
6
6
|
import {
|
|
7
7
|
versionSatisfies
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-62QNHSYH.js";
|
|
9
9
|
import {
|
|
10
10
|
CLI_KIT_VERSION
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2QBCAA2H.js";
|
|
12
12
|
import {
|
|
13
13
|
cacheRetrieve,
|
|
14
14
|
cacheStore
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QIPOIRI3.js";
|
|
16
16
|
import {
|
|
17
17
|
exec,
|
|
18
18
|
renderError,
|
|
19
19
|
renderInfo,
|
|
20
20
|
renderWarning
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-LXXKYAVF.js";
|
|
22
22
|
import {
|
|
23
23
|
AbortSilentError
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-OEWJXNZ3.js";
|
|
25
25
|
import {
|
|
26
26
|
outputDebug
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-YPGFYTKI.js";
|
|
28
28
|
import {
|
|
29
29
|
isTruthy
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-BSWIPNAC.js";
|
|
31
31
|
import {
|
|
32
32
|
init_cjs_shims
|
|
33
33
|
} from "./chunk-3XNI6LP4.js";
|
|
@@ -95,7 +95,7 @@ async function showNotificationsIfNeeded(currentSurfaces, environment = process.
|
|
|
95
95
|
throw new AbortSilentError();
|
|
96
96
|
let errorMessage = `Error showing notifications: ${error.message}`;
|
|
97
97
|
outputDebug(errorMessage);
|
|
98
|
-
let { sendErrorToBugsnag } = await import("./error-handler-
|
|
98
|
+
let { sendErrorToBugsnag } = await import("./error-handler-5PE7ZVHN.js");
|
|
99
99
|
await sendErrorToBugsnag(errorMessage, "unexpected_error");
|
|
100
100
|
}
|
|
101
101
|
}
|
|
@@ -210,4 +210,4 @@ export {
|
|
|
210
210
|
filterNotifications,
|
|
211
211
|
stringifyFilters
|
|
212
212
|
};
|
|
213
|
-
//# sourceMappingURL=chunk-
|
|
213
|
+
//# sourceMappingURL=chunk-RU7WY226.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
isTruthy,
|
|
3
3
|
isUnitTest,
|
|
4
4
|
isVerbose
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BSWIPNAC.js";
|
|
6
6
|
import {
|
|
7
7
|
require_has_flag
|
|
8
8
|
} from "./chunk-7OHJH7BF.js";
|
|
@@ -92,9 +92,9 @@ var require_supports_color = __commonJS({
|
|
|
92
92
|
}
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
-
// ../../node_modules/.pnpm/supports-hyperlinks@3.
|
|
95
|
+
// ../../node_modules/.pnpm/supports-hyperlinks@3.2.0/node_modules/supports-hyperlinks/index.js
|
|
96
96
|
var require_supports_hyperlinks = __commonJS({
|
|
97
|
-
"../../node_modules/.pnpm/supports-hyperlinks@3.
|
|
97
|
+
"../../node_modules/.pnpm/supports-hyperlinks@3.2.0/node_modules/supports-hyperlinks/index.js"(exports, module) {
|
|
98
98
|
"use strict";
|
|
99
99
|
init_cjs_shims();
|
|
100
100
|
var supportsColor3 = require_supports_color(), hasFlag2 = require_has_flag();
|
|
@@ -122,7 +122,8 @@ var require_supports_hyperlinks = __commonJS({
|
|
|
122
122
|
TEAMCITY_VERSION,
|
|
123
123
|
TERM_PROGRAM,
|
|
124
124
|
TERM_PROGRAM_VERSION,
|
|
125
|
-
VTE_VERSION
|
|
125
|
+
VTE_VERSION,
|
|
126
|
+
TERM
|
|
126
127
|
} = process.env;
|
|
127
128
|
if (FORCE_HYPERLINK)
|
|
128
129
|
return !(FORCE_HYPERLINK.length > 0 && parseInt(FORCE_HYPERLINK, 10) === 0);
|
|
@@ -145,6 +146,8 @@ var require_supports_hyperlinks = __commonJS({
|
|
|
145
146
|
return version.major >= 20200620;
|
|
146
147
|
case "vscode":
|
|
147
148
|
return version.major > 1 || version.major === 1 && version.minor >= 72;
|
|
149
|
+
case "ghostty":
|
|
150
|
+
return !0;
|
|
148
151
|
}
|
|
149
152
|
}
|
|
150
153
|
if (VTE_VERSION) {
|
|
@@ -153,7 +156,7 @@ var require_supports_hyperlinks = __commonJS({
|
|
|
153
156
|
let version = parseVersion(VTE_VERSION);
|
|
154
157
|
return version.major > 0 || version.minor >= 50;
|
|
155
158
|
}
|
|
156
|
-
return
|
|
159
|
+
return TERM === "alacritty";
|
|
157
160
|
}
|
|
158
161
|
module.exports = {
|
|
159
162
|
supportsHyperlink,
|
|
@@ -25224,17 +25227,17 @@ function currentProcessIsGlobal(argv = process.argv) {
|
|
|
25224
25227
|
}
|
|
25225
25228
|
}
|
|
25226
25229
|
async function installGlobalShopifyCLI(packageManager) {
|
|
25227
|
-
let { outputInfo: outputInfo2 } = await import("./output-
|
|
25230
|
+
let { outputInfo: outputInfo2 } = await import("./output-E6LGYDU7.js"), { exec: exec3 } = await import("./system-6NBRPH6N.js"), args = packageManager === "yarn" ? ["global", "add", "@shopify/cli@latest"] : ["install", "-g", "@shopify/cli@latest"];
|
|
25228
25231
|
outputInfo2(`Running ${packageManager} ${args.join(" ")}...`), await exec3(packageManager, args, { stdio: "inherit" });
|
|
25229
25232
|
}
|
|
25230
25233
|
async function installGlobalCLIPrompt() {
|
|
25231
|
-
let { terminalSupportsPrompting } = await import("./system-
|
|
25234
|
+
let { terminalSupportsPrompting } = await import("./system-6NBRPH6N.js");
|
|
25232
25235
|
if (!terminalSupportsPrompting())
|
|
25233
25236
|
return { install: !1, alreadyInstalled: !1 };
|
|
25234
|
-
let { globalCLIVersion } = await import("./version-
|
|
25237
|
+
let { globalCLIVersion } = await import("./version-QEK7UUGF.js");
|
|
25235
25238
|
if (await globalCLIVersion())
|
|
25236
25239
|
return { install: !1, alreadyInstalled: !0 };
|
|
25237
|
-
let { renderSelectPrompt } = await import("./ui-
|
|
25240
|
+
let { renderSelectPrompt } = await import("./ui-6HWKB4U5.js");
|
|
25238
25241
|
return { install: await renderSelectPrompt({
|
|
25239
25242
|
message: "We recommend installing Shopify CLI globally in your system. Would you like to install it now?",
|
|
25240
25243
|
choices: [
|
|
@@ -33428,4 +33431,4 @@ react-reconciler/cjs/react-reconciler.development.js:
|
|
|
33428
33431
|
* LICENSE file in the root directory of this source tree.
|
|
33429
33432
|
*)
|
|
33430
33433
|
*/
|
|
33431
|
-
//# sourceMappingURL=chunk-
|
|
33434
|
+
//# sourceMappingURL=chunk-YPGFYTKI.js.map
|
|
@@ -17,15 +17,15 @@ import {
|
|
|
17
17
|
setCurrentSessionId,
|
|
18
18
|
setSessions,
|
|
19
19
|
timeIntervalToMilliseconds
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-QIPOIRI3.js";
|
|
21
|
+
import "./chunk-OEWJXNZ3.js";
|
|
22
22
|
import "./chunk-KWG6VAVE.js";
|
|
23
23
|
import "./chunk-ODCXYGJ2.js";
|
|
24
24
|
import "./chunk-LBXDGVFS.js";
|
|
25
25
|
import "./chunk-D6NYWNY2.js";
|
|
26
26
|
import "./chunk-OQ3KXXGH.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-YPGFYTKI.js";
|
|
28
|
+
import "./chunk-BSWIPNAC.js";
|
|
29
29
|
import "./chunk-7OHJH7BF.js";
|
|
30
30
|
import "./chunk-C3J4HVUN.js";
|
|
31
31
|
import "./chunk-OE3FSIHW.js";
|
|
@@ -51,4 +51,4 @@ export {
|
|
|
51
51
|
setSessions,
|
|
52
52
|
timeIntervalToMilliseconds
|
|
53
53
|
};
|
|
54
|
-
//# sourceMappingURL=conf-store-
|
|
54
|
+
//# sourceMappingURL=conf-store-UHO3XWAB.js.map
|
|
@@ -3,18 +3,18 @@ import {
|
|
|
3
3
|
} from "./chunk-MSED5ZFM.js";
|
|
4
4
|
import {
|
|
5
5
|
renderWarning
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-LXXKYAVF.js";
|
|
7
|
+
import "./chunk-BURYKXEK.js";
|
|
8
|
+
import "./chunk-OEWJXNZ3.js";
|
|
9
9
|
import "./chunk-KWG6VAVE.js";
|
|
10
10
|
import "./chunk-ODCXYGJ2.js";
|
|
11
11
|
import "./chunk-LBXDGVFS.js";
|
|
12
12
|
import "./chunk-D6NYWNY2.js";
|
|
13
13
|
import "./chunk-JGGOQOPO.js";
|
|
14
14
|
import "./chunk-OQ3KXXGH.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-4K6N4HPB.js";
|
|
16
|
+
import "./chunk-YPGFYTKI.js";
|
|
17
|
+
import "./chunk-BSWIPNAC.js";
|
|
18
18
|
import "./chunk-7OHJH7BF.js";
|
|
19
19
|
import "./chunk-C3J4HVUN.js";
|
|
20
20
|
import "./chunk-OE3FSIHW.js";
|
|
@@ -52,4 +52,4 @@ function renderUpgradeWarning(upgradeByDate, forThemes) {
|
|
|
52
52
|
export {
|
|
53
53
|
postrun
|
|
54
54
|
};
|
|
55
|
-
//# sourceMappingURL=deprecations-
|
|
55
|
+
//# sourceMappingURL=deprecations-QW5VFBSX.js.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
environmentFilePath,
|
|
3
3
|
loadEnvironment
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-KIFOZKPG.js";
|
|
5
|
+
import "./chunk-LXXKYAVF.js";
|
|
6
|
+
import "./chunk-BURYKXEK.js";
|
|
7
|
+
import "./chunk-OEWJXNZ3.js";
|
|
8
8
|
import "./chunk-KWG6VAVE.js";
|
|
9
9
|
import "./chunk-ODCXYGJ2.js";
|
|
10
10
|
import "./chunk-LBXDGVFS.js";
|
|
11
11
|
import "./chunk-D6NYWNY2.js";
|
|
12
12
|
import "./chunk-JGGOQOPO.js";
|
|
13
13
|
import "./chunk-OQ3KXXGH.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-4K6N4HPB.js";
|
|
15
|
+
import "./chunk-YPGFYTKI.js";
|
|
16
|
+
import "./chunk-BSWIPNAC.js";
|
|
17
17
|
import "./chunk-7OHJH7BF.js";
|
|
18
18
|
import "./chunk-C3J4HVUN.js";
|
|
19
19
|
import "./chunk-OE3FSIHW.js";
|
|
@@ -23,4 +23,4 @@ export {
|
|
|
23
23
|
environmentFilePath,
|
|
24
24
|
loadEnvironment
|
|
25
25
|
};
|
|
26
|
-
//# sourceMappingURL=environments-
|
|
26
|
+
//# sourceMappingURL=environments-QH3M37S5.js.map
|
|
@@ -4,24 +4,24 @@ import {
|
|
|
4
4
|
errorHandler,
|
|
5
5
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
6
6
|
sendErrorToBugsnag
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6HSLT7CL.js";
|
|
8
8
|
import "./chunk-MSED5ZFM.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-62QNHSYH.js";
|
|
10
|
+
import "./chunk-2QBCAA2H.js";
|
|
11
11
|
import "./chunk-G53O4PDO.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-QIPOIRI3.js";
|
|
13
|
+
import "./chunk-LXXKYAVF.js";
|
|
14
|
+
import "./chunk-BURYKXEK.js";
|
|
15
|
+
import "./chunk-OEWJXNZ3.js";
|
|
16
16
|
import "./chunk-KWG6VAVE.js";
|
|
17
17
|
import "./chunk-ODCXYGJ2.js";
|
|
18
18
|
import "./chunk-LBXDGVFS.js";
|
|
19
19
|
import "./chunk-D6NYWNY2.js";
|
|
20
20
|
import "./chunk-JGGOQOPO.js";
|
|
21
21
|
import "./chunk-OQ3KXXGH.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-4K6N4HPB.js";
|
|
23
|
+
import "./chunk-YPGFYTKI.js";
|
|
24
|
+
import "./chunk-BSWIPNAC.js";
|
|
25
25
|
import "./chunk-7OHJH7BF.js";
|
|
26
26
|
import "./chunk-C3J4HVUN.js";
|
|
27
27
|
import "./chunk-OE3FSIHW.js";
|
|
@@ -34,4 +34,4 @@ export {
|
|
|
34
34
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
35
35
|
sendErrorToBugsnag
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=error-handler-
|
|
37
|
+
//# sourceMappingURL=error-handler-5PE7ZVHN.js.map
|
|
@@ -48,8 +48,8 @@ import {
|
|
|
48
48
|
unlinkFileSync,
|
|
49
49
|
writeFile,
|
|
50
50
|
writeFileSync
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import "./chunk-
|
|
51
|
+
} from "./chunk-YPGFYTKI.js";
|
|
52
|
+
import "./chunk-BSWIPNAC.js";
|
|
53
53
|
import "./chunk-7OHJH7BF.js";
|
|
54
54
|
import "./chunk-C3J4HVUN.js";
|
|
55
55
|
import "./chunk-OE3FSIHW.js";
|
|
@@ -106,4 +106,4 @@ export {
|
|
|
106
106
|
writeFile,
|
|
107
107
|
writeFileSync
|
|
108
108
|
};
|
|
109
|
-
//# sourceMappingURL=fs-
|
|
109
|
+
//# sourceMappingURL=fs-EMRZP532.js.map
|
package/dist/hooks/postrun.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
hook
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-IIKNZMZ3.js";
|
|
4
|
+
import "../chunk-4K6N4HPB.js";
|
|
5
|
+
import "../chunk-YPGFYTKI.js";
|
|
6
|
+
import "../chunk-BSWIPNAC.js";
|
|
7
7
|
import "../chunk-7OHJH7BF.js";
|
|
8
8
|
import "../chunk-C3J4HVUN.js";
|
|
9
9
|
import "../chunk-OE3FSIHW.js";
|
package/dist/hooks/prerun.js
CHANGED
|
@@ -13,9 +13,9 @@ var hook = async (options) => {
|
|
|
13
13
|
aliases: options.Command.aliases,
|
|
14
14
|
pluginAlias: options.Command.plugin?.alias
|
|
15
15
|
}), args = options.argv, [{ outputDebug }, analyticsMod, notificationsMod] = await Promise.all([
|
|
16
|
-
import("../output-
|
|
17
|
-
import("../analytics-
|
|
18
|
-
import("../notifications-system-
|
|
16
|
+
import("../output-E6LGYDU7.js"),
|
|
17
|
+
import("../analytics-ZUNBGXYN.js"),
|
|
18
|
+
import("../notifications-system-OQOH54WS.js")
|
|
19
19
|
]);
|
|
20
20
|
checkForNewVersionInBackground(), outputDebug(`Running command ${commandContent.command}`), await analyticsMod.startAnalytics({ commandContent, args, commandClass: options.Command }), notificationsMod.fetchNotificationsInBackground(options.Command.id);
|
|
21
21
|
};
|
|
@@ -45,9 +45,9 @@ function findAlias(aliases) {
|
|
|
45
45
|
}
|
|
46
46
|
async function checkForNewVersionInBackground() {
|
|
47
47
|
let [{ CLI_KIT_VERSION }, { isPreReleaseVersion }, { checkForNewVersion }] = await Promise.all([
|
|
48
|
-
import("../version-
|
|
49
|
-
import("../version-
|
|
50
|
-
import("../node-package-manager-
|
|
48
|
+
import("../version-ZQZJVZRD.js"),
|
|
49
|
+
import("../version-QEK7UUGF.js"),
|
|
50
|
+
import("../node-package-manager-UMBL54DA.js")
|
|
51
51
|
]), currentVersion = CLI_KIT_VERSION;
|
|
52
52
|
isPreReleaseVersion(currentVersion) || checkForNewVersion("@shopify/cli", currentVersion, { cacheExpiryInHours: 24 });
|
|
53
53
|
}
|