@shopify/create-app 4.1.0 → 4.2.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/{acorn-B7Z74OJ7.js → acorn-7AGUHU7X.js} +3 -3
- package/dist/{analytics-RYQKQ4DG.js → analytics-DXTA2BTW.js} +13 -13
- package/dist/{analytics-ZSO2XN53.js → analytics-VN37446T.js} +13 -13
- package/dist/angular-WQAMH4CA.js +3117 -0
- package/dist/{babel-CJ53QMMG.js → babel-ANYZPGZG.js} +3 -3
- package/dist/{chunk-UX6FRPFM.js → chunk-325YJ3GA.js} +588 -347
- package/dist/{chunk-MIECGF3H.js → chunk-6ZCMRIIK.js} +4 -4
- package/dist/{chunk-6OOTYTVB.js → chunk-7FVFOTP5.js} +218 -109
- package/dist/{chunk-RB7BXTZQ.js → chunk-AJMNFS2U.js} +138 -138
- package/dist/{chunk-CEGG2EWP.js → chunk-BGBNK6AD.js} +2 -2
- package/dist/{chunk-CE4S2SGM.js → chunk-CJMNB2EJ.js} +232 -151
- package/dist/{chunk-A6TJPMVH.js → chunk-EYELFNC7.js} +26 -26
- package/dist/{chunk-PVHOBK32.js → chunk-F6LQTIYO.js} +8 -5
- package/dist/{chunk-C5OLLQWI.js → chunk-HDGI2UBV.js} +56 -50
- package/dist/{chunk-7OFS6B2C.js → chunk-IEVOZUJ7.js} +2 -2
- package/dist/{chunk-SWITKWBS.js → chunk-KAVGZDPZ.js} +3 -3
- package/dist/{chunk-32DG2OXV.js → chunk-M2UQMZTP.js} +24 -17
- package/dist/{chunk-JT5MT2JE.js → chunk-RWI7QPAN.js} +8 -8
- package/dist/{chunk-BMI6QCMV.js → chunk-RXMZPVTQ.js} +555 -893
- package/dist/{chunk-TS6LOJXS.js → chunk-S2C3LKO2.js} +30 -29
- package/dist/{chunk-DWGHKWV5.js → chunk-SAVFAAHX.js} +20 -20
- package/dist/{chunk-TVUF42MB.js → chunk-W3I47I43.js} +3 -3
- package/dist/{chunk-S4YEA2XG.js → chunk-ZPFFIMXV.js} +10894 -2147
- package/dist/{conf-store-R26LOTXD.js → conf-store-A3JOFSUU.js} +7 -7
- package/dist/{custom-oclif-loader-354VAVF4.js → custom-oclif-loader-5SWH4GTV.js} +3 -3
- package/dist/{deprecations-JWETMJFF.js → deprecations-2ELX7ROT.js} +9 -9
- package/dist/{devtools-4EY2MEDN.js → devtools-FXOPST2H.js} +2 -2
- package/dist/dist-U3FLPMJE.js +510 -0
- package/dist/{environments-VKYG7DMX.js → environments-XMNHPGBO.js} +10 -10
- package/dist/{error-handler-YXGIUGKI.js → error-handler-YHPBH53J.js} +13 -13
- package/dist/{estree-UBDGCTT2.js → estree-E53K34OK.js} +4 -4
- package/dist/{flow-FUOSTAYW.js → flow-LFBHZSUI.js} +3 -3
- package/dist/{fs-HPLMOQQD.js → fs-O3X2BDXD.js} +3 -3
- package/dist/{glimmer-XBFG6K3P.js → glimmer-CVQMANCJ.js} +3 -3
- package/dist/{graphql-C5WOGPMM.js → graphql-ZOTIIZAG.js} +3 -3
- package/dist/hooks/postrun.js +4 -4
- package/dist/hooks/prerun.js +6 -6
- package/dist/{html-QRIT6TOU.js → html-WQ23J64T.js} +924 -830
- package/dist/index.js +5644 -4474
- package/dist/index.test.js +7251 -8136
- package/dist/{is-global-OXCPPXM7.js → is-global-ET3YL7TT.js} +3 -3
- package/dist/{is-wsl-YAJ3DFN7.js → is-wsl-BJRAPRQU.js} +6 -5
- package/dist/{latest-version-3PFKLJZM.js → latest-version-KKU2QQZW.js} +2 -2
- package/dist/{lib-HWIFANCM.js → lib-QBGNJ3PZ.js} +3 -3
- package/dist/{local-6ARTMTVE.js → local-QWRI6OFV.js} +2 -2
- package/dist/{markdown-M5KQ3F3U.js → markdown-OIW6O7KK.js} +4 -4
- package/dist/{meriyah-QX42RF3Q.js → meriyah-KMVSYB54.js} +3 -3
- package/dist/{metadata-Z65VJ53L.js → metadata-VZBMAQQC.js} +3 -3
- package/dist/{node-package-manager-Q3Y2FSRM.js → node-package-manager-W33EW2VU.js} +11 -11
- package/dist/{notifications-system-2HPAOE4P.js → notifications-system-ZFKFHX3O.js} +14 -14
- package/dist/{output-MCH67S5U.js → output-5PDIDYKG.js} +3 -3
- package/dist/{postcss-4PDU7IQT.js → postcss-WSM6XINW.js} +7 -5
- package/dist/{prettier-UAG5TKE4.js → prettier-3LMT6EEA.js} +2 -2
- package/dist/{system-YW6RJ2KQ.js → system-X6HCVR7P.js} +9 -9
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{typescript-LCSPQIRD.js → typescript-Q4XZM2A4.js} +3 -3
- package/dist/{ui-AYUE37Z3.js → ui-IN56X5S4.js} +9 -9
- package/dist/{upgrade-DNAT5W4B.js → upgrade-OAFAJX4I.js} +15 -15
- package/dist/{version-V77ZX5N2.js → version-D3H6OPFX.js} +10 -10
- package/dist/{version-2J64V5CP.js → version-QYHHSKFX.js} +2 -2
- package/dist/{yaml-VGESS2QB.js → yaml-NI5GGQLI.js} +3 -3
- package/oclif.manifest.json +1 -1
- package/package.json +4 -4
- package/dist/angular-IKHE4H7C.js +0 -2771
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
init_cjs_shims
|
|
9
9
|
} from "./chunk-PKR7KJ6P.js";
|
|
10
10
|
|
|
11
|
-
// ../../node_modules/.pnpm/macaddress@0.5.
|
|
11
|
+
// ../../node_modules/.pnpm/macaddress@0.5.4/node_modules/macaddress/lib/util.js
|
|
12
12
|
var require_util = __commonJS({
|
|
13
|
-
"../../node_modules/.pnpm/macaddress@0.5.
|
|
13
|
+
"../../node_modules/.pnpm/macaddress@0.5.4/node_modules/macaddress/lib/util.js"(exports, module) {
|
|
14
14
|
"use strict";
|
|
15
15
|
init_cjs_shims();
|
|
16
16
|
var lib = {}, nextTick = process.nextTick || global.setImmediate || global.setTimeout;
|
|
@@ -34,7 +34,7 @@ var require_util = __commonJS({
|
|
|
34
34
|
return new Promise(function(resolve, reject) {
|
|
35
35
|
func(function(err, data) {
|
|
36
36
|
if (err) {
|
|
37
|
-
|
|
37
|
+
err instanceof Error || (err = new Error(err)), reject(err);
|
|
38
38
|
return;
|
|
39
39
|
}
|
|
40
40
|
resolve(data);
|
|
@@ -69,9 +69,9 @@ var require_util = __commonJS({
|
|
|
69
69
|
}
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
// ../../node_modules/.pnpm/macaddress@0.5.
|
|
72
|
+
// ../../node_modules/.pnpm/macaddress@0.5.4/node_modules/macaddress/lib/platform/getmacaddress_windows.js
|
|
73
73
|
var require_getmacaddress_windows = __commonJS({
|
|
74
|
-
"../../node_modules/.pnpm/macaddress@0.5.
|
|
74
|
+
"../../node_modules/.pnpm/macaddress@0.5.4/node_modules/macaddress/lib/platform/getmacaddress_windows.js"(exports, module) {
|
|
75
75
|
init_cjs_shims();
|
|
76
76
|
var execFile = __require("child_process").execFile, regexRegex = /[-\/\\^$*+?.()|[\]{}]/g;
|
|
77
77
|
function escape(string) {
|
|
@@ -98,9 +98,9 @@ var require_getmacaddress_windows = __commonJS({
|
|
|
98
98
|
}
|
|
99
99
|
});
|
|
100
100
|
|
|
101
|
-
// ../../node_modules/.pnpm/macaddress@0.5.
|
|
101
|
+
// ../../node_modules/.pnpm/macaddress@0.5.4/node_modules/macaddress/lib/platform/getmacaddress_linux.js
|
|
102
102
|
var require_getmacaddress_linux = __commonJS({
|
|
103
|
-
"../../node_modules/.pnpm/macaddress@0.5.
|
|
103
|
+
"../../node_modules/.pnpm/macaddress@0.5.4/node_modules/macaddress/lib/platform/getmacaddress_linux.js"(exports, module) {
|
|
104
104
|
init_cjs_shims();
|
|
105
105
|
var execFile = __require("child_process").execFile;
|
|
106
106
|
module.exports = function(iface, callback) {
|
|
@@ -115,9 +115,9 @@ var require_getmacaddress_linux = __commonJS({
|
|
|
115
115
|
}
|
|
116
116
|
});
|
|
117
117
|
|
|
118
|
-
// ../../node_modules/.pnpm/macaddress@0.5.
|
|
118
|
+
// ../../node_modules/.pnpm/macaddress@0.5.4/node_modules/macaddress/lib/platform/getmacaddress_unix.js
|
|
119
119
|
var require_getmacaddress_unix = __commonJS({
|
|
120
|
-
"../../node_modules/.pnpm/macaddress@0.5.
|
|
120
|
+
"../../node_modules/.pnpm/macaddress@0.5.4/node_modules/macaddress/lib/platform/getmacaddress_unix.js"(exports, module) {
|
|
121
121
|
init_cjs_shims();
|
|
122
122
|
var execFile = __require("child_process").execFile;
|
|
123
123
|
module.exports = function(iface, callback) {
|
|
@@ -137,9 +137,9 @@ var require_getmacaddress_unix = __commonJS({
|
|
|
137
137
|
}
|
|
138
138
|
});
|
|
139
139
|
|
|
140
|
-
// ../../node_modules/.pnpm/macaddress@0.5.
|
|
140
|
+
// ../../node_modules/.pnpm/macaddress@0.5.4/node_modules/macaddress/lib/getmacaddress.js
|
|
141
141
|
var require_getmacaddress = __commonJS({
|
|
142
|
-
"../../node_modules/.pnpm/macaddress@0.5.
|
|
142
|
+
"../../node_modules/.pnpm/macaddress@0.5.4/node_modules/macaddress/lib/getmacaddress.js"(exports, module) {
|
|
143
143
|
init_cjs_shims();
|
|
144
144
|
var os2 = __require("os"), _getMacAddress, _validIfaceRegExp = "^[a-z0-9]+$";
|
|
145
145
|
switch (os2.platform()) {
|
|
@@ -175,9 +175,9 @@ var require_getmacaddress = __commonJS({
|
|
|
175
175
|
}
|
|
176
176
|
});
|
|
177
177
|
|
|
178
|
-
// ../../node_modules/.pnpm/macaddress@0.5.
|
|
178
|
+
// ../../node_modules/.pnpm/macaddress@0.5.4/node_modules/macaddress/lib/platform/getallinterfaces_windows.js
|
|
179
179
|
var require_getallinterfaces_windows = __commonJS({
|
|
180
|
-
"../../node_modules/.pnpm/macaddress@0.5.
|
|
180
|
+
"../../node_modules/.pnpm/macaddress@0.5.4/node_modules/macaddress/lib/platform/getallinterfaces_windows.js"(exports, module) {
|
|
181
181
|
"use strict";
|
|
182
182
|
init_cjs_shims();
|
|
183
183
|
var execFile = __require("child_process").execFile;
|
|
@@ -199,9 +199,9 @@ var require_getallinterfaces_windows = __commonJS({
|
|
|
199
199
|
}
|
|
200
200
|
});
|
|
201
201
|
|
|
202
|
-
// ../../node_modules/.pnpm/macaddress@0.5.
|
|
202
|
+
// ../../node_modules/.pnpm/macaddress@0.5.4/node_modules/macaddress/lib/platform/getallinterfaces_linux.js
|
|
203
203
|
var require_getallinterfaces_linux = __commonJS({
|
|
204
|
-
"../../node_modules/.pnpm/macaddress@0.5.
|
|
204
|
+
"../../node_modules/.pnpm/macaddress@0.5.4/node_modules/macaddress/lib/platform/getallinterfaces_linux.js"(exports, module) {
|
|
205
205
|
init_cjs_shims();
|
|
206
206
|
var execFile = __require("child_process").execFile;
|
|
207
207
|
module.exports = function(callback) {
|
|
@@ -220,9 +220,9 @@ var require_getallinterfaces_linux = __commonJS({
|
|
|
220
220
|
}
|
|
221
221
|
});
|
|
222
222
|
|
|
223
|
-
// ../../node_modules/.pnpm/macaddress@0.5.
|
|
223
|
+
// ../../node_modules/.pnpm/macaddress@0.5.4/node_modules/macaddress/lib/platform/getallinterfaces_unix.js
|
|
224
224
|
var require_getallinterfaces_unix = __commonJS({
|
|
225
|
-
"../../node_modules/.pnpm/macaddress@0.5.
|
|
225
|
+
"../../node_modules/.pnpm/macaddress@0.5.4/node_modules/macaddress/lib/platform/getallinterfaces_unix.js"(exports, module) {
|
|
226
226
|
"use strict";
|
|
227
227
|
init_cjs_shims();
|
|
228
228
|
var execFile = __require("child_process").execFile;
|
|
@@ -242,9 +242,9 @@ var require_getallinterfaces_unix = __commonJS({
|
|
|
242
242
|
}
|
|
243
243
|
});
|
|
244
244
|
|
|
245
|
-
// ../../node_modules/.pnpm/macaddress@0.5.
|
|
245
|
+
// ../../node_modules/.pnpm/macaddress@0.5.4/node_modules/macaddress/lib/getallinterfaces.js
|
|
246
246
|
var require_getallinterfaces = __commonJS({
|
|
247
|
-
"../../node_modules/.pnpm/macaddress@0.5.
|
|
247
|
+
"../../node_modules/.pnpm/macaddress@0.5.4/node_modules/macaddress/lib/getallinterfaces.js"(exports, module) {
|
|
248
248
|
init_cjs_shims();
|
|
249
249
|
var os2 = __require("os"), _getAllInterfaces;
|
|
250
250
|
switch (os2.platform()) {
|
|
@@ -267,9 +267,9 @@ var require_getallinterfaces = __commonJS({
|
|
|
267
267
|
}
|
|
268
268
|
});
|
|
269
269
|
|
|
270
|
-
// ../../node_modules/.pnpm/macaddress@0.5.
|
|
270
|
+
// ../../node_modules/.pnpm/macaddress@0.5.4/node_modules/macaddress/lib/networkinterfaces.js
|
|
271
271
|
var require_networkinterfaces = __commonJS({
|
|
272
|
-
"../../node_modules/.pnpm/macaddress@0.5.
|
|
272
|
+
"../../node_modules/.pnpm/macaddress@0.5.4/node_modules/macaddress/lib/networkinterfaces.js"(exports, module) {
|
|
273
273
|
init_cjs_shims();
|
|
274
274
|
var os2 = __require("os");
|
|
275
275
|
module.exports = function() {
|
|
@@ -294,9 +294,9 @@ var require_networkinterfaces = __commonJS({
|
|
|
294
294
|
}
|
|
295
295
|
});
|
|
296
296
|
|
|
297
|
-
// ../../node_modules/.pnpm/macaddress@0.5.
|
|
297
|
+
// ../../node_modules/.pnpm/macaddress@0.5.4/node_modules/macaddress/index.js
|
|
298
298
|
var require_macaddress = __commonJS({
|
|
299
|
-
"../../node_modules/.pnpm/macaddress@0.5.
|
|
299
|
+
"../../node_modules/.pnpm/macaddress@0.5.4/node_modules/macaddress/index.js"(exports, module) {
|
|
300
300
|
"use strict";
|
|
301
301
|
init_cjs_shims();
|
|
302
302
|
var util = require_util(), lib = {};
|
|
@@ -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-O3X2BDXD.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-X6HCVR7P.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-EYELFNC7.js.map
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderWarning
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HDGI2UBV.js";
|
|
4
4
|
import {
|
|
5
5
|
addSensitiveMetadata
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KAVGZDPZ.js";
|
|
7
|
+
import {
|
|
8
|
+
AbortError
|
|
9
|
+
} from "./chunk-6ZCMRIIK.js";
|
|
7
10
|
import {
|
|
8
11
|
fileExists,
|
|
9
12
|
findPathUp,
|
|
10
13
|
readFile,
|
|
11
14
|
writeFile
|
|
12
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RXMZPVTQ.js";
|
|
13
16
|
import {
|
|
14
17
|
cwd
|
|
15
18
|
} from "./chunk-ACS6S42W.js";
|
|
@@ -1620,7 +1623,7 @@ function encodeToml(content) {
|
|
|
1620
1623
|
}
|
|
1621
1624
|
|
|
1622
1625
|
// ../cli-kit/dist/public/node/toml/toml-file.js
|
|
1623
|
-
var import_toml_patch = __toESM(require_toml_patch()
|
|
1626
|
+
var import_toml_patch = __toESM(require_toml_patch()), TomlFileError = class extends AbortError {
|
|
1624
1627
|
constructor(path, message) {
|
|
1625
1628
|
super(message), this.name = "TomlFileError", this.path = path;
|
|
1626
1629
|
}
|
|
@@ -1768,4 +1771,4 @@ export {
|
|
|
1768
1771
|
loadEnvironment,
|
|
1769
1772
|
environmentFilePath
|
|
1770
1773
|
};
|
|
1771
|
-
//# sourceMappingURL=chunk-
|
|
1774
|
+
//# sourceMappingURL=chunk-F6LQTIYO.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runWithTimer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KAVGZDPZ.js";
|
|
4
4
|
import {
|
|
5
5
|
AbortError,
|
|
6
6
|
AbortSilentError,
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
ExternalError,
|
|
9
9
|
cleanSingleStackTracePath,
|
|
10
10
|
mimicFunction
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6ZCMRIIK.js";
|
|
12
12
|
import {
|
|
13
13
|
require_ansi_styles
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-325YJ3GA.js";
|
|
15
15
|
import {
|
|
16
16
|
require_source_map
|
|
17
17
|
} from "./chunk-OO33NRTL.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./chunk-PES3XMQM.js";
|
|
21
21
|
import {
|
|
22
22
|
treeKill
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-BGBNK6AD.js";
|
|
24
24
|
import {
|
|
25
25
|
Box_default,
|
|
26
26
|
Command,
|
|
@@ -67,11 +67,12 @@ import {
|
|
|
67
67
|
use_input_default,
|
|
68
68
|
use_stdin_default,
|
|
69
69
|
use_stdout_default
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-RXMZPVTQ.js";
|
|
71
71
|
import {
|
|
72
|
+
isCloudEnvironment,
|
|
72
73
|
isTruthy,
|
|
73
74
|
isUnitTest
|
|
74
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-EYELFNC7.js";
|
|
75
76
|
import {
|
|
76
77
|
cwd,
|
|
77
78
|
delimiter,
|
|
@@ -956,9 +957,9 @@ var require_get_source = __commonJS({
|
|
|
956
957
|
}
|
|
957
958
|
});
|
|
958
959
|
|
|
959
|
-
// ../../node_modules/.pnpm/stacktracey@2.
|
|
960
|
+
// ../../node_modules/.pnpm/stacktracey@2.2.0/node_modules/stacktracey/impl/partition.js
|
|
960
961
|
var require_partition = __commonJS({
|
|
961
|
-
"../../node_modules/.pnpm/stacktracey@2.
|
|
962
|
+
"../../node_modules/.pnpm/stacktracey@2.2.0/node_modules/stacktracey/impl/partition.js"(exports, module) {
|
|
962
963
|
"use strict";
|
|
963
964
|
init_cjs_shims();
|
|
964
965
|
module.exports = (arr_, pred) => {
|
|
@@ -1071,9 +1072,9 @@ var require_as_table = __commonJS({
|
|
|
1071
1072
|
}
|
|
1072
1073
|
});
|
|
1073
1074
|
|
|
1074
|
-
// ../../node_modules/.pnpm/stacktracey@2.
|
|
1075
|
+
// ../../node_modules/.pnpm/stacktracey@2.2.0/node_modules/stacktracey/stacktracey.js
|
|
1075
1076
|
var require_stacktracey = __commonJS({
|
|
1076
|
-
"../../node_modules/.pnpm/stacktracey@2.
|
|
1077
|
+
"../../node_modules/.pnpm/stacktracey@2.2.0/node_modules/stacktracey/stacktracey.js"(exports, module) {
|
|
1077
1078
|
"use strict";
|
|
1078
1079
|
init_cjs_shims();
|
|
1079
1080
|
var O = Object, isBrowser = typeof window < "u" && window.window === window && window.navigator, nodeRequire = isBrowser ? null : module.require, lastOf = (x) => x[x.length - 1], getSource = require_get_source(), partition = require_partition(), asTable = require_as_table(), nixSlashes = (x) => x.replace(/\\/g, "/"), pathRoot = isBrowser ? window.location.href : nixSlashes(process.cwd()) + "/", StackTracey2 = class _StackTracey {
|
|
@@ -1131,7 +1132,7 @@ var require_stacktracey = __commonJS({
|
|
|
1131
1132
|
line = line.trim();
|
|
1132
1133
|
let callee, fileLineColumn = [], native, planA, planB;
|
|
1133
1134
|
if ((planA = line.match(/at (.+) \(eval at .+ \((.+)\), .+\)/)) || // eval calls
|
|
1134
|
-
(planA = line.match(/at (.+) \((.+)\)/)) || line.slice(0, 3) !== "at " && (planA = line.match(/(.*)@(.*)/)))
|
|
1135
|
+
(planA = line.match(/at (.+) \((.+)\)/)) || (planA = line.match(/at (.+) ([^ ]+)/)) || line.slice(0, 3) !== "at " && (planA = line.match(/(.*)@(.*)/)))
|
|
1135
1136
|
callee = planA[1], native = planA[2] === "native", fileLineColumn = (planA[2].match(/(.*):(\d+):(\d+)/) || planA[2].match(/(.*):(\d+)/) || []).slice(1);
|
|
1136
1137
|
else if (planB = line.match(/^(at\s+)*(.+):(\d+):(\d+)/))
|
|
1137
1138
|
fileLineColumn = planB.slice(2);
|
|
@@ -1239,9 +1240,9 @@ var require_stacktracey = __commonJS({
|
|
|
1239
1240
|
}
|
|
1240
1241
|
});
|
|
1241
1242
|
|
|
1242
|
-
// ../../node_modules/.pnpm/lodash@4.
|
|
1243
|
+
// ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_createBaseFor.js
|
|
1243
1244
|
var require_createBaseFor = __commonJS({
|
|
1244
|
-
"../../node_modules/.pnpm/lodash@4.
|
|
1245
|
+
"../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_createBaseFor.js"(exports, module) {
|
|
1245
1246
|
init_cjs_shims();
|
|
1246
1247
|
function createBaseFor(fromRight) {
|
|
1247
1248
|
return function(object, iteratee, keysFunc) {
|
|
@@ -1257,18 +1258,18 @@ var require_createBaseFor = __commonJS({
|
|
|
1257
1258
|
}
|
|
1258
1259
|
});
|
|
1259
1260
|
|
|
1260
|
-
// ../../node_modules/.pnpm/lodash@4.
|
|
1261
|
+
// ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseFor.js
|
|
1261
1262
|
var require_baseFor = __commonJS({
|
|
1262
|
-
"../../node_modules/.pnpm/lodash@4.
|
|
1263
|
+
"../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseFor.js"(exports, module) {
|
|
1263
1264
|
init_cjs_shims();
|
|
1264
1265
|
var createBaseFor = require_createBaseFor(), baseFor = createBaseFor();
|
|
1265
1266
|
module.exports = baseFor;
|
|
1266
1267
|
}
|
|
1267
1268
|
});
|
|
1268
1269
|
|
|
1269
|
-
// ../../node_modules/.pnpm/lodash@4.
|
|
1270
|
+
// ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseForOwn.js
|
|
1270
1271
|
var require_baseForOwn = __commonJS({
|
|
1271
|
-
"../../node_modules/.pnpm/lodash@4.
|
|
1272
|
+
"../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseForOwn.js"(exports, module) {
|
|
1272
1273
|
init_cjs_shims();
|
|
1273
1274
|
var baseFor = require_baseFor(), keys = require_keys();
|
|
1274
1275
|
function baseForOwn(object, iteratee) {
|
|
@@ -1278,9 +1279,9 @@ var require_baseForOwn = __commonJS({
|
|
|
1278
1279
|
}
|
|
1279
1280
|
});
|
|
1280
1281
|
|
|
1281
|
-
// ../../node_modules/.pnpm/lodash@4.
|
|
1282
|
+
// ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_createBaseEach.js
|
|
1282
1283
|
var require_createBaseEach = __commonJS({
|
|
1283
|
-
"../../node_modules/.pnpm/lodash@4.
|
|
1284
|
+
"../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_createBaseEach.js"(exports, module) {
|
|
1284
1285
|
init_cjs_shims();
|
|
1285
1286
|
var isArrayLike = require_isArrayLike();
|
|
1286
1287
|
function createBaseEach(eachFunc, fromRight) {
|
|
@@ -1298,18 +1299,18 @@ var require_createBaseEach = __commonJS({
|
|
|
1298
1299
|
}
|
|
1299
1300
|
});
|
|
1300
1301
|
|
|
1301
|
-
// ../../node_modules/.pnpm/lodash@4.
|
|
1302
|
+
// ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseEach.js
|
|
1302
1303
|
var require_baseEach = __commonJS({
|
|
1303
|
-
"../../node_modules/.pnpm/lodash@4.
|
|
1304
|
+
"../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseEach.js"(exports, module) {
|
|
1304
1305
|
init_cjs_shims();
|
|
1305
1306
|
var baseForOwn = require_baseForOwn(), createBaseEach = require_createBaseEach(), baseEach = createBaseEach(baseForOwn);
|
|
1306
1307
|
module.exports = baseEach;
|
|
1307
1308
|
}
|
|
1308
1309
|
});
|
|
1309
1310
|
|
|
1310
|
-
// ../../node_modules/.pnpm/lodash@4.
|
|
1311
|
+
// ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseMap.js
|
|
1311
1312
|
var require_baseMap = __commonJS({
|
|
1312
|
-
"../../node_modules/.pnpm/lodash@4.
|
|
1313
|
+
"../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseMap.js"(exports, module) {
|
|
1313
1314
|
init_cjs_shims();
|
|
1314
1315
|
var baseEach = require_baseEach(), isArrayLike = require_isArrayLike();
|
|
1315
1316
|
function baseMap(collection, iteratee) {
|
|
@@ -1322,9 +1323,9 @@ var require_baseMap = __commonJS({
|
|
|
1322
1323
|
}
|
|
1323
1324
|
});
|
|
1324
1325
|
|
|
1325
|
-
// ../../node_modules/.pnpm/lodash@4.
|
|
1326
|
+
// ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseSortBy.js
|
|
1326
1327
|
var require_baseSortBy = __commonJS({
|
|
1327
|
-
"../../node_modules/.pnpm/lodash@4.
|
|
1328
|
+
"../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseSortBy.js"(exports, module) {
|
|
1328
1329
|
init_cjs_shims();
|
|
1329
1330
|
function baseSortBy(array, comparer) {
|
|
1330
1331
|
var length = array.length;
|
|
@@ -1336,9 +1337,9 @@ var require_baseSortBy = __commonJS({
|
|
|
1336
1337
|
}
|
|
1337
1338
|
});
|
|
1338
1339
|
|
|
1339
|
-
// ../../node_modules/.pnpm/lodash@4.
|
|
1340
|
+
// ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_compareAscending.js
|
|
1340
1341
|
var require_compareAscending = __commonJS({
|
|
1341
|
-
"../../node_modules/.pnpm/lodash@4.
|
|
1342
|
+
"../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_compareAscending.js"(exports, module) {
|
|
1342
1343
|
init_cjs_shims();
|
|
1343
1344
|
var isSymbol = require_isSymbol();
|
|
1344
1345
|
function compareAscending(value, other) {
|
|
@@ -1355,9 +1356,9 @@ var require_compareAscending = __commonJS({
|
|
|
1355
1356
|
}
|
|
1356
1357
|
});
|
|
1357
1358
|
|
|
1358
|
-
// ../../node_modules/.pnpm/lodash@4.
|
|
1359
|
+
// ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_compareMultiple.js
|
|
1359
1360
|
var require_compareMultiple = __commonJS({
|
|
1360
|
-
"../../node_modules/.pnpm/lodash@4.
|
|
1361
|
+
"../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_compareMultiple.js"(exports, module) {
|
|
1361
1362
|
init_cjs_shims();
|
|
1362
1363
|
var compareAscending = require_compareAscending();
|
|
1363
1364
|
function compareMultiple(object, other, orders) {
|
|
@@ -1376,9 +1377,9 @@ var require_compareMultiple = __commonJS({
|
|
|
1376
1377
|
}
|
|
1377
1378
|
});
|
|
1378
1379
|
|
|
1379
|
-
// ../../node_modules/.pnpm/lodash@4.
|
|
1380
|
+
// ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseOrderBy.js
|
|
1380
1381
|
var require_baseOrderBy = __commonJS({
|
|
1381
|
-
"../../node_modules/.pnpm/lodash@4.
|
|
1382
|
+
"../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseOrderBy.js"(exports, module) {
|
|
1382
1383
|
init_cjs_shims();
|
|
1383
1384
|
var arrayMap = require_arrayMap(), baseGet = require_baseGet(), baseIteratee = require_baseIteratee(), baseMap = require_baseMap(), baseSortBy = require_baseSortBy(), baseUnary = require_baseUnary(), compareMultiple = require_compareMultiple(), identity = require_identity(), isArray = require_isArray();
|
|
1384
1385
|
function baseOrderBy(collection, iteratees, orders) {
|
|
@@ -1403,9 +1404,9 @@ var require_baseOrderBy = __commonJS({
|
|
|
1403
1404
|
}
|
|
1404
1405
|
});
|
|
1405
1406
|
|
|
1406
|
-
// ../../node_modules/.pnpm/lodash@4.
|
|
1407
|
+
// ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_isIterateeCall.js
|
|
1407
1408
|
var require_isIterateeCall = __commonJS({
|
|
1408
|
-
"../../node_modules/.pnpm/lodash@4.
|
|
1409
|
+
"../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_isIterateeCall.js"(exports, module) {
|
|
1409
1410
|
init_cjs_shims();
|
|
1410
1411
|
var eq = require_eq(), isArrayLike = require_isArrayLike(), isIndex = require_isIndex(), isObject = require_isObject();
|
|
1411
1412
|
function isIterateeCall(value, index, object) {
|
|
@@ -1418,9 +1419,9 @@ var require_isIterateeCall = __commonJS({
|
|
|
1418
1419
|
}
|
|
1419
1420
|
});
|
|
1420
1421
|
|
|
1421
|
-
// ../../node_modules/.pnpm/lodash@4.
|
|
1422
|
+
// ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/sortBy.js
|
|
1422
1423
|
var require_sortBy = __commonJS({
|
|
1423
|
-
"../../node_modules/.pnpm/lodash@4.
|
|
1424
|
+
"../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/sortBy.js"(exports, module) {
|
|
1424
1425
|
init_cjs_shims();
|
|
1425
1426
|
var baseFlatten = require_baseFlatten(), baseOrderBy = require_baseOrderBy(), baseRest = require_baseRest(), isIterateeCall = require_isIterateeCall(), sortBy2 = baseRest(function(collection, iteratees) {
|
|
1426
1427
|
if (collection == null)
|
|
@@ -2680,9 +2681,9 @@ var require_gradient_string = __commonJS({
|
|
|
2680
2681
|
}
|
|
2681
2682
|
});
|
|
2682
2683
|
|
|
2683
|
-
// ../../node_modules/.pnpm/lodash@4.
|
|
2684
|
+
// ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/now.js
|
|
2684
2685
|
var require_now = __commonJS({
|
|
2685
|
-
"../../node_modules/.pnpm/lodash@4.
|
|
2686
|
+
"../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/now.js"(exports, module) {
|
|
2686
2687
|
init_cjs_shims();
|
|
2687
2688
|
var root = require_root(), now = function() {
|
|
2688
2689
|
return root.Date.now();
|
|
@@ -2691,9 +2692,9 @@ var require_now = __commonJS({
|
|
|
2691
2692
|
}
|
|
2692
2693
|
});
|
|
2693
2694
|
|
|
2694
|
-
// ../../node_modules/.pnpm/lodash@4.
|
|
2695
|
+
// ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_trimmedEndIndex.js
|
|
2695
2696
|
var require_trimmedEndIndex = __commonJS({
|
|
2696
|
-
"../../node_modules/.pnpm/lodash@4.
|
|
2697
|
+
"../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_trimmedEndIndex.js"(exports, module) {
|
|
2697
2698
|
init_cjs_shims();
|
|
2698
2699
|
var reWhitespace = /\s/;
|
|
2699
2700
|
function trimmedEndIndex(string) {
|
|
@@ -2705,9 +2706,9 @@ var require_trimmedEndIndex = __commonJS({
|
|
|
2705
2706
|
}
|
|
2706
2707
|
});
|
|
2707
2708
|
|
|
2708
|
-
// ../../node_modules/.pnpm/lodash@4.
|
|
2709
|
+
// ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseTrim.js
|
|
2709
2710
|
var require_baseTrim = __commonJS({
|
|
2710
|
-
"../../node_modules/.pnpm/lodash@4.
|
|
2711
|
+
"../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseTrim.js"(exports, module) {
|
|
2711
2712
|
init_cjs_shims();
|
|
2712
2713
|
var trimmedEndIndex = require_trimmedEndIndex(), reTrimStart = /^\s+/;
|
|
2713
2714
|
function baseTrim(string) {
|
|
@@ -2717,9 +2718,9 @@ var require_baseTrim = __commonJS({
|
|
|
2717
2718
|
}
|
|
2718
2719
|
});
|
|
2719
2720
|
|
|
2720
|
-
// ../../node_modules/.pnpm/lodash@4.
|
|
2721
|
+
// ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/toNumber.js
|
|
2721
2722
|
var require_toNumber = __commonJS({
|
|
2722
|
-
"../../node_modules/.pnpm/lodash@4.
|
|
2723
|
+
"../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/toNumber.js"(exports, module) {
|
|
2723
2724
|
init_cjs_shims();
|
|
2724
2725
|
var baseTrim = require_baseTrim(), isObject = require_isObject(), isSymbol = require_isSymbol(), NAN = NaN, reIsBadHex = /^[-+]0x[0-9a-f]+$/i, reIsBinary = /^0b[01]+$/i, reIsOctal = /^0o[0-7]+$/i, freeParseInt = parseInt;
|
|
2725
2726
|
function toNumber(value) {
|
|
@@ -2741,9 +2742,9 @@ var require_toNumber = __commonJS({
|
|
|
2741
2742
|
}
|
|
2742
2743
|
});
|
|
2743
2744
|
|
|
2744
|
-
// ../../node_modules/.pnpm/lodash@4.
|
|
2745
|
+
// ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/debounce.js
|
|
2745
2746
|
var require_debounce = __commonJS({
|
|
2746
|
-
"../../node_modules/.pnpm/lodash@4.
|
|
2747
|
+
"../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/debounce.js"(exports, module) {
|
|
2747
2748
|
init_cjs_shims();
|
|
2748
2749
|
var isObject = require_isObject(), now = require_now(), toNumber = require_toNumber(), FUNC_ERROR_TEXT = "Expected a function", nativeMax = Math.max, nativeMin = Math.min;
|
|
2749
2750
|
function debounce2(func, wait, options) {
|
|
@@ -2797,9 +2798,9 @@ var require_debounce = __commonJS({
|
|
|
2797
2798
|
}
|
|
2798
2799
|
});
|
|
2799
2800
|
|
|
2800
|
-
// ../../node_modules/.pnpm/lodash@4.
|
|
2801
|
+
// ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/throttle.js
|
|
2801
2802
|
var require_throttle = __commonJS({
|
|
2802
|
-
"../../node_modules/.pnpm/lodash@4.
|
|
2803
|
+
"../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/throttle.js"(exports, module) {
|
|
2803
2804
|
init_cjs_shims();
|
|
2804
2805
|
var debounce2 = require_debounce(), isObject = require_isObject(), FUNC_ERROR_TEXT = "Expected a function";
|
|
2805
2806
|
function throttle2(func, wait, options) {
|
|
@@ -3702,6 +3703,8 @@ var import_supports_hyperlinks = __toESM(require_supports_hyperlinks(), 1), impo
|
|
|
3702
3703
|
import { fstatSync } from "fs";
|
|
3703
3704
|
var MAX_STDIN_SIZE = 10 * 1024 * 1024;
|
|
3704
3705
|
async function openURL(url) {
|
|
3706
|
+
if (isCloudEnvironment())
|
|
3707
|
+
return !1;
|
|
3705
3708
|
let externalOpen = await import("./open-BHIF7E3E.js");
|
|
3706
3709
|
try {
|
|
3707
3710
|
return await externalOpen.default(url), !0;
|
|
@@ -3811,7 +3814,7 @@ function isCI() {
|
|
|
3811
3814
|
return isTruthy(process.env.CI);
|
|
3812
3815
|
}
|
|
3813
3816
|
async function isWsl() {
|
|
3814
|
-
return (await import("./is-wsl-
|
|
3817
|
+
return (await import("./is-wsl-BJRAPRQU.js")).default;
|
|
3815
3818
|
}
|
|
3816
3819
|
function isStdinPiped() {
|
|
3817
3820
|
try {
|
|
@@ -3868,7 +3871,10 @@ function renderOnce(element, { logLevel = "info", renderOptions }) {
|
|
|
3868
3871
|
return renderedString && output(renderedString, logLevel), unmount(), renderedString;
|
|
3869
3872
|
}
|
|
3870
3873
|
async function render(element, options) {
|
|
3871
|
-
let { waitUntilExit } = render_default(import_react.default.createElement(InkLifecycleRoot, null, element),
|
|
3874
|
+
let { waitUntilExit } = render_default(import_react.default.createElement(InkLifecycleRoot, null, element), {
|
|
3875
|
+
patchConsole: !isUnitTest(),
|
|
3876
|
+
...options
|
|
3877
|
+
});
|
|
3872
3878
|
await waitUntilExit();
|
|
3873
3879
|
}
|
|
3874
3880
|
var Stdout = class extends EventEmitter {
|
|
@@ -5617,4 +5623,4 @@ export {
|
|
|
5617
5623
|
isStdinPiped,
|
|
5618
5624
|
readStdinString
|
|
5619
5625
|
};
|
|
5620
|
-
//# sourceMappingURL=chunk-
|
|
5626
|
+
//# sourceMappingURL=chunk-HDGI2UBV.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
|
+
var CLI_KIT_VERSION = "4.2.0";
|
|
8
8
|
|
|
9
9
|
export {
|
|
10
10
|
CLI_KIT_VERSION
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk-
|
|
12
|
+
//# sourceMappingURL=chunk-IEVOZUJ7.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isUnitTest
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EYELFNC7.js";
|
|
4
4
|
import {
|
|
5
5
|
init_cjs_shims
|
|
6
6
|
} from "./chunk-PKR7KJ6P.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-YHPBH53J.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-KAVGZDPZ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
treeKill
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BGBNK6AD.js";
|
|
4
4
|
import {
|
|
5
5
|
init_cjs_shims
|
|
6
6
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -26,15 +26,22 @@ function waitForPostRunHookAndExit() {
|
|
|
26
26
|
}
|
|
27
27
|
var hook = async ({ config, Command }) => {
|
|
28
28
|
await detectStopCommand(Command);
|
|
29
|
-
let
|
|
30
|
-
await
|
|
31
|
-
|
|
29
|
+
let metadata = await import("./metadata-VZBMAQQC.js"), { commandStartOptions } = metadata.getAllSensitiveMetadata();
|
|
30
|
+
commandStartOptions && await metadata.addSensitiveMetadata(() => ({
|
|
31
|
+
commandStartOptions: {
|
|
32
|
+
...commandStartOptions,
|
|
33
|
+
endTime: (/* @__PURE__ */ new Date()).getTime()
|
|
34
|
+
}
|
|
35
|
+
}));
|
|
36
|
+
let { postrun: deprecationsHook } = await import("./deprecations-2ELX7ROT.js");
|
|
32
37
|
deprecationsHook(Command);
|
|
33
|
-
let { outputDebug } = await import("./output-
|
|
34
|
-
outputDebug(`Completed command ${command}`), !command.includes("notifications") && !command.includes("upgrade") && await autoUpgradeIfNeeded()
|
|
38
|
+
let { outputDebug } = await import("./output-5PDIDYKG.js"), command = Command.id.replace(/:/g, " ");
|
|
39
|
+
outputDebug(`Completed command ${command}`), !command.includes("notifications") && !command.includes("upgrade") && await autoUpgradeIfNeeded();
|
|
40
|
+
let { reportAnalyticsEvent } = await import("./analytics-DXTA2BTW.js");
|
|
41
|
+
await reportAnalyticsEvent({ config, exitMode: "ok" }), postRunHookCompleted = !0;
|
|
35
42
|
};
|
|
36
43
|
async function autoUpgradeIfNeeded() {
|
|
37
|
-
let { versionToAutoUpgrade, warnIfUpgradeAvailable } = await import("./upgrade-
|
|
44
|
+
let { versionToAutoUpgrade, warnIfUpgradeAvailable } = await import("./upgrade-OAFAJX4I.js"), newerVersion = versionToAutoUpgrade();
|
|
38
45
|
if (!newerVersion) {
|
|
39
46
|
await warnIfUpgradeAvailable();
|
|
40
47
|
return;
|
|
@@ -42,7 +49,7 @@ async function autoUpgradeIfNeeded() {
|
|
|
42
49
|
if (process.env.SHOPIFY_CLI_FORCE_AUTO_UPGRADE === "1")
|
|
43
50
|
await performAutoUpgrade(newerVersion);
|
|
44
51
|
else {
|
|
45
|
-
let { runAtMinimumInterval } = await import("./conf-store-
|
|
52
|
+
let { runAtMinimumInterval } = await import("./conf-store-A3JOFSUU.js");
|
|
46
53
|
await runAtMinimumInterval("auto-upgrade", { days: 1 }, async () => {
|
|
47
54
|
await performAutoUpgrade(newerVersion);
|
|
48
55
|
});
|
|
@@ -50,11 +57,11 @@ async function autoUpgradeIfNeeded() {
|
|
|
50
57
|
}
|
|
51
58
|
async function performAutoUpgrade(newerVersion) {
|
|
52
59
|
let [{ CLI_KIT_VERSION }, { isMajorVersionChange }, { outputWarn, outputDebug }, { getOutputUpdateCLIReminder, runCLIUpgrade, hasBlockingAutoUpgradeNotification }, metadata] = await Promise.all([
|
|
53
|
-
import("./version-
|
|
54
|
-
import("./version-
|
|
55
|
-
import("./output-
|
|
56
|
-
import("./upgrade-
|
|
57
|
-
import("./metadata-
|
|
60
|
+
import("./version-QYHHSKFX.js"),
|
|
61
|
+
import("./version-D3H6OPFX.js"),
|
|
62
|
+
import("./output-5PDIDYKG.js"),
|
|
63
|
+
import("./upgrade-OAFAJX4I.js"),
|
|
64
|
+
import("./metadata-VZBMAQQC.js")
|
|
58
65
|
]);
|
|
59
66
|
if (isMajorVersionChange(CLI_KIT_VERSION, newerVersion)) {
|
|
60
67
|
outputWarn(getOutputUpdateCLIReminder(newerVersion, !0)), await metadata.addPublicMetadata(() => ({
|
|
@@ -74,8 +81,8 @@ async function performAutoUpgrade(newerVersion) {
|
|
|
74
81
|
let errorMessage = `Auto-upgrade failed: ${error}`;
|
|
75
82
|
outputDebug(errorMessage), outputWarn(getOutputUpdateCLIReminder(newerVersion)), await metadata.addPublicMetadata(() => ({ env_auto_upgrade_success: !1 }));
|
|
76
83
|
let [{ sendErrorToBugsnag }, { inferPackageManagerForGlobalCLI }] = await Promise.all([
|
|
77
|
-
import("./error-handler-
|
|
78
|
-
import("./is-global-
|
|
84
|
+
import("./error-handler-YHPBH53J.js"),
|
|
85
|
+
import("./is-global-ET3YL7TT.js")
|
|
79
86
|
]), enrichedError = Object.assign(new Error(errorMessage), {
|
|
80
87
|
packageManager: inferPackageManagerForGlobalCLI(),
|
|
81
88
|
platform: process.platform,
|
|
@@ -89,7 +96,7 @@ async function detectStopCommand(commandClass) {
|
|
|
89
96
|
if (commandClass && "analyticsStopCommand" in commandClass && typeof commandClass.analyticsStopCommand == "function") {
|
|
90
97
|
let stopCommand = commandClass.analyticsStopCommand();
|
|
91
98
|
if (stopCommand) {
|
|
92
|
-
let metadata = await import("./metadata-
|
|
99
|
+
let metadata = await import("./metadata-VZBMAQQC.js"), { commandStartOptions } = metadata.getAllSensitiveMetadata();
|
|
93
100
|
if (!commandStartOptions)
|
|
94
101
|
return;
|
|
95
102
|
await metadata.addSensitiveMetadata(() => ({
|
|
@@ -107,4 +114,4 @@ export {
|
|
|
107
114
|
waitForPostRunHookAndExit,
|
|
108
115
|
hook
|
|
109
116
|
};
|
|
110
|
-
//# sourceMappingURL=chunk-
|
|
117
|
+
//# sourceMappingURL=chunk-M2UQMZTP.js.map
|