@shopify/cli 3.73.2 → 3.74.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/assets/dev-console/extensions/dev-console/assets/{index-D7F9wNys.js → index-lyGm6l3x.js} +12 -12
- package/dist/assets/dev-console/index.html +2 -2
- package/dist/assets/speedscope/SourceCodePro-Regular.ttf.f546cbe0.woff2 +0 -0
- package/dist/assets/speedscope/demangle-cpp.1768f4cc.js +4 -0
- package/dist/assets/speedscope/favicon-16x16.f74b3187.png +0 -0
- package/dist/assets/speedscope/favicon-32x32.bc503437.png +0 -0
- package/dist/assets/speedscope/file-format-schema.json +324 -0
- package/dist/assets/speedscope/import.bcbb2033.js +123 -0
- package/dist/assets/speedscope/index.html +2 -0
- package/dist/assets/speedscope/perf-vertx-stacks-01-collapsed-all.2681da68.txt +199 -0
- package/dist/assets/speedscope/release.txt +3 -0
- package/dist/assets/speedscope/reset.8c46b7a1.css +2 -0
- package/dist/assets/speedscope/source-code-pro.52b1676f.css +2 -0
- package/dist/assets/speedscope/source-code-pro.LICENSE.md +93 -0
- package/dist/assets/speedscope/source-map.438fa06b.js +24 -0
- package/dist/assets/speedscope/speedscope.6f107512.js +193 -0
- package/dist/{chokidar-5LLC6S6D.js → chokidar-BLUAYFAB.js} +13 -1044
- package/dist/chokidar-OATAHMV6.js +1122 -0
- package/dist/{chunk-ES3T7FIW.js → chunk-2GCE2GUM.js} +3 -3
- package/dist/chunk-3I3GQNEW.js +95 -0
- package/dist/{chunk-5NHIBL5K.js → chunk-4QRIOWN3.js} +2 -2
- package/dist/{chunk-Y2KXNORY.js → chunk-4W33LVQQ.js} +3 -3
- package/dist/{chunk-CKC5C2DR.js → chunk-53WQGP7S.js} +4 -4
- package/dist/chunk-57Q6OQG4.js +111 -0
- package/dist/{chunk-MHUINF7I.js → chunk-5CLGH5PH.js} +2 -2
- package/dist/{chunk-CRHXI6PS.js → chunk-5DBS6QOU.js} +102 -638
- package/dist/{chunk-ZOCACHGF.js → chunk-5JC3BUPR.js} +3 -3
- package/dist/{chunk-YMB5HUU3.js → chunk-5JWRABV2.js} +8 -8
- package/dist/{chunk-LLWX47E4.js → chunk-6JNRBEP6.js} +7 -9
- package/dist/{chunk-Y43XESY2.js → chunk-76NEANNG.js} +6442 -3165
- package/dist/{chunk-LVEURM2X.js → chunk-7T4EKFVU.js} +16 -2
- package/dist/{chunk-WKN62GWH.js → chunk-ACIVN2Q4.js} +502 -699
- package/dist/{chunk-ZX3L2JKV.js → chunk-AKL7T64Q.js} +80 -133
- package/dist/{chunk-2QGVACPR.js → chunk-B27LGWRZ.js} +3 -3
- package/dist/{chunk-BUFIEXZ5.js → chunk-B3YWYURY.js} +701 -141
- package/dist/{chunk-7VQ2QADA.js → chunk-BWBSJLZN.js} +333 -156
- package/dist/{chunk-K7HGDAI4.js → chunk-CDBXAE2F.js} +20 -104
- package/dist/{chunk-SBPFWO4S.js → chunk-CDQA3SST.js} +56182 -37290
- package/dist/chunk-CP3BRHWK.js +33 -0
- package/dist/{chunk-XEZJEXCU.js → chunk-D5AR5HKB.js} +2 -2
- package/dist/chunk-EMPP4I5H.js +497 -0
- package/dist/{chunk-DVCOVWXF.js → chunk-FCWD4NEK.js} +3 -3
- package/dist/{chunk-PJZVGRJ6.js → chunk-FMXC2O6H.js} +2 -2
- package/dist/{chunk-2GWO5FJL.js → chunk-GVMUVIT5.js} +7 -7
- package/dist/{chunk-KUM3DVPF.js → chunk-HMDWNGIV.js} +142 -471
- package/dist/{chunk-SVSIFM5Y.js → chunk-I6YWZKVU.js} +2 -2
- package/dist/{chunk-7TAOK36E.js → chunk-IYQNHNNP.js} +4 -4
- package/dist/{chunk-KXGCBBJW.js → chunk-JWRRKMF2.js} +2 -2
- package/dist/{chunk-IY7TUSI2.js → chunk-L3FVJFIT.js} +498 -412
- package/dist/{chunk-FJHGD37G.js → chunk-LH6BHL6J.js} +3 -3
- package/dist/{chunk-OAZFIMJ3.js → chunk-LQ2ZKVR6.js} +45 -115
- package/dist/{chunk-ONK6AXDE.js → chunk-MDJOXUMQ.js} +4 -4
- package/dist/{chunk-52WEPVL5.js → chunk-MSBZRBI5.js} +4 -4
- package/dist/{chunk-3HBRMIPY.js → chunk-MW7RWHY5.js} +341 -211
- package/dist/{chunk-O73CKGH7.js → chunk-NUW6LQU4.js} +4 -4
- package/dist/{chunk-ZQ55XXD5.js → chunk-PMOQBQSE.js} +3 -3
- package/dist/{chunk-2RKSPXIM.js → chunk-QEUQO265.js} +5 -7
- package/dist/chunk-QRARFXIM.js +1137 -0
- package/dist/{chunk-NQFTYLP6.js → chunk-R7RENZQC.js} +3 -3
- package/dist/chunk-UB7RN523.js +15933 -0
- package/dist/{chunk-GSPOKRGB.js → chunk-VI4NVMJH.js} +2 -2
- package/dist/{chunk-WNQ6HYKJ.js → chunk-WBTJ7MQU.js} +3 -3
- package/dist/{chunk-2EKHINO6.js → chunk-WKO4CJCL.js} +5 -7
- package/dist/{chunk-YP35ARHU.js → chunk-WNUVUNTL.js} +41 -23
- package/dist/{chunk-AWW6JHWH.js → chunk-XBIDXV7B.js} +4 -4
- package/dist/{chunk-KETZRITQ.js → chunk-XJNTFQIK.js} +5 -5
- package/dist/cli/commands/auth/logout.js +20 -19
- package/dist/cli/commands/auth/logout.test.js +22 -21
- package/dist/cli/commands/cache/clear.js +19 -18
- package/dist/cli/commands/debug/command-flags.js +19 -18
- package/dist/cli/commands/docs/generate.js +19 -18
- package/dist/cli/commands/docs/generate.test.js +20 -19
- package/dist/cli/commands/help.js +19 -18
- package/dist/cli/commands/kitchen-sink/async.js +20 -19
- package/dist/cli/commands/kitchen-sink/async.test.js +21 -20
- package/dist/cli/commands/kitchen-sink/index.js +22 -21
- package/dist/cli/commands/kitchen-sink/index.test.js +23 -22
- package/dist/cli/commands/kitchen-sink/prompts.js +20 -19
- package/dist/cli/commands/kitchen-sink/prompts.test.js +21 -20
- package/dist/cli/commands/kitchen-sink/static.js +20 -19
- package/dist/cli/commands/kitchen-sink/static.test.js +21 -20
- package/dist/cli/commands/notifications/generate.js +20 -19
- package/dist/cli/commands/notifications/list.js +20 -19
- package/dist/cli/commands/search.js +20 -19
- package/dist/cli/commands/upgrade.js +20 -19
- package/dist/cli/commands/upgrade.test.js +2 -1
- package/dist/cli/commands/version.js +20 -19
- package/dist/cli/commands/version.test.js +21 -20
- package/dist/cli/services/commands/notifications.js +14 -13
- package/dist/cli/services/commands/search.js +9 -8
- package/dist/cli/services/commands/search.test.js +10 -9
- package/dist/cli/services/commands/version.js +10 -9
- package/dist/cli/services/commands/version.test.js +12 -11
- package/dist/cli/services/kitchen-sink/async.js +9 -8
- package/dist/cli/services/kitchen-sink/prompts.js +9 -8
- package/dist/cli/services/kitchen-sink/static.js +9 -8
- package/dist/cli/services/upgrade.d.ts +0 -1
- package/dist/cli/services/upgrade.js +11 -10
- package/dist/cli/services/upgrade.test.js +14 -13
- package/dist/configs/all.yml +6 -0
- package/dist/configs/recommended.yml +6 -0
- package/dist/{custom-oclif-loader-4X7Y4CNS.js → custom-oclif-loader-ZY5GUSB3.js} +9 -8
- package/dist/{del-P2RS6GN2.js → del-FBU5JYXS.js} +4 -4
- package/dist/{devtools-K7FXBBFZ.js → devtools-6LOQORRT.js} +2 -2
- package/dist/{error-handler-KHFKBXR4.js → error-handler-YRN4E6SY.js} +17 -16
- package/dist/hooks/postrun.js +18 -16
- package/dist/hooks/prerun.js +15 -14
- package/dist/{http-proxy-FXWKYHZ3.js → http-proxy-L3MCJRQS.js} +3 -2
- package/dist/index.js +18712 -17414
- package/dist/lib-E2DSNKUX.js +13 -0
- package/dist/{local-PBMBK3CF.js → local-VTZT5Q4L.js} +11 -10
- package/dist/{morph-OSHCID2F.js → morph-ACVSDUS7.js} +3 -3
- package/dist/{node-ENALIQ2H.js → node-ONVZF27D.js} +23 -20
- package/dist/{node-package-manager-CVGCLCTC.js → node-package-manager-BZNXJETD.js} +11 -10
- package/dist/{npa-TM76BGG3.js → npa-JAX2F6CO.js} +2 -2
- package/dist/out-AZBX4ITJ.js +7 -0
- package/dist/{path-2HZUSAGR.js → path-2K5HIMHZ.js} +3 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-BBB46DQS.js → ui-3RKZNTJR.js} +9 -8
- package/dist/{workerd-F7DWDIYO.js → workerd-PSNADDQA.js} +23 -20
- package/oclif.manifest.json +103 -2
- package/package.json +9 -9
- package/LICENSE +0 -8
- package/dist/chunk-KIOWYILS.js +0 -3811
- package/dist/chunk-R4HZPLY4.js +0 -15746
- package/dist/lib-QZGSY5YB.js +0 -13
- package/dist/out-JR4DWQ2G.js +0 -7
- /package/dist/assets/dev-console/extensions/dev-console/assets/{index-Cgb-oKsM.css → index-n8yr6cxq.css} +0 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import {
|
|
2
|
+
init_cjs_shims
|
|
3
|
+
} from "./chunk-PKR7KJ6P.js";
|
|
4
|
+
|
|
5
|
+
// ../cli-kit/dist/private/node/context/deprecations-store.js
|
|
6
|
+
init_cjs_shims();
|
|
7
|
+
var globalWithDeprecationsStore = {
|
|
8
|
+
...globalThis,
|
|
9
|
+
deprecationsStore: {
|
|
10
|
+
nextDeprecationDate: void 0
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
function getNextDeprecationDate() {
|
|
14
|
+
return globalWithDeprecationsStore.deprecationsStore.nextDeprecationDate;
|
|
15
|
+
}
|
|
16
|
+
function setNextDeprecationDate(dates) {
|
|
17
|
+
if (dates.length < 1)
|
|
18
|
+
return;
|
|
19
|
+
let earliestFutureDateTime = earliestDateTimeAfter(Date.now(), dates);
|
|
20
|
+
if (!earliestFutureDateTime)
|
|
21
|
+
return;
|
|
22
|
+
let nextDeprecationDate = getNextDeprecationDate();
|
|
23
|
+
(!nextDeprecationDate || earliestFutureDateTime < nextDeprecationDate.getTime()) && (globalWithDeprecationsStore.deprecationsStore.nextDeprecationDate = new Date(earliestFutureDateTime));
|
|
24
|
+
}
|
|
25
|
+
function earliestDateTimeAfter(afterTime, dates) {
|
|
26
|
+
return dates.map((date) => date.getTime()).sort().find((time) => time > afterTime);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export {
|
|
30
|
+
getNextDeprecationDate,
|
|
31
|
+
setNextDeprecationDate
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=chunk-CP3BRHWK.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderConcurrent,
|
|
3
3
|
renderTasks
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-L3FVJFIT.js";
|
|
5
5
|
import {
|
|
6
6
|
init_cjs_shims
|
|
7
7
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -43,4 +43,4 @@ async function asyncTasks() {
|
|
|
43
43
|
export {
|
|
44
44
|
asyncTasks
|
|
45
45
|
};
|
|
46
|
-
//# sourceMappingURL=chunk-
|
|
46
|
+
//# sourceMappingURL=chunk-D5AR5HKB.js.map
|
|
@@ -0,0 +1,497 @@
|
|
|
1
|
+
import {
|
|
2
|
+
require_normalize_path
|
|
3
|
+
} from "./chunk-X7YTIMNN.js";
|
|
4
|
+
import {
|
|
5
|
+
require_picomatch
|
|
6
|
+
} from "./chunk-B3YWYURY.js";
|
|
7
|
+
import {
|
|
8
|
+
__commonJS,
|
|
9
|
+
__require,
|
|
10
|
+
init_cjs_shims
|
|
11
|
+
} from "./chunk-PKR7KJ6P.js";
|
|
12
|
+
|
|
13
|
+
// ../../node_modules/.pnpm/readdirp@3.6.0/node_modules/readdirp/index.js
|
|
14
|
+
var require_readdirp = __commonJS({
|
|
15
|
+
"../../node_modules/.pnpm/readdirp@3.6.0/node_modules/readdirp/index.js"(exports, module) {
|
|
16
|
+
"use strict";
|
|
17
|
+
init_cjs_shims();
|
|
18
|
+
var fs = __require("fs"), { Readable } = __require("stream"), sysPath = __require("path"), { promisify } = __require("util"), picomatch = require_picomatch(), readdir = promisify(fs.readdir), stat = promisify(fs.stat), lstat = promisify(fs.lstat), realpath = promisify(fs.realpath), BANG = "!", RECURSIVE_ERROR_CODE = "READDIRP_RECURSIVE_ERROR", NORMAL_FLOW_ERRORS = /* @__PURE__ */ new Set(["ENOENT", "EPERM", "EACCES", "ELOOP", RECURSIVE_ERROR_CODE]), FILE_TYPE = "files", DIR_TYPE = "directories", FILE_DIR_TYPE = "files_directories", EVERYTHING_TYPE = "all", ALL_TYPES = [FILE_TYPE, DIR_TYPE, FILE_DIR_TYPE, EVERYTHING_TYPE], isNormalFlowError = (error) => NORMAL_FLOW_ERRORS.has(error.code), [maj, min] = process.versions.node.split(".").slice(0, 2).map((n) => Number.parseInt(n, 10)), wantBigintFsStats = process.platform === "win32" && (maj > 10 || maj === 10 && min >= 5), normalizeFilter = (filter) => {
|
|
19
|
+
if (filter !== void 0) {
|
|
20
|
+
if (typeof filter == "function") return filter;
|
|
21
|
+
if (typeof filter == "string") {
|
|
22
|
+
let glob = picomatch(filter.trim());
|
|
23
|
+
return (entry) => glob(entry.basename);
|
|
24
|
+
}
|
|
25
|
+
if (Array.isArray(filter)) {
|
|
26
|
+
let positive = [], negative = [];
|
|
27
|
+
for (let item of filter) {
|
|
28
|
+
let trimmed = item.trim();
|
|
29
|
+
trimmed.charAt(0) === BANG ? negative.push(picomatch(trimmed.slice(1))) : positive.push(picomatch(trimmed));
|
|
30
|
+
}
|
|
31
|
+
return negative.length > 0 ? positive.length > 0 ? (entry) => positive.some((f) => f(entry.basename)) && !negative.some((f) => f(entry.basename)) : (entry) => !negative.some((f) => f(entry.basename)) : (entry) => positive.some((f) => f(entry.basename));
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}, ReaddirpStream = class _ReaddirpStream extends Readable {
|
|
35
|
+
static get defaultOptions() {
|
|
36
|
+
return {
|
|
37
|
+
root: ".",
|
|
38
|
+
/* eslint-disable no-unused-vars */
|
|
39
|
+
fileFilter: (path) => !0,
|
|
40
|
+
directoryFilter: (path) => !0,
|
|
41
|
+
/* eslint-enable no-unused-vars */
|
|
42
|
+
type: FILE_TYPE,
|
|
43
|
+
lstat: !1,
|
|
44
|
+
depth: 2147483648,
|
|
45
|
+
alwaysStat: !1
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
constructor(options = {}) {
|
|
49
|
+
super({
|
|
50
|
+
objectMode: !0,
|
|
51
|
+
autoDestroy: !0,
|
|
52
|
+
highWaterMark: options.highWaterMark || 4096
|
|
53
|
+
});
|
|
54
|
+
let opts = { ..._ReaddirpStream.defaultOptions, ...options }, { root, type } = opts;
|
|
55
|
+
this._fileFilter = normalizeFilter(opts.fileFilter), this._directoryFilter = normalizeFilter(opts.directoryFilter);
|
|
56
|
+
let statMethod = opts.lstat ? lstat : stat;
|
|
57
|
+
wantBigintFsStats ? this._stat = (path) => statMethod(path, { bigint: !0 }) : this._stat = statMethod, this._maxDepth = opts.depth, this._wantsDir = [DIR_TYPE, FILE_DIR_TYPE, EVERYTHING_TYPE].includes(type), this._wantsFile = [FILE_TYPE, FILE_DIR_TYPE, EVERYTHING_TYPE].includes(type), this._wantsEverything = type === EVERYTHING_TYPE, this._root = sysPath.resolve(root), this._isDirent = "Dirent" in fs && !opts.alwaysStat, this._statsProp = this._isDirent ? "dirent" : "stats", this._rdOptions = { encoding: "utf8", withFileTypes: this._isDirent }, this.parents = [this._exploreDir(root, 1)], this.reading = !1, this.parent = void 0;
|
|
58
|
+
}
|
|
59
|
+
async _read(batch) {
|
|
60
|
+
if (!this.reading) {
|
|
61
|
+
this.reading = !0;
|
|
62
|
+
try {
|
|
63
|
+
for (; !this.destroyed && batch > 0; ) {
|
|
64
|
+
let { path, depth, files = [] } = this.parent || {};
|
|
65
|
+
if (files.length > 0) {
|
|
66
|
+
let slice = files.splice(0, batch).map((dirent) => this._formatEntry(dirent, path));
|
|
67
|
+
for (let entry of await Promise.all(slice)) {
|
|
68
|
+
if (this.destroyed) return;
|
|
69
|
+
let entryType = await this._getEntryType(entry);
|
|
70
|
+
entryType === "directory" && this._directoryFilter(entry) ? (depth <= this._maxDepth && this.parents.push(this._exploreDir(entry.fullPath, depth + 1)), this._wantsDir && (this.push(entry), batch--)) : (entryType === "file" || this._includeAsFile(entry)) && this._fileFilter(entry) && this._wantsFile && (this.push(entry), batch--);
|
|
71
|
+
}
|
|
72
|
+
} else {
|
|
73
|
+
let parent = this.parents.pop();
|
|
74
|
+
if (!parent) {
|
|
75
|
+
this.push(null);
|
|
76
|
+
break;
|
|
77
|
+
}
|
|
78
|
+
if (this.parent = await parent, this.destroyed) return;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
} catch (error) {
|
|
82
|
+
this.destroy(error);
|
|
83
|
+
} finally {
|
|
84
|
+
this.reading = !1;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
async _exploreDir(path, depth) {
|
|
89
|
+
let files;
|
|
90
|
+
try {
|
|
91
|
+
files = await readdir(path, this._rdOptions);
|
|
92
|
+
} catch (error) {
|
|
93
|
+
this._onError(error);
|
|
94
|
+
}
|
|
95
|
+
return { files, depth, path };
|
|
96
|
+
}
|
|
97
|
+
async _formatEntry(dirent, path) {
|
|
98
|
+
let entry;
|
|
99
|
+
try {
|
|
100
|
+
let basename = this._isDirent ? dirent.name : dirent, fullPath = sysPath.resolve(sysPath.join(path, basename));
|
|
101
|
+
entry = { path: sysPath.relative(this._root, fullPath), fullPath, basename }, entry[this._statsProp] = this._isDirent ? dirent : await this._stat(fullPath);
|
|
102
|
+
} catch (err) {
|
|
103
|
+
this._onError(err);
|
|
104
|
+
}
|
|
105
|
+
return entry;
|
|
106
|
+
}
|
|
107
|
+
_onError(err) {
|
|
108
|
+
isNormalFlowError(err) && !this.destroyed ? this.emit("warn", err) : this.destroy(err);
|
|
109
|
+
}
|
|
110
|
+
async _getEntryType(entry) {
|
|
111
|
+
let stats = entry && entry[this._statsProp];
|
|
112
|
+
if (stats) {
|
|
113
|
+
if (stats.isFile())
|
|
114
|
+
return "file";
|
|
115
|
+
if (stats.isDirectory())
|
|
116
|
+
return "directory";
|
|
117
|
+
if (stats && stats.isSymbolicLink()) {
|
|
118
|
+
let full = entry.fullPath;
|
|
119
|
+
try {
|
|
120
|
+
let entryRealPath = await realpath(full), entryRealPathStats = await lstat(entryRealPath);
|
|
121
|
+
if (entryRealPathStats.isFile())
|
|
122
|
+
return "file";
|
|
123
|
+
if (entryRealPathStats.isDirectory()) {
|
|
124
|
+
let len = entryRealPath.length;
|
|
125
|
+
if (full.startsWith(entryRealPath) && full.substr(len, 1) === sysPath.sep) {
|
|
126
|
+
let recursiveError = new Error(
|
|
127
|
+
`Circular symlink detected: "${full}" points to "${entryRealPath}"`
|
|
128
|
+
);
|
|
129
|
+
return recursiveError.code = RECURSIVE_ERROR_CODE, this._onError(recursiveError);
|
|
130
|
+
}
|
|
131
|
+
return "directory";
|
|
132
|
+
}
|
|
133
|
+
} catch (error) {
|
|
134
|
+
this._onError(error);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
_includeAsFile(entry) {
|
|
140
|
+
let stats = entry && entry[this._statsProp];
|
|
141
|
+
return stats && this._wantsEverything && !stats.isDirectory();
|
|
142
|
+
}
|
|
143
|
+
}, readdirp = (root, options = {}) => {
|
|
144
|
+
let type = options.entryType || options.type;
|
|
145
|
+
if (type === "both" && (type = FILE_DIR_TYPE), type && (options.type = type), root) {
|
|
146
|
+
if (typeof root != "string")
|
|
147
|
+
throw new TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");
|
|
148
|
+
if (type && !ALL_TYPES.includes(type))
|
|
149
|
+
throw new Error(`readdirp: Invalid type passed. Use one of ${ALL_TYPES.join(", ")}`);
|
|
150
|
+
} else throw new Error("readdirp: root argument is required. Usage: readdirp(root, options)");
|
|
151
|
+
return options.root = root, new ReaddirpStream(options);
|
|
152
|
+
}, readdirpPromise = (root, options = {}) => new Promise((resolve, reject) => {
|
|
153
|
+
let files = [];
|
|
154
|
+
readdirp(root, options).on("data", (entry) => files.push(entry)).on("end", () => resolve(files)).on("error", (error) => reject(error));
|
|
155
|
+
});
|
|
156
|
+
readdirp.promise = readdirpPromise;
|
|
157
|
+
readdirp.ReaddirpStream = ReaddirpStream;
|
|
158
|
+
readdirp.default = readdirp;
|
|
159
|
+
module.exports = readdirp;
|
|
160
|
+
}
|
|
161
|
+
});
|
|
162
|
+
|
|
163
|
+
// ../../node_modules/.pnpm/anymatch@3.1.3/node_modules/anymatch/index.js
|
|
164
|
+
var require_anymatch = __commonJS({
|
|
165
|
+
"../../node_modules/.pnpm/anymatch@3.1.3/node_modules/anymatch/index.js"(exports, module) {
|
|
166
|
+
"use strict";
|
|
167
|
+
init_cjs_shims();
|
|
168
|
+
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
169
|
+
var picomatch = require_picomatch(), normalizePath = require_normalize_path(), BANG = "!", DEFAULT_OPTIONS = { returnIndex: !1 }, arrify = (item) => Array.isArray(item) ? item : [item], createPattern = (matcher, options) => {
|
|
170
|
+
if (typeof matcher == "function")
|
|
171
|
+
return matcher;
|
|
172
|
+
if (typeof matcher == "string") {
|
|
173
|
+
let glob = picomatch(matcher, options);
|
|
174
|
+
return (string) => matcher === string || glob(string);
|
|
175
|
+
}
|
|
176
|
+
return matcher instanceof RegExp ? (string) => matcher.test(string) : (string) => !1;
|
|
177
|
+
}, matchPatterns = (patterns, negPatterns, args, returnIndex) => {
|
|
178
|
+
let isList = Array.isArray(args), _path = isList ? args[0] : args;
|
|
179
|
+
if (!isList && typeof _path != "string")
|
|
180
|
+
throw new TypeError("anymatch: second argument must be a string: got " + Object.prototype.toString.call(_path));
|
|
181
|
+
let path = normalizePath(_path, !1);
|
|
182
|
+
for (let index = 0; index < negPatterns.length; index++) {
|
|
183
|
+
let nglob = negPatterns[index];
|
|
184
|
+
if (nglob(path))
|
|
185
|
+
return returnIndex ? -1 : !1;
|
|
186
|
+
}
|
|
187
|
+
let applied = isList && [path].concat(args.slice(1));
|
|
188
|
+
for (let index = 0; index < patterns.length; index++) {
|
|
189
|
+
let pattern = patterns[index];
|
|
190
|
+
if (isList ? pattern(...applied) : pattern(path))
|
|
191
|
+
return returnIndex ? index : !0;
|
|
192
|
+
}
|
|
193
|
+
return returnIndex ? -1 : !1;
|
|
194
|
+
}, anymatch = (matchers, testString, options = DEFAULT_OPTIONS) => {
|
|
195
|
+
if (matchers == null)
|
|
196
|
+
throw new TypeError("anymatch: specify first argument");
|
|
197
|
+
let opts = typeof options == "boolean" ? { returnIndex: options } : options, returnIndex = opts.returnIndex || !1, mtchers = arrify(matchers), negatedGlobs = mtchers.filter((item) => typeof item == "string" && item.charAt(0) === BANG).map((item) => item.slice(1)).map((item) => picomatch(item, opts)), patterns = mtchers.filter((item) => typeof item != "string" || typeof item == "string" && item.charAt(0) !== BANG).map((matcher) => createPattern(matcher, opts));
|
|
198
|
+
return testString == null ? (testString2, ri = !1) => matchPatterns(patterns, negatedGlobs, testString2, typeof ri == "boolean" ? ri : !1) : matchPatterns(patterns, negatedGlobs, testString, returnIndex);
|
|
199
|
+
};
|
|
200
|
+
anymatch.default = anymatch;
|
|
201
|
+
module.exports = anymatch;
|
|
202
|
+
}
|
|
203
|
+
});
|
|
204
|
+
|
|
205
|
+
// ../../node_modules/.pnpm/binary-extensions@2.3.0/node_modules/binary-extensions/binary-extensions.json
|
|
206
|
+
var require_binary_extensions = __commonJS({
|
|
207
|
+
"../../node_modules/.pnpm/binary-extensions@2.3.0/node_modules/binary-extensions/binary-extensions.json"(exports, module) {
|
|
208
|
+
module.exports = [
|
|
209
|
+
"3dm",
|
|
210
|
+
"3ds",
|
|
211
|
+
"3g2",
|
|
212
|
+
"3gp",
|
|
213
|
+
"7z",
|
|
214
|
+
"a",
|
|
215
|
+
"aac",
|
|
216
|
+
"adp",
|
|
217
|
+
"afdesign",
|
|
218
|
+
"afphoto",
|
|
219
|
+
"afpub",
|
|
220
|
+
"ai",
|
|
221
|
+
"aif",
|
|
222
|
+
"aiff",
|
|
223
|
+
"alz",
|
|
224
|
+
"ape",
|
|
225
|
+
"apk",
|
|
226
|
+
"appimage",
|
|
227
|
+
"ar",
|
|
228
|
+
"arj",
|
|
229
|
+
"asf",
|
|
230
|
+
"au",
|
|
231
|
+
"avi",
|
|
232
|
+
"bak",
|
|
233
|
+
"baml",
|
|
234
|
+
"bh",
|
|
235
|
+
"bin",
|
|
236
|
+
"bk",
|
|
237
|
+
"bmp",
|
|
238
|
+
"btif",
|
|
239
|
+
"bz2",
|
|
240
|
+
"bzip2",
|
|
241
|
+
"cab",
|
|
242
|
+
"caf",
|
|
243
|
+
"cgm",
|
|
244
|
+
"class",
|
|
245
|
+
"cmx",
|
|
246
|
+
"cpio",
|
|
247
|
+
"cr2",
|
|
248
|
+
"cur",
|
|
249
|
+
"dat",
|
|
250
|
+
"dcm",
|
|
251
|
+
"deb",
|
|
252
|
+
"dex",
|
|
253
|
+
"djvu",
|
|
254
|
+
"dll",
|
|
255
|
+
"dmg",
|
|
256
|
+
"dng",
|
|
257
|
+
"doc",
|
|
258
|
+
"docm",
|
|
259
|
+
"docx",
|
|
260
|
+
"dot",
|
|
261
|
+
"dotm",
|
|
262
|
+
"dra",
|
|
263
|
+
"DS_Store",
|
|
264
|
+
"dsk",
|
|
265
|
+
"dts",
|
|
266
|
+
"dtshd",
|
|
267
|
+
"dvb",
|
|
268
|
+
"dwg",
|
|
269
|
+
"dxf",
|
|
270
|
+
"ecelp4800",
|
|
271
|
+
"ecelp7470",
|
|
272
|
+
"ecelp9600",
|
|
273
|
+
"egg",
|
|
274
|
+
"eol",
|
|
275
|
+
"eot",
|
|
276
|
+
"epub",
|
|
277
|
+
"exe",
|
|
278
|
+
"f4v",
|
|
279
|
+
"fbs",
|
|
280
|
+
"fh",
|
|
281
|
+
"fla",
|
|
282
|
+
"flac",
|
|
283
|
+
"flatpak",
|
|
284
|
+
"fli",
|
|
285
|
+
"flv",
|
|
286
|
+
"fpx",
|
|
287
|
+
"fst",
|
|
288
|
+
"fvt",
|
|
289
|
+
"g3",
|
|
290
|
+
"gh",
|
|
291
|
+
"gif",
|
|
292
|
+
"graffle",
|
|
293
|
+
"gz",
|
|
294
|
+
"gzip",
|
|
295
|
+
"h261",
|
|
296
|
+
"h263",
|
|
297
|
+
"h264",
|
|
298
|
+
"icns",
|
|
299
|
+
"ico",
|
|
300
|
+
"ief",
|
|
301
|
+
"img",
|
|
302
|
+
"ipa",
|
|
303
|
+
"iso",
|
|
304
|
+
"jar",
|
|
305
|
+
"jpeg",
|
|
306
|
+
"jpg",
|
|
307
|
+
"jpgv",
|
|
308
|
+
"jpm",
|
|
309
|
+
"jxr",
|
|
310
|
+
"key",
|
|
311
|
+
"ktx",
|
|
312
|
+
"lha",
|
|
313
|
+
"lib",
|
|
314
|
+
"lvp",
|
|
315
|
+
"lz",
|
|
316
|
+
"lzh",
|
|
317
|
+
"lzma",
|
|
318
|
+
"lzo",
|
|
319
|
+
"m3u",
|
|
320
|
+
"m4a",
|
|
321
|
+
"m4v",
|
|
322
|
+
"mar",
|
|
323
|
+
"mdi",
|
|
324
|
+
"mht",
|
|
325
|
+
"mid",
|
|
326
|
+
"midi",
|
|
327
|
+
"mj2",
|
|
328
|
+
"mka",
|
|
329
|
+
"mkv",
|
|
330
|
+
"mmr",
|
|
331
|
+
"mng",
|
|
332
|
+
"mobi",
|
|
333
|
+
"mov",
|
|
334
|
+
"movie",
|
|
335
|
+
"mp3",
|
|
336
|
+
"mp4",
|
|
337
|
+
"mp4a",
|
|
338
|
+
"mpeg",
|
|
339
|
+
"mpg",
|
|
340
|
+
"mpga",
|
|
341
|
+
"mxu",
|
|
342
|
+
"nef",
|
|
343
|
+
"npx",
|
|
344
|
+
"numbers",
|
|
345
|
+
"nupkg",
|
|
346
|
+
"o",
|
|
347
|
+
"odp",
|
|
348
|
+
"ods",
|
|
349
|
+
"odt",
|
|
350
|
+
"oga",
|
|
351
|
+
"ogg",
|
|
352
|
+
"ogv",
|
|
353
|
+
"otf",
|
|
354
|
+
"ott",
|
|
355
|
+
"pages",
|
|
356
|
+
"pbm",
|
|
357
|
+
"pcx",
|
|
358
|
+
"pdb",
|
|
359
|
+
"pdf",
|
|
360
|
+
"pea",
|
|
361
|
+
"pgm",
|
|
362
|
+
"pic",
|
|
363
|
+
"png",
|
|
364
|
+
"pnm",
|
|
365
|
+
"pot",
|
|
366
|
+
"potm",
|
|
367
|
+
"potx",
|
|
368
|
+
"ppa",
|
|
369
|
+
"ppam",
|
|
370
|
+
"ppm",
|
|
371
|
+
"pps",
|
|
372
|
+
"ppsm",
|
|
373
|
+
"ppsx",
|
|
374
|
+
"ppt",
|
|
375
|
+
"pptm",
|
|
376
|
+
"pptx",
|
|
377
|
+
"psd",
|
|
378
|
+
"pya",
|
|
379
|
+
"pyc",
|
|
380
|
+
"pyo",
|
|
381
|
+
"pyv",
|
|
382
|
+
"qt",
|
|
383
|
+
"rar",
|
|
384
|
+
"ras",
|
|
385
|
+
"raw",
|
|
386
|
+
"resources",
|
|
387
|
+
"rgb",
|
|
388
|
+
"rip",
|
|
389
|
+
"rlc",
|
|
390
|
+
"rmf",
|
|
391
|
+
"rmvb",
|
|
392
|
+
"rpm",
|
|
393
|
+
"rtf",
|
|
394
|
+
"rz",
|
|
395
|
+
"s3m",
|
|
396
|
+
"s7z",
|
|
397
|
+
"scpt",
|
|
398
|
+
"sgi",
|
|
399
|
+
"shar",
|
|
400
|
+
"snap",
|
|
401
|
+
"sil",
|
|
402
|
+
"sketch",
|
|
403
|
+
"slk",
|
|
404
|
+
"smv",
|
|
405
|
+
"snk",
|
|
406
|
+
"so",
|
|
407
|
+
"stl",
|
|
408
|
+
"suo",
|
|
409
|
+
"sub",
|
|
410
|
+
"swf",
|
|
411
|
+
"tar",
|
|
412
|
+
"tbz",
|
|
413
|
+
"tbz2",
|
|
414
|
+
"tga",
|
|
415
|
+
"tgz",
|
|
416
|
+
"thmx",
|
|
417
|
+
"tif",
|
|
418
|
+
"tiff",
|
|
419
|
+
"tlz",
|
|
420
|
+
"ttc",
|
|
421
|
+
"ttf",
|
|
422
|
+
"txz",
|
|
423
|
+
"udf",
|
|
424
|
+
"uvh",
|
|
425
|
+
"uvi",
|
|
426
|
+
"uvm",
|
|
427
|
+
"uvp",
|
|
428
|
+
"uvs",
|
|
429
|
+
"uvu",
|
|
430
|
+
"viv",
|
|
431
|
+
"vob",
|
|
432
|
+
"war",
|
|
433
|
+
"wav",
|
|
434
|
+
"wax",
|
|
435
|
+
"wbmp",
|
|
436
|
+
"wdp",
|
|
437
|
+
"weba",
|
|
438
|
+
"webm",
|
|
439
|
+
"webp",
|
|
440
|
+
"whl",
|
|
441
|
+
"wim",
|
|
442
|
+
"wm",
|
|
443
|
+
"wma",
|
|
444
|
+
"wmv",
|
|
445
|
+
"wmx",
|
|
446
|
+
"woff",
|
|
447
|
+
"woff2",
|
|
448
|
+
"wrm",
|
|
449
|
+
"wvx",
|
|
450
|
+
"xbm",
|
|
451
|
+
"xif",
|
|
452
|
+
"xla",
|
|
453
|
+
"xlam",
|
|
454
|
+
"xls",
|
|
455
|
+
"xlsb",
|
|
456
|
+
"xlsm",
|
|
457
|
+
"xlsx",
|
|
458
|
+
"xlt",
|
|
459
|
+
"xltm",
|
|
460
|
+
"xltx",
|
|
461
|
+
"xm",
|
|
462
|
+
"xmind",
|
|
463
|
+
"xpi",
|
|
464
|
+
"xpm",
|
|
465
|
+
"xwd",
|
|
466
|
+
"xz",
|
|
467
|
+
"z",
|
|
468
|
+
"zip",
|
|
469
|
+
"zipx"
|
|
470
|
+
];
|
|
471
|
+
}
|
|
472
|
+
});
|
|
473
|
+
|
|
474
|
+
// ../../node_modules/.pnpm/binary-extensions@2.3.0/node_modules/binary-extensions/index.js
|
|
475
|
+
var require_binary_extensions2 = __commonJS({
|
|
476
|
+
"../../node_modules/.pnpm/binary-extensions@2.3.0/node_modules/binary-extensions/index.js"(exports, module) {
|
|
477
|
+
init_cjs_shims();
|
|
478
|
+
module.exports = require_binary_extensions();
|
|
479
|
+
}
|
|
480
|
+
});
|
|
481
|
+
|
|
482
|
+
// ../../node_modules/.pnpm/is-binary-path@2.1.0/node_modules/is-binary-path/index.js
|
|
483
|
+
var require_is_binary_path = __commonJS({
|
|
484
|
+
"../../node_modules/.pnpm/is-binary-path@2.1.0/node_modules/is-binary-path/index.js"(exports, module) {
|
|
485
|
+
"use strict";
|
|
486
|
+
init_cjs_shims();
|
|
487
|
+
var path = __require("path"), binaryExtensions = require_binary_extensions2(), extensions = new Set(binaryExtensions);
|
|
488
|
+
module.exports = (filePath) => extensions.has(path.extname(filePath).slice(1).toLowerCase());
|
|
489
|
+
}
|
|
490
|
+
});
|
|
491
|
+
|
|
492
|
+
export {
|
|
493
|
+
require_readdirp,
|
|
494
|
+
require_anymatch,
|
|
495
|
+
require_is_binary_path
|
|
496
|
+
};
|
|
497
|
+
//# sourceMappingURL=chunk-EMPP4I5H.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
packageManagerFromUserAgent
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ACIVN2Q4.js";
|
|
4
4
|
import {
|
|
5
5
|
currentProcessIsGlobal,
|
|
6
6
|
inferPackageManagerForGlobalCLI,
|
|
7
7
|
outputContent,
|
|
8
8
|
outputToken
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-L3FVJFIT.js";
|
|
10
10
|
import {
|
|
11
11
|
init_cjs_shims
|
|
12
12
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -25,4 +25,4 @@ export {
|
|
|
25
25
|
cliInstallCommand,
|
|
26
26
|
getOutputUpdateCLIReminder
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-FCWD4NEK.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openURL
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-L3FVJFIT.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-FMXC2O6H.js.map
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetch,
|
|
3
|
-
jsonOutputEnabled,
|
|
4
3
|
z
|
|
5
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-BWBSJLZN.js";
|
|
6
5
|
import {
|
|
7
6
|
CLI_KIT_VERSION
|
|
8
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-JWRRKMF2.js";
|
|
9
8
|
import {
|
|
10
9
|
cacheRetrieve,
|
|
11
10
|
cacheRetrieveOrRepopulate,
|
|
12
11
|
cacheStore,
|
|
13
12
|
versionSatisfies
|
|
14
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ACIVN2Q4.js";
|
|
15
14
|
import {
|
|
16
15
|
AbortSilentError,
|
|
17
16
|
isTruthy,
|
|
17
|
+
jsonOutputEnabled,
|
|
18
18
|
outputDebug,
|
|
19
19
|
renderError,
|
|
20
20
|
renderInfo,
|
|
21
21
|
renderWarning
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-L3FVJFIT.js";
|
|
23
23
|
import {
|
|
24
24
|
init_cjs_shims
|
|
25
25
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -74,7 +74,7 @@ async function showNotificationsIfNeeded(currentSurfaces, environment = process.
|
|
|
74
74
|
throw new AbortSilentError();
|
|
75
75
|
let errorMessage = `Error retrieving notifications: ${error.message}`;
|
|
76
76
|
outputDebug(errorMessage);
|
|
77
|
-
let { sendErrorToBugsnag } = await import("./error-handler-
|
|
77
|
+
let { sendErrorToBugsnag } = await import("./error-handler-YRN4E6SY.js");
|
|
78
78
|
await sendErrorToBugsnag(errorMessage, "unexpected_error");
|
|
79
79
|
}
|
|
80
80
|
}
|
|
@@ -162,4 +162,4 @@ export {
|
|
|
162
162
|
getNotifications,
|
|
163
163
|
stringifyFilters
|
|
164
164
|
};
|
|
165
|
-
//# sourceMappingURL=chunk-
|
|
165
|
+
//# sourceMappingURL=chunk-GVMUVIT5.js.map
|