@shopify/create-app 4.8.0 → 4.8.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/{analytics-WH2T6QX3.js → analytics-HXSXPSKS.js} +12 -12
- package/dist/{analytics-AHLA7AZS.js → analytics-TB5LMEDX.js} +12 -12
- package/dist/{chunk-NSZGKXWF.js → chunk-4A4N7JZN.js} +2 -2
- package/dist/{chunk-NVF7ENTS.js → chunk-72WSSHCK.js} +9 -9
- package/dist/{chunk-2NFHHUNB.js → chunk-7RP4BVRD.js} +7 -7
- package/dist/{chunk-OAQSBAWF.js → chunk-AP3EHA3P.js} +3 -3
- package/dist/{chunk-PPYQMZDW.js → chunk-BRTQELAS.js} +6 -6
- package/dist/{chunk-GUL6X3Z6.js → chunk-EUNAB5L4.js} +13 -13
- package/dist/{chunk-YZ4NVX3R.js → chunk-GFN3GKBA.js} +6 -6
- package/dist/{chunk-RY5EN24F.js → chunk-HI3ARKFA.js} +4 -4
- package/dist/{chunk-CVCLWDTQ.js → chunk-JGPRSZGW.js} +3 -3
- package/dist/{chunk-KZ2RPAZP.js → chunk-KJL734B5.js} +16 -16
- package/dist/{chunk-6P5SC4GZ.js → chunk-OQQQWHVQ.js} +3 -3
- package/dist/{chunk-3A6RVZAX.js → chunk-Q6U7YUES.js} +2 -2
- package/dist/{chunk-SSXHJVVE.js → chunk-UZHBHKSW.js} +7 -7
- package/dist/{chunk-VQXC5OD5.js → chunk-YVMT3MYY.js} +2 -2
- package/dist/{chunk-E3Q2X4JT.js → chunk-ZY44DXRY.js} +2 -2
- package/dist/{conf-store-J42SBUP3.js → conf-store-BT6AKFMW.js} +5 -5
- package/dist/{deprecations-LQ5N6NY5.js → deprecations-JDUVIO6O.js} +8 -8
- package/dist/{environments-43DQFISL.js → environments-TAYTC4BV.js} +9 -9
- package/dist/{error-handler-HDQAL5WF.js → error-handler-6QWH63MN.js} +12 -12
- package/dist/{fs-7VPG5DKY.js → fs-XE7TNKNA.js} +3 -3
- package/dist/hooks/postrun.js +4 -4
- package/dist/hooks/prerun.js +6 -6
- package/dist/index.js +27 -27
- package/dist/{is-global-NIA2NILS.js → is-global-ROSPUGNG.js} +3 -3
- package/dist/{local-QTXBNWG7.js → local-ENJLKDYE.js} +2 -2
- package/dist/{metadata-OKIQD7J3.js → metadata-FBN7RCTM.js} +3 -3
- package/dist/{node-package-manager-UGSWTVKV.js → node-package-manager-U6SJQTKE.js} +10 -10
- package/dist/{notifications-system-WED4PTNQ.js → notifications-system-7RVKLQ54.js} +13 -13
- package/dist/{os-GA2QX6HG.js → os-DBTZU75W.js} +4 -4
- package/dist/{output-67BVQSOH.js → output-Y47AQKE4.js} +3 -3
- package/dist/{system-M2MQLB2V.js → system-WWTOWBTL.js} +8 -8
- package/dist/{ui-OLUB3ODI.js → ui-TJXCZK6J.js} +8 -8
- package/dist/{upgrade-VWPCOMAW.js → upgrade-SBSXAH7S.js} +14 -14
- package/dist/{version-HXW64FOP.js → version-BKBNVN4W.js} +9 -9
- package/dist/{version-BHYDBL3M.js → version-TSNLFK3C.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-EUNAB5L4.js";
|
|
6
6
|
import "./chunk-MSED5ZFM.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-YVMT3MYY.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-BRTQELAS.js";
|
|
10
|
+
import "./chunk-HI3ARKFA.js";
|
|
11
|
+
import "./chunk-UZHBHKSW.js";
|
|
12
|
+
import "./chunk-ZY44DXRY.js";
|
|
13
|
+
import "./chunk-AP3EHA3P.js";
|
|
14
|
+
import "./chunk-OQQQWHVQ.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-4A4N7JZN.js";
|
|
22
|
+
import "./chunk-GFN3GKBA.js";
|
|
23
|
+
import "./chunk-JGPRSZGW.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-HXSXPSKS.js.map
|
|
@@ -6,25 +6,25 @@ import {
|
|
|
6
6
|
recordTiming,
|
|
7
7
|
reportAnalyticsEvent,
|
|
8
8
|
sendAnalyticsEventFromStdin
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EUNAB5L4.js";
|
|
10
10
|
import "./chunk-MSED5ZFM.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-YVMT3MYY.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-BRTQELAS.js";
|
|
14
|
+
import "./chunk-HI3ARKFA.js";
|
|
15
|
+
import "./chunk-UZHBHKSW.js";
|
|
16
|
+
import "./chunk-ZY44DXRY.js";
|
|
17
|
+
import "./chunk-AP3EHA3P.js";
|
|
18
|
+
import "./chunk-OQQQWHVQ.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-4A4N7JZN.js";
|
|
26
|
+
import "./chunk-GFN3GKBA.js";
|
|
27
|
+
import "./chunk-JGPRSZGW.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-TB5LMEDX.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
outputDebug
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GFN3GKBA.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-4A4N7JZN.js.map
|
|
@@ -2,29 +2,29 @@ import {
|
|
|
2
2
|
external_exports,
|
|
3
3
|
fetch,
|
|
4
4
|
jsonOutputEnabled
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EUNAB5L4.js";
|
|
6
6
|
import {
|
|
7
7
|
CLI_KIT_VERSION
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-YVMT3MYY.js";
|
|
9
9
|
import {
|
|
10
10
|
versionSatisfies
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-BRTQELAS.js";
|
|
12
12
|
import {
|
|
13
13
|
cacheRetrieve,
|
|
14
14
|
cacheStore
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HI3ARKFA.js";
|
|
16
16
|
import {
|
|
17
17
|
exec,
|
|
18
18
|
renderError,
|
|
19
19
|
renderInfo,
|
|
20
20
|
renderWarning
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-UZHBHKSW.js";
|
|
22
22
|
import {
|
|
23
23
|
AbortSilentError
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-OQQQWHVQ.js";
|
|
25
25
|
import {
|
|
26
26
|
outputDebug
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-GFN3GKBA.js";
|
|
28
28
|
import {
|
|
29
29
|
isTruthy
|
|
30
30
|
} from "./chunk-HNIAZN6U.js";
|
|
@@ -109,7 +109,7 @@ async function showNotificationsIfNeeded(currentSurfaces, environment = process.
|
|
|
109
109
|
throw new AbortSilentError();
|
|
110
110
|
let errorMessage = `Error showing notifications: ${error.message}`;
|
|
111
111
|
outputDebug(errorMessage);
|
|
112
|
-
let { sendErrorToBugsnag } = await import("./error-handler-
|
|
112
|
+
let { sendErrorToBugsnag } = await import("./error-handler-6QWH63MN.js");
|
|
113
113
|
await sendErrorToBugsnag(errorMessage, "unexpected_error");
|
|
114
114
|
}
|
|
115
115
|
}
|
|
@@ -223,4 +223,4 @@ export {
|
|
|
223
223
|
filterNotifications,
|
|
224
224
|
stringifyFilters
|
|
225
225
|
};
|
|
226
|
-
//# sourceMappingURL=chunk-
|
|
226
|
+
//# sourceMappingURL=chunk-72WSSHCK.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderWarning
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UZHBHKSW.js";
|
|
4
4
|
import {
|
|
5
5
|
addSensitiveMetadata
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AP3EHA3P.js";
|
|
7
7
|
import {
|
|
8
8
|
AbortError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OQQQWHVQ.js";
|
|
10
10
|
import {
|
|
11
11
|
fileExists,
|
|
12
12
|
findPathUp,
|
|
13
13
|
readFile,
|
|
14
14
|
writeFile
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GFN3GKBA.js";
|
|
16
16
|
import {
|
|
17
17
|
cwd
|
|
18
18
|
} from "./chunk-C3J4HVUN.js";
|
|
@@ -1612,7 +1612,7 @@ init_cjs_shims();
|
|
|
1612
1612
|
|
|
1613
1613
|
// ../cli-kit/dist/public/node/toml/codec.js
|
|
1614
1614
|
init_cjs_shims();
|
|
1615
|
-
var toml = __toESM(require_toml()
|
|
1615
|
+
var toml = __toESM(require_toml());
|
|
1616
1616
|
function decodeToml(input) {
|
|
1617
1617
|
let normalizedInput = input.replace(/\r\n$/g, `
|
|
1618
1618
|
`);
|
|
@@ -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
|
path;
|
|
1628
1628
|
constructor(path, message) {
|
|
1629
1629
|
super(message), this.name = "TomlFileError", this.path = path;
|
|
@@ -1775,4 +1775,4 @@ export {
|
|
|
1775
1775
|
loadEnvironment,
|
|
1776
1776
|
environmentFilePath
|
|
1777
1777
|
};
|
|
1778
|
-
//# sourceMappingURL=chunk-
|
|
1778
|
+
//# sourceMappingURL=chunk-7RP4BVRD.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isUnitTest
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JGPRSZGW.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-6QWH63MN.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-AP3EHA3P.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cacheRetrieve,
|
|
3
3
|
cacheRetrieveOrRepopulate
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HI3ARKFA.js";
|
|
5
5
|
import {
|
|
6
6
|
AbortController,
|
|
7
7
|
exec
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UZHBHKSW.js";
|
|
9
9
|
import {
|
|
10
10
|
runWithTimer
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AP3EHA3P.js";
|
|
12
12
|
import {
|
|
13
13
|
AbortError,
|
|
14
14
|
BugError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-OQQQWHVQ.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-GFN3GKBA.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-BRTQELAS.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-YVMT3MYY.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-BRTQELAS.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-HI3ARKFA.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-UZHBHKSW.js";
|
|
39
39
|
import {
|
|
40
40
|
platformAndArch
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-ZY44DXRY.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-AP3EHA3P.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-OQQQWHVQ.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-GFN3GKBA.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-JGPRSZGW.js";
|
|
130
130
|
import {
|
|
131
131
|
isTruthy
|
|
132
132
|
} from "./chunk-HNIAZN6U.js";
|
|
@@ -64491,7 +64491,7 @@ async function sendAnalyticsEvent(payload, skipMonorailAnalytics, skipMetricAnal
|
|
|
64491
64491
|
}
|
|
64492
64492
|
async function sendAnalyticsEventFromStdin() {
|
|
64493
64493
|
try {
|
|
64494
|
-
let { readStdinString } = await import("./system-
|
|
64494
|
+
let { readStdinString } = await import("./system-WWTOWBTL.js"), payloadStr = await readStdinString();
|
|
64495
64495
|
if (payloadStr === void 0)
|
|
64496
64496
|
throw new Error("No analytics payload received from stdin");
|
|
64497
64497
|
let { payload, skipMonorailAnalytics, skipMetricAnalytics } = JSON.parse(payloadStr);
|
|
@@ -64525,12 +64525,12 @@ async function reportAnalyticsEvent(options2) {
|
|
|
64525
64525
|
outputDebug(outputContent`Skipping command analytics, payload: ${outputToken.json(payload)}`);
|
|
64526
64526
|
return;
|
|
64527
64527
|
}
|
|
64528
|
-
let [{ platformAndArch: platformAndArch2 }, { isInsideContainer }] = await Promise.all([import("./os-
|
|
64528
|
+
let [{ platformAndArch: platformAndArch2 }, { isInsideContainer }] = await Promise.all([import("./os-DBTZU75W.js"), import("./system-WWTOWBTL.js")]), sendInBackground = !commandStartOptions?.requiresSyncAnalytics && platformAndArch2().platform !== "windows" && !ciPlatform().isCI && !isInsideContainer();
|
|
64529
64529
|
if (outputDebug(outputContent`Sending command analytics${sendInBackground ? " in background" : ""}, payload: ${outputToken.json(payload)}`), !sendInBackground) {
|
|
64530
64530
|
await sendAnalyticsEvent(payload, skipMonorailAnalytics, skipMetricAnalytics);
|
|
64531
64531
|
return;
|
|
64532
64532
|
}
|
|
64533
|
-
let { exec } = await import("./system-
|
|
64533
|
+
let { exec } = await import("./system-WWTOWBTL.js"), argv = process.argv;
|
|
64534
64534
|
if (!argv[1])
|
|
64535
64535
|
return;
|
|
64536
64536
|
let nodeBinary = process.execPath, args = [argv[1], "send-analytics"], analyticsProcess = exec(nodeBinary, args, {
|
|
@@ -66361,4 +66361,4 @@ mime-types/index.js:
|
|
|
66361
66361
|
* MIT Licensed
|
|
66362
66362
|
*)
|
|
66363
66363
|
*/
|
|
66364
|
-
//# sourceMappingURL=chunk-
|
|
66364
|
+
//# sourceMappingURL=chunk-EUNAB5L4.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isUnitTest,
|
|
3
3
|
isVerbose
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-JGPRSZGW.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-Y47AQKE4.js"), { exec } = await import("./system-WWTOWBTL.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-WWTOWBTL.js");
|
|
4742
4742
|
if (!terminalSupportsPrompting())
|
|
4743
4743
|
return { install: !1, alreadyInstalled: !1 };
|
|
4744
|
-
let { globalCLIVersion } = await import("./version-
|
|
4744
|
+
let { globalCLIVersion } = await import("./version-BKBNVN4W.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-TJXCZK6J.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: [
|
|
@@ -7347,4 +7347,4 @@ export {
|
|
|
7347
7347
|
shouldDisplayColors,
|
|
7348
7348
|
formatSection
|
|
7349
7349
|
};
|
|
7350
|
-
//# sourceMappingURL=chunk-
|
|
7350
|
+
//# sourceMappingURL=chunk-GFN3GKBA.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbortError,
|
|
3
3
|
BugError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OQQQWHVQ.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-GFN3GKBA.js";
|
|
17
17
|
import {
|
|
18
18
|
envPaths,
|
|
19
19
|
environmentVariables,
|
|
20
20
|
isUnitTest
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-JGPRSZGW.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-HI3ARKFA.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-XE7TNKNA.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-WWTOWBTL.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-JGPRSZGW.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
treeKill
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4A4N7JZN.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-FBN7RCTM.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-JDUVIO6O.js");
|
|
37
37
|
deprecationsHook(Command);
|
|
38
|
-
let { outputDebug } = await import("./output-
|
|
38
|
+
let { outputDebug } = await import("./output-Y47AQKE4.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-TB5LMEDX.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-SBSXAH7S.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-BT6AKFMW.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-TSNLFK3C.js"),
|
|
61
|
+
import("./version-BKBNVN4W.js"),
|
|
62
|
+
import("./output-Y47AQKE4.js"),
|
|
63
|
+
import("./upgrade-SBSXAH7S.js"),
|
|
64
|
+
import("./metadata-FBN7RCTM.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-6QWH63MN.js"),
|
|
85
|
+
import("./is-global-ROSPUGNG.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-FBN7RCTM.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-KJL734B5.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
TokenizedString,
|
|
6
6
|
stringifyMessage,
|
|
7
7
|
tokenItemToString
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GFN3GKBA.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-TJXCZK6J.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-OQQQWHVQ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
captureOutput,
|
|
3
3
|
require_lib
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UZHBHKSW.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-Q6U7YUES.js.map
|
|
@@ -2,23 +2,23 @@ import {
|
|
|
2
2
|
execa,
|
|
3
3
|
platformAndArch,
|
|
4
4
|
require_signal_exit
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZY44DXRY.js";
|
|
6
6
|
import {
|
|
7
7
|
runWithTimer
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-AP3EHA3P.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-OQQQWHVQ.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-4A4N7JZN.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-GFN3GKBA.js";
|
|
54
54
|
import {
|
|
55
55
|
isCloudEnvironment,
|
|
56
56
|
isUnitTest
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-JGPRSZGW.js";
|
|
58
58
|
import {
|
|
59
59
|
isTruthy
|
|
60
60
|
} from "./chunk-HNIAZN6U.js";
|
|
@@ -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-UZHBHKSW.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.8.
|
|
7
|
+
var CLI_KIT_VERSION = "4.8.2";
|
|
8
8
|
|
|
9
9
|
export {
|
|
10
10
|
CLI_KIT_VERSION
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk-
|
|
12
|
+
//# sourceMappingURL=chunk-YVMT3MYY.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
outputContent,
|
|
9
9
|
outputDebug
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GFN3GKBA.js";
|
|
11
11
|
import {
|
|
12
12
|
__commonJS,
|
|
13
13
|
__require,
|
|
@@ -1395,4 +1395,4 @@ export {
|
|
|
1395
1395
|
username,
|
|
1396
1396
|
platformAndArch
|
|
1397
1397
|
};
|
|
1398
|
-
//# sourceMappingURL=chunk-
|
|
1398
|
+
//# sourceMappingURL=chunk-ZY44DXRY.js.map
|