@shopify/cli 3.84.1 → 3.85.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/README.md +1 -1
- package/dist/{chokidar-KCZH6DIC.js → chokidar-TTCYG5AA.js} +5 -5
- package/dist/{chokidar-XPSJ2FUJ.js → chokidar-XUA2BN3J.js} +5 -5
- package/dist/{chunk-TW3OHW6H.js → chunk-2IA24ROR.js} +10 -9
- package/dist/{chunk-R3FZ7BFA.js → chunk-2IEQZDJI.js} +3 -3
- package/dist/{chunk-77NCO4UD.js → chunk-47CMAYQE.js} +3 -3
- package/dist/{chunk-MCEP4L5M.js → chunk-4JN3JAPL.js} +3 -3
- package/dist/{chunk-JNDSQA4U.js → chunk-5FNCRAPA.js} +3 -3
- package/dist/{chunk-KS7CKFXX.js → chunk-76S5M67J.js} +7 -7
- package/dist/{chunk-PQCWFPSI.js → chunk-A26YXFMX.js} +8 -8
- package/dist/{chunk-JJH27HLJ.js → chunk-AJOVRT5K.js} +3 -3
- package/dist/{chunk-57KJCVB5.js → chunk-AJYT5DKD.js} +2 -2
- package/dist/{chunk-HMDWNGIV.js → chunk-AM4QB5OM.js} +206 -100
- package/dist/{chunk-SKEV2KRG.js → chunk-B36FYNEM.js} +664 -587
- package/dist/{chunk-JB4IBM6F.js → chunk-BB4VAGLH.js} +2 -2
- package/dist/{chunk-W5G2YPO2.js → chunk-BQ3PZIHZ.js} +7 -7
- package/dist/{chunk-GWETXJR2.js → chunk-C4XAKIGB.js} +8 -8
- package/dist/{chunk-2HA6WHOK.js → chunk-DJVJNSKZ.js} +2 -2
- package/dist/{chunk-IM2PF4V5.js → chunk-DKG2TMNN.js} +2 -2
- package/dist/{del-SAZHGAZZ.js → chunk-EFOOQV72.js} +17 -378
- package/dist/{chunk-3FBDJEGD.js → chunk-F7F4BQYW.js} +1824 -762
- package/dist/{chunk-66VZYBID.js → chunk-F7J5CUMZ.js} +4 -4
- package/dist/{chunk-IRF44N7J.js → chunk-G2VTHDI5.js} +42 -18
- package/dist/{chunk-2M63OZ6L.js → chunk-HNHQAN5R.js} +3 -3
- package/dist/chunk-IWFYXDPH.js +109 -0
- package/dist/{chunk-NBOUUR2C.js → chunk-JF6OJWJV.js} +3 -3
- package/dist/{chunk-Y4JV2C2F.js → chunk-JR35C77F.js} +3 -3
- package/dist/{chunk-K5XXB73S.js → chunk-K2VBTQSL.js} +187 -43
- package/dist/chunk-KU6FTMKN.js +87 -0
- package/dist/{chunk-MQQ5ZTSK.js → chunk-NYUWDGSK.js} +7 -7
- package/dist/{chunk-DVZ22YSP.js → chunk-PUO72IWW.js} +16 -20
- package/dist/{chunk-42TDSAFO.js → chunk-T3FBGLW4.js} +4 -4
- package/dist/{chunk-G5R6YD27.js → chunk-UATXMR5F.js} +2 -103
- package/dist/{chunk-4JIM2QT7.js → chunk-UGBL65P2.js} +4 -4
- package/dist/{chunk-QO4ILPU2.js → chunk-VELVK2EZ.js} +4 -4
- package/dist/{chunk-5G56F2K6.js → chunk-VLSFD7SJ.js} +19 -18
- package/dist/{chunk-FYGQPHYH.js → chunk-WRIQTRQE.js} +2 -2
- package/dist/{chunk-7AEOEVGT.js → chunk-XO7GQ2WG.js} +3 -3
- package/dist/{chunk-FUWTEDP2.js → chunk-XTCT7ABH.js} +16379 -5792
- package/dist/{chunk-N2463ZYG.js → chunk-Y4DWHLHN.js} +3 -3
- package/dist/{chunk-ES5N6OQW.js → chunk-Y7JIZJYE.js} +5 -5
- package/dist/{chunk-DNXNKHZO.js → chunk-Z7TXQNKI.js} +2 -2
- package/dist/chunk-ZAVXS5HH.js +4654 -0
- package/dist/{chunk-DSKW7GLZ.js → chunk-ZXKNRG53.js} +5 -5
- package/dist/cli/commands/auth/login.d.ts +8 -0
- package/dist/cli/commands/auth/login.js +28 -0
- package/dist/cli/commands/auth/login.test.js +53 -0
- package/dist/cli/commands/auth/logout.js +15 -17
- package/dist/cli/commands/auth/logout.test.js +20 -22
- package/dist/cli/commands/cache/clear.js +15 -16
- package/dist/cli/commands/debug/command-flags.js +15 -16
- package/dist/cli/commands/docs/generate.js +15 -16
- package/dist/cli/commands/docs/generate.test.js +21 -22
- package/dist/cli/commands/help.js +15 -16
- package/dist/cli/commands/kitchen-sink/async.js +16 -17
- package/dist/cli/commands/kitchen-sink/async.test.js +17 -18
- package/dist/cli/commands/kitchen-sink/index.js +18 -19
- package/dist/cli/commands/kitchen-sink/index.test.js +21 -22
- package/dist/cli/commands/kitchen-sink/prompts.js +16 -17
- package/dist/cli/commands/kitchen-sink/prompts.test.js +17 -18
- package/dist/cli/commands/kitchen-sink/static.js +16 -17
- package/dist/cli/commands/kitchen-sink/static.test.js +17 -18
- package/dist/cli/commands/notifications/generate.js +16 -17
- package/dist/cli/commands/notifications/list.js +16 -17
- package/dist/cli/commands/search.js +16 -17
- package/dist/cli/commands/upgrade.js +16 -17
- package/dist/cli/commands/upgrade.test.js +1 -1
- package/dist/cli/commands/version.js +16 -17
- package/dist/cli/commands/version.test.js +17 -18
- package/dist/cli/services/commands/notifications.js +11 -12
- package/dist/cli/services/commands/search.js +7 -8
- package/dist/cli/services/commands/search.test.js +8 -9
- package/dist/cli/services/commands/version.js +8 -9
- package/dist/cli/services/commands/version.test.js +10 -11
- package/dist/cli/services/kitchen-sink/async.js +7 -8
- package/dist/cli/services/kitchen-sink/prompts.js +7 -8
- package/dist/cli/services/kitchen-sink/static.js +7 -8
- package/dist/cli/services/upgrade.js +8 -9
- package/dist/cli/services/upgrade.test.js +12 -13
- package/dist/configs/all.yml +3 -0
- package/dist/configs/recommended.yml +3 -0
- package/dist/{custom-oclif-loader-LOMFS5PB.js → custom-oclif-loader-J2DN7UTY.js} +11 -12
- package/dist/data/objects.json +2 -2
- package/dist/data/shopify_system_translations.json +69 -22
- package/dist/data/tags.json +10 -10
- package/dist/del-DNZ7X2HW.js +377 -0
- package/dist/{error-handler-TQKQ3EAE.js → error-handler-JJ76ZQMC.js} +13 -14
- package/dist/hooks/postrun.js +13 -15
- package/dist/hooks/prerun.js +14 -15
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7477 -5649
- package/dist/{lib-OSXFX3I2.js → lib-DEEC6IKU.js} +3 -4
- package/dist/{local-76WZCPFM.js → local-2JWTG2IJ.js} +7 -8
- package/dist/{morph-TYIH255V.js → morph-5D7H6MU2.js} +13 -11
- package/dist/{node-package-manager-OCGFQDFC.js → node-package-manager-YCQL3774.js} +8 -9
- package/dist/{npa-E675GQOI.js → npa-LHT53SWR.js} +3 -5
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-A52PK2HZ.js → ui-HITLA3H3.js} +9 -8
- package/dist/{workerd-PHNPZMMV.js → workerd-KHWXFNPK.js} +22 -22
- package/oclif.manifest.json +79 -9
- package/package.json +10 -10
- package/dist/chunk-CP3BRHWK.js +0 -33
- package/dist/chunk-EZQWZ57B.js +0 -53
- package/dist/chunk-T4K4LRMO.js +0 -1216
- package/dist/chunk-YQVYH3XF.js +0 -119
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openURL
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-B36FYNEM.js";
|
|
4
4
|
import {
|
|
5
5
|
init_cjs_shims
|
|
6
6
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -15,4 +15,4 @@ async function searchService(query) {
|
|
|
15
15
|
export {
|
|
16
16
|
searchService
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=chunk-
|
|
18
|
+
//# sourceMappingURL=chunk-BB4VAGLH.js.map
|
|
@@ -3874,7 +3874,7 @@ function createTestHook(name, handler) {
|
|
|
3874
3874
|
// ../../node_modules/.pnpm/@vitest+runner@3.2.1/node_modules/@vitest/runner/dist/index.js
|
|
3875
3875
|
init_cjs_shims();
|
|
3876
3876
|
|
|
3877
|
-
// ../../node_modules/.pnpm/vitest@3.2.1_@types+node@18.19.70_jiti@2.4.2_jsdom@20.0.3_msw@2.8.7_@types+node@18.19.
|
|
3877
|
+
// ../../node_modules/.pnpm/vitest@3.2.1_@types+node@18.19.70_jiti@2.4.2_jsdom@20.0.3_msw@2.8.7_@types+node@18.19.7_59b23bdad58d2b08cdc86d448ade34f5/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js
|
|
3878
3878
|
init_cjs_shims();
|
|
3879
3879
|
|
|
3880
3880
|
// ../../node_modules/.pnpm/@vitest+expect@3.2.1/node_modules/@vitest/expect/dist/index.js
|
|
@@ -8316,7 +8316,7 @@ var JestExtend = (chai2, utils) => {
|
|
|
8316
8316
|
// ../../node_modules/.pnpm/@vitest+runner@3.2.1/node_modules/@vitest/runner/dist/utils.js
|
|
8317
8317
|
init_cjs_shims();
|
|
8318
8318
|
|
|
8319
|
-
// ../../node_modules/.pnpm/vitest@3.2.1_@types+node@18.19.70_jiti@2.4.2_jsdom@20.0.3_msw@2.8.7_@types+node@18.19.
|
|
8319
|
+
// ../../node_modules/.pnpm/vitest@3.2.1_@types+node@18.19.70_jiti@2.4.2_jsdom@20.0.3_msw@2.8.7_@types+node@18.19.7_59b23bdad58d2b08cdc86d448ade34f5/node_modules/vitest/dist/chunks/utils.XdZDrNZV.js
|
|
8320
8320
|
init_cjs_shims();
|
|
8321
8321
|
var NAME_WORKER_STATE = "__vitest_worker__";
|
|
8322
8322
|
function getWorkerState() {
|
|
@@ -8364,7 +8364,7 @@ async function waitForImportsToResolve() {
|
|
|
8364
8364
|
!promises.length && !resolvingCount || (await Promise.allSettled(promises), await waitForImportsToResolve());
|
|
8365
8365
|
}
|
|
8366
8366
|
|
|
8367
|
-
// ../../node_modules/.pnpm/vitest@3.2.1_@types+node@18.19.70_jiti@2.4.2_jsdom@20.0.3_msw@2.8.7_@types+node@18.19.
|
|
8367
|
+
// ../../node_modules/.pnpm/vitest@3.2.1_@types+node@18.19.70_jiti@2.4.2_jsdom@20.0.3_msw@2.8.7_@types+node@18.19.7_59b23bdad58d2b08cdc86d448ade34f5/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js
|
|
8368
8368
|
init_cjs_shims();
|
|
8369
8369
|
var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
8370
8370
|
function getDefaultExportFromCjs3(x) {
|
|
@@ -9729,7 +9729,7 @@ var SnapshotClient = class {
|
|
|
9729
9729
|
}
|
|
9730
9730
|
};
|
|
9731
9731
|
|
|
9732
|
-
// ../../node_modules/.pnpm/vitest@3.2.1_@types+node@18.19.70_jiti@2.4.2_jsdom@20.0.3_msw@2.8.7_@types+node@18.19.
|
|
9732
|
+
// ../../node_modules/.pnpm/vitest@3.2.1_@types+node@18.19.70_jiti@2.4.2_jsdom@20.0.3_msw@2.8.7_@types+node@18.19.7_59b23bdad58d2b08cdc86d448ade34f5/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js
|
|
9733
9733
|
init_cjs_shims();
|
|
9734
9734
|
var RealDate = Date, now2 = null, MockDate = class _MockDate extends RealDate {
|
|
9735
9735
|
constructor(y, m2, d, h3, M, s2, ms) {
|
|
@@ -9768,7 +9768,7 @@ function resetDate() {
|
|
|
9768
9768
|
globalThis.Date = RealDate;
|
|
9769
9769
|
}
|
|
9770
9770
|
|
|
9771
|
-
// ../../node_modules/.pnpm/vitest@3.2.1_@types+node@18.19.70_jiti@2.4.2_jsdom@20.0.3_msw@2.8.7_@types+node@18.19.
|
|
9771
|
+
// ../../node_modules/.pnpm/vitest@3.2.1_@types+node@18.19.70_jiti@2.4.2_jsdom@20.0.3_msw@2.8.7_@types+node@18.19.7_59b23bdad58d2b08cdc86d448ade34f5/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js
|
|
9772
9772
|
var unsupported = [
|
|
9773
9773
|
"matchSnapshot",
|
|
9774
9774
|
"toMatchSnapshot",
|
|
@@ -11499,7 +11499,7 @@ function getImporter(name) {
|
|
|
11499
11499
|
return parseSingleStack(stackArray[importerStackIndex + 1])?.file || "";
|
|
11500
11500
|
}
|
|
11501
11501
|
|
|
11502
|
-
// ../../node_modules/.pnpm/vitest@3.2.1_@types+node@18.19.70_jiti@2.4.2_jsdom@20.0.3_msw@2.8.7_@types+node@18.19.
|
|
11502
|
+
// ../../node_modules/.pnpm/vitest@3.2.1_@types+node@18.19.70_jiti@2.4.2_jsdom@20.0.3_msw@2.8.7_@types+node@18.19.7_59b23bdad58d2b08cdc86d448ade34f5/node_modules/vitest/dist/index.js
|
|
11503
11503
|
init_cjs_shims();
|
|
11504
11504
|
var import_expect_type = __toESM(require_dist(), 1);
|
|
11505
11505
|
|
|
@@ -11802,4 +11802,4 @@ chai/chai.js:
|
|
|
11802
11802
|
* @license MIT License
|
|
11803
11803
|
*)
|
|
11804
11804
|
*/
|
|
11805
|
-
//# sourceMappingURL=chunk-
|
|
11805
|
+
//# sourceMappingURL=chunk-BQ3PZIHZ.js.map
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
fetch,
|
|
3
3
|
jsonOutputEnabled,
|
|
4
4
|
z
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import {
|
|
7
|
-
CLI_KIT_VERSION
|
|
8
|
-
} from "./chunk-FYGQPHYH.js";
|
|
5
|
+
} from "./chunk-PUO72IWW.js";
|
|
9
6
|
import {
|
|
10
7
|
cacheRetrieve,
|
|
11
8
|
cacheStore,
|
|
12
9
|
versionSatisfies
|
|
13
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-G2VTHDI5.js";
|
|
11
|
+
import {
|
|
12
|
+
CLI_KIT_VERSION
|
|
13
|
+
} from "./chunk-WRIQTRQE.js";
|
|
14
14
|
import {
|
|
15
15
|
AbortSilentError,
|
|
16
16
|
exec,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
renderError,
|
|
20
20
|
renderInfo,
|
|
21
21
|
renderWarning
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-B36FYNEM.js";
|
|
23
23
|
import {
|
|
24
24
|
init_cjs_shims
|
|
25
25
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -87,7 +87,7 @@ async function showNotificationsIfNeeded(currentSurfaces, environment = process.
|
|
|
87
87
|
throw new AbortSilentError();
|
|
88
88
|
let errorMessage = `Error showing notifications: ${error.message}`;
|
|
89
89
|
outputDebug(errorMessage);
|
|
90
|
-
let { sendErrorToBugsnag } = await import("./error-handler-
|
|
90
|
+
let { sendErrorToBugsnag } = await import("./error-handler-JJ76ZQMC.js");
|
|
91
91
|
await sendErrorToBugsnag(errorMessage, "unexpected_error");
|
|
92
92
|
}
|
|
93
93
|
}
|
|
@@ -200,4 +200,4 @@ export {
|
|
|
200
200
|
fetchNotificationsInBackground,
|
|
201
201
|
stringifyFilters
|
|
202
202
|
};
|
|
203
|
-
//# sourceMappingURL=chunk-
|
|
203
|
+
//# sourceMappingURL=chunk-C4XAKIGB.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearCollectedLogs,
|
|
3
3
|
collectedLogs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-B36FYNEM.js";
|
|
5
5
|
import {
|
|
6
6
|
init_cjs_shims
|
|
7
7
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -33,4 +33,4 @@ function mockAndCaptureOutput() {
|
|
|
33
33
|
export {
|
|
34
34
|
mockAndCaptureOutput
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=chunk-
|
|
36
|
+
//# sourceMappingURL=chunk-DJVJNSKZ.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
renderSuccess,
|
|
8
8
|
renderTable,
|
|
9
9
|
renderWarning
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-B36FYNEM.js";
|
|
11
11
|
import {
|
|
12
12
|
init_cjs_shims
|
|
13
13
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -203,4 +203,4 @@ async function staticService() {
|
|
|
203
203
|
export {
|
|
204
204
|
staticService
|
|
205
205
|
};
|
|
206
|
-
//# sourceMappingURL=chunk-
|
|
206
|
+
//# sourceMappingURL=chunk-DKG2TMNN.js.map
|
|
@@ -2,26 +2,24 @@ import {
|
|
|
2
2
|
require_merge2,
|
|
3
3
|
require_out
|
|
4
4
|
} from "./chunk-CTFDRWUN.js";
|
|
5
|
-
import {
|
|
6
|
-
require_is_glob
|
|
7
|
-
} from "./chunk-7IK72W75.js";
|
|
8
|
-
import {
|
|
9
|
-
require_glob
|
|
10
|
-
} from "./chunk-IG5SOACB.js";
|
|
11
|
-
import "./chunk-SHWOPMLQ.js";
|
|
12
|
-
import {
|
|
13
|
-
require_graceful_fs
|
|
14
|
-
} from "./chunk-75LV6AQS.js";
|
|
15
|
-
import {
|
|
16
|
-
require_indent_string
|
|
17
|
-
} from "./chunk-UV5N2VL7.js";
|
|
18
|
-
import "./chunk-XE5EOEBL.js";
|
|
19
5
|
import {
|
|
20
6
|
__commonJS,
|
|
21
7
|
__require,
|
|
22
8
|
init_cjs_shims
|
|
23
9
|
} from "./chunk-PKR7KJ6P.js";
|
|
24
10
|
|
|
11
|
+
// ../../node_modules/.pnpm/slash@3.0.0/node_modules/slash/index.js
|
|
12
|
+
var require_slash = __commonJS({
|
|
13
|
+
"../../node_modules/.pnpm/slash@3.0.0/node_modules/slash/index.js"(exports, module) {
|
|
14
|
+
"use strict";
|
|
15
|
+
init_cjs_shims();
|
|
16
|
+
module.exports = (path) => {
|
|
17
|
+
let isExtendedLengthPath = /^\\\\\?\\/.test(path), hasNonAscii = /[^\u0000-\u0080]+/.test(path);
|
|
18
|
+
return isExtendedLengthPath || hasNonAscii ? path : path.replace(/\\/g, "/");
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
|
|
25
23
|
// ../../node_modules/.pnpm/array-union@2.1.0/node_modules/array-union/index.js
|
|
26
24
|
var require_array_union = __commonJS({
|
|
27
25
|
"../../node_modules/.pnpm/array-union@2.1.0/node_modules/array-union/index.js"(exports, module) {
|
|
@@ -409,18 +407,6 @@ var require_ignore = __commonJS({
|
|
|
409
407
|
}
|
|
410
408
|
});
|
|
411
409
|
|
|
412
|
-
// ../../node_modules/.pnpm/slash@3.0.0/node_modules/slash/index.js
|
|
413
|
-
var require_slash = __commonJS({
|
|
414
|
-
"../../node_modules/.pnpm/slash@3.0.0/node_modules/slash/index.js"(exports, module) {
|
|
415
|
-
"use strict";
|
|
416
|
-
init_cjs_shims();
|
|
417
|
-
module.exports = (path) => {
|
|
418
|
-
let isExtendedLengthPath = /^\\\\\?\\/.test(path), hasNonAscii = /[^\u0000-\u0080]+/.test(path);
|
|
419
|
-
return isExtendedLengthPath || hasNonAscii ? path : path.replace(/\\/g, "/");
|
|
420
|
-
};
|
|
421
|
-
}
|
|
422
|
-
});
|
|
423
|
-
|
|
424
410
|
// ../../node_modules/.pnpm/globby@11.1.0/node_modules/globby/gitignore.js
|
|
425
411
|
var require_gitignore = __commonJS({
|
|
426
412
|
"../../node_modules/.pnpm/globby@11.1.0/node_modules/globby/gitignore.js"(exports, module) {
|
|
@@ -608,355 +594,8 @@ var require_globby = __commonJS({
|
|
|
608
594
|
}
|
|
609
595
|
});
|
|
610
596
|
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
var path = __require("path");
|
|
617
|
-
module.exports = (path_) => {
|
|
618
|
-
let cwd = process.cwd();
|
|
619
|
-
return path_ = path.resolve(path_), process.platform === "win32" && (cwd = cwd.toLowerCase(), path_ = path_.toLowerCase()), path_ === cwd;
|
|
620
|
-
};
|
|
621
|
-
}
|
|
622
|
-
});
|
|
623
|
-
|
|
624
|
-
// ../../node_modules/.pnpm/is-path-inside@3.0.3/node_modules/is-path-inside/index.js
|
|
625
|
-
var require_is_path_inside = __commonJS({
|
|
626
|
-
"../../node_modules/.pnpm/is-path-inside@3.0.3/node_modules/is-path-inside/index.js"(exports, module) {
|
|
627
|
-
"use strict";
|
|
628
|
-
init_cjs_shims();
|
|
629
|
-
var path = __require("path");
|
|
630
|
-
module.exports = (childPath, parentPath) => {
|
|
631
|
-
let relation = path.relative(parentPath, childPath);
|
|
632
|
-
return !!(relation && relation !== ".." && !relation.startsWith(`..${path.sep}`) && relation !== path.resolve(childPath));
|
|
633
|
-
};
|
|
634
|
-
}
|
|
635
|
-
});
|
|
636
|
-
|
|
637
|
-
// ../../node_modules/.pnpm/rimraf@3.0.2/node_modules/rimraf/rimraf.js
|
|
638
|
-
var require_rimraf = __commonJS({
|
|
639
|
-
"../../node_modules/.pnpm/rimraf@3.0.2/node_modules/rimraf/rimraf.js"(exports, module) {
|
|
640
|
-
init_cjs_shims();
|
|
641
|
-
var assert = __require("assert"), path = __require("path"), fs = __require("fs"), glob;
|
|
642
|
-
try {
|
|
643
|
-
glob = require_glob();
|
|
644
|
-
} catch {
|
|
645
|
-
}
|
|
646
|
-
var defaultGlobOpts = {
|
|
647
|
-
nosort: !0,
|
|
648
|
-
silent: !0
|
|
649
|
-
}, timeout = 0, isWindows = process.platform === "win32", defaults = (options) => {
|
|
650
|
-
if ([
|
|
651
|
-
"unlink",
|
|
652
|
-
"chmod",
|
|
653
|
-
"stat",
|
|
654
|
-
"lstat",
|
|
655
|
-
"rmdir",
|
|
656
|
-
"readdir"
|
|
657
|
-
].forEach((m) => {
|
|
658
|
-
options[m] = options[m] || fs[m], m = m + "Sync", options[m] = options[m] || fs[m];
|
|
659
|
-
}), options.maxBusyTries = options.maxBusyTries || 3, options.emfileWait = options.emfileWait || 1e3, options.glob === !1 && (options.disableGlob = !0), options.disableGlob !== !0 && glob === void 0)
|
|
660
|
-
throw Error("glob dependency not found, set `options.disableGlob = true` if intentional");
|
|
661
|
-
options.disableGlob = options.disableGlob || !1, options.glob = options.glob || defaultGlobOpts;
|
|
662
|
-
}, rimraf = (p, options, cb) => {
|
|
663
|
-
typeof options == "function" && (cb = options, options = {}), assert(p, "rimraf: missing path"), assert.equal(typeof p, "string", "rimraf: path should be a string"), assert.equal(typeof cb, "function", "rimraf: callback function required"), assert(options, "rimraf: invalid options argument provided"), assert.equal(typeof options, "object", "rimraf: options should be object"), defaults(options);
|
|
664
|
-
let busyTries = 0, errState = null, n = 0, next = (er) => {
|
|
665
|
-
errState = errState || er, --n === 0 && cb(errState);
|
|
666
|
-
}, afterGlob = (er, results) => {
|
|
667
|
-
if (er)
|
|
668
|
-
return cb(er);
|
|
669
|
-
if (n = results.length, n === 0)
|
|
670
|
-
return cb();
|
|
671
|
-
results.forEach((p2) => {
|
|
672
|
-
let CB = (er2) => {
|
|
673
|
-
if (er2) {
|
|
674
|
-
if ((er2.code === "EBUSY" || er2.code === "ENOTEMPTY" || er2.code === "EPERM") && busyTries < options.maxBusyTries)
|
|
675
|
-
return busyTries++, setTimeout(() => rimraf_(p2, options, CB), busyTries * 100);
|
|
676
|
-
if (er2.code === "EMFILE" && timeout < options.emfileWait)
|
|
677
|
-
return setTimeout(() => rimraf_(p2, options, CB), timeout++);
|
|
678
|
-
er2.code === "ENOENT" && (er2 = null);
|
|
679
|
-
}
|
|
680
|
-
timeout = 0, next(er2);
|
|
681
|
-
};
|
|
682
|
-
rimraf_(p2, options, CB);
|
|
683
|
-
});
|
|
684
|
-
};
|
|
685
|
-
if (options.disableGlob || !glob.hasMagic(p))
|
|
686
|
-
return afterGlob(null, [p]);
|
|
687
|
-
options.lstat(p, (er, stat) => {
|
|
688
|
-
if (!er)
|
|
689
|
-
return afterGlob(null, [p]);
|
|
690
|
-
glob(p, options.glob, afterGlob);
|
|
691
|
-
});
|
|
692
|
-
}, rimraf_ = (p, options, cb) => {
|
|
693
|
-
assert(p), assert(options), assert(typeof cb == "function"), options.lstat(p, (er, st) => {
|
|
694
|
-
if (er && er.code === "ENOENT")
|
|
695
|
-
return cb(null);
|
|
696
|
-
if (er && er.code === "EPERM" && isWindows && fixWinEPERM(p, options, er, cb), st && st.isDirectory())
|
|
697
|
-
return rmdir(p, options, er, cb);
|
|
698
|
-
options.unlink(p, (er2) => {
|
|
699
|
-
if (er2) {
|
|
700
|
-
if (er2.code === "ENOENT")
|
|
701
|
-
return cb(null);
|
|
702
|
-
if (er2.code === "EPERM")
|
|
703
|
-
return isWindows ? fixWinEPERM(p, options, er2, cb) : rmdir(p, options, er2, cb);
|
|
704
|
-
if (er2.code === "EISDIR")
|
|
705
|
-
return rmdir(p, options, er2, cb);
|
|
706
|
-
}
|
|
707
|
-
return cb(er2);
|
|
708
|
-
});
|
|
709
|
-
});
|
|
710
|
-
}, fixWinEPERM = (p, options, er, cb) => {
|
|
711
|
-
assert(p), assert(options), assert(typeof cb == "function"), options.chmod(p, 438, (er2) => {
|
|
712
|
-
er2 ? cb(er2.code === "ENOENT" ? null : er) : options.stat(p, (er3, stats) => {
|
|
713
|
-
er3 ? cb(er3.code === "ENOENT" ? null : er) : stats.isDirectory() ? rmdir(p, options, er, cb) : options.unlink(p, cb);
|
|
714
|
-
});
|
|
715
|
-
});
|
|
716
|
-
}, fixWinEPERMSync = (p, options, er) => {
|
|
717
|
-
assert(p), assert(options);
|
|
718
|
-
try {
|
|
719
|
-
options.chmodSync(p, 438);
|
|
720
|
-
} catch (er2) {
|
|
721
|
-
if (er2.code === "ENOENT")
|
|
722
|
-
return;
|
|
723
|
-
throw er;
|
|
724
|
-
}
|
|
725
|
-
let stats;
|
|
726
|
-
try {
|
|
727
|
-
stats = options.statSync(p);
|
|
728
|
-
} catch (er3) {
|
|
729
|
-
if (er3.code === "ENOENT")
|
|
730
|
-
return;
|
|
731
|
-
throw er;
|
|
732
|
-
}
|
|
733
|
-
stats.isDirectory() ? rmdirSync(p, options, er) : options.unlinkSync(p);
|
|
734
|
-
}, rmdir = (p, options, originalEr, cb) => {
|
|
735
|
-
assert(p), assert(options), assert(typeof cb == "function"), options.rmdir(p, (er) => {
|
|
736
|
-
er && (er.code === "ENOTEMPTY" || er.code === "EEXIST" || er.code === "EPERM") ? rmkids(p, options, cb) : er && er.code === "ENOTDIR" ? cb(originalEr) : cb(er);
|
|
737
|
-
});
|
|
738
|
-
}, rmkids = (p, options, cb) => {
|
|
739
|
-
assert(p), assert(options), assert(typeof cb == "function"), options.readdir(p, (er, files) => {
|
|
740
|
-
if (er)
|
|
741
|
-
return cb(er);
|
|
742
|
-
let n = files.length;
|
|
743
|
-
if (n === 0)
|
|
744
|
-
return options.rmdir(p, cb);
|
|
745
|
-
let errState;
|
|
746
|
-
files.forEach((f) => {
|
|
747
|
-
rimraf(path.join(p, f), options, (er2) => {
|
|
748
|
-
if (!errState) {
|
|
749
|
-
if (er2)
|
|
750
|
-
return cb(errState = er2);
|
|
751
|
-
--n === 0 && options.rmdir(p, cb);
|
|
752
|
-
}
|
|
753
|
-
});
|
|
754
|
-
});
|
|
755
|
-
});
|
|
756
|
-
}, rimrafSync = (p, options) => {
|
|
757
|
-
options = options || {}, defaults(options), assert(p, "rimraf: missing path"), assert.equal(typeof p, "string", "rimraf: path should be a string"), assert(options, "rimraf: missing options"), assert.equal(typeof options, "object", "rimraf: options should be object");
|
|
758
|
-
let results;
|
|
759
|
-
if (options.disableGlob || !glob.hasMagic(p))
|
|
760
|
-
results = [p];
|
|
761
|
-
else
|
|
762
|
-
try {
|
|
763
|
-
options.lstatSync(p), results = [p];
|
|
764
|
-
} catch {
|
|
765
|
-
results = glob.sync(p, options.glob);
|
|
766
|
-
}
|
|
767
|
-
if (results.length)
|
|
768
|
-
for (let i = 0; i < results.length; i++) {
|
|
769
|
-
let p2 = results[i], st;
|
|
770
|
-
try {
|
|
771
|
-
st = options.lstatSync(p2);
|
|
772
|
-
} catch (er) {
|
|
773
|
-
if (er.code === "ENOENT")
|
|
774
|
-
return;
|
|
775
|
-
er.code === "EPERM" && isWindows && fixWinEPERMSync(p2, options, er);
|
|
776
|
-
}
|
|
777
|
-
try {
|
|
778
|
-
st && st.isDirectory() ? rmdirSync(p2, options, null) : options.unlinkSync(p2);
|
|
779
|
-
} catch (er) {
|
|
780
|
-
if (er.code === "ENOENT")
|
|
781
|
-
return;
|
|
782
|
-
if (er.code === "EPERM")
|
|
783
|
-
return isWindows ? fixWinEPERMSync(p2, options, er) : rmdirSync(p2, options, er);
|
|
784
|
-
if (er.code !== "EISDIR")
|
|
785
|
-
throw er;
|
|
786
|
-
rmdirSync(p2, options, er);
|
|
787
|
-
}
|
|
788
|
-
}
|
|
789
|
-
}, rmdirSync = (p, options, originalEr) => {
|
|
790
|
-
assert(p), assert(options);
|
|
791
|
-
try {
|
|
792
|
-
options.rmdirSync(p);
|
|
793
|
-
} catch (er) {
|
|
794
|
-
if (er.code === "ENOENT")
|
|
795
|
-
return;
|
|
796
|
-
if (er.code === "ENOTDIR")
|
|
797
|
-
throw originalEr;
|
|
798
|
-
(er.code === "ENOTEMPTY" || er.code === "EEXIST" || er.code === "EPERM") && rmkidsSync(p, options);
|
|
799
|
-
}
|
|
800
|
-
}, rmkidsSync = (p, options) => {
|
|
801
|
-
assert(p), assert(options), options.readdirSync(p).forEach((f) => rimrafSync(path.join(p, f), options));
|
|
802
|
-
let retries = isWindows ? 100 : 1, i = 0;
|
|
803
|
-
do {
|
|
804
|
-
let threw = !0;
|
|
805
|
-
try {
|
|
806
|
-
let ret = options.rmdirSync(p, options);
|
|
807
|
-
return threw = !1, ret;
|
|
808
|
-
} finally {
|
|
809
|
-
if (++i < retries && threw)
|
|
810
|
-
continue;
|
|
811
|
-
}
|
|
812
|
-
} while (!0);
|
|
813
|
-
};
|
|
814
|
-
module.exports = rimraf;
|
|
815
|
-
rimraf.sync = rimrafSync;
|
|
816
|
-
}
|
|
817
|
-
});
|
|
818
|
-
|
|
819
|
-
// ../../node_modules/.pnpm/clean-stack@2.2.0/node_modules/clean-stack/index.js
|
|
820
|
-
var require_clean_stack = __commonJS({
|
|
821
|
-
"../../node_modules/.pnpm/clean-stack@2.2.0/node_modules/clean-stack/index.js"(exports, module) {
|
|
822
|
-
"use strict";
|
|
823
|
-
init_cjs_shims();
|
|
824
|
-
var os = __require("os"), extractPathRegex = /\s+at.*(?:\(|\s)(.*)\)?/, pathRegex = /^(?:(?:(?:node|(?:internal\/[\w/]*|.*node_modules\/(?:babel-polyfill|pirates)\/.*)?\w+)\.js:\d+:\d+)|native)/, homeDir = typeof os.homedir > "u" ? "" : os.homedir();
|
|
825
|
-
module.exports = (stack, options) => (options = Object.assign({ pretty: !1 }, options), stack.replace(/\\/g, "/").split(`
|
|
826
|
-
`).filter((line) => {
|
|
827
|
-
let pathMatches = line.match(extractPathRegex);
|
|
828
|
-
if (pathMatches === null || !pathMatches[1])
|
|
829
|
-
return !0;
|
|
830
|
-
let match = pathMatches[1];
|
|
831
|
-
return match.includes(".app/Contents/Resources/electron.asar") || match.includes(".app/Contents/Resources/default_app.asar") ? !1 : !pathRegex.test(match);
|
|
832
|
-
}).filter((line) => line.trim() !== "").map((line) => options.pretty ? line.replace(extractPathRegex, (m, p1) => m.replace(p1, p1.replace(homeDir, "~"))) : line).join(`
|
|
833
|
-
`));
|
|
834
|
-
}
|
|
835
|
-
});
|
|
836
|
-
|
|
837
|
-
// ../../node_modules/.pnpm/aggregate-error@3.1.0/node_modules/aggregate-error/index.js
|
|
838
|
-
var require_aggregate_error = __commonJS({
|
|
839
|
-
"../../node_modules/.pnpm/aggregate-error@3.1.0/node_modules/aggregate-error/index.js"(exports, module) {
|
|
840
|
-
"use strict";
|
|
841
|
-
init_cjs_shims();
|
|
842
|
-
var indentString = require_indent_string(), cleanStack = require_clean_stack(), cleanInternalStack = (stack) => stack.replace(/\s+at .*aggregate-error\/index.js:\d+:\d+\)?/g, ""), AggregateError = class extends Error {
|
|
843
|
-
constructor(errors) {
|
|
844
|
-
if (!Array.isArray(errors))
|
|
845
|
-
throw new TypeError(`Expected input to be an Array, got ${typeof errors}`);
|
|
846
|
-
errors = [...errors].map((error) => error instanceof Error ? error : error !== null && typeof error == "object" ? Object.assign(new Error(error.message), error) : new Error(error));
|
|
847
|
-
let message = errors.map((error) => typeof error.stack == "string" ? cleanInternalStack(cleanStack(error.stack)) : String(error)).join(`
|
|
848
|
-
`);
|
|
849
|
-
message = `
|
|
850
|
-
` + indentString(message, 4), super(message), this.name = "AggregateError", Object.defineProperty(this, "_errors", { value: errors });
|
|
851
|
-
}
|
|
852
|
-
*[Symbol.iterator]() {
|
|
853
|
-
for (let error of this._errors)
|
|
854
|
-
yield error;
|
|
855
|
-
}
|
|
856
|
-
};
|
|
857
|
-
module.exports = AggregateError;
|
|
858
|
-
}
|
|
859
|
-
});
|
|
860
|
-
|
|
861
|
-
// ../../node_modules/.pnpm/p-map@4.0.0/node_modules/p-map/index.js
|
|
862
|
-
var require_p_map = __commonJS({
|
|
863
|
-
"../../node_modules/.pnpm/p-map@4.0.0/node_modules/p-map/index.js"(exports, module) {
|
|
864
|
-
"use strict";
|
|
865
|
-
init_cjs_shims();
|
|
866
|
-
var AggregateError = require_aggregate_error();
|
|
867
|
-
module.exports = async (iterable, mapper, {
|
|
868
|
-
concurrency = 1 / 0,
|
|
869
|
-
stopOnError = !0
|
|
870
|
-
} = {}) => new Promise((resolve, reject) => {
|
|
871
|
-
if (typeof mapper != "function")
|
|
872
|
-
throw new TypeError("Mapper function is required");
|
|
873
|
-
if (!((Number.isSafeInteger(concurrency) || concurrency === 1 / 0) && concurrency >= 1))
|
|
874
|
-
throw new TypeError(`Expected \`concurrency\` to be an integer from 1 and up or \`Infinity\`, got \`${concurrency}\` (${typeof concurrency})`);
|
|
875
|
-
let result = [], errors = [], iterator = iterable[Symbol.iterator](), isRejected = !1, isIterableDone = !1, resolvingCount = 0, currentIndex = 0, next = () => {
|
|
876
|
-
if (isRejected)
|
|
877
|
-
return;
|
|
878
|
-
let nextItem = iterator.next(), index = currentIndex;
|
|
879
|
-
if (currentIndex++, nextItem.done) {
|
|
880
|
-
isIterableDone = !0, resolvingCount === 0 && (!stopOnError && errors.length !== 0 ? reject(new AggregateError(errors)) : resolve(result));
|
|
881
|
-
return;
|
|
882
|
-
}
|
|
883
|
-
resolvingCount++, (async () => {
|
|
884
|
-
try {
|
|
885
|
-
let element = await nextItem.value;
|
|
886
|
-
result[index] = await mapper(element, index), resolvingCount--, next();
|
|
887
|
-
} catch (error) {
|
|
888
|
-
stopOnError ? (isRejected = !0, reject(error)) : (errors.push(error), resolvingCount--, next());
|
|
889
|
-
}
|
|
890
|
-
})();
|
|
891
|
-
};
|
|
892
|
-
for (let i = 0; i < concurrency && (next(), !isIterableDone); i++)
|
|
893
|
-
;
|
|
894
|
-
});
|
|
895
|
-
}
|
|
896
|
-
});
|
|
897
|
-
|
|
898
|
-
// ../../node_modules/.pnpm/del@6.1.1/node_modules/del/index.js
|
|
899
|
-
var require_del = __commonJS({
|
|
900
|
-
"../../node_modules/.pnpm/del@6.1.1/node_modules/del/index.js"(exports, module) {
|
|
901
|
-
init_cjs_shims();
|
|
902
|
-
var { promisify } = __require("util"), path = __require("path"), globby = require_globby(), isGlob = require_is_glob(), slash = require_slash(), gracefulFs = require_graceful_fs(), isPathCwd = require_is_path_cwd(), isPathInside = require_is_path_inside(), rimraf = require_rimraf(), pMap = require_p_map(), rimrafP = promisify(rimraf), rimrafOptions = {
|
|
903
|
-
glob: !1,
|
|
904
|
-
unlink: gracefulFs.unlink,
|
|
905
|
-
unlinkSync: gracefulFs.unlinkSync,
|
|
906
|
-
chmod: gracefulFs.chmod,
|
|
907
|
-
chmodSync: gracefulFs.chmodSync,
|
|
908
|
-
stat: gracefulFs.stat,
|
|
909
|
-
statSync: gracefulFs.statSync,
|
|
910
|
-
lstat: gracefulFs.lstat,
|
|
911
|
-
lstatSync: gracefulFs.lstatSync,
|
|
912
|
-
rmdir: gracefulFs.rmdir,
|
|
913
|
-
rmdirSync: gracefulFs.rmdirSync,
|
|
914
|
-
readdir: gracefulFs.readdir,
|
|
915
|
-
readdirSync: gracefulFs.readdirSync
|
|
916
|
-
};
|
|
917
|
-
function safeCheck(file, cwd) {
|
|
918
|
-
if (isPathCwd(file))
|
|
919
|
-
throw new Error("Cannot delete the current working directory. Can be overridden with the `force` option.");
|
|
920
|
-
if (!isPathInside(file, cwd))
|
|
921
|
-
throw new Error("Cannot delete files/directories outside the current working directory. Can be overridden with the `force` option.");
|
|
922
|
-
}
|
|
923
|
-
function normalizePatterns(patterns) {
|
|
924
|
-
return patterns = Array.isArray(patterns) ? patterns : [patterns], patterns = patterns.map((pattern) => process.platform === "win32" && isGlob(pattern) === !1 ? slash(pattern) : pattern), patterns;
|
|
925
|
-
}
|
|
926
|
-
module.exports = async (patterns, { force, dryRun, cwd = process.cwd(), onProgress = () => {
|
|
927
|
-
}, ...options } = {}) => {
|
|
928
|
-
options = {
|
|
929
|
-
expandDirectories: !1,
|
|
930
|
-
onlyFiles: !1,
|
|
931
|
-
followSymbolicLinks: !1,
|
|
932
|
-
cwd,
|
|
933
|
-
...options
|
|
934
|
-
}, patterns = normalizePatterns(patterns);
|
|
935
|
-
let files = (await globby(patterns, options)).sort((a, b) => b.localeCompare(a));
|
|
936
|
-
files.length === 0 && onProgress({
|
|
937
|
-
totalCount: 0,
|
|
938
|
-
deletedCount: 0,
|
|
939
|
-
percent: 1
|
|
940
|
-
});
|
|
941
|
-
let deletedCount = 0, removedFiles = await pMap(files, async (file) => (file = path.resolve(cwd, file), force || safeCheck(file, cwd), dryRun || await rimrafP(file, rimrafOptions), deletedCount += 1, onProgress({
|
|
942
|
-
totalCount: files.length,
|
|
943
|
-
deletedCount,
|
|
944
|
-
percent: deletedCount / files.length
|
|
945
|
-
}), file), options);
|
|
946
|
-
return removedFiles.sort((a, b) => a.localeCompare(b)), removedFiles;
|
|
947
|
-
};
|
|
948
|
-
module.exports.sync = (patterns, { force, dryRun, cwd = process.cwd(), ...options } = {}) => {
|
|
949
|
-
options = {
|
|
950
|
-
expandDirectories: !1,
|
|
951
|
-
onlyFiles: !1,
|
|
952
|
-
followSymbolicLinks: !1,
|
|
953
|
-
cwd,
|
|
954
|
-
...options
|
|
955
|
-
}, patterns = normalizePatterns(patterns);
|
|
956
|
-
let removedFiles = globby.sync(patterns, options).sort((a, b) => b.localeCompare(a)).map((file) => (file = path.resolve(cwd, file), force || safeCheck(file, cwd), dryRun || rimraf.sync(file, rimrafOptions), file));
|
|
957
|
-
return removedFiles.sort((a, b) => a.localeCompare(b)), removedFiles;
|
|
958
|
-
};
|
|
959
|
-
}
|
|
960
|
-
});
|
|
961
|
-
export default require_del();
|
|
962
|
-
//# sourceMappingURL=del-SAZHGAZZ.js.map
|
|
597
|
+
export {
|
|
598
|
+
require_slash,
|
|
599
|
+
require_globby
|
|
600
|
+
};
|
|
601
|
+
//# sourceMappingURL=chunk-EFOOQV72.js.map
|