@shopify/create-app 4.7.0 → 4.7.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/{analytics-A7XUM3DE.js → analytics-3C6IM5OH.js} +12 -12
- package/dist/{analytics-CVOS4X5D.js → analytics-TKGJW4CI.js} +12 -12
- package/dist/{chunk-AOCVCJS6.js → chunk-3CEBU7F7.js} +6 -6
- package/dist/{chunk-ZPNNBR5Z.js → chunk-3WA6JLES.js} +6 -6
- package/dist/{chunk-A67PO4UO.js → chunk-7YZDH26Z.js} +16 -16
- package/dist/{chunk-LEQAULOW.js → chunk-ARIPXAMF.js} +3 -3
- package/dist/{chunk-XYNOPL42.js → chunk-CCB7HUXM.js} +2 -2
- package/dist/{chunk-TGZSJFOF.js → chunk-EOOWFAUQ.js} +8 -8
- package/dist/{chunk-5LLHAM5N.js → chunk-KITZ5RLX.js} +4 -4
- package/dist/{chunk-VJHCFG5K.js → chunk-MVIZLNDV.js} +2 -2
- package/dist/{chunk-B7LXQVGX.js → chunk-NTRP5UPL.js} +13 -13
- package/dist/{chunk-FU4STSWX.js → chunk-OHAG6RQT.js} +9 -9
- package/dist/{chunk-X2X377NR.js → chunk-OMR2LYUV.js} +3 -3
- package/dist/{chunk-JMC4PKOZ.js → chunk-PLO3ASNN.js} +2 -2
- package/dist/{chunk-YYJ6EVI6.js → chunk-SBZZKBLZ.js} +3 -3
- package/dist/{chunk-HHKEZAAX.js → chunk-TT7YBXNU.js} +2 -2
- package/dist/{chunk-PK2M5CKS.js → chunk-UW2WSGNC.js} +7 -7
- package/dist/{conf-store-NT7HUXZL.js → conf-store-PMOFWF3V.js} +5 -5
- package/dist/{deprecations-37ZUNG4Z.js → deprecations-XSONJDPJ.js} +8 -8
- package/dist/{environments-ISQBBMTF.js → environments-7M5VG3ZO.js} +9 -9
- package/dist/{error-handler-GGBOXL7F.js → error-handler-OSY5Z5EY.js} +12 -12
- package/dist/{fs-ZG73KWF7.js → fs-QKWQO24G.js} +3 -3
- package/dist/hooks/postrun.js +4 -4
- package/dist/hooks/prerun.js +6 -6
- package/dist/index.js +28 -28
- package/dist/{is-global-DL3ZQWOO.js → is-global-27HWUS75.js} +3 -3
- package/dist/{local-XAHKS4F6.js → local-ELO22BKI.js} +2 -2
- package/dist/{metadata-4WOIDT2F.js → metadata-4DNOT3O4.js} +3 -3
- package/dist/{node-package-manager-JO3BBXYZ.js → node-package-manager-TZ4UXLZO.js} +10 -10
- package/dist/{notifications-system-ZK44GBNG.js → notifications-system-I4ONBO77.js} +13 -13
- package/dist/{os-XDQECFDE.js → os-7AHYIADA.js} +4 -4
- package/dist/{output-2RGSJNA6.js → output-KF5RQHUT.js} +3 -3
- package/dist/{system-KQM7CSD6.js → system-J2KVDFSW.js} +8 -8
- package/dist/{ui-UAVSRCJ7.js → ui-KTYAOJV5.js} +8 -8
- package/dist/{upgrade-QE6OI6PW.js → upgrade-YR43DQNI.js} +14 -14
- package/dist/{version-6CVFB4SF.js → version-CS66ODDA.js} +9 -9
- package/dist/{version-AALUTWIR.js → version-XTE3XEL6.js} +2 -2
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
|
@@ -2,25 +2,25 @@ import {
|
|
|
2
2
|
getEnvironmentData,
|
|
3
3
|
getSensitiveEnvironmentData,
|
|
4
4
|
startAnalytics
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NTRP5UPL.js";
|
|
6
6
|
import "./chunk-MSED5ZFM.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-TT7YBXNU.js";
|
|
8
8
|
import "./chunk-G53O4PDO.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-3WA6JLES.js";
|
|
10
|
+
import "./chunk-KITZ5RLX.js";
|
|
11
|
+
import "./chunk-EOOWFAUQ.js";
|
|
12
|
+
import "./chunk-PLO3ASNN.js";
|
|
13
|
+
import "./chunk-SBZZKBLZ.js";
|
|
14
|
+
import "./chunk-ARIPXAMF.js";
|
|
15
15
|
import "./chunk-CM6ALOD7.js";
|
|
16
16
|
import "./chunk-E43EDJOG.js";
|
|
17
17
|
import "./chunk-ODCXYGJ2.js";
|
|
18
18
|
import "./chunk-LBXDGVFS.js";
|
|
19
19
|
import "./chunk-JGGOQOPO.js";
|
|
20
20
|
import "./chunk-OQ3KXXGH.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-MVIZLNDV.js";
|
|
22
|
+
import "./chunk-UW2WSGNC.js";
|
|
23
|
+
import "./chunk-OMR2LYUV.js";
|
|
24
24
|
import "./chunk-7OHJH7BF.js";
|
|
25
25
|
import "./chunk-HNIAZN6U.js";
|
|
26
26
|
import "./chunk-C3J4HVUN.js";
|
|
@@ -33,4 +33,4 @@ export {
|
|
|
33
33
|
getSensitiveEnvironmentData,
|
|
34
34
|
startAnalytics
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=analytics-
|
|
36
|
+
//# sourceMappingURL=analytics-3C6IM5OH.js.map
|
|
@@ -6,25 +6,25 @@ import {
|
|
|
6
6
|
recordTiming,
|
|
7
7
|
reportAnalyticsEvent,
|
|
8
8
|
sendAnalyticsEventFromStdin
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NTRP5UPL.js";
|
|
10
10
|
import "./chunk-MSED5ZFM.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-TT7YBXNU.js";
|
|
12
12
|
import "./chunk-G53O4PDO.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-3WA6JLES.js";
|
|
14
|
+
import "./chunk-KITZ5RLX.js";
|
|
15
|
+
import "./chunk-EOOWFAUQ.js";
|
|
16
|
+
import "./chunk-PLO3ASNN.js";
|
|
17
|
+
import "./chunk-SBZZKBLZ.js";
|
|
18
|
+
import "./chunk-ARIPXAMF.js";
|
|
19
19
|
import "./chunk-CM6ALOD7.js";
|
|
20
20
|
import "./chunk-E43EDJOG.js";
|
|
21
21
|
import "./chunk-ODCXYGJ2.js";
|
|
22
22
|
import "./chunk-LBXDGVFS.js";
|
|
23
23
|
import "./chunk-JGGOQOPO.js";
|
|
24
24
|
import "./chunk-OQ3KXXGH.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-MVIZLNDV.js";
|
|
26
|
+
import "./chunk-UW2WSGNC.js";
|
|
27
|
+
import "./chunk-OMR2LYUV.js";
|
|
28
28
|
import "./chunk-7OHJH7BF.js";
|
|
29
29
|
import "./chunk-HNIAZN6U.js";
|
|
30
30
|
import "./chunk-C3J4HVUN.js";
|
|
@@ -41,4 +41,4 @@ export {
|
|
|
41
41
|
reportAnalyticsEvent,
|
|
42
42
|
sendAnalyticsEventFromStdin
|
|
43
43
|
};
|
|
44
|
-
//# sourceMappingURL=analytics-
|
|
44
|
+
//# sourceMappingURL=analytics-TKGJW4CI.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderWarning
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EOOWFAUQ.js";
|
|
4
4
|
import {
|
|
5
5
|
addSensitiveMetadata
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SBZZKBLZ.js";
|
|
7
7
|
import {
|
|
8
8
|
AbortError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ARIPXAMF.js";
|
|
10
10
|
import {
|
|
11
11
|
fileExists,
|
|
12
12
|
findPathUp,
|
|
13
13
|
readFile,
|
|
14
14
|
writeFile
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UW2WSGNC.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()), TomlFileError = class extends AbortError {
|
|
1626
|
+
var import_toml_patch = __toESM(require_toml_patch(), 1), TomlFileError = class extends AbortError {
|
|
1627
1627
|
path;
|
|
1628
1628
|
constructor(path, message) {
|
|
1629
1629
|
super(message), this.name = "TomlFileError", this.path = path;
|
|
@@ -1774,4 +1774,4 @@ export {
|
|
|
1774
1774
|
loadEnvironment,
|
|
1775
1775
|
environmentFilePath
|
|
1776
1776
|
};
|
|
1777
|
-
//# sourceMappingURL=chunk-
|
|
1777
|
+
//# sourceMappingURL=chunk-3CEBU7F7.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cacheRetrieve,
|
|
3
3
|
cacheRetrieveOrRepopulate
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KITZ5RLX.js";
|
|
5
5
|
import {
|
|
6
6
|
AbortController,
|
|
7
7
|
exec
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-EOOWFAUQ.js";
|
|
9
9
|
import {
|
|
10
10
|
runWithTimer
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-SBZZKBLZ.js";
|
|
12
12
|
import {
|
|
13
13
|
AbortError,
|
|
14
14
|
BugError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ARIPXAMF.js";
|
|
16
16
|
import {
|
|
17
17
|
require_semver
|
|
18
18
|
} from "./chunk-OQ3KXXGH.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
outputToken,
|
|
28
28
|
readFile,
|
|
29
29
|
writeFile
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-UW2WSGNC.js";
|
|
31
31
|
import {
|
|
32
32
|
dirname,
|
|
33
33
|
joinPath
|
|
@@ -344,4 +344,4 @@ export {
|
|
|
344
344
|
writePackageJSON,
|
|
345
345
|
inferPackageManager
|
|
346
346
|
};
|
|
347
|
-
//# sourceMappingURL=chunk-
|
|
347
|
+
//# sourceMappingURL=chunk-3WA6JLES.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
treeKill
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MVIZLNDV.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-4DNOT3O4.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-XSONJDPJ.js");
|
|
37
37
|
deprecationsHook(Command);
|
|
38
|
-
let { outputDebug } = await import("./output-
|
|
38
|
+
let { outputDebug } = await import("./output-KF5RQHUT.js"), command = Command.id.replace(/:/g, " ");
|
|
39
39
|
outputDebug(`Completed command ${command}`), !command.includes("notifications") && !command.includes("upgrade") && !command.includes("send-analytics") && await autoUpgradeIfNeeded();
|
|
40
|
-
let { reportAnalyticsEvent } = await import("./analytics-
|
|
40
|
+
let { reportAnalyticsEvent } = await import("./analytics-TKGJW4CI.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-YR43DQNI.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-PMOFWF3V.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-XTE3XEL6.js"),
|
|
61
|
+
import("./version-CS66ODDA.js"),
|
|
62
|
+
import("./output-KF5RQHUT.js"),
|
|
63
|
+
import("./upgrade-YR43DQNI.js"),
|
|
64
|
+
import("./metadata-4DNOT3O4.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-OSY5Z5EY.js"),
|
|
85
|
+
import("./is-global-27HWUS75.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-4DNOT3O4.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-7YZDH26Z.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
TokenizedString,
|
|
6
6
|
stringifyMessage,
|
|
7
7
|
tokenItemToString
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UW2WSGNC.js";
|
|
9
9
|
import {
|
|
10
10
|
normalizePath
|
|
11
11
|
} from "./chunk-C3J4HVUN.js";
|
|
@@ -102,7 +102,7 @@ async function handler(error) {
|
|
|
102
102
|
let maybeError = error;
|
|
103
103
|
fatal = new BugError(maybeError?.message ?? "Unknown error"), maybeError?.stack && (fatal.stack = maybeError?.stack);
|
|
104
104
|
}
|
|
105
|
-
let { renderFatalError } = await import("./ui-
|
|
105
|
+
let { renderFatalError } = await import("./ui-KTYAOJV5.js");
|
|
106
106
|
return renderFatalError(fatal), Promise.resolve(error);
|
|
107
107
|
}
|
|
108
108
|
function errorMapper(error) {
|
|
@@ -176,4 +176,4 @@ export {
|
|
|
176
176
|
shouldReportErrorAsUnexpected,
|
|
177
177
|
cleanSingleStackTracePath
|
|
178
178
|
};
|
|
179
|
-
//# sourceMappingURL=chunk-
|
|
179
|
+
//# sourceMappingURL=chunk-ARIPXAMF.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
captureOutput,
|
|
3
3
|
require_lib
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EOOWFAUQ.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-CCB7HUXM.js.map
|
|
@@ -2,23 +2,23 @@ import {
|
|
|
2
2
|
execa,
|
|
3
3
|
platformAndArch,
|
|
4
4
|
require_signal_exit
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PLO3ASNN.js";
|
|
6
6
|
import {
|
|
7
7
|
runWithTimer
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SBZZKBLZ.js";
|
|
9
9
|
import {
|
|
10
10
|
AbortError,
|
|
11
11
|
AbortSilentError,
|
|
12
12
|
BugError,
|
|
13
13
|
ExternalError,
|
|
14
14
|
cleanSingleStackTracePath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ARIPXAMF.js";
|
|
16
16
|
import {
|
|
17
17
|
require_ansi_styles
|
|
18
18
|
} from "./chunk-E43EDJOG.js";
|
|
19
19
|
import {
|
|
20
20
|
treeKill
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-MVIZLNDV.js";
|
|
22
22
|
import {
|
|
23
23
|
ansi_escapes_default,
|
|
24
24
|
appendToTokenItem,
|
|
@@ -50,11 +50,11 @@ import {
|
|
|
50
50
|
stripAnsi,
|
|
51
51
|
tokenItemToString,
|
|
52
52
|
unstyled
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-UW2WSGNC.js";
|
|
54
54
|
import {
|
|
55
55
|
isCloudEnvironment,
|
|
56
56
|
isUnitTest
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-OMR2LYUV.js";
|
|
58
58
|
import {
|
|
59
59
|
isTruthy
|
|
60
60
|
} from "./chunk-HNIAZN6U.js";
|
|
@@ -29972,7 +29972,7 @@ var SingleTask = ({ task, title, onComplete, onAbort, noColor }) => {
|
|
|
29972
29972
|
};
|
|
29973
29973
|
|
|
29974
29974
|
// ../cli-kit/dist/public/node/ui.js
|
|
29975
|
-
var import_react65 = __toESM(require_react()
|
|
29975
|
+
var import_react65 = __toESM(require_react()), defaultUIDebugOptions = {
|
|
29976
29976
|
skipTTYCheck: !1
|
|
29977
29977
|
};
|
|
29978
29978
|
async function renderConcurrent({ renderOptions, ...props }) {
|
|
@@ -30264,4 +30264,4 @@ react-reconciler/cjs/react-reconciler.development.js:
|
|
|
30264
30264
|
* LICENSE file in the root directory of this source tree.
|
|
30265
30265
|
*)
|
|
30266
30266
|
*/
|
|
30267
|
-
//# sourceMappingURL=chunk-
|
|
30267
|
+
//# sourceMappingURL=chunk-EOOWFAUQ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbortError,
|
|
3
3
|
BugError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ARIPXAMF.js";
|
|
5
5
|
import {
|
|
6
6
|
mimicFunction
|
|
7
7
|
} from "./chunk-CM6ALOD7.js";
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
outputContent,
|
|
14
14
|
outputDebug,
|
|
15
15
|
unixFileIsOwnedByCurrentUser
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-UW2WSGNC.js";
|
|
17
17
|
import {
|
|
18
18
|
envPaths,
|
|
19
19
|
environmentVariables,
|
|
20
20
|
isUnitTest
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-OMR2LYUV.js";
|
|
22
22
|
import {
|
|
23
23
|
dirname
|
|
24
24
|
} from "./chunk-C3J4HVUN.js";
|
|
@@ -6114,4 +6114,4 @@ export {
|
|
|
6114
6114
|
getCachedPartnerAccountStatus,
|
|
6115
6115
|
setCachedPartnerAccountStatus
|
|
6116
6116
|
};
|
|
6117
|
-
//# sourceMappingURL=chunk-
|
|
6117
|
+
//# sourceMappingURL=chunk-KITZ5RLX.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
outputDebug
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UW2WSGNC.js";
|
|
4
4
|
import {
|
|
5
5
|
init_cjs_shims
|
|
6
6
|
} from "./chunk-3XNI6LP4.js";
|
|
@@ -96,4 +96,4 @@ function buildProcessTree(parentPid, tree, pidsToProcess, spawnChildProcessesLis
|
|
|
96
96
|
export {
|
|
97
97
|
treeKill
|
|
98
98
|
};
|
|
99
|
-
//# sourceMappingURL=chunk-
|
|
99
|
+
//# sourceMappingURL=chunk-MVIZLNDV.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-MSED5ZFM.js";
|
|
4
4
|
import {
|
|
5
5
|
CLI_KIT_VERSION
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TT7YBXNU.js";
|
|
7
7
|
import {
|
|
8
8
|
FormData,
|
|
9
9
|
fetch_blob_default,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
getPackageManager,
|
|
14
14
|
packageManagerFromUserAgent
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-3WA6JLES.js";
|
|
16
16
|
import {
|
|
17
17
|
Environment,
|
|
18
18
|
cacheRetrieveOrRepopulate,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
setCurrentSessionId,
|
|
28
28
|
setSessions,
|
|
29
29
|
timeIntervalToMilliseconds
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-KITZ5RLX.js";
|
|
31
31
|
import {
|
|
32
32
|
isCI,
|
|
33
33
|
isWsl,
|
|
@@ -35,17 +35,17 @@ import {
|
|
|
35
35
|
require_baseForOwn,
|
|
36
36
|
require_stacktracey,
|
|
37
37
|
sleep
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-EOOWFAUQ.js";
|
|
39
39
|
import {
|
|
40
40
|
platformAndArch
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-PLO3ASNN.js";
|
|
42
42
|
import {
|
|
43
43
|
addPublicMetadata,
|
|
44
44
|
addSensitiveMetadata,
|
|
45
45
|
getAllPublicMetadata,
|
|
46
46
|
getAllSensitiveMetadata,
|
|
47
47
|
runWithTimer
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-SBZZKBLZ.js";
|
|
49
49
|
import {
|
|
50
50
|
AbortError,
|
|
51
51
|
AbortSilentError,
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
isPermissionCode,
|
|
61
61
|
isRateLimitCode,
|
|
62
62
|
shouldReportErrorAsUnexpected
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-ARIPXAMF.js";
|
|
64
64
|
import {
|
|
65
65
|
require_lib
|
|
66
66
|
} from "./chunk-E43EDJOG.js";
|
|
@@ -108,7 +108,7 @@ import {
|
|
|
108
108
|
slugify,
|
|
109
109
|
stringifyMessage,
|
|
110
110
|
uniq
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-UW2WSGNC.js";
|
|
112
112
|
import {
|
|
113
113
|
alwaysLogAnalytics,
|
|
114
114
|
alwaysLogMetrics,
|
|
@@ -126,7 +126,7 @@ import {
|
|
|
126
126
|
sessionConstants,
|
|
127
127
|
systemEnvironmentVariables,
|
|
128
128
|
themeToken
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-OMR2LYUV.js";
|
|
130
130
|
import {
|
|
131
131
|
isTruthy
|
|
132
132
|
} from "./chunk-HNIAZN6U.js";
|
|
@@ -64488,7 +64488,7 @@ async function sendAnalyticsEvent(payload, skipMonorailAnalytics, skipMetricAnal
|
|
|
64488
64488
|
}
|
|
64489
64489
|
async function sendAnalyticsEventFromStdin() {
|
|
64490
64490
|
try {
|
|
64491
|
-
let { readStdinString } = await import("./system-
|
|
64491
|
+
let { readStdinString } = await import("./system-J2KVDFSW.js"), payloadStr = await readStdinString();
|
|
64492
64492
|
if (payloadStr === void 0)
|
|
64493
64493
|
throw new Error("No analytics payload received from stdin");
|
|
64494
64494
|
let { payload, skipMonorailAnalytics, skipMetricAnalytics } = JSON.parse(payloadStr);
|
|
@@ -64522,12 +64522,12 @@ async function reportAnalyticsEvent(options2) {
|
|
|
64522
64522
|
outputDebug(outputContent`Skipping command analytics, payload: ${outputToken.json(payload)}`);
|
|
64523
64523
|
return;
|
|
64524
64524
|
}
|
|
64525
|
-
let [{ platformAndArch: platformAndArch2 }, { isInsideContainer }] = await Promise.all([import("./os-
|
|
64525
|
+
let [{ platformAndArch: platformAndArch2 }, { isInsideContainer }] = await Promise.all([import("./os-7AHYIADA.js"), import("./system-J2KVDFSW.js")]), sendInBackground = !commandStartOptions?.requiresSyncAnalytics && platformAndArch2().platform !== "windows" && !ciPlatform().isCI && !isInsideContainer();
|
|
64526
64526
|
if (outputDebug(outputContent`Sending command analytics${sendInBackground ? " in background" : ""}, payload: ${outputToken.json(payload)}`), !sendInBackground) {
|
|
64527
64527
|
await sendAnalyticsEvent(payload, skipMonorailAnalytics, skipMetricAnalytics);
|
|
64528
64528
|
return;
|
|
64529
64529
|
}
|
|
64530
|
-
let { exec } = await import("./system-
|
|
64530
|
+
let { exec } = await import("./system-J2KVDFSW.js"), argv = process.argv;
|
|
64531
64531
|
if (!argv[1])
|
|
64532
64532
|
return;
|
|
64533
64533
|
let nodeBinary = process.execPath, args = [argv[1], "send-analytics"], analyticsProcess = exec(nodeBinary, args, {
|
|
@@ -66357,4 +66357,4 @@ mime-types/index.js:
|
|
|
66357
66357
|
* MIT Licensed
|
|
66358
66358
|
*)
|
|
66359
66359
|
*/
|
|
66360
|
-
//# sourceMappingURL=chunk-
|
|
66360
|
+
//# sourceMappingURL=chunk-NTRP5UPL.js.map
|
|
@@ -2,29 +2,29 @@ import {
|
|
|
2
2
|
external_exports,
|
|
3
3
|
fetch,
|
|
4
4
|
jsonOutputEnabled
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NTRP5UPL.js";
|
|
6
6
|
import {
|
|
7
7
|
CLI_KIT_VERSION
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TT7YBXNU.js";
|
|
9
9
|
import {
|
|
10
10
|
versionSatisfies
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3WA6JLES.js";
|
|
12
12
|
import {
|
|
13
13
|
cacheRetrieve,
|
|
14
14
|
cacheStore
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-KITZ5RLX.js";
|
|
16
16
|
import {
|
|
17
17
|
exec,
|
|
18
18
|
renderError,
|
|
19
19
|
renderInfo,
|
|
20
20
|
renderWarning
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-EOOWFAUQ.js";
|
|
22
22
|
import {
|
|
23
23
|
AbortSilentError
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-ARIPXAMF.js";
|
|
25
25
|
import {
|
|
26
26
|
outputDebug
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-UW2WSGNC.js";
|
|
28
28
|
import {
|
|
29
29
|
isTruthy
|
|
30
30
|
} from "./chunk-HNIAZN6U.js";
|
|
@@ -105,7 +105,7 @@ async function showNotificationsIfNeeded(currentSurfaces, environment = process.
|
|
|
105
105
|
throw new AbortSilentError();
|
|
106
106
|
let errorMessage = `Error showing notifications: ${error.message}`;
|
|
107
107
|
outputDebug(errorMessage);
|
|
108
|
-
let { sendErrorToBugsnag } = await import("./error-handler-
|
|
108
|
+
let { sendErrorToBugsnag } = await import("./error-handler-OSY5Z5EY.js");
|
|
109
109
|
await sendErrorToBugsnag(errorMessage, "unexpected_error");
|
|
110
110
|
}
|
|
111
111
|
}
|
|
@@ -219,4 +219,4 @@ export {
|
|
|
219
219
|
filterNotifications,
|
|
220
220
|
stringifyFilters
|
|
221
221
|
};
|
|
222
|
-
//# sourceMappingURL=chunk-
|
|
222
|
+
//# sourceMappingURL=chunk-OHAG6RQT.js.map
|
|
@@ -174,11 +174,11 @@ var environmentVariables = {
|
|
|
174
174
|
import { randomUUID } from "crypto";
|
|
175
175
|
import { homedir as homedir2, networkInterfaces } from "os";
|
|
176
176
|
async function lazyFileExists(path2) {
|
|
177
|
-
let { fileExists } = await import("./fs-
|
|
177
|
+
let { fileExists } = await import("./fs-QKWQO24G.js");
|
|
178
178
|
return fileExists(path2);
|
|
179
179
|
}
|
|
180
180
|
async function lazyExec(command, args) {
|
|
181
|
-
let { exec } = await import("./system-
|
|
181
|
+
let { exec } = await import("./system-J2KVDFSW.js");
|
|
182
182
|
await exec(command, args);
|
|
183
183
|
}
|
|
184
184
|
function isTerminalInteractive() {
|
|
@@ -298,4 +298,4 @@ export {
|
|
|
298
298
|
getThemeKitAccessDomain,
|
|
299
299
|
opentelemetryDomain
|
|
300
300
|
};
|
|
301
|
-
//# sourceMappingURL=chunk-
|
|
301
|
+
//# sourceMappingURL=chunk-OMR2LYUV.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
outputContent,
|
|
9
9
|
outputDebug
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UW2WSGNC.js";
|
|
11
11
|
import {
|
|
12
12
|
__commonJS,
|
|
13
13
|
__require,
|
|
@@ -1388,4 +1388,4 @@ export {
|
|
|
1388
1388
|
username,
|
|
1389
1389
|
platformAndArch
|
|
1390
1390
|
};
|
|
1391
|
-
//# sourceMappingURL=chunk-
|
|
1391
|
+
//# sourceMappingURL=chunk-PLO3ASNN.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isUnitTest
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OMR2LYUV.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-OSY5Z5EY.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-SBZZKBLZ.js.map
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
|
|
5
5
|
// ../cli-kit/dist/public/common/version.js
|
|
6
6
|
init_cjs_shims();
|
|
7
|
-
var CLI_KIT_VERSION = "4.7.
|
|
7
|
+
var CLI_KIT_VERSION = "4.7.1";
|
|
8
8
|
|
|
9
9
|
export {
|
|
10
10
|
CLI_KIT_VERSION
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk-
|
|
12
|
+
//# sourceMappingURL=chunk-TT7YBXNU.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isUnitTest,
|
|
3
3
|
isVerbose
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OMR2LYUV.js";
|
|
5
5
|
import {
|
|
6
6
|
require_has_flag
|
|
7
7
|
} from "./chunk-7OHJH7BF.js";
|
|
@@ -4734,17 +4734,17 @@ function currentProcessIsGlobal(argv = process.argv) {
|
|
|
4734
4734
|
}
|
|
4735
4735
|
}
|
|
4736
4736
|
async function installGlobalShopifyCLI(packageManager) {
|
|
4737
|
-
let { outputInfo: outputInfo2 } = await import("./output-
|
|
4737
|
+
let { outputInfo: outputInfo2 } = await import("./output-KF5RQHUT.js"), { exec } = await import("./system-J2KVDFSW.js"), args = packageManager === "yarn" ? ["global", "add", "@shopify/cli@latest"] : ["install", "-g", "@shopify/cli@latest"];
|
|
4738
4738
|
outputInfo2(`Running ${packageManager} ${args.join(" ")}...`), await exec(packageManager, args, { stdio: "inherit" });
|
|
4739
4739
|
}
|
|
4740
4740
|
async function installGlobalCLIPrompt() {
|
|
4741
|
-
let { terminalSupportsPrompting } = await import("./system-
|
|
4741
|
+
let { terminalSupportsPrompting } = await import("./system-J2KVDFSW.js");
|
|
4742
4742
|
if (!terminalSupportsPrompting())
|
|
4743
4743
|
return { install: !1, alreadyInstalled: !1 };
|
|
4744
|
-
let { globalCLIVersion } = await import("./version-
|
|
4744
|
+
let { globalCLIVersion } = await import("./version-CS66ODDA.js");
|
|
4745
4745
|
if (await globalCLIVersion())
|
|
4746
4746
|
return { install: !1, alreadyInstalled: !0 };
|
|
4747
|
-
let { renderSelectPrompt } = await import("./ui-
|
|
4747
|
+
let { renderSelectPrompt } = await import("./ui-KTYAOJV5.js");
|
|
4748
4748
|
return { install: await renderSelectPrompt({
|
|
4749
4749
|
message: "We recommend installing Shopify CLI globally in your system. Would you like to install it now?",
|
|
4750
4750
|
choices: [
|
|
@@ -5531,7 +5531,7 @@ function asHumanFriendlyArray(items) {
|
|
|
5531
5531
|
}
|
|
5532
5532
|
|
|
5533
5533
|
// ../cli-kit/dist/public/common/string.js
|
|
5534
|
-
var import_change_case = __toESM(require_dist15()), SAFE_RANDOM_BUSINESS_ADJECTIVES = [
|
|
5534
|
+
var import_change_case = __toESM(require_dist15(), 1), SAFE_RANDOM_BUSINESS_ADJECTIVES = [
|
|
5535
5535
|
"commercial",
|
|
5536
5536
|
"profitable",
|
|
5537
5537
|
"amortizable",
|
|
@@ -7347,4 +7347,4 @@ export {
|
|
|
7347
7347
|
shouldDisplayColors,
|
|
7348
7348
|
formatSection
|
|
7349
7349
|
};
|
|
7350
|
-
//# sourceMappingURL=chunk-
|
|
7350
|
+
//# sourceMappingURL=chunk-UW2WSGNC.js.map
|