@shopify/create-app 3.68.0 → 3.69.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/{chokidar-4TKDAB27.js → chokidar-OESTCX4H.js} +571 -8
- package/dist/{chunk-C5I6OCGC.js → chunk-2A7GNM7F.js} +2 -2
- package/dist/{chunk-JPBCRPG7.js → chunk-7N2ECBWK.js} +3 -3
- package/dist/{chunk-EWVVUMVS.js → chunk-AVCU5ZOP.js} +9 -9
- package/dist/{chunk-VZ5DQVYW.js → chunk-AZIUHI45.js} +93 -5
- package/dist/{chunk-T2GATXSP.js → chunk-BB6N2XSA.js} +2 -2
- package/dist/{chunk-7BOEG3VG.js → chunk-CJOZ7NTT.js} +7 -7
- package/dist/{chunk-NZDBLGNM.js → chunk-G6AY2JW5.js} +2 -3
- package/dist/{chunk-BG6FYFQK.js → chunk-L7M22NDW.js} +2 -2
- package/dist/{chunk-F27QYMO7.js → chunk-MX4RJDBM.js} +591 -20
- package/dist/{chunk-ZFVK6EQX.js → chunk-NB4NLOEJ.js} +142 -703
- package/dist/{chunk-MAWDESEZ.js → chunk-NQUHO34K.js} +140 -38
- package/dist/{chunk-EY2NO5UP.js → chunk-UWDJJNDC.js} +4 -4
- package/dist/{chunk-TOQEXS2N.js → chunk-XMQLNGN7.js} +142 -860
- package/dist/{constants-TR6ABVLJ.js → constants-GVJLI6RE.js} +3 -3
- package/dist/{custom-oclif-loader-M54JZXX3.js → custom-oclif-loader-FZACFF7D.js} +10 -12
- package/dist/{del-SR7JNKRM.js → del-42HQA7PR.js} +5 -5
- package/dist/{error-handler-AAI2P4B2.js → error-handler-R2NFQW6E.js} +12 -14
- package/dist/hooks/postrun.js +13 -14
- package/dist/hooks/prerun.js +11 -13
- package/dist/index.js +10859 -10056
- package/dist/lib-H5ZGVBFQ.js +11 -0
- package/dist/{local-XWESY2WL.js → local-G7IECLW7.js} +8 -12
- package/dist/{node-package-manager-SPDRX34D.js → node-package-manager-5YDNPKRT.js} +9 -11
- package/dist/out-ZDSLKX4N.js +7 -0
- package/dist/{path-T2RCZTRE.js → path-G6AAF6UV.js} +2 -2
- package/dist/{system-N4GMXNKO.js → system-M33YAFGP.js} +8 -10
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-PM2VNG6W.js → ui-VEBUA4SR.js} +8 -10
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
- package/dist/chunk-2AW6NZQ5.js +0 -101
- package/dist/chunk-QETDXAFX.js +0 -106
- package/dist/lib-H3ZZGS7I.js +0 -1322
- package/dist/lib-N6KQZBCQ.js +0 -12
- package/dist/out-66YUO4CT.js +0 -7
|
@@ -5,10 +5,7 @@ import {
|
|
|
5
5
|
require_source,
|
|
6
6
|
require_source_map,
|
|
7
7
|
require_supports_hyperlinks
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import {
|
|
10
|
-
require_signal_exit
|
|
11
|
-
} from "./chunk-QETDXAFX.js";
|
|
8
|
+
} from "./chunk-AZIUHI45.js";
|
|
12
9
|
import {
|
|
13
10
|
Queue
|
|
14
11
|
} from "./chunk-522OB3EU.js";
|
|
@@ -18,14 +15,14 @@ import {
|
|
|
18
15
|
import {
|
|
19
16
|
environmentVariables,
|
|
20
17
|
pathConstants
|
|
21
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-G6AY2JW5.js";
|
|
22
19
|
import {
|
|
23
20
|
cwd,
|
|
24
21
|
joinPath,
|
|
25
22
|
normalizePath,
|
|
26
23
|
relativizePath,
|
|
27
24
|
sniffForPath
|
|
28
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-BB6N2XSA.js";
|
|
29
26
|
import {
|
|
30
27
|
__commonJS,
|
|
31
28
|
__esm,
|
|
@@ -4376,6 +4373,102 @@ var require_macaddress = __commonJS({
|
|
|
4376
4373
|
}
|
|
4377
4374
|
});
|
|
4378
4375
|
|
|
4376
|
+
// ../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js
|
|
4377
|
+
var require_signals = __commonJS({
|
|
4378
|
+
"../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js"(exports, module) {
|
|
4379
|
+
init_cjs_shims();
|
|
4380
|
+
module.exports = [
|
|
4381
|
+
"SIGABRT",
|
|
4382
|
+
"SIGALRM",
|
|
4383
|
+
"SIGHUP",
|
|
4384
|
+
"SIGINT",
|
|
4385
|
+
"SIGTERM"
|
|
4386
|
+
];
|
|
4387
|
+
process.platform !== "win32" && module.exports.push(
|
|
4388
|
+
"SIGVTALRM",
|
|
4389
|
+
"SIGXCPU",
|
|
4390
|
+
"SIGXFSZ",
|
|
4391
|
+
"SIGUSR2",
|
|
4392
|
+
"SIGTRAP",
|
|
4393
|
+
"SIGSYS",
|
|
4394
|
+
"SIGQUIT",
|
|
4395
|
+
"SIGIOT"
|
|
4396
|
+
// should detect profiler and enable/disable accordingly.
|
|
4397
|
+
// see #21
|
|
4398
|
+
// 'SIGPROF'
|
|
4399
|
+
);
|
|
4400
|
+
process.platform === "linux" && module.exports.push(
|
|
4401
|
+
"SIGIO",
|
|
4402
|
+
"SIGPOLL",
|
|
4403
|
+
"SIGPWR",
|
|
4404
|
+
"SIGSTKFLT",
|
|
4405
|
+
"SIGUNUSED"
|
|
4406
|
+
);
|
|
4407
|
+
}
|
|
4408
|
+
});
|
|
4409
|
+
|
|
4410
|
+
// ../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js
|
|
4411
|
+
var require_signal_exit = __commonJS({
|
|
4412
|
+
"../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js"(exports, module) {
|
|
4413
|
+
init_cjs_shims();
|
|
4414
|
+
var process20 = global.process, processOk = function(process21) {
|
|
4415
|
+
return process21 && typeof process21 == "object" && typeof process21.removeListener == "function" && typeof process21.emit == "function" && typeof process21.reallyExit == "function" && typeof process21.listeners == "function" && typeof process21.kill == "function" && typeof process21.pid == "number" && typeof process21.on == "function";
|
|
4416
|
+
};
|
|
4417
|
+
processOk(process20) ? (assert = __require("assert"), signals = require_signals(), isWin = /^win/i.test(process20.platform), EE = __require("events"), typeof EE != "function" && (EE = EE.EventEmitter), process20.__signal_exit_emitter__ ? emitter = process20.__signal_exit_emitter__ : (emitter = process20.__signal_exit_emitter__ = new EE(), emitter.count = 0, emitter.emitted = {}), emitter.infinite || (emitter.setMaxListeners(1 / 0), emitter.infinite = !0), module.exports = function(cb, opts) {
|
|
4418
|
+
if (!processOk(global.process))
|
|
4419
|
+
return function() {
|
|
4420
|
+
};
|
|
4421
|
+
assert.equal(typeof cb, "function", "a callback must be provided for exit handler"), loaded === !1 && load();
|
|
4422
|
+
var ev = "exit";
|
|
4423
|
+
opts && opts.alwaysLast && (ev = "afterexit");
|
|
4424
|
+
var remove2 = function() {
|
|
4425
|
+
emitter.removeListener(ev, cb), emitter.listeners("exit").length === 0 && emitter.listeners("afterexit").length === 0 && unload();
|
|
4426
|
+
};
|
|
4427
|
+
return emitter.on(ev, cb), remove2;
|
|
4428
|
+
}, unload = function() {
|
|
4429
|
+
!loaded || !processOk(global.process) || (loaded = !1, signals.forEach(function(sig) {
|
|
4430
|
+
try {
|
|
4431
|
+
process20.removeListener(sig, sigListeners[sig]);
|
|
4432
|
+
} catch {
|
|
4433
|
+
}
|
|
4434
|
+
}), process20.emit = originalProcessEmit, process20.reallyExit = originalProcessReallyExit, emitter.count -= 1);
|
|
4435
|
+
}, module.exports.unload = unload, emit = function(event, code, signal) {
|
|
4436
|
+
emitter.emitted[event] || (emitter.emitted[event] = !0, emitter.emit(event, code, signal));
|
|
4437
|
+
}, sigListeners = {}, signals.forEach(function(sig) {
|
|
4438
|
+
sigListeners[sig] = function() {
|
|
4439
|
+
if (processOk(global.process)) {
|
|
4440
|
+
var listeners = process20.listeners(sig);
|
|
4441
|
+
listeners.length === emitter.count && (unload(), emit("exit", null, sig), emit("afterexit", null, sig), isWin && sig === "SIGHUP" && (sig = "SIGINT"), process20.kill(process20.pid, sig));
|
|
4442
|
+
}
|
|
4443
|
+
};
|
|
4444
|
+
}), module.exports.signals = function() {
|
|
4445
|
+
return signals;
|
|
4446
|
+
}, loaded = !1, load = function() {
|
|
4447
|
+
loaded || !processOk(global.process) || (loaded = !0, emitter.count += 1, signals = signals.filter(function(sig) {
|
|
4448
|
+
try {
|
|
4449
|
+
return process20.on(sig, sigListeners[sig]), !0;
|
|
4450
|
+
} catch {
|
|
4451
|
+
return !1;
|
|
4452
|
+
}
|
|
4453
|
+
}), process20.emit = processEmit, process20.reallyExit = processReallyExit);
|
|
4454
|
+
}, module.exports.load = load, originalProcessReallyExit = process20.reallyExit, processReallyExit = function(code) {
|
|
4455
|
+
processOk(global.process) && (process20.exitCode = code || /* istanbul ignore next */
|
|
4456
|
+
0, emit("exit", process20.exitCode, null), emit("afterexit", process20.exitCode, null), originalProcessReallyExit.call(process20, process20.exitCode));
|
|
4457
|
+
}, originalProcessEmit = process20.emit, processEmit = function(ev, arg) {
|
|
4458
|
+
if (ev === "exit" && processOk(global.process)) {
|
|
4459
|
+
arg !== void 0 && (process20.exitCode = arg);
|
|
4460
|
+
var ret = originalProcessEmit.apply(this, arguments);
|
|
4461
|
+
return emit("exit", process20.exitCode, null), emit("afterexit", process20.exitCode, null), ret;
|
|
4462
|
+
} else
|
|
4463
|
+
return originalProcessEmit.apply(this, arguments);
|
|
4464
|
+
}) : module.exports = function() {
|
|
4465
|
+
return function() {
|
|
4466
|
+
};
|
|
4467
|
+
};
|
|
4468
|
+
var assert, signals, isWin, EE, emitter, unload, emit, sigListeners, loaded, load, originalProcessReallyExit, processReallyExit, originalProcessEmit, processEmit;
|
|
4469
|
+
}
|
|
4470
|
+
});
|
|
4471
|
+
|
|
4379
4472
|
// ../../node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/buffer-stream.js
|
|
4380
4473
|
var require_buffer_stream = __commonJS({
|
|
4381
4474
|
"../../node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/buffer-stream.js"(exports, module) {
|
|
@@ -24046,7 +24139,7 @@ async function removeFile(path7) {
|
|
|
24046
24139
|
outputDebug(outputContent`Removing file at ${outputToken.path(path7)}...`), await remove(path7);
|
|
24047
24140
|
}
|
|
24048
24141
|
async function rmdir(path7, options = {}) {
|
|
24049
|
-
let { default: del } = await import("./del-
|
|
24142
|
+
let { default: del } = await import("./del-42HQA7PR.js");
|
|
24050
24143
|
outputDebug(outputContent`Removing directory at ${outputToken.path(path7)}...`), await del(path7, { force: options.force });
|
|
24051
24144
|
}
|
|
24052
24145
|
async function isDirectory(path7) {
|
|
@@ -24099,14 +24192,14 @@ async function generateRandomNameForSubdirectory(options) {
|
|
|
24099
24192
|
return await fileExists(randomDirectoryPath) ? generateRandomNameForSubdirectory(options) : generated;
|
|
24100
24193
|
}
|
|
24101
24194
|
async function glob(pattern, options) {
|
|
24102
|
-
let { default: fastGlob } = await import("./out-
|
|
24195
|
+
let { default: fastGlob } = await import("./out-ZDSLKX4N.js"), overridenOptions = options;
|
|
24103
24196
|
return options?.dot == null && (overridenOptions = { ...options, dot: !0 }), fastGlob(pattern, overridenOptions);
|
|
24104
24197
|
}
|
|
24105
24198
|
async function findPathUp(matcher, options) {
|
|
24106
24199
|
let got = await findUp(matcher, options);
|
|
24107
24200
|
return got ? normalizePath(got) : void 0;
|
|
24108
24201
|
}
|
|
24109
|
-
function matchGlob(key, pattern, options
|
|
24202
|
+
function matchGlob(key, pattern, options) {
|
|
24110
24203
|
return minimatch(key, pattern, options);
|
|
24111
24204
|
}
|
|
24112
24205
|
|
|
@@ -24197,7 +24290,7 @@ async function fetchSpinPort(service, portEnvName, basePath = "/run") {
|
|
|
24197
24290
|
continue;
|
|
24198
24291
|
}
|
|
24199
24292
|
let match2 = config.contentPattern.exec(fileContent);
|
|
24200
|
-
if (match2
|
|
24293
|
+
if (match2?.[1] && !isNaN(parseInt(match2[1], 10)))
|
|
24201
24294
|
return parseInt(match2[1], 10);
|
|
24202
24295
|
}
|
|
24203
24296
|
}
|
|
@@ -24300,9 +24393,6 @@ function alwaysLogMetrics(env2 = process.env) {
|
|
|
24300
24393
|
function firstPartyDev(env2 = process.env) {
|
|
24301
24394
|
return isTruthy(env2[environmentVariables.firstPartyDev]);
|
|
24302
24395
|
}
|
|
24303
|
-
function useDeviceAuth(env2 = process.env) {
|
|
24304
|
-
return !isTruthy(env2[environmentVariables.accessCodeAuth]) || isTruthy(env2[environmentVariables.deviceAuth]) || isCloudEnvironment(env2);
|
|
24305
|
-
}
|
|
24306
24396
|
function useThemebundling(env2 = process.env) {
|
|
24307
24397
|
return !isTruthy(env2[environmentVariables.noThemeBundling]);
|
|
24308
24398
|
}
|
|
@@ -29267,7 +29357,7 @@ var import_react25 = __toESM(require_react(), 1), DOT = "\u2022", List = ({ titl
|
|
|
29267
29357
|
let ListItem = ({ item, color: color2, bullet: bullet2, index, ordered: ordered2 }) => import_react25.default.createElement(
|
|
29268
29358
|
Box_default,
|
|
29269
29359
|
{ key: index, marginLeft: margin ? 2 : 0 },
|
|
29270
|
-
import_react25.default.createElement(Text, { color: color2 },
|
|
29360
|
+
import_react25.default.createElement(Text, { color: color2 }, ordered2 ? `${index + 1}.` : bullet2),
|
|
29271
29361
|
import_react25.default.createElement(
|
|
29272
29362
|
Box_default,
|
|
29273
29363
|
{ flexGrow: 1, marginLeft: 1 },
|
|
@@ -29528,7 +29618,7 @@ function consoleWarn(message) {
|
|
|
29528
29618
|
console.warn(withOrWithoutStyle(message));
|
|
29529
29619
|
}
|
|
29530
29620
|
function outputWhereAppropriate(logLevel, logger, message, options = { skipUIEvent: !1 }) {
|
|
29531
|
-
shouldOutput(logLevel) && (logger instanceof Writable ? logger.write(message) : logger(message, logLevel), options
|
|
29621
|
+
shouldOutput(logLevel) && (logger instanceof Writable ? logger.write(message) : logger(message, logLevel), options.skipUIEvent || recordUIEvent({ type: "output", properties: { content: message } }));
|
|
29532
29622
|
}
|
|
29533
29623
|
function withOrWithoutStyle(message) {
|
|
29534
29624
|
return shouldDisplayColors() ? message : unstyled(message);
|
|
@@ -29578,7 +29668,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
|
|
|
29578
29668
|
try {
|
|
29579
29669
|
await getAndSet();
|
|
29580
29670
|
} catch (error) {
|
|
29581
|
-
let { sendErrorToBugsnag } = await import("./error-handler-
|
|
29671
|
+
let { sendErrorToBugsnag } = await import("./error-handler-R2NFQW6E.js");
|
|
29582
29672
|
await sendErrorToBugsnag(error, "unexpected_error");
|
|
29583
29673
|
}
|
|
29584
29674
|
}, durationStack = [];
|
|
@@ -30002,11 +30092,12 @@ function treeKill(pid = process.pid, killSignal = "SIGTERM", killRoot = !0, call
|
|
|
30002
30092
|
}
|
|
30003
30093
|
function adaptedTreeKill(pid, killSignal, killRoot, callback) {
|
|
30004
30094
|
let rootPid = typeof pid == "number" ? pid.toString() : pid;
|
|
30005
|
-
if (Number.isNaN(rootPid))
|
|
30006
|
-
if (callback)
|
|
30007
|
-
|
|
30008
|
-
|
|
30009
|
-
|
|
30095
|
+
if (Number.isNaN(rootPid))
|
|
30096
|
+
if (callback) {
|
|
30097
|
+
callback(new Error("pid must be a number"));
|
|
30098
|
+
return;
|
|
30099
|
+
} else
|
|
30100
|
+
throw new Error("pid must be a number");
|
|
30010
30101
|
let tree = {};
|
|
30011
30102
|
tree[rootPid] = [];
|
|
30012
30103
|
let pidsToProcess = /* @__PURE__ */ new Set();
|
|
@@ -30039,12 +30130,13 @@ function killAll(tree, killSignal, rootPid, killRoot, callback) {
|
|
|
30039
30130
|
}), pid === rootPid && killRoot && !killed.has(pid) && (killPid(pid, killSignal), killed.add(pid));
|
|
30040
30131
|
});
|
|
30041
30132
|
} catch (err) {
|
|
30042
|
-
if (callback)
|
|
30043
|
-
|
|
30044
|
-
|
|
30133
|
+
if (callback) {
|
|
30134
|
+
callback(err);
|
|
30135
|
+
return;
|
|
30136
|
+
} else
|
|
30137
|
+
throw err;
|
|
30045
30138
|
}
|
|
30046
|
-
|
|
30047
|
-
return callback();
|
|
30139
|
+
callback && callback();
|
|
30048
30140
|
}
|
|
30049
30141
|
function killPid(pid, killSignal) {
|
|
30050
30142
|
try {
|
|
@@ -30061,8 +30153,13 @@ function buildProcessTree(parentPid, tree, pidsToProcess, spawnChildProcessesLis
|
|
|
30061
30153
|
allData += dataStr;
|
|
30062
30154
|
});
|
|
30063
30155
|
let onClose = (code) => {
|
|
30064
|
-
if (pidsToProcess.delete(parentPid), code !== 0)
|
|
30065
|
-
|
|
30156
|
+
if (pidsToProcess.delete(parentPid), code !== 0) {
|
|
30157
|
+
if (pidsToProcess.size === 0) {
|
|
30158
|
+
cb();
|
|
30159
|
+
return;
|
|
30160
|
+
}
|
|
30161
|
+
return;
|
|
30162
|
+
}
|
|
30066
30163
|
allData.trim().split(`
|
|
30067
30164
|
`).forEach(function(line) {
|
|
30068
30165
|
let match2 = line.match(/^(\d+)\s(.*)$/);
|
|
@@ -30103,7 +30200,9 @@ var Stdout = class extends EventEmitter3 {
|
|
|
30103
30200
|
unmount: instance2.unmount
|
|
30104
30201
|
};
|
|
30105
30202
|
};
|
|
30106
|
-
function handleCtrlC(input, key, exit = () =>
|
|
30203
|
+
function handleCtrlC(input, key, exit = () => {
|
|
30204
|
+
treeKill(process.pid, "SIGINT");
|
|
30205
|
+
}) {
|
|
30107
30206
|
input === "c" && key.ctrl && exit();
|
|
30108
30207
|
}
|
|
30109
30208
|
|
|
@@ -30386,6 +30485,7 @@ init_cjs_shims();
|
|
|
30386
30485
|
var import_react39 = __toESM(require_react(), 1), InfoTable = ({ table }) => {
|
|
30387
30486
|
let sections = Array.isArray(table) ? table : Object.keys(table).map((header) => ({
|
|
30388
30487
|
header,
|
|
30488
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
30389
30489
|
items: table[header],
|
|
30390
30490
|
color: void 0,
|
|
30391
30491
|
helperText: void 0,
|
|
@@ -30428,7 +30528,7 @@ function useAbortSignal(abortSignal, onAbort = noop2) {
|
|
|
30428
30528
|
let { exit: unmountInk } = use_app_default(), [isAborted, setIsAborted] = (0, import_react40.useState)(!1);
|
|
30429
30529
|
return (0, import_react40.useLayoutEffect)(() => {
|
|
30430
30530
|
abortSignal?.addEventListener("abort", () => {
|
|
30431
|
-
let abortWithError = abortSignal
|
|
30531
|
+
let abortWithError = abortSignal.reason.message === "AbortError" ? void 0 : abortSignal.reason;
|
|
30432
30532
|
onAbort(abortWithError).then(() => {
|
|
30433
30533
|
setIsAborted(!0), unmountInk(abortWithError);
|
|
30434
30534
|
}).catch(() => {
|
|
@@ -30786,7 +30886,7 @@ function SelectInputInner({ items: rawItems, initialItems = rawItems, onChange,
|
|
|
30786
30886
|
let item = items.find((item2) => item2.value === state.value);
|
|
30787
30887
|
item && onSubmit && onSubmit(item);
|
|
30788
30888
|
}
|
|
30789
|
-
enableShortcuts && input.length > 0 && Object.values(key).every((value) => value
|
|
30889
|
+
enableShortcuts && input.length > 0 && Object.values(key).every((value) => !value) ? handleShortcuts(input) : handleArrows(key);
|
|
30790
30890
|
}, { isActive: focus });
|
|
30791
30891
|
let { twoThirds } = useLayout();
|
|
30792
30892
|
if (loading)
|
|
@@ -30981,7 +31081,7 @@ var import_react51 = __toESM(require_react(), 1), loadingBarChar = "\u2580", Tas
|
|
|
30981
31081
|
})(TasksState || (TasksState = {}));
|
|
30982
31082
|
async function runTask2(task, ctx) {
|
|
30983
31083
|
task.retryCount = 0, task.errors = [];
|
|
30984
|
-
let retry = task
|
|
31084
|
+
let retry = task.retry && task.retry > 0 ? task.retry + 1 : 1;
|
|
30985
31085
|
for (let retries = 1; retries <= retry; retries++)
|
|
30986
31086
|
try {
|
|
30987
31087
|
return task.skip?.(ctx) ? void 0 : await task.task(ctx, task);
|
|
@@ -31227,7 +31327,7 @@ async function renderAutocompletePrompt({ renderOptions, ...props }, uiDebugOpti
|
|
|
31227
31327
|
search(term) {
|
|
31228
31328
|
let lowerTerm = term.toLowerCase();
|
|
31229
31329
|
return Promise.resolve({
|
|
31230
|
-
data: props.choices.filter((item) => item.label.toLowerCase().includes(lowerTerm) || item.group
|
|
31330
|
+
data: props.choices.filter((item) => item.label.toLowerCase().includes(lowerTerm) || item.group?.toLowerCase().includes(lowerTerm))
|
|
31231
31331
|
});
|
|
31232
31332
|
},
|
|
31233
31333
|
...props
|
|
@@ -31261,7 +31361,9 @@ async function renderTasks(tasks, { renderOptions } = {}) {
|
|
|
31261
31361
|
render2(import_react54.default.createElement(Tasks, { tasks, onComplete: resolve }), {
|
|
31262
31362
|
...renderOptions,
|
|
31263
31363
|
exitOnCtrlC: !1
|
|
31264
|
-
}).then(() =>
|
|
31364
|
+
}).then(() => {
|
|
31365
|
+
resetRecordedSleep();
|
|
31366
|
+
}).catch(reject);
|
|
31265
31367
|
});
|
|
31266
31368
|
}
|
|
31267
31369
|
async function renderTextPrompt({ renderOptions, ...props }, uiDebugOptions = defaultUIDebugOptions) {
|
|
@@ -31323,7 +31425,7 @@ This usually happens when running a command non-interactively, for example in a
|
|
|
31323
31425
|
}
|
|
31324
31426
|
|
|
31325
31427
|
// ../cli-kit/dist/public/node/error.js
|
|
31326
|
-
var import_core2 = __toESM(require_lib()
|
|
31428
|
+
var import_core2 = __toESM(require_lib()), import_ts_error = __toESM(require_cjs()), FatalErrorType;
|
|
31327
31429
|
(function(FatalErrorType2) {
|
|
31328
31430
|
FatalErrorType2[FatalErrorType2.Abort = 0] = "Abort", FatalErrorType2[FatalErrorType2.AbortSilent = 1] = "AbortSilent", FatalErrorType2[FatalErrorType2.Bug = 2] = "Bug";
|
|
31329
31431
|
})(FatalErrorType || (FatalErrorType = {}));
|
|
@@ -31417,7 +31519,7 @@ async function exec(command, args, options) {
|
|
|
31417
31519
|
if (aborted)
|
|
31418
31520
|
return;
|
|
31419
31521
|
if (options?.externalErrorHandler)
|
|
31420
|
-
await options
|
|
31522
|
+
await options.externalErrorHandler(processError);
|
|
31421
31523
|
else {
|
|
31422
31524
|
let abortError = new ExternalError(processError.message, command, args);
|
|
31423
31525
|
throw abortError.stack = processError.stack, abortError;
|
|
@@ -31541,6 +31643,7 @@ export {
|
|
|
31541
31643
|
printEventsJson,
|
|
31542
31644
|
treeKill,
|
|
31543
31645
|
mimicFunction,
|
|
31646
|
+
require_signal_exit,
|
|
31544
31647
|
require_get_stream,
|
|
31545
31648
|
execa,
|
|
31546
31649
|
execaSync,
|
|
@@ -31568,7 +31671,6 @@ export {
|
|
|
31568
31671
|
alwaysLogAnalytics,
|
|
31569
31672
|
alwaysLogMetrics,
|
|
31570
31673
|
firstPartyDev,
|
|
31571
|
-
useDeviceAuth,
|
|
31572
31674
|
useThemebundling,
|
|
31573
31675
|
useEmbeddedThemeCLI,
|
|
31574
31676
|
gitpodURL,
|
|
@@ -31743,4 +31845,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
|
|
|
31743
31845
|
* LICENSE file in the root directory of this source tree.
|
|
31744
31846
|
*)
|
|
31745
31847
|
*/
|
|
31746
|
-
//# sourceMappingURL=chunk-
|
|
31848
|
+
//# sourceMappingURL=chunk-NQUHO34K.js.map
|
|
@@ -17,14 +17,14 @@ import {
|
|
|
17
17
|
require_get_stream,
|
|
18
18
|
runWithTimer,
|
|
19
19
|
writeFile
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-NQUHO34K.js";
|
|
21
21
|
import {
|
|
22
22
|
envPaths
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-G6AY2JW5.js";
|
|
24
24
|
import {
|
|
25
25
|
dirname,
|
|
26
26
|
joinPath
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-BB6N2XSA.js";
|
|
28
28
|
import {
|
|
29
29
|
__commonJS,
|
|
30
30
|
__require,
|
|
@@ -15387,4 +15387,4 @@ deep-extend/lib/deep-extend.js:
|
|
|
15387
15387
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
15388
15388
|
*)
|
|
15389
15389
|
*/
|
|
15390
|
-
//# sourceMappingURL=chunk-
|
|
15390
|
+
//# sourceMappingURL=chunk-UWDJJNDC.js.map
|