@donotdev/cli 0.1.45 → 0.1.46

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.
@@ -5,7 +5,7 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __getProtoOf = Object.getPrototypeOf;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
7
  var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
8
- get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
8
+ get: (a2, b) => (typeof require !== "undefined" ? require : a2)[b]
9
9
  }) : x)(function(x) {
10
10
  if (typeof require !== "undefined") return require.apply(this, arguments);
11
11
  throw Error('Dynamic require of "' + x + '" is not supported');
@@ -37,17 +37,17 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
37
37
  mod
38
38
  ));
39
39
 
40
- // node_modules/.bun/fast-string-truncated-width@1.2.1/node_modules/fast-string-truncated-width/dist/utils.js
40
+ // node_modules/.bun/fast-string-truncated-width@3.0.3/node_modules/fast-string-truncated-width/dist/utils.js
41
41
  var init_utils = __esm({
42
- "node_modules/.bun/fast-string-truncated-width@1.2.1/node_modules/fast-string-truncated-width/dist/utils.js"() {
42
+ "node_modules/.bun/fast-string-truncated-width@3.0.3/node_modules/fast-string-truncated-width/dist/utils.js"() {
43
43
  init_utils2();
44
44
  }
45
45
  });
46
46
 
47
- // node_modules/.bun/fast-string-truncated-width@1.2.1/node_modules/fast-string-truncated-width/dist/index.js
47
+ // node_modules/.bun/fast-string-truncated-width@3.0.3/node_modules/fast-string-truncated-width/dist/index.js
48
48
  var EMOJI_RE, MODIFIER_RE;
49
49
  var init_dist = __esm({
50
- "node_modules/.bun/fast-string-truncated-width@1.2.1/node_modules/fast-string-truncated-width/dist/index.js"() {
50
+ "node_modules/.bun/fast-string-truncated-width@3.0.3/node_modules/fast-string-truncated-width/dist/index.js"() {
51
51
  init_utils2();
52
52
  init_utils();
53
53
  EMOJI_RE = new RegExp("[\\u{1F1E6}-\\u{1F1FF}]{2}|\\u{1F3F4}[\\u{E0061}-\\u{E007A}]{2}[\\u{E0030}-\\u{E0039}\\u{E0061}-\\u{E007A}]{1,3}\\u{E007F}|(?:\\p{Emoji}\\uFE0F\\u20E3?|\\p{Emoji_Modifier_Base}\\p{Emoji_Modifier}?|\\p{Emoji_Presentation})(?:\\u200D(?:\\p{Emoji_Modifier_Base}\\p{Emoji_Modifier}?|\\p{Emoji_Presentation}|\\p{Emoji}\\uFE0F\\u20E3?))*", "yu");
@@ -55,18 +55,18 @@ var init_dist = __esm({
55
55
  }
56
56
  });
57
57
 
58
- // node_modules/.bun/fast-string-width@1.1.0/node_modules/fast-string-width/dist/index.js
58
+ // node_modules/.bun/fast-string-width@3.0.2/node_modules/fast-string-width/dist/index.js
59
59
  var init_dist2 = __esm({
60
- "node_modules/.bun/fast-string-width@1.1.0/node_modules/fast-string-width/dist/index.js"() {
60
+ "node_modules/.bun/fast-string-width@3.0.2/node_modules/fast-string-width/dist/index.js"() {
61
61
  init_utils2();
62
62
  init_dist();
63
63
  }
64
64
  });
65
65
 
66
- // node_modules/.bun/fast-wrap-ansi@0.1.6/node_modules/fast-wrap-ansi/lib/main.js
66
+ // node_modules/.bun/fast-wrap-ansi@0.2.2/node_modules/fast-wrap-ansi/lib/main.js
67
67
  var ANSI_ESCAPE_BELL, ANSI_CSI, ANSI_OSC, ANSI_ESCAPE_LINK, GROUP_REGEX;
68
68
  var init_main = __esm({
69
- "node_modules/.bun/fast-wrap-ansi@0.1.6/node_modules/fast-wrap-ansi/lib/main.js"() {
69
+ "node_modules/.bun/fast-wrap-ansi@0.2.2/node_modules/fast-wrap-ansi/lib/main.js"() {
70
70
  init_utils2();
71
71
  init_dist2();
72
72
  ANSI_ESCAPE_BELL = "\x07";
@@ -85,17 +85,17 @@ var require_src = __commonJS({
85
85
  var ESC = "\x1B";
86
86
  var CSI = `${ESC}[`;
87
87
  var beep = "\x07";
88
- var cursor = {
89
- to(x, y2) {
90
- if (!y2) return `${CSI}${x + 1}G`;
91
- return `${CSI}${y2 + 1};${x + 1}H`;
88
+ var cursor3 = {
89
+ to(x, y) {
90
+ if (!y) return `${CSI}${x + 1}G`;
91
+ return `${CSI}${y + 1};${x + 1}H`;
92
92
  },
93
- move(x, y2) {
93
+ move(x, y) {
94
94
  let ret = "";
95
95
  if (x < 0) ret += `${CSI}${-x}D`;
96
96
  else if (x > 0) ret += `${CSI}${x}C`;
97
- if (y2 < 0) ret += `${CSI}${-y2}A`;
98
- else if (y2 > 0) ret += `${CSI}${y2}B`;
97
+ if (y < 0) ret += `${CSI}${-y}A`;
98
+ else if (y > 0) ret += `${CSI}${y}B`;
99
99
  return ret;
100
100
  },
101
101
  up: (count = 1) => `${CSI}${count}A`,
@@ -114,7 +114,7 @@ var require_src = __commonJS({
114
114
  up: (count = 1) => `${CSI}S`.repeat(count),
115
115
  down: (count = 1) => `${CSI}T`.repeat(count)
116
116
  };
117
- var erase = {
117
+ var erase3 = {
118
118
  screen: `${CSI}2J`,
119
119
  up: (count = 1) => `${CSI}1J`.repeat(count),
120
120
  down: (count = 1) => `${CSI}J`.repeat(count),
@@ -123,118 +123,192 @@ var require_src = __commonJS({
123
123
  lineStart: `${CSI}1K`,
124
124
  lines(count) {
125
125
  let clear = "";
126
- for (let i = 0; i < count; i++)
127
- clear += this.line + (i < count - 1 ? cursor.up() : "");
126
+ for (let i2 = 0; i2 < count; i2++)
127
+ clear += this.line + (i2 < count - 1 ? cursor3.up() : "");
128
128
  if (count)
129
- clear += cursor.left;
129
+ clear += cursor3.left;
130
130
  return clear;
131
131
  }
132
132
  };
133
- module.exports = { cursor, scroll, erase, beep };
133
+ module.exports = { cursor: cursor3, scroll, erase: erase3, beep };
134
134
  }
135
135
  });
136
136
 
137
- // node_modules/.bun/@clack+core@1.2.0/node_modules/@clack/core/dist/index.mjs
138
- import { styleText as y } from "node:util";
139
- import { stdout as S, stdin as $ } from "node:process";
140
- import { ReadStream as D } from "node:tty";
141
- var import_sisteransi, E, G, u, Y;
137
+ // node_modules/.bun/@clack+core@1.5.0/node_modules/@clack/core/dist/index.mjs
138
+ import { styleText } from "node:util";
139
+ import { stdout, stdin } from "node:process";
140
+ import { ReadStream } from "node:tty";
141
+ var import_sisteransi, a$1, t, settings, R;
142
142
  var init_dist3 = __esm({
143
- "node_modules/.bun/@clack+core@1.2.0/node_modules/@clack/core/dist/index.mjs"() {
143
+ "node_modules/.bun/@clack+core@1.5.0/node_modules/@clack/core/dist/index.mjs"() {
144
144
  init_utils2();
145
145
  init_main();
146
146
  import_sisteransi = __toESM(require_src(), 1);
147
- E = ["up", "down", "left", "right", "space", "enter", "cancel"];
148
- G = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
149
- u = { actions: new Set(E), aliases: /* @__PURE__ */ new Map([["k", "up"], ["j", "down"], ["h", "left"], ["l", "right"], ["", "cancel"], ["escape", "cancel"]]), messages: { cancel: "Canceled", error: "Something went wrong" }, withGuide: true, date: { monthNames: [...G], messages: { required: "Please enter a valid date", invalidMonth: "There are only 12 months in a year", invalidDay: (r, t2) => `There are only ${r} days in ${t2}`, afterMin: (r) => `Date must be on or after ${r.toISOString().slice(0, 10)}`, beforeMax: (r) => `Date must be on or before ${r.toISOString().slice(0, 10)}` } } };
150
- Y = globalThis.process.platform.startsWith("win");
147
+ a$1 = ["up", "down", "left", "right", "space", "enter", "cancel"];
148
+ t = [
149
+ "January",
150
+ "February",
151
+ "March",
152
+ "April",
153
+ "May",
154
+ "June",
155
+ "July",
156
+ "August",
157
+ "September",
158
+ "October",
159
+ "November",
160
+ "December"
161
+ ];
162
+ settings = {
163
+ actions: new Set(a$1),
164
+ aliases: /* @__PURE__ */ new Map([
165
+ // vim support
166
+ ["k", "up"],
167
+ ["j", "down"],
168
+ ["h", "left"],
169
+ ["l", "right"],
170
+ ["", "cancel"],
171
+ // opinionated defaults!
172
+ ["escape", "cancel"]
173
+ ]),
174
+ messages: {
175
+ cancel: "Canceled",
176
+ error: "Something went wrong"
177
+ },
178
+ withGuide: true,
179
+ accessible: void 0,
180
+ date: {
181
+ monthNames: [...t],
182
+ messages: {
183
+ required: "Please enter a valid date",
184
+ invalidMonth: "There are only 12 months in a year",
185
+ invalidDay: (n2, e) => `There are only ${n2} days in ${e}`,
186
+ afterMin: (n2) => `Date must be on or after ${n2.toISOString().slice(0, 10)}`,
187
+ beforeMax: (n2) => `Date must be on or before ${n2.toISOString().slice(0, 10)}`
188
+ }
189
+ }
190
+ };
191
+ R = globalThis.process.platform.startsWith("win");
151
192
  }
152
193
  });
153
194
 
154
- // node_modules/.bun/@clack+prompts@1.2.0/node_modules/@clack/prompts/dist/index.mjs
155
- import { styleText as t, stripVTControlCharacters as ne } from "node:util";
156
- import P from "node:process";
157
- import { existsSync as Xe, lstatSync as we, readdirSync as ze } from "node:fs";
158
- import { dirname as be, join as Qe } from "node:path";
159
- function Ze() {
160
- return P.platform !== "win32" ? P.env.TERM !== "linux" : !!P.env.CI || !!P.env.WT_SESSION || !!P.env.TERMINUS_SUBLIME || P.env.ConEmuTask === "{cmd::Cmder}" || P.env.TERM_PROGRAM === "Terminus-Sublime" || P.env.TERM_PROGRAM === "vscode" || P.env.TERM === "xterm-256color" || P.env.TERM === "alacritty" || P.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
195
+ // node_modules/.bun/@clack+prompts@1.8.0/node_modules/@clack/prompts/dist/index.mjs
196
+ import { styleText as styleText2, stripVTControlCharacters } from "node:util";
197
+ import process$1 from "node:process";
198
+ import { existsSync, lstatSync, readdirSync } from "node:fs";
199
+ import { dirname, join } from "node:path";
200
+ function isUnicodeSupported() {
201
+ if (process$1.platform !== "win32") {
202
+ return process$1.env.TERM !== "linux";
203
+ }
204
+ return Boolean(process$1.env.CI) || Boolean(process$1.env.WT_SESSION) || Boolean(process$1.env.TERMINUS_SUBLIME) || process$1.env.ConEmuTask === "{cmd::Cmder}" || process$1.env.TERM_PROGRAM === "Terminus-Sublime" || process$1.env.TERM_PROGRAM === "vscode" || process$1.env.TERM === "xterm-256color" || process$1.env.TERM === "alacritty" || process$1.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
161
205
  }
162
- var import_sisteransi2, ee, w, _e, oe, ue, F, le, d, E2, Ie, Ee, z2, H2, te, U, J, xe, se, ce, Ge, $e, de, Oe, he, pe, me, ge, O2, mt, gt, Ve, je;
206
+ var import_sisteransi2, unicode, unicodeOr, S_STEP_ACTIVE, S_STEP_CANCEL, S_STEP_ERROR, S_STEP_SUBMIT, S_BAR_START, S_BAR, S_BAR_END, S_BAR_START_RIGHT, S_BAR_END_RIGHT, S_RADIO_ACTIVE, S_RADIO_INACTIVE, S_CHECKBOX_ACTIVE, S_CHECKBOX_SELECTED, S_CHECKBOX_INACTIVE, S_PASSWORD_MASK, S_BAR_H, S_CORNER_TOP_RIGHT, S_CONNECT_LEFT, S_CORNER_BOTTOM_RIGHT, S_CORNER_BOTTOM_LEFT, S_CORNER_TOP_LEFT, S_INFO, S_SUCCESS, S_WARN, S_ERROR, MULTISELECT_INSTRUCTIONS, log, intro, outro, u2, SELECT_INSTRUCTIONS, i;
163
207
  var init_dist4 = __esm({
164
- "node_modules/.bun/@clack+prompts@1.2.0/node_modules/@clack/prompts/dist/index.mjs"() {
208
+ "node_modules/.bun/@clack+prompts@1.8.0/node_modules/@clack/prompts/dist/index.mjs"() {
165
209
  init_utils2();
166
210
  init_dist3();
167
211
  init_dist3();
168
212
  init_main();
169
213
  init_dist2();
170
214
  import_sisteransi2 = __toESM(require_src(), 1);
171
- ee = Ze();
172
- w = (e, i) => ee ? e : i;
173
- _e = w("\u25C6", "*");
174
- oe = w("\u25A0", "x");
175
- ue = w("\u25B2", "x");
176
- F = w("\u25C7", "o");
177
- le = w("\u250C", "T");
178
- d = w("\u2502", "|");
179
- E2 = w("\u2514", "\u2014");
180
- Ie = w("\u2510", "T");
181
- Ee = w("\u2518", "\u2014");
182
- z2 = w("\u25CF", ">");
183
- H2 = w("\u25CB", " ");
184
- te = w("\u25FB", "[\u2022]");
185
- U = w("\u25FC", "[+]");
186
- J = w("\u25FB", "[ ]");
187
- xe = w("\u25AA", "\u2022");
188
- se = w("\u2500", "-");
189
- ce = w("\u256E", "+");
190
- Ge = w("\u251C", "+");
191
- $e = w("\u256F", "+");
192
- de = w("\u2570", "+");
193
- Oe = w("\u256D", "+");
194
- he = w("\u25CF", "\u2022");
195
- pe = w("\u25C6", "*");
196
- me = w("\u25B2", "!");
197
- ge = w("\u25A0", "x");
198
- O2 = { message: (e = [], { symbol: i = t("gray", d), secondarySymbol: s = t("gray", d), output: r = process.stdout, spacing: u2 = 1, withGuide: n } = {}) => {
199
- const o = [], c2 = n ?? u.withGuide, a = c2 ? s : "", l = c2 ? `${i} ` : "", $2 = c2 ? `${s} ` : "";
200
- for (let p = 0; p < u2; p++) o.push(a);
201
- const y2 = Array.isArray(e) ? e : e.split(`
215
+ unicode = isUnicodeSupported();
216
+ unicodeOr = (o, e) => unicode ? o : e;
217
+ S_STEP_ACTIVE = unicodeOr("\u25C6", "*");
218
+ S_STEP_CANCEL = unicodeOr("\u25A0", "x");
219
+ S_STEP_ERROR = unicodeOr("\u25B2", "x");
220
+ S_STEP_SUBMIT = unicodeOr("\u25C7", "o");
221
+ S_BAR_START = unicodeOr("\u250C", "T");
222
+ S_BAR = unicodeOr("\u2502", "|");
223
+ S_BAR_END = unicodeOr("\u2514", "\u2014");
224
+ S_BAR_START_RIGHT = unicodeOr("\u2510", "T");
225
+ S_BAR_END_RIGHT = unicodeOr("\u2518", "\u2014");
226
+ S_RADIO_ACTIVE = unicodeOr("\u25CF", ">");
227
+ S_RADIO_INACTIVE = unicodeOr("\u25CB", " ");
228
+ S_CHECKBOX_ACTIVE = unicodeOr("\u25FB", "[\u2022]");
229
+ S_CHECKBOX_SELECTED = unicodeOr("\u25FC", "[+]");
230
+ S_CHECKBOX_INACTIVE = unicodeOr("\u25FB", "[ ]");
231
+ S_PASSWORD_MASK = unicodeOr("\u25AA", "\u2022");
232
+ S_BAR_H = unicodeOr("\u2500", "-");
233
+ S_CORNER_TOP_RIGHT = unicodeOr("\u256E", "+");
234
+ S_CONNECT_LEFT = unicodeOr("\u251C", "+");
235
+ S_CORNER_BOTTOM_RIGHT = unicodeOr("\u256F", "+");
236
+ S_CORNER_BOTTOM_LEFT = unicodeOr("\u2570", "+");
237
+ S_CORNER_TOP_LEFT = unicodeOr("\u256D", "+");
238
+ S_INFO = unicodeOr("\u25CF", "\u2022");
239
+ S_SUCCESS = unicodeOr("\u25C6", "*");
240
+ S_WARN = unicodeOr("\u25B2", "!");
241
+ S_ERROR = unicodeOr("\u25A0", "x");
242
+ MULTISELECT_INSTRUCTIONS = [
243
+ `${styleText2("dim", "\u2191/\u2193")} to navigate`,
244
+ `${styleText2("dim", "Space:")} select`,
245
+ `${styleText2("dim", "Enter:")} confirm`
246
+ ];
247
+ log = {
248
+ message: (s = [], {
249
+ symbol: e = styleText2("gray", S_BAR),
250
+ secondarySymbol: r2 = styleText2("gray", S_BAR),
251
+ output: m = process.stdout,
252
+ spacing: l = 1,
253
+ withGuide: c
254
+ } = {}) => {
255
+ const t2 = [], o = c ?? settings.withGuide, f = o ? r2 : "", O = o ? `${e} ` : "", u3 = o ? `${r2} ` : "";
256
+ for (let i2 = 0; i2 < l; i2++)
257
+ t2.push(f);
258
+ const g = Array.isArray(s) ? s : s.split(`
202
259
  `);
203
- if (y2.length > 0) {
204
- const [p, ...m] = y2;
205
- p.length > 0 ? o.push(`${l}${p}`) : o.push(c2 ? i : "");
206
- for (const g of m) g.length > 0 ? o.push(`${$2}${g}`) : o.push(c2 ? s : "");
207
- }
208
- r.write(`${o.join(`
260
+ if (g.length > 0) {
261
+ const [i2, ...y] = g;
262
+ i2.length > 0 ? t2.push(`${O}${i2}`) : t2.push(o ? e : "");
263
+ for (const p of y)
264
+ p.length > 0 ? t2.push(`${u3}${p}`) : t2.push(o ? r2 : "");
265
+ }
266
+ m.write(`${t2.join(`
209
267
  `)}
210
268
  `);
211
- }, info: (e, i) => {
212
- O2.message(e, { ...i, symbol: t("blue", he) });
213
- }, success: (e, i) => {
214
- O2.message(e, { ...i, symbol: t("green", pe) });
215
- }, step: (e, i) => {
216
- O2.message(e, { ...i, symbol: t("green", F) });
217
- }, warn: (e, i) => {
218
- O2.message(e, { ...i, symbol: t("yellow", me) });
219
- }, warning: (e, i) => {
220
- O2.warn(e, i);
221
- }, error: (e, i) => {
222
- O2.message(e, { ...i, symbol: t("red", ge) });
223
- } };
224
- mt = (e = "", i) => {
225
- const s = i?.output ?? process.stdout, r = i?.withGuide ?? u.withGuide ? `${t("gray", le)} ` : "";
226
- s.write(`${r}${e}
269
+ },
270
+ info: (s, e) => {
271
+ log.message(s, { ...e, symbol: styleText2("blue", S_INFO) });
272
+ },
273
+ success: (s, e) => {
274
+ log.message(s, { ...e, symbol: styleText2("green", S_SUCCESS) });
275
+ },
276
+ step: (s, e) => {
277
+ log.message(s, { ...e, symbol: styleText2("green", S_STEP_SUBMIT) });
278
+ },
279
+ warn: (s, e) => {
280
+ log.message(s, { ...e, symbol: styleText2("yellow", S_WARN) });
281
+ },
282
+ /** alias for `log.warn()`. */
283
+ warning: (s, e) => {
284
+ log.warn(s, e);
285
+ },
286
+ error: (s, e) => {
287
+ log.message(s, { ...e, symbol: styleText2("red", S_ERROR) });
288
+ }
289
+ };
290
+ intro = (o = "", t2) => {
291
+ const i2 = t2?.output ?? process.stdout, e = t2?.withGuide ?? settings.withGuide ? `${styleText2("gray", S_BAR_START)} ` : "";
292
+ i2.write(`${e}${o}
227
293
  `);
228
294
  };
229
- gt = (e = "", i) => {
230
- const s = i?.output ?? process.stdout, r = i?.withGuide ?? u.withGuide ? `${t("gray", d)}
231
- ${t("gray", E2)} ` : "";
232
- s.write(`${r}${e}
295
+ outro = (o = "", t2) => {
296
+ const i2 = t2?.output ?? process.stdout, e = t2?.withGuide ?? settings.withGuide ? `${styleText2("gray", S_BAR)}
297
+ ${styleText2("gray", S_BAR_END)} ` : "";
298
+ i2.write(`${e}${o}
233
299
 
234
300
  `);
235
301
  };
236
- Ve = { light: w("\u2500", "-"), heavy: w("\u2501", "="), block: w("\u2588", "#") };
237
- je = `${t("gray", d)} `;
302
+ u2 = {
303
+ light: unicodeOr("\u2500", "-"),
304
+ heavy: unicodeOr("\u2501", "="),
305
+ block: unicodeOr("\u2588", "#")
306
+ };
307
+ SELECT_INSTRUCTIONS = [
308
+ `${styleText2("dim", "\u2191/\u2193")} to navigate`,
309
+ `${styleText2("dim", "Enter:")} confirm`
310
+ ];
311
+ i = `${styleText2("gray", S_BAR)} `;
238
312
  }
239
313
  });
240
314
 
@@ -279,7 +353,7 @@ function stringify(value) {
279
353
  function formatMessage(...args) {
280
354
  return args.map(stringify).join(" ");
281
355
  }
282
- var colors, currentLogLevel, log, error, warn, info, success;
356
+ var colors, currentLogLevel, log2, error, warn, info, success;
283
357
  var init_cli_output = __esm({
284
358
  "packages/tooling/src/utils/cli-output.ts"() {
285
359
  "use strict";
@@ -312,7 +386,7 @@ var init_cli_output = __esm({
312
386
  currentLogLevel = envLevel;
313
387
  }
314
388
  }
315
- log = {
389
+ log2 = {
316
390
  /**
317
391
  * Logs an error message (always shows unless Quiet level)
318
392
  * Uses clack's log.error + explicit red color
@@ -320,7 +394,7 @@ var init_cli_output = __esm({
320
394
  error(...args) {
321
395
  if (currentLogLevel < 0 /* Quiet */) return;
322
396
  const message = formatMessage(...args);
323
- O2.error(colorize(message, colors.brightRed));
397
+ log.error(colorize(message, colors.brightRed));
324
398
  },
325
399
  /**
326
400
  * Logs a warning message (shows at Normal level and above)
@@ -329,7 +403,7 @@ var init_cli_output = __esm({
329
403
  warn(...args) {
330
404
  if (currentLogLevel < 1 /* Normal */) return;
331
405
  const message = formatMessage(...args);
332
- O2.warn(colorize(message, colors.brightYellow));
406
+ log.warn(colorize(message, colors.brightYellow));
333
407
  },
334
408
  /**
335
409
  * Logs an info message (shows at Normal level and above)
@@ -338,7 +412,7 @@ var init_cli_output = __esm({
338
412
  info(...args) {
339
413
  if (currentLogLevel < 1 /* Normal */) return;
340
414
  const message = formatMessage(...args);
341
- O2.info(colorize(message, colors.brightCyan));
415
+ log.info(colorize(message, colors.brightCyan));
342
416
  },
343
417
  /**
344
418
  * Logs a success message (shows at Normal level and above)
@@ -347,7 +421,7 @@ var init_cli_output = __esm({
347
421
  success(...args) {
348
422
  if (currentLogLevel < 1 /* Normal */) return;
349
423
  const message = formatMessage(...args);
350
- O2.success(colorize(message, colors.brightGreen));
424
+ log.success(colorize(message, colors.brightGreen));
351
425
  },
352
426
  /**
353
427
  * Logs a debug message (only shows at Verbose level and above)
@@ -356,7 +430,7 @@ var init_cli_output = __esm({
356
430
  debug(...args) {
357
431
  if (currentLogLevel < 2 /* Verbose */) return;
358
432
  const timeStamp = (/* @__PURE__ */ new Date()).toISOString().slice(11, 19);
359
- O2.message(
433
+ log.message(
360
434
  colorize(
361
435
  `[${timeStamp}] \u{1F50D} DEBUG: ${formatMessage(...args)}`,
362
436
  colors.gray
@@ -370,7 +444,7 @@ var init_cli_output = __esm({
370
444
  trace(...args) {
371
445
  if (currentLogLevel < 3 /* Debug */) return;
372
446
  const timeStamp = (/* @__PURE__ */ new Date()).toISOString().slice(11, 19);
373
- O2.message(
447
+ log.message(
374
448
  colorize(
375
449
  `[${timeStamp}] \u{1F52C} TRACE: ${formatMessage(...args)}`,
376
450
  colors.gray
@@ -378,10 +452,10 @@ var init_cli_output = __esm({
378
452
  );
379
453
  }
380
454
  };
381
- error = log.error.bind(log);
382
- warn = log.warn.bind(log);
383
- info = log.info.bind(log);
384
- success = log.success.bind(log);
455
+ error = log2.error.bind(log2);
456
+ warn = log2.warn.bind(log2);
457
+ info = log2.info.bind(log2);
458
+ success = log2.success.bind(log2);
385
459
  }
386
460
  });
387
461
 
@@ -741,9 +815,9 @@ var require_is_glob = __commonJS({
741
815
  index += 2;
742
816
  var close = chars[open];
743
817
  if (close) {
744
- var n = str.indexOf(close, index);
745
- if (n !== -1) {
746
- index = n + 1;
818
+ var n2 = str.indexOf(close, index);
819
+ if (n2 !== -1) {
820
+ index = n2 + 1;
747
821
  }
748
822
  }
749
823
  if (str[index] === "!") {
@@ -769,9 +843,9 @@ var require_is_glob = __commonJS({
769
843
  index += 2;
770
844
  var close = chars[open];
771
845
  if (close) {
772
- var n = str.indexOf(close, index);
773
- if (n !== -1) {
774
- index = n + 1;
846
+ var n2 = str.indexOf(close, index);
847
+ if (n2 !== -1) {
848
+ index = n2 + 1;
775
849
  }
776
850
  }
777
851
  if (str[index] === "!") {
@@ -849,8 +923,8 @@ var require_utils = __commonJS({
849
923
  if (!exports.isInteger(min) || !exports.isInteger(max)) return false;
850
924
  return (Number(max) - Number(min)) / Number(step) >= limit;
851
925
  };
852
- exports.escapeNode = (block, n = 0, type) => {
853
- const node = block.nodes[n];
926
+ exports.escapeNode = (block2, n2 = 0, type) => {
927
+ const node = block2.nodes[n2];
854
928
  if (!node) return;
855
929
  if (type && node.type === type || node.type === "open" || node.type === "close") {
856
930
  if (node.escaped !== true) {
@@ -867,15 +941,15 @@ var require_utils = __commonJS({
867
941
  }
868
942
  return false;
869
943
  };
870
- exports.isInvalidBrace = (block) => {
871
- if (block.type !== "brace") return false;
872
- if (block.invalid === true || block.dollar) return true;
873
- if (block.commas >> 0 + block.ranges >> 0 === 0) {
874
- block.invalid = true;
944
+ exports.isInvalidBrace = (block2) => {
945
+ if (block2.type !== "brace") return false;
946
+ if (block2.invalid === true || block2.dollar) return true;
947
+ if (block2.commas >> 0 + block2.ranges >> 0 === 0) {
948
+ block2.invalid = true;
875
949
  return true;
876
950
  }
877
- if (block.open !== true || block.close !== true) {
878
- block.invalid = true;
951
+ if (block2.open !== true || block2.close !== true) {
952
+ block2.invalid = true;
879
953
  return true;
880
954
  }
881
955
  return false;
@@ -894,8 +968,8 @@ var require_utils = __commonJS({
894
968
  exports.flatten = (...args) => {
895
969
  const result = [];
896
970
  const flat = (arr) => {
897
- for (let i = 0; i < arr.length; i++) {
898
- const ele = arr[i];
971
+ for (let i2 = 0; i2 < arr.length; i2++) {
972
+ const ele = arr[i2];
899
973
  if (Array.isArray(ele)) {
900
974
  flat(ele);
901
975
  continue;
@@ -989,9 +1063,9 @@ var require_to_regex_range = __commonJS({
989
1063
  if (toRegexRange.cache.hasOwnProperty(cacheKey)) {
990
1064
  return toRegexRange.cache[cacheKey].result;
991
1065
  }
992
- let a = Math.min(min, max);
1066
+ let a2 = Math.min(min, max);
993
1067
  let b = Math.max(min, max);
994
- if (Math.abs(a - b) === 1) {
1068
+ if (Math.abs(a2 - b) === 1) {
995
1069
  let result = min + "|" + max;
996
1070
  if (opts.capture) {
997
1071
  return `(${result})`;
@@ -1002,20 +1076,20 @@ var require_to_regex_range = __commonJS({
1002
1076
  return `(?:${result})`;
1003
1077
  }
1004
1078
  let isPadded = hasPadding(min) || hasPadding(max);
1005
- let state = { min, max, a, b };
1079
+ let state = { min, max, a: a2, b };
1006
1080
  let positives = [];
1007
1081
  let negatives = [];
1008
1082
  if (isPadded) {
1009
1083
  state.isPadded = isPadded;
1010
1084
  state.maxLen = String(state.max).length;
1011
1085
  }
1012
- if (a < 0) {
1086
+ if (a2 < 0) {
1013
1087
  let newMin = b < 0 ? Math.abs(b) : 1;
1014
- negatives = splitToPatterns(newMin, Math.abs(a), state, opts);
1015
- a = state.a = 0;
1088
+ negatives = splitToPatterns(newMin, Math.abs(a2), state, opts);
1089
+ a2 = state.a = 0;
1016
1090
  }
1017
1091
  if (b >= 0) {
1018
- positives = splitToPatterns(a, b, state, opts);
1092
+ positives = splitToPatterns(a2, b, state, opts);
1019
1093
  }
1020
1094
  state.negatives = negatives;
1021
1095
  state.positives = positives;
@@ -1063,8 +1137,8 @@ var require_to_regex_range = __commonJS({
1063
1137
  let digits = zipped.length;
1064
1138
  let pattern = "";
1065
1139
  let count = 0;
1066
- for (let i = 0; i < digits; i++) {
1067
- let [startDigit, stopDigit] = zipped[i];
1140
+ for (let i2 = 0; i2 < digits; i2++) {
1141
+ let [startDigit, stopDigit] = zipped[i2];
1068
1142
  if (startDigit === stopDigit) {
1069
1143
  pattern += startDigit;
1070
1144
  } else if (startDigit !== "0" || stopDigit !== "9") {
@@ -1083,8 +1157,8 @@ var require_to_regex_range = __commonJS({
1083
1157
  let tokens = [];
1084
1158
  let start = min;
1085
1159
  let prev;
1086
- for (let i = 0; i < ranges.length; i++) {
1087
- let max2 = ranges[i];
1160
+ for (let i2 = 0; i2 < ranges.length; i2++) {
1161
+ let max2 = ranges[i2];
1088
1162
  let obj = rangeToPattern(String(start), String(max2), options);
1089
1163
  let zeros = "";
1090
1164
  if (!tok.isPadded && prev && prev.pattern === obj.pattern) {
@@ -1119,13 +1193,13 @@ var require_to_regex_range = __commonJS({
1119
1193
  }
1120
1194
  return result;
1121
1195
  }
1122
- function zip(a, b) {
1196
+ function zip(a2, b) {
1123
1197
  let arr = [];
1124
- for (let i = 0; i < a.length; i++) arr.push([a[i], b[i]]);
1198
+ for (let i2 = 0; i2 < a2.length; i2++) arr.push([a2[i2], b[i2]]);
1125
1199
  return arr;
1126
1200
  }
1127
- function compare(a, b) {
1128
- return a > b ? 1 : b > a ? -1 : 0;
1201
+ function compare(a2, b) {
1202
+ return a2 > b ? 1 : b > a2 ? -1 : 0;
1129
1203
  }
1130
1204
  function contains(arr, key, val) {
1131
1205
  return arr.some((ele) => ele[key] === val);
@@ -1143,8 +1217,8 @@ var require_to_regex_range = __commonJS({
1143
1217
  }
1144
1218
  return "";
1145
1219
  }
1146
- function toCharacterClass(a, b, options) {
1147
- return `[${a}${b - a === 1 ? "" : "-"}${b}]`;
1220
+ function toCharacterClass(a2, b, options) {
1221
+ return `[${a2}${b - a2 === 1 ? "" : "-"}${b}]`;
1148
1222
  }
1149
1223
  function hasPadding(str) {
1150
1224
  return /^-?(0+)\d/.test(str);
@@ -1223,8 +1297,8 @@ var require_fill_range = __commonJS({
1223
1297
  return negative ? "-" + input : input;
1224
1298
  };
1225
1299
  var toSequence = (parts, options, maxLen) => {
1226
- parts.negatives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0);
1227
- parts.positives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0);
1300
+ parts.negatives.sort((a2, b) => a2 < b ? -1 : a2 > b ? 1 : 0);
1301
+ parts.positives.sort((a2, b) => a2 < b ? -1 : a2 > b ? 1 : 0);
1228
1302
  let prefix = options.capture ? "" : "?:";
1229
1303
  let positives = "";
1230
1304
  let negatives = "";
@@ -1245,12 +1319,12 @@ var require_fill_range = __commonJS({
1245
1319
  }
1246
1320
  return result;
1247
1321
  };
1248
- var toRange = (a, b, isNumbers, options) => {
1322
+ var toRange = (a2, b, isNumbers, options) => {
1249
1323
  if (isNumbers) {
1250
- return toRegexRange(a, b, { wrap: false, ...options });
1324
+ return toRegexRange(a2, b, { wrap: false, ...options });
1251
1325
  }
1252
- let start = String.fromCharCode(a);
1253
- if (a === b) return start;
1326
+ let start = String.fromCharCode(a2);
1327
+ if (a2 === b) return start;
1254
1328
  let stop = String.fromCharCode(b);
1255
1329
  return `[${start}-${stop}]`;
1256
1330
  };
@@ -1276,15 +1350,15 @@ var require_fill_range = __commonJS({
1276
1350
  return [];
1277
1351
  };
1278
1352
  var fillNumbers = (start, end, step = 1, options = {}) => {
1279
- let a = Number(start);
1353
+ let a2 = Number(start);
1280
1354
  let b = Number(end);
1281
- if (!Number.isInteger(a) || !Number.isInteger(b)) {
1355
+ if (!Number.isInteger(a2) || !Number.isInteger(b)) {
1282
1356
  if (options.strictRanges === true) throw rangeError([start, end]);
1283
1357
  return [];
1284
1358
  }
1285
- if (a === 0) a = 0;
1359
+ if (a2 === 0) a2 = 0;
1286
1360
  if (b === 0) b = 0;
1287
- let descending = a > b;
1361
+ let descending = a2 > b;
1288
1362
  let startString = String(start);
1289
1363
  let endString = String(end);
1290
1364
  let stepString = String(step);
@@ -1300,13 +1374,13 @@ var require_fill_range = __commonJS({
1300
1374
  let push = (num) => parts[num < 0 ? "negatives" : "positives"].push(Math.abs(num));
1301
1375
  let range = [];
1302
1376
  let index = 0;
1303
- while (descending ? a >= b : a <= b) {
1377
+ while (descending ? a2 >= b : a2 <= b) {
1304
1378
  if (options.toRegex === true && step > 1) {
1305
- push(a);
1379
+ push(a2);
1306
1380
  } else {
1307
- range.push(pad(format(a, index), maxLen, toNumber));
1381
+ range.push(pad(format(a2, index), maxLen, toNumber));
1308
1382
  }
1309
- a = descending ? a - step : a + step;
1383
+ a2 = descending ? a2 - step : a2 + step;
1310
1384
  index++;
1311
1385
  }
1312
1386
  if (options.toRegex === true) {
@@ -1319,19 +1393,19 @@ var require_fill_range = __commonJS({
1319
1393
  return invalidRange(start, end, options);
1320
1394
  }
1321
1395
  let format = options.transform || ((val) => String.fromCharCode(val));
1322
- let a = `${start}`.charCodeAt(0);
1396
+ let a2 = `${start}`.charCodeAt(0);
1323
1397
  let b = `${end}`.charCodeAt(0);
1324
- let descending = a > b;
1325
- let min = Math.min(a, b);
1326
- let max = Math.max(a, b);
1398
+ let descending = a2 > b;
1399
+ let min = Math.min(a2, b);
1400
+ let max = Math.max(a2, b);
1327
1401
  if (options.toRegex && step === 1) {
1328
1402
  return toRange(min, max, false, options);
1329
1403
  }
1330
1404
  let range = [];
1331
1405
  let index = 0;
1332
- while (descending ? a >= b : a <= b) {
1333
- range.push(format(a, index));
1334
- a = descending ? a - step : a + step;
1406
+ while (descending ? a2 >= b : a2 <= b) {
1407
+ range.push(format(a2, index));
1408
+ a2 = descending ? a2 - step : a2 + step;
1335
1409
  index++;
1336
1410
  }
1337
1411
  if (options.toRegex === true) {
@@ -1455,17 +1529,17 @@ var require_expand = __commonJS({
1455
1529
  const walk = (node, parent = {}) => {
1456
1530
  node.queue = [];
1457
1531
  let p = parent;
1458
- let q2 = parent.queue;
1532
+ let q = parent.queue;
1459
1533
  while (p.type !== "brace" && p.type !== "root" && p.parent) {
1460
1534
  p = p.parent;
1461
- q2 = p.queue;
1535
+ q = p.queue;
1462
1536
  }
1463
1537
  if (node.invalid || node.dollar) {
1464
- q2.push(append(q2.pop(), stringify2(node, options)));
1538
+ q.push(append(q.pop(), stringify2(node, options)));
1465
1539
  return;
1466
1540
  }
1467
1541
  if (node.type === "brace" && node.invalid !== true && node.nodes.length === 2) {
1468
- q2.push(append(q2.pop(), ["{}"]));
1542
+ q.push(append(q.pop(), ["{}"]));
1469
1543
  return;
1470
1544
  }
1471
1545
  if (node.nodes && node.ranges > 0) {
@@ -1477,26 +1551,26 @@ var require_expand = __commonJS({
1477
1551
  if (range.length === 0) {
1478
1552
  range = stringify2(node, options);
1479
1553
  }
1480
- q2.push(append(q2.pop(), range));
1554
+ q.push(append(q.pop(), range));
1481
1555
  node.nodes = [];
1482
1556
  return;
1483
1557
  }
1484
1558
  const enclose = utils.encloseBrace(node);
1485
1559
  let queue = node.queue;
1486
- let block = node;
1487
- while (block.type !== "brace" && block.type !== "root" && block.parent) {
1488
- block = block.parent;
1489
- queue = block.queue;
1560
+ let block2 = node;
1561
+ while (block2.type !== "brace" && block2.type !== "root" && block2.parent) {
1562
+ block2 = block2.parent;
1563
+ queue = block2.queue;
1490
1564
  }
1491
- for (let i = 0; i < node.nodes.length; i++) {
1492
- const child = node.nodes[i];
1565
+ for (let i2 = 0; i2 < node.nodes.length; i2++) {
1566
+ const child = node.nodes[i2];
1493
1567
  if (child.type === "comma" && node.type === "brace") {
1494
- if (i === 1) queue.push("");
1568
+ if (i2 === 1) queue.push("");
1495
1569
  queue.push("");
1496
1570
  continue;
1497
1571
  }
1498
1572
  if (child.type === "close") {
1499
- q2.push(append(q2.pop(), queue, enclose));
1573
+ q.push(append(q.pop(), queue, enclose));
1500
1574
  continue;
1501
1575
  }
1502
1576
  if (child.value && child.type !== "open") {
@@ -1663,7 +1737,7 @@ var require_parse = __commonJS({
1663
1737
  }
1664
1738
  const ast = { type: "root", input, nodes: [] };
1665
1739
  const stack = [ast];
1666
- let block = ast;
1740
+ let block2 = ast;
1667
1741
  let prev = ast;
1668
1742
  let brackets = 0;
1669
1743
  const length = input.length;
@@ -1679,15 +1753,15 @@ var require_parse = __commonJS({
1679
1753
  prev.value += node.value;
1680
1754
  return;
1681
1755
  }
1682
- block.nodes.push(node);
1683
- node.parent = block;
1756
+ block2.nodes.push(node);
1757
+ node.parent = block2;
1684
1758
  node.prev = prev;
1685
1759
  prev = node;
1686
1760
  return node;
1687
1761
  };
1688
1762
  push({ type: "bos" });
1689
1763
  while (index < length) {
1690
- block = stack[stack.length - 1];
1764
+ block2 = stack[stack.length - 1];
1691
1765
  value = advance();
1692
1766
  if (value === CHAR_ZERO_WIDTH_NOBREAK_SPACE || value === CHAR_NO_BREAK_SPACE) {
1693
1767
  continue;
@@ -1724,19 +1798,19 @@ var require_parse = __commonJS({
1724
1798
  continue;
1725
1799
  }
1726
1800
  if (value === CHAR_LEFT_PARENTHESES) {
1727
- block = push({ type: "paren", nodes: [] });
1728
- stack.push(block);
1801
+ block2 = push({ type: "paren", nodes: [] });
1802
+ stack.push(block2);
1729
1803
  push({ type: "text", value });
1730
1804
  continue;
1731
1805
  }
1732
1806
  if (value === CHAR_RIGHT_PARENTHESES) {
1733
- if (block.type !== "paren") {
1807
+ if (block2.type !== "paren") {
1734
1808
  push({ type: "text", value });
1735
1809
  continue;
1736
1810
  }
1737
- block = stack.pop();
1811
+ block2 = stack.pop();
1738
1812
  push({ type: "text", value });
1739
- block = stack[stack.length - 1];
1813
+ block2 = stack[stack.length - 1];
1740
1814
  continue;
1741
1815
  }
1742
1816
  if (value === CHAR_DOUBLE_QUOTE || value === CHAR_SINGLE_QUOTE || value === CHAR_BACKTICK) {
@@ -1761,7 +1835,7 @@ var require_parse = __commonJS({
1761
1835
  }
1762
1836
  if (value === CHAR_LEFT_CURLY_BRACE) {
1763
1837
  depth++;
1764
- const dollar = prev.value && prev.value.slice(-1) === "$" || block.dollar === true;
1838
+ const dollar = prev.value && prev.value.slice(-1) === "$" || block2.dollar === true;
1765
1839
  const brace = {
1766
1840
  type: "brace",
1767
1841
  open: true,
@@ -1772,52 +1846,52 @@ var require_parse = __commonJS({
1772
1846
  ranges: 0,
1773
1847
  nodes: []
1774
1848
  };
1775
- block = push(brace);
1776
- stack.push(block);
1849
+ block2 = push(brace);
1850
+ stack.push(block2);
1777
1851
  push({ type: "open", value });
1778
1852
  continue;
1779
1853
  }
1780
1854
  if (value === CHAR_RIGHT_CURLY_BRACE) {
1781
- if (block.type !== "brace") {
1855
+ if (block2.type !== "brace") {
1782
1856
  push({ type: "text", value });
1783
1857
  continue;
1784
1858
  }
1785
1859
  const type = "close";
1786
- block = stack.pop();
1787
- block.close = true;
1860
+ block2 = stack.pop();
1861
+ block2.close = true;
1788
1862
  push({ type, value });
1789
1863
  depth--;
1790
- block = stack[stack.length - 1];
1864
+ block2 = stack[stack.length - 1];
1791
1865
  continue;
1792
1866
  }
1793
1867
  if (value === CHAR_COMMA && depth > 0) {
1794
- if (block.ranges > 0) {
1795
- block.ranges = 0;
1796
- const open = block.nodes.shift();
1797
- block.nodes = [open, { type: "text", value: stringify2(block) }];
1868
+ if (block2.ranges > 0) {
1869
+ block2.ranges = 0;
1870
+ const open = block2.nodes.shift();
1871
+ block2.nodes = [open, { type: "text", value: stringify2(block2) }];
1798
1872
  }
1799
1873
  push({ type: "comma", value });
1800
- block.commas++;
1874
+ block2.commas++;
1801
1875
  continue;
1802
1876
  }
1803
- if (value === CHAR_DOT && depth > 0 && block.commas === 0) {
1804
- const siblings = block.nodes;
1877
+ if (value === CHAR_DOT && depth > 0 && block2.commas === 0) {
1878
+ const siblings = block2.nodes;
1805
1879
  if (depth === 0 || siblings.length === 0) {
1806
1880
  push({ type: "text", value });
1807
1881
  continue;
1808
1882
  }
1809
1883
  if (prev.type === "dot") {
1810
- block.range = [];
1884
+ block2.range = [];
1811
1885
  prev.value += value;
1812
1886
  prev.type = "range";
1813
- if (block.nodes.length !== 3 && block.nodes.length !== 5) {
1814
- block.invalid = true;
1815
- block.ranges = 0;
1887
+ if (block2.nodes.length !== 3 && block2.nodes.length !== 5) {
1888
+ block2.invalid = true;
1889
+ block2.ranges = 0;
1816
1890
  prev.type = "text";
1817
1891
  continue;
1818
1892
  }
1819
- block.ranges++;
1820
- block.args = [];
1893
+ block2.ranges++;
1894
+ block2.args = [];
1821
1895
  continue;
1822
1896
  }
1823
1897
  if (prev.type === "range") {
@@ -1825,7 +1899,7 @@ var require_parse = __commonJS({
1825
1899
  const before = siblings[siblings.length - 1];
1826
1900
  before.value += prev.value + value;
1827
1901
  prev = before;
1828
- block.ranges--;
1902
+ block2.ranges--;
1829
1903
  continue;
1830
1904
  }
1831
1905
  push({ type: "dot", value });
@@ -1834,9 +1908,9 @@ var require_parse = __commonJS({
1834
1908
  push({ type: "text", value });
1835
1909
  }
1836
1910
  do {
1837
- block = stack.pop();
1838
- if (block.type !== "root") {
1839
- block.nodes.forEach((node) => {
1911
+ block2 = stack.pop();
1912
+ if (block2.type !== "root") {
1913
+ block2.nodes.forEach((node) => {
1840
1914
  if (!node.nodes) {
1841
1915
  if (node.type === "open") node.isOpen = true;
1842
1916
  if (node.type === "close") node.isClose = true;
@@ -1845,8 +1919,8 @@ var require_parse = __commonJS({
1845
1919
  }
1846
1920
  });
1847
1921
  const parent = stack[stack.length - 1];
1848
- const index2 = parent.nodes.indexOf(block);
1849
- parent.nodes.splice(index2, 1, ...block.nodes);
1922
+ const index2 = parent.nodes.indexOf(block2);
1923
+ parent.nodes.splice(index2, 1, ...block2.nodes);
1850
1924
  }
1851
1925
  } while (stack.length > 0);
1852
1926
  push({ type: "eos" });
@@ -2479,9 +2553,9 @@ var require_scan = __commonJS({
2479
2553
  if (opts.parts === true || opts.tokens === true) {
2480
2554
  let prevIndex;
2481
2555
  for (let idx = 0; idx < slashes.length; idx++) {
2482
- const n = prevIndex ? prevIndex + 1 : start;
2483
- const i = slashes[idx];
2484
- const value = input.slice(n, i);
2556
+ const n2 = prevIndex ? prevIndex + 1 : start;
2557
+ const i2 = slashes[idx];
2558
+ const value = input.slice(n2, i2);
2485
2559
  if (opts.tokens) {
2486
2560
  if (idx === 0 && start !== 0) {
2487
2561
  tokens[idx].isPrefix = true;
@@ -2495,7 +2569,7 @@ var require_scan = __commonJS({
2495
2569
  if (idx !== 0 || value !== "") {
2496
2570
  parts.push(value);
2497
2571
  }
2498
- prevIndex = i;
2572
+ prevIndex = i2;
2499
2573
  }
2500
2574
  if (prevIndex && prevIndex + 1 < input.length) {
2501
2575
  const value = input.slice(prevIndex + 1);
@@ -2624,15 +2698,15 @@ var require_parse2 = __commonJS({
2624
2698
  };
2625
2699
  var hasRepeatedCharPrefixOverlap = (branches) => {
2626
2700
  const values = branches.map(normalizeSimpleBranch).filter(Boolean);
2627
- for (let i = 0; i < values.length; i++) {
2628
- for (let j = i + 1; j < values.length; j++) {
2629
- const a = values[i];
2701
+ for (let i2 = 0; i2 < values.length; i2++) {
2702
+ for (let j = i2 + 1; j < values.length; j++) {
2703
+ const a2 = values[i2];
2630
2704
  const b = values[j];
2631
- const char = a[0];
2632
- if (!char || a !== char.repeat(a.length) || b !== char.repeat(b.length)) {
2705
+ const char = a2[0];
2706
+ if (!char || a2 !== char.repeat(a2.length) || b !== char.repeat(b.length)) {
2633
2707
  continue;
2634
2708
  }
2635
- if (a === b || a.startsWith(b) || b.startsWith(a)) {
2709
+ if (a2 === b || a2.startsWith(b) || b.startsWith(a2)) {
2636
2710
  return true;
2637
2711
  }
2638
2712
  }
@@ -2647,8 +2721,8 @@ var require_parse2 = __commonJS({
2647
2721
  let paren = 0;
2648
2722
  let quote = 0;
2649
2723
  let escaped = false;
2650
- for (let i = 1; i < pattern.length; i++) {
2651
- const ch = pattern[i];
2724
+ for (let i2 = 1; i2 < pattern.length; i2++) {
2725
+ const ch = pattern[i2];
2652
2726
  if (escaped === true) {
2653
2727
  escaped = false;
2654
2728
  continue;
@@ -2682,13 +2756,13 @@ var require_parse2 = __commonJS({
2682
2756
  if (ch === ")") {
2683
2757
  paren--;
2684
2758
  if (paren === 0) {
2685
- if (requireEnd === true && i !== pattern.length - 1) {
2759
+ if (requireEnd === true && i2 !== pattern.length - 1) {
2686
2760
  return;
2687
2761
  }
2688
2762
  return {
2689
2763
  type: pattern[0],
2690
- body: pattern.slice(2, i),
2691
- end: i
2764
+ body: pattern.slice(2, i2),
2765
+ end: i2
2692
2766
  };
2693
2767
  }
2694
2768
  }
@@ -2820,7 +2894,7 @@ var require_parse2 = __commonJS({
2820
2894
  let prev = bos;
2821
2895
  let value;
2822
2896
  const eos = () => state.index === len - 1;
2823
- const peek = state.peek = (n = 1) => input[state.index + n];
2897
+ const peek = state.peek = (n2 = 1) => input[state.index + n2];
2824
2898
  const advance = state.advance = () => input[++state.index] || "";
2825
2899
  const remaining = () => input.slice(state.index + 1);
2826
2900
  const consume = (value2 = "", num = 0) => {
@@ -2901,10 +2975,10 @@ var require_parse2 = __commonJS({
2901
2975
  open.type = "text";
2902
2976
  open.value = literal;
2903
2977
  open.output = safeOutput || utils.escapeRegex(literal);
2904
- for (let i = token.tokensIndex + 1; i < tokens.length; i++) {
2905
- tokens[i].value = "";
2906
- tokens[i].output = "";
2907
- delete tokens[i].suffix;
2978
+ for (let i2 = token.tokensIndex + 1; i2 < tokens.length; i2++) {
2979
+ tokens[i2].value = "";
2980
+ tokens[i2].output = "";
2981
+ delete tokens[i2].suffix;
2908
2982
  }
2909
2983
  state.output = token.output + open.output;
2910
2984
  state.backtrack = true;
@@ -3147,13 +3221,13 @@ var require_parse2 = __commonJS({
3147
3221
  if (brace.dots === true) {
3148
3222
  const arr = tokens.slice();
3149
3223
  const range = [];
3150
- for (let i = arr.length - 1; i >= 0; i--) {
3224
+ for (let i2 = arr.length - 1; i2 >= 0; i2--) {
3151
3225
  tokens.pop();
3152
- if (arr[i].type === "brace") {
3226
+ if (arr[i2].type === "brace") {
3153
3227
  break;
3154
3228
  }
3155
- if (arr[i].type !== "dots") {
3156
- range.unshift(arr[i].value);
3229
+ if (arr[i2].type !== "dots") {
3230
+ range.unshift(arr[i2].value);
3157
3231
  }
3158
3232
  }
3159
3233
  output = expandRange(range, opts);
@@ -3696,8 +3770,8 @@ var require_micromatch = __commonJS({
3696
3770
  options.onResult(state);
3697
3771
  }
3698
3772
  };
3699
- for (let i = 0; i < patterns.length; i++) {
3700
- let isMatch = picomatch(String(patterns[i]), { ...options, onResult }, true);
3773
+ for (let i2 = 0; i2 < patterns.length; i2++) {
3774
+ let isMatch = picomatch(String(patterns[i2]), { ...options, onResult }, true);
3701
3775
  let negated = isMatch.state.negated || isMatch.state.negatedExtglob;
3702
3776
  if (negated) negatives++;
3703
3777
  for (let item of list) {
@@ -3945,7 +4019,7 @@ var require_pattern = __commonJS({
3945
4019
  exports.expandPatternsWithBraceExpansion = expandPatternsWithBraceExpansion;
3946
4020
  function expandBraceExpansion(pattern) {
3947
4021
  const patterns = micromatch.braces(pattern, { expand: true, nodupes: true, keepEscaping: true });
3948
- patterns.sort((a, b) => a.length - b.length);
4022
+ patterns.sort((a2, b) => a2.length - b.length);
3949
4023
  return patterns.filter((pattern2) => pattern2 !== "");
3950
4024
  }
3951
4025
  exports.expandBraceExpansion = expandBraceExpansion;
@@ -4026,8 +4100,8 @@ var require_merge2 = __commonJS({
4026
4100
  }
4027
4101
  const mergedStream = PassThrough(options);
4028
4102
  function addStream() {
4029
- for (let i = 0, len = arguments.length; i < len; i++) {
4030
- streamsQueue.push(pauseStreams(arguments[i], options));
4103
+ for (let i2 = 0, len = arguments.length; i2 < len; i2++) {
4104
+ streamsQueue.push(pauseStreams(arguments[i2], options));
4031
4105
  }
4032
4106
  mergeStream();
4033
4107
  return this;
@@ -4076,8 +4150,8 @@ var require_merge2 = __commonJS({
4076
4150
  stream.pipe(mergedStream, { end: false });
4077
4151
  stream.resume();
4078
4152
  }
4079
- for (let i = 0; i < streams.length; i++) {
4080
- pipe(streams[i]);
4153
+ for (let i2 = 0; i2 < streams.length; i2++) {
4154
+ pipe(streams[i2]);
4081
4155
  }
4082
4156
  next();
4083
4157
  }
@@ -4108,8 +4182,8 @@ var require_merge2 = __commonJS({
4108
4182
  }
4109
4183
  streams.pause();
4110
4184
  } else {
4111
- for (let i = 0, len = streams.length; i < len; i++) {
4112
- streams[i] = pauseStreams(streams[i], options);
4185
+ for (let i2 = 0, len = streams.length; i2 < len; i2++) {
4186
+ streams[i2] = pauseStreams(streams[i2], options);
4113
4187
  }
4114
4188
  }
4115
4189
  return streams;
@@ -4191,13 +4265,13 @@ var require_tasks = __commonJS({
4191
4265
  Object.defineProperty(exports, "__esModule", { value: true });
4192
4266
  exports.convertPatternGroupToTask = exports.convertPatternGroupsToTasks = exports.groupPatternsByBaseDirectory = exports.getNegativePatternsAsPositive = exports.getPositivePatterns = exports.convertPatternsToTasks = exports.generate = void 0;
4193
4267
  var utils = require_utils3();
4194
- function generate(input, settings) {
4195
- const patterns = processPatterns(input, settings);
4196
- const ignore = processPatterns(settings.ignore, settings);
4268
+ function generate(input, settings2) {
4269
+ const patterns = processPatterns(input, settings2);
4270
+ const ignore = processPatterns(settings2.ignore, settings2);
4197
4271
  const positivePatterns = getPositivePatterns(patterns);
4198
4272
  const negativePatterns = getNegativePatternsAsPositive(patterns, ignore);
4199
- const staticPatterns = positivePatterns.filter((pattern) => utils.pattern.isStaticPattern(pattern, settings));
4200
- const dynamicPatterns = positivePatterns.filter((pattern) => utils.pattern.isDynamicPattern(pattern, settings));
4273
+ const staticPatterns = positivePatterns.filter((pattern) => utils.pattern.isStaticPattern(pattern, settings2));
4274
+ const dynamicPatterns = positivePatterns.filter((pattern) => utils.pattern.isDynamicPattern(pattern, settings2));
4201
4275
  const staticTasks = convertPatternsToTasks(
4202
4276
  staticPatterns,
4203
4277
  negativePatterns,
@@ -4213,12 +4287,12 @@ var require_tasks = __commonJS({
4213
4287
  return staticTasks.concat(dynamicTasks);
4214
4288
  }
4215
4289
  exports.generate = generate;
4216
- function processPatterns(input, settings) {
4290
+ function processPatterns(input, settings2) {
4217
4291
  let patterns = input;
4218
- if (settings.braceExpansion) {
4292
+ if (settings2.braceExpansion) {
4219
4293
  patterns = utils.pattern.expandPatternsWithBraceExpansion(patterns);
4220
4294
  }
4221
- if (settings.baseNameMatch) {
4295
+ if (settings2.baseNameMatch) {
4222
4296
  patterns = patterns.map((pattern) => pattern.includes("/") ? pattern : `**/${pattern}`);
4223
4297
  }
4224
4298
  return patterns.map((pattern) => utils.pattern.removeDuplicateSlashes(pattern));
@@ -4287,26 +4361,26 @@ var require_async = __commonJS({
4287
4361
  init_utils2();
4288
4362
  Object.defineProperty(exports, "__esModule", { value: true });
4289
4363
  exports.read = void 0;
4290
- function read(path, settings, callback) {
4291
- settings.fs.lstat(path, (lstatError, lstat) => {
4364
+ function read(path, settings2, callback) {
4365
+ settings2.fs.lstat(path, (lstatError, lstat) => {
4292
4366
  if (lstatError !== null) {
4293
4367
  callFailureCallback(callback, lstatError);
4294
4368
  return;
4295
4369
  }
4296
- if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) {
4370
+ if (!lstat.isSymbolicLink() || !settings2.followSymbolicLink) {
4297
4371
  callSuccessCallback(callback, lstat);
4298
4372
  return;
4299
4373
  }
4300
- settings.fs.stat(path, (statError, stat) => {
4374
+ settings2.fs.stat(path, (statError, stat) => {
4301
4375
  if (statError !== null) {
4302
- if (settings.throwErrorOnBrokenSymbolicLink) {
4376
+ if (settings2.throwErrorOnBrokenSymbolicLink) {
4303
4377
  callFailureCallback(callback, statError);
4304
4378
  return;
4305
4379
  }
4306
4380
  callSuccessCallback(callback, lstat);
4307
4381
  return;
4308
4382
  }
4309
- if (settings.markSymbolicLink) {
4383
+ if (settings2.markSymbolicLink) {
4310
4384
  stat.isSymbolicLink = () => true;
4311
4385
  }
4312
4386
  callSuccessCallback(callback, stat);
@@ -4330,19 +4404,19 @@ var require_sync = __commonJS({
4330
4404
  init_utils2();
4331
4405
  Object.defineProperty(exports, "__esModule", { value: true });
4332
4406
  exports.read = void 0;
4333
- function read(path, settings) {
4334
- const lstat = settings.fs.lstatSync(path);
4335
- if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) {
4407
+ function read(path, settings2) {
4408
+ const lstat = settings2.fs.lstatSync(path);
4409
+ if (!lstat.isSymbolicLink() || !settings2.followSymbolicLink) {
4336
4410
  return lstat;
4337
4411
  }
4338
4412
  try {
4339
- const stat = settings.fs.statSync(path);
4340
- if (settings.markSymbolicLink) {
4413
+ const stat = settings2.fs.statSync(path);
4414
+ if (settings2.markSymbolicLink) {
4341
4415
  stat.isSymbolicLink = () => true;
4342
4416
  }
4343
4417
  return stat;
4344
4418
  } catch (error2) {
4345
- if (!settings.throwErrorOnBrokenSymbolicLink) {
4419
+ if (!settings2.throwErrorOnBrokenSymbolicLink) {
4346
4420
  return lstat;
4347
4421
  }
4348
4422
  throw error2;
@@ -4419,8 +4493,8 @@ var require_out = __commonJS({
4419
4493
  }
4420
4494
  exports.stat = stat;
4421
4495
  function statSync3(path, optionsOrSettings) {
4422
- const settings = getSettings(optionsOrSettings);
4423
- return sync.read(path, settings);
4496
+ const settings2 = getSettings(optionsOrSettings);
4497
+ return sync.read(path, settings2);
4424
4498
  }
4425
4499
  exports.statSync = statSync3;
4426
4500
  function getSettings(settingsOrOptions = {}) {
@@ -4468,8 +4542,8 @@ var require_run_parallel = __commonJS({
4468
4542
  if (isSync) queueMicrotask2(end);
4469
4543
  else end();
4470
4544
  }
4471
- function each(i, err, result) {
4472
- results[i] = result;
4545
+ function each(i2, err, result) {
4546
+ results[i2] = result;
4473
4547
  if (--pending === 0 || err) {
4474
4548
  done(err);
4475
4549
  }
@@ -4483,9 +4557,9 @@ var require_run_parallel = __commonJS({
4483
4557
  });
4484
4558
  });
4485
4559
  } else {
4486
- tasks.forEach(function(task, i) {
4560
+ tasks.forEach(function(task, i2) {
4487
4561
  task(function(err, result) {
4488
- each(i, err, result);
4562
+ each(i2, err, result);
4489
4563
  });
4490
4564
  });
4491
4565
  }
@@ -4560,11 +4634,11 @@ var require_common = __commonJS({
4560
4634
  init_utils2();
4561
4635
  Object.defineProperty(exports, "__esModule", { value: true });
4562
4636
  exports.joinPathSegments = void 0;
4563
- function joinPathSegments(a, b, separator) {
4564
- if (a.endsWith(separator)) {
4565
- return a + b;
4637
+ function joinPathSegments(a2, b, separator) {
4638
+ if (a2.endsWith(separator)) {
4639
+ return a2 + b;
4566
4640
  }
4567
- return a + separator + b;
4641
+ return a2 + separator + b;
4568
4642
  }
4569
4643
  exports.joinPathSegments = joinPathSegments;
4570
4644
  }
@@ -4582,16 +4656,16 @@ var require_async2 = __commonJS({
4582
4656
  var constants_1 = require_constants3();
4583
4657
  var utils = require_utils4();
4584
4658
  var common = require_common();
4585
- function read(directory, settings, callback) {
4586
- if (!settings.stats && constants_1.IS_SUPPORT_READDIR_WITH_FILE_TYPES) {
4587
- readdirWithFileTypes(directory, settings, callback);
4659
+ function read(directory, settings2, callback) {
4660
+ if (!settings2.stats && constants_1.IS_SUPPORT_READDIR_WITH_FILE_TYPES) {
4661
+ readdirWithFileTypes(directory, settings2, callback);
4588
4662
  return;
4589
4663
  }
4590
- readdir(directory, settings, callback);
4664
+ readdir(directory, settings2, callback);
4591
4665
  }
4592
4666
  exports.read = read;
4593
- function readdirWithFileTypes(directory, settings, callback) {
4594
- settings.fs.readdir(directory, { withFileTypes: true }, (readdirError, dirents) => {
4667
+ function readdirWithFileTypes(directory, settings2, callback) {
4668
+ settings2.fs.readdir(directory, { withFileTypes: true }, (readdirError, dirents) => {
4595
4669
  if (readdirError !== null) {
4596
4670
  callFailureCallback(callback, readdirError);
4597
4671
  return;
@@ -4599,13 +4673,13 @@ var require_async2 = __commonJS({
4599
4673
  const entries = dirents.map((dirent) => ({
4600
4674
  dirent,
4601
4675
  name: dirent.name,
4602
- path: common.joinPathSegments(directory, dirent.name, settings.pathSegmentSeparator)
4676
+ path: common.joinPathSegments(directory, dirent.name, settings2.pathSegmentSeparator)
4603
4677
  }));
4604
- if (!settings.followSymbolicLinks) {
4678
+ if (!settings2.followSymbolicLinks) {
4605
4679
  callSuccessCallback(callback, entries);
4606
4680
  return;
4607
4681
  }
4608
- const tasks = entries.map((entry) => makeRplTaskEntry(entry, settings));
4682
+ const tasks = entries.map((entry) => makeRplTaskEntry(entry, settings2));
4609
4683
  rpl(tasks, (rplError, rplEntries) => {
4610
4684
  if (rplError !== null) {
4611
4685
  callFailureCallback(callback, rplError);
@@ -4616,15 +4690,15 @@ var require_async2 = __commonJS({
4616
4690
  });
4617
4691
  }
4618
4692
  exports.readdirWithFileTypes = readdirWithFileTypes;
4619
- function makeRplTaskEntry(entry, settings) {
4693
+ function makeRplTaskEntry(entry, settings2) {
4620
4694
  return (done) => {
4621
4695
  if (!entry.dirent.isSymbolicLink()) {
4622
4696
  done(null, entry);
4623
4697
  return;
4624
4698
  }
4625
- settings.fs.stat(entry.path, (statError, stats) => {
4699
+ settings2.fs.stat(entry.path, (statError, stats) => {
4626
4700
  if (statError !== null) {
4627
- if (settings.throwErrorOnBrokenSymbolicLink) {
4701
+ if (settings2.throwErrorOnBrokenSymbolicLink) {
4628
4702
  done(statError);
4629
4703
  return;
4630
4704
  }
@@ -4636,16 +4710,16 @@ var require_async2 = __commonJS({
4636
4710
  });
4637
4711
  };
4638
4712
  }
4639
- function readdir(directory, settings, callback) {
4640
- settings.fs.readdir(directory, (readdirError, names) => {
4713
+ function readdir(directory, settings2, callback) {
4714
+ settings2.fs.readdir(directory, (readdirError, names) => {
4641
4715
  if (readdirError !== null) {
4642
4716
  callFailureCallback(callback, readdirError);
4643
4717
  return;
4644
4718
  }
4645
4719
  const tasks = names.map((name) => {
4646
- const path = common.joinPathSegments(directory, name, settings.pathSegmentSeparator);
4720
+ const path = common.joinPathSegments(directory, name, settings2.pathSegmentSeparator);
4647
4721
  return (done) => {
4648
- fsStat.stat(path, settings.fsStatSettings, (error2, stats) => {
4722
+ fsStat.stat(path, settings2.fsStatSettings, (error2, stats) => {
4649
4723
  if (error2 !== null) {
4650
4724
  done(error2);
4651
4725
  return;
@@ -4655,7 +4729,7 @@ var require_async2 = __commonJS({
4655
4729
  path,
4656
4730
  dirent: utils.fs.createDirentFromStats(name, stats)
4657
4731
  };
4658
- if (settings.stats) {
4732
+ if (settings2.stats) {
4659
4733
  entry.stats = stats;
4660
4734
  }
4661
4735
  done(null, entry);
@@ -4692,27 +4766,27 @@ var require_sync2 = __commonJS({
4692
4766
  var constants_1 = require_constants3();
4693
4767
  var utils = require_utils4();
4694
4768
  var common = require_common();
4695
- function read(directory, settings) {
4696
- if (!settings.stats && constants_1.IS_SUPPORT_READDIR_WITH_FILE_TYPES) {
4697
- return readdirWithFileTypes(directory, settings);
4769
+ function read(directory, settings2) {
4770
+ if (!settings2.stats && constants_1.IS_SUPPORT_READDIR_WITH_FILE_TYPES) {
4771
+ return readdirWithFileTypes(directory, settings2);
4698
4772
  }
4699
- return readdir(directory, settings);
4773
+ return readdir(directory, settings2);
4700
4774
  }
4701
4775
  exports.read = read;
4702
- function readdirWithFileTypes(directory, settings) {
4703
- const dirents = settings.fs.readdirSync(directory, { withFileTypes: true });
4776
+ function readdirWithFileTypes(directory, settings2) {
4777
+ const dirents = settings2.fs.readdirSync(directory, { withFileTypes: true });
4704
4778
  return dirents.map((dirent) => {
4705
4779
  const entry = {
4706
4780
  dirent,
4707
4781
  name: dirent.name,
4708
- path: common.joinPathSegments(directory, dirent.name, settings.pathSegmentSeparator)
4782
+ path: common.joinPathSegments(directory, dirent.name, settings2.pathSegmentSeparator)
4709
4783
  };
4710
- if (entry.dirent.isSymbolicLink() && settings.followSymbolicLinks) {
4784
+ if (entry.dirent.isSymbolicLink() && settings2.followSymbolicLinks) {
4711
4785
  try {
4712
- const stats = settings.fs.statSync(entry.path);
4786
+ const stats = settings2.fs.statSync(entry.path);
4713
4787
  entry.dirent = utils.fs.createDirentFromStats(entry.name, stats);
4714
4788
  } catch (error2) {
4715
- if (settings.throwErrorOnBrokenSymbolicLink) {
4789
+ if (settings2.throwErrorOnBrokenSymbolicLink) {
4716
4790
  throw error2;
4717
4791
  }
4718
4792
  }
@@ -4721,17 +4795,17 @@ var require_sync2 = __commonJS({
4721
4795
  });
4722
4796
  }
4723
4797
  exports.readdirWithFileTypes = readdirWithFileTypes;
4724
- function readdir(directory, settings) {
4725
- const names = settings.fs.readdirSync(directory);
4798
+ function readdir(directory, settings2) {
4799
+ const names = settings2.fs.readdirSync(directory);
4726
4800
  return names.map((name) => {
4727
- const entryPath = common.joinPathSegments(directory, name, settings.pathSegmentSeparator);
4728
- const stats = fsStat.statSync(entryPath, settings.fsStatSettings);
4801
+ const entryPath = common.joinPathSegments(directory, name, settings2.pathSegmentSeparator);
4802
+ const stats = fsStat.statSync(entryPath, settings2.fsStatSettings);
4729
4803
  const entry = {
4730
4804
  name,
4731
4805
  path: entryPath,
4732
4806
  dirent: utils.fs.createDirentFromStats(name, stats)
4733
4807
  };
4734
- if (settings.stats) {
4808
+ if (settings2.stats) {
4735
4809
  entry.stats = stats;
4736
4810
  }
4737
4811
  return entry;
@@ -4818,8 +4892,8 @@ var require_out2 = __commonJS({
4818
4892
  }
4819
4893
  exports.scandir = scandir;
4820
4894
  function scandirSync(path, optionsOrSettings) {
4821
- const settings = getSettings(optionsOrSettings);
4822
- return sync.read(path, settings);
4895
+ const settings2 = getSettings(optionsOrSettings);
4896
+ return sync.read(path, settings2);
4823
4897
  }
4824
4898
  exports.scandirSync = scandirSync;
4825
4899
  function getSettings(settingsOrOptions = {}) {
@@ -5155,11 +5229,11 @@ var require_common2 = __commonJS({
5155
5229
  init_utils2();
5156
5230
  Object.defineProperty(exports, "__esModule", { value: true });
5157
5231
  exports.joinPathSegments = exports.replacePathSegmentSeparator = exports.isAppliedFilter = exports.isFatalError = void 0;
5158
- function isFatalError(settings, error2) {
5159
- if (settings.errorFilter === null) {
5232
+ function isFatalError(settings2, error2) {
5233
+ if (settings2.errorFilter === null) {
5160
5234
  return true;
5161
5235
  }
5162
- return !settings.errorFilter(error2);
5236
+ return !settings2.errorFilter(error2);
5163
5237
  }
5164
5238
  exports.isFatalError = isFatalError;
5165
5239
  function isAppliedFilter(filter, value) {
@@ -5170,14 +5244,14 @@ var require_common2 = __commonJS({
5170
5244
  return filepath.split(/[/\\]/).join(separator);
5171
5245
  }
5172
5246
  exports.replacePathSegmentSeparator = replacePathSegmentSeparator;
5173
- function joinPathSegments(a, b, separator) {
5174
- if (a === "") {
5247
+ function joinPathSegments(a2, b, separator) {
5248
+ if (a2 === "") {
5175
5249
  return b;
5176
5250
  }
5177
- if (a.endsWith(separator)) {
5178
- return a + b;
5251
+ if (a2.endsWith(separator)) {
5252
+ return a2 + b;
5179
5253
  }
5180
- return a + separator + b;
5254
+ return a2 + separator + b;
5181
5255
  }
5182
5256
  exports.joinPathSegments = joinPathSegments;
5183
5257
  }
@@ -5524,14 +5598,14 @@ var require_out3 = __commonJS({
5524
5598
  }
5525
5599
  exports.walk = walk;
5526
5600
  function walkSync(directory, optionsOrSettings) {
5527
- const settings = getSettings(optionsOrSettings);
5528
- const provider = new sync_1.default(directory, settings);
5601
+ const settings2 = getSettings(optionsOrSettings);
5602
+ const provider = new sync_1.default(directory, settings2);
5529
5603
  return provider.read();
5530
5604
  }
5531
5605
  exports.walkSync = walkSync;
5532
5606
  function walkStream(directory, optionsOrSettings) {
5533
- const settings = getSettings(optionsOrSettings);
5534
- const provider = new stream_1.default(directory, settings);
5607
+ const settings2 = getSettings(optionsOrSettings);
5608
+ const provider = new stream_1.default(directory, settings2);
5535
5609
  return provider.read();
5536
5610
  }
5537
5611
  exports.walkStream = walkStream;
@@ -5617,8 +5691,8 @@ var require_stream3 = __commonJS({
5617
5691
  done();
5618
5692
  }).catch(done);
5619
5693
  };
5620
- for (let i = 0; i < filepaths.length; i++) {
5621
- stream.write(i);
5694
+ for (let i2 = 0; i2 < filepaths.length; i2++) {
5695
+ stream.write(i2);
5622
5696
  }
5623
5697
  return stream;
5624
5698
  }
@@ -6279,14 +6353,14 @@ var require_out4 = __commonJS({
6279
6353
  function generateTasks(source, options) {
6280
6354
  assertPatternsInput(source);
6281
6355
  const patterns = [].concat(source);
6282
- const settings = new settings_1.default(options);
6283
- return taskManager.generate(patterns, settings);
6356
+ const settings2 = new settings_1.default(options);
6357
+ return taskManager.generate(patterns, settings2);
6284
6358
  }
6285
6359
  FastGlob2.generateTasks = generateTasks;
6286
6360
  function isDynamicPattern(source, options) {
6287
6361
  assertPatternsInput(source);
6288
- const settings = new settings_1.default(options);
6289
- return utils.pattern.isDynamicPattern(source, settings);
6362
+ const settings2 = new settings_1.default(options);
6363
+ return utils.pattern.isDynamicPattern(source, settings2);
6290
6364
  }
6291
6365
  FastGlob2.isDynamicPattern = isDynamicPattern;
6292
6366
  function escapePath(source) {
@@ -6328,9 +6402,9 @@ var require_out4 = __commonJS({
6328
6402
  })(FastGlob || (FastGlob = {}));
6329
6403
  function getWorks(source, _Provider, options) {
6330
6404
  const patterns = [].concat(source);
6331
- const settings = new settings_1.default(options);
6332
- const tasks = taskManager.generate(patterns, settings);
6333
- const provider = new _Provider(settings);
6405
+ const settings2 = new settings_1.default(options);
6406
+ const tasks = taskManager.generate(patterns, settings2);
6407
+ const provider = new _Provider(settings2);
6334
6408
  return tasks.map(provider.read, provider);
6335
6409
  }
6336
6410
  function assertPatternsInput(input) {
@@ -6508,8 +6582,8 @@ import "node:fs";
6508
6582
  import { createRequire } from "node:module";
6509
6583
  import {
6510
6584
  resolve,
6511
- join,
6512
- dirname,
6585
+ join as join2,
6586
+ dirname as dirname2,
6513
6587
  relative,
6514
6588
  normalize,
6515
6589
  sep,
@@ -6523,7 +6597,7 @@ function safeExecuteAsync(fn, message) {
6523
6597
  );
6524
6598
  });
6525
6599
  }
6526
- var import_fast_glob, constants, log2, PACKAGE_PATHS, PathResolver;
6600
+ var import_fast_glob, constants, log3, PACKAGE_PATHS, PathResolver;
6527
6601
  var init_PathResolver = __esm({
6528
6602
  "packages/core/config/utils/PathResolver.ts"() {
6529
6603
  "use strict";
@@ -6536,7 +6610,7 @@ var init_PathResolver = __esm({
6536
6610
  getPatternsFor: getPatternsFor || void 0,
6537
6611
  I18N_PATHS: I18N_PATHS || void 0
6538
6612
  };
6539
- log2 = {
6613
+ log3 = {
6540
6614
  error: (message, error2) => {
6541
6615
  },
6542
6616
  warn: (message, error2) => {
@@ -6657,7 +6731,7 @@ var init_PathResolver = __esm({
6657
6731
  */
6658
6732
  getDirname(path) {
6659
6733
  if (!path) return "";
6660
- return this.normalizePath(dirname(path));
6734
+ return this.normalizePath(dirname2(path));
6661
6735
  }
6662
6736
  /**
6663
6737
  * Resolve package path using Node's module resolution
@@ -6669,7 +6743,7 @@ var init_PathResolver = __esm({
6669
6743
  resolvePackage(packageSpecifier, fromPath = null) {
6670
6744
  try {
6671
6745
  const basePath = fromPath || this.getAppRoot();
6672
- const require3 = createRequire(join(basePath, "package.json"));
6746
+ const require3 = createRequire(join2(basePath, "package.json"));
6673
6747
  const resolved = require3.resolve(packageSpecifier);
6674
6748
  return this.normalizePath(resolved);
6675
6749
  } catch (error2) {
@@ -6821,7 +6895,7 @@ var init_PathResolver = __esm({
6821
6895
  return cleanContent;
6822
6896
  } catch (error2) {
6823
6897
  if (this.options.debug) {
6824
- log2.warn(`Failed to read file: ${filePath}`, error2);
6898
+ log3.warn(`Failed to read file: ${filePath}`, error2);
6825
6899
  }
6826
6900
  return null;
6827
6901
  }
@@ -6849,7 +6923,7 @@ var init_PathResolver = __esm({
6849
6923
  return cleanContent;
6850
6924
  } catch (error2) {
6851
6925
  if (this.options.debug) {
6852
- log2.warn(`Failed to read file: ${filePath}`, error2);
6926
+ log3.warn(`Failed to read file: ${filePath}`, error2);
6853
6927
  }
6854
6928
  return null;
6855
6929
  }
@@ -6871,16 +6945,16 @@ var init_PathResolver = __esm({
6871
6945
  verbose = false
6872
6946
  } = options;
6873
6947
  const normalizedPath = this.normalizePath(filePath);
6874
- const dir = this.normalizePath(dirname(normalizedPath));
6948
+ const dir = this.normalizePath(dirname2(normalizedPath));
6875
6949
  const fileExists = this.pathExists(normalizedPath);
6876
6950
  if (fileExists && !overwrite) {
6877
6951
  if (verbose) {
6878
- log2.info(`Skipping existing file: ${normalizedPath}`);
6952
+ log3.info(`Skipping existing file: ${normalizedPath}`);
6879
6953
  }
6880
6954
  return false;
6881
6955
  }
6882
6956
  if (dryRun) {
6883
- log2.info(`[DRY RUN] Would write file: ${normalizedPath}`);
6957
+ log3.info(`[DRY RUN] Would write file: ${normalizedPath}`);
6884
6958
  return true;
6885
6959
  }
6886
6960
  try {
@@ -6905,7 +6979,7 @@ var init_PathResolver = __esm({
6905
6979
  await fs.promises.writeFile(normalizedPath, writeContent, "utf8");
6906
6980
  }
6907
6981
  if (verbose) {
6908
- log2.info(
6982
+ log3.info(
6909
6983
  `${fileExists ? "Updated" : "Created"} file: ${normalizedPath}`
6910
6984
  );
6911
6985
  }
@@ -6932,16 +7006,16 @@ var init_PathResolver = __esm({
6932
7006
  verbose = false
6933
7007
  } = options;
6934
7008
  const normalizedPath = this.normalizePath(filePath);
6935
- const dir = this.normalizePath(dirname(normalizedPath));
7009
+ const dir = this.normalizePath(dirname2(normalizedPath));
6936
7010
  const fileExists = this.pathExists(normalizedPath);
6937
7011
  if (fileExists && !overwrite) {
6938
7012
  if (verbose) {
6939
- log2.info(`Skipping existing file: ${normalizedPath}`);
7013
+ log3.info(`Skipping existing file: ${normalizedPath}`);
6940
7014
  }
6941
7015
  return false;
6942
7016
  }
6943
7017
  if (dryRun) {
6944
- log2.info(`[DRY RUN] Would write file: ${normalizedPath}`);
7018
+ log3.info(`[DRY RUN] Would write file: ${normalizedPath}`);
6945
7019
  return true;
6946
7020
  }
6947
7021
  try {
@@ -6965,7 +7039,7 @@ var init_PathResolver = __esm({
6965
7039
  fs.writeFileSync(normalizedPath, writeContent, "utf8");
6966
7040
  }
6967
7041
  if (verbose) {
6968
- log2.info(
7042
+ log3.info(
6969
7043
  `${fileExists ? "Updated" : "Created"} file: ${normalizedPath}`
6970
7044
  );
6971
7045
  }
@@ -6990,15 +7064,15 @@ var init_PathResolver = __esm({
6990
7064
  const fileExists = this.pathExists(normalizedDestPath);
6991
7065
  if (fileExists && !overwrite) {
6992
7066
  if (verbose) {
6993
- log2.info(`Skipping existing file: ${normalizedDestPath}`);
7067
+ log3.info(`Skipping existing file: ${normalizedDestPath}`);
6994
7068
  }
6995
7069
  return false;
6996
7070
  }
6997
7071
  if (dryRun) {
6998
- log2.info(`[DRY RUN] Would copy file: ${normalizedDestPath}`);
7072
+ log3.info(`[DRY RUN] Would copy file: ${normalizedDestPath}`);
6999
7073
  return true;
7000
7074
  }
7001
- const dir = this.normalizePath(dirname(normalizedDestPath));
7075
+ const dir = this.normalizePath(dirname2(normalizedDestPath));
7002
7076
  try {
7003
7077
  await fs.promises.mkdir(dir, { recursive: true });
7004
7078
  } catch (error2) {
@@ -7008,7 +7082,7 @@ var init_PathResolver = __esm({
7008
7082
  return await safeExecuteAsync(async () => {
7009
7083
  await fs.promises.copyFile(srcPath, normalizedDestPath);
7010
7084
  if (verbose) {
7011
- log2.info(
7085
+ log3.info(
7012
7086
  `${fileExists ? "Updated" : "Created"} file: ${normalizedDestPath}`
7013
7087
  );
7014
7088
  }
@@ -7032,15 +7106,15 @@ var init_PathResolver = __esm({
7032
7106
  const fileExists = this.pathExists(normalizedDestPath);
7033
7107
  if (fileExists && !overwrite) {
7034
7108
  if (verbose) {
7035
- log2.info(`Skipping existing file: ${normalizedDestPath}`);
7109
+ log3.info(`Skipping existing file: ${normalizedDestPath}`);
7036
7110
  }
7037
7111
  return false;
7038
7112
  }
7039
7113
  if (dryRun) {
7040
- log2.info(`[DRY RUN] Would copy file: ${normalizedDestPath}`);
7114
+ log3.info(`[DRY RUN] Would copy file: ${normalizedDestPath}`);
7041
7115
  return true;
7042
7116
  }
7043
- const dir = this.normalizePath(dirname(normalizedDestPath));
7117
+ const dir = this.normalizePath(dirname2(normalizedDestPath));
7044
7118
  try {
7045
7119
  fs.mkdirSync(dir, { recursive: true });
7046
7120
  } catch (error2) {
@@ -7049,7 +7123,7 @@ var init_PathResolver = __esm({
7049
7123
  try {
7050
7124
  fs.copyFileSync(srcPath, normalizedDestPath);
7051
7125
  if (verbose) {
7052
- log2.info(
7126
+ log3.info(
7053
7127
  `${fileExists ? "Updated" : "Created"} file: ${normalizedDestPath}`
7054
7128
  );
7055
7129
  }
@@ -7066,7 +7140,7 @@ var init_PathResolver = __esm({
7066
7140
  return fs.existsSync(filePath);
7067
7141
  } catch (error2) {
7068
7142
  if (!silent) {
7069
- log2.error(`Error checking path existence: ${filePath}`, error2);
7143
+ log3.error(`Error checking path existence: ${filePath}`, error2);
7070
7144
  }
7071
7145
  return false;
7072
7146
  }
@@ -7092,7 +7166,7 @@ var init_PathResolver = __esm({
7092
7166
  return fs.readdirSync(dirPath, options);
7093
7167
  } catch (error2) {
7094
7168
  if (this.options.debug) {
7095
- log2.warn(`Failed to read directory: ${dirPath}`, error2);
7169
+ log3.warn(`Failed to read directory: ${dirPath}`, error2);
7096
7170
  }
7097
7171
  const isObjectOptions = options && typeof options === "object" && "withFileTypes" in options;
7098
7172
  return isObjectOptions && options.withFileTypes ? [] : [];
@@ -7110,7 +7184,7 @@ var init_PathResolver = __esm({
7110
7184
  return fs.statSync(filePath);
7111
7185
  } catch (error2) {
7112
7186
  if (this.options.debug) {
7113
- log2.warn(`Failed to stat file: ${filePath}`, error2);
7187
+ log3.warn(`Failed to stat file: ${filePath}`, error2);
7114
7188
  }
7115
7189
  return null;
7116
7190
  }
@@ -7127,7 +7201,7 @@ var init_PathResolver = __esm({
7127
7201
  return fs.lstatSync(filePath);
7128
7202
  } catch (error2) {
7129
7203
  if (this.options.debug) {
7130
- log2.warn(`Failed to lstat file: ${filePath}`, error2);
7204
+ log3.warn(`Failed to lstat file: ${filePath}`, error2);
7131
7205
  }
7132
7206
  return null;
7133
7207
  }
@@ -7216,7 +7290,7 @@ var init_PathResolver = __esm({
7216
7290
  * @returns True if repoRoot is the monorepo (has packages directory)
7217
7291
  */
7218
7292
  isMonorepo() {
7219
- const packagesDir = join(this._repoRoot, "packages");
7293
+ const packagesDir = join2(this._repoRoot, "packages");
7220
7294
  return this.pathExists(packagesDir);
7221
7295
  }
7222
7296
  /**
@@ -7233,7 +7307,7 @@ var init_PathResolver = __esm({
7233
7307
  * Find files matching pattern within directory
7234
7308
  */
7235
7309
  async findFiles(directory, pattern, options = {}) {
7236
- const searchPattern = this.normalizePath(join(directory, pattern));
7310
+ const searchPattern = this.normalizePath(join2(directory, pattern));
7237
7311
  const appRoot = this.getAppRoot();
7238
7312
  const normalizeAppRoot = this.normalizePath(appRoot);
7239
7313
  const relativePattern = searchPattern.startsWith(normalizeAppRoot) ? searchPattern.slice(normalizeAppRoot.length + 1) : searchPattern;
@@ -7280,7 +7354,7 @@ var init_PathResolver = __esm({
7280
7354
  return null;
7281
7355
  }
7282
7356
  const resolvedPath = this.normalizePath(
7283
- join(corePackageRoot, I18N_PATHS2.PUBLISHED_ROOT, i18nSubpath)
7357
+ join2(corePackageRoot, I18N_PATHS2.PUBLISHED_ROOT, i18nSubpath)
7284
7358
  );
7285
7359
  const resolvedDir = resolvedPath.replace(/\/[^/]*\*.*$/, "");
7286
7360
  if (this.pathExists(resolvedDir)) {
@@ -7476,13 +7550,13 @@ var init_PathResolver = __esm({
7476
7550
  const maxLevels = this.options.maxLevels;
7477
7551
  while (levelsChecked < maxLevels) {
7478
7552
  const toolingPath = this.normalizePath(
7479
- join(currentDir, PACKAGE_PATHS.TOOLING)
7553
+ join2(currentDir, PACKAGE_PATHS.TOOLING)
7480
7554
  );
7481
- const corePath = this.normalizePath(join(currentDir, PACKAGE_PATHS.CORE));
7555
+ const corePath = this.normalizePath(join2(currentDir, PACKAGE_PATHS.CORE));
7482
7556
  if (this.pathExists(toolingPath) && this.pathExists(corePath)) {
7483
7557
  return currentDir;
7484
7558
  }
7485
- const appsDir = join(currentDir, "apps");
7559
+ const appsDir = join2(currentDir, "apps");
7486
7560
  if (this.pathExists(appsDir)) {
7487
7561
  const appsDirStat = this.statSync(appsDir);
7488
7562
  if (appsDirStat?.isDirectory()) {
@@ -7490,15 +7564,15 @@ var init_PathResolver = __esm({
7490
7564
  }
7491
7565
  }
7492
7566
  const packageJsonPath = this.normalizePath(
7493
- join(currentDir, "package.json")
7567
+ join2(currentDir, "package.json")
7494
7568
  );
7495
7569
  if (this.pathExists(packageJsonPath)) {
7496
- const parentDir2 = this.normalizePath(dirname(currentDir));
7570
+ const parentDir2 = this.normalizePath(dirname2(currentDir));
7497
7571
  if (parentDir2 === currentDir) {
7498
7572
  return currentDir;
7499
7573
  }
7500
7574
  }
7501
- const parentDir = this.normalizePath(dirname(currentDir));
7575
+ const parentDir = this.normalizePath(dirname2(currentDir));
7502
7576
  if (parentDir === currentDir) {
7503
7577
  break;
7504
7578
  }
@@ -7514,8 +7588,8 @@ var init_PathResolver = __esm({
7514
7588
  // packages/tooling/src/utils/pathResolver.ts
7515
7589
  import { createRequire as createRequire2 } from "node:module";
7516
7590
  import {
7517
- join as join2,
7518
- dirname as dirname2,
7591
+ join as join3,
7592
+ dirname as dirname3,
7519
7593
  basename as basename2,
7520
7594
  extname as extname2,
7521
7595
  relative as relative2,
@@ -7524,7 +7598,7 @@ import {
7524
7598
  isAbsolute as pathIsAbsolute
7525
7599
  } from "node:path";
7526
7600
  import { fileURLToPath as fileURLToPath2 } from "node:url";
7527
- function readdirSync2(dirPath, options) {
7601
+ function readdirSync3(dirPath, options) {
7528
7602
  return pathResolverInstance.readdirSync(dirPath, options);
7529
7603
  }
7530
7604
  var pathResolverInstance, normalizePath, pathExists, readSync, statSync2, joinPath;
@@ -7535,7 +7609,7 @@ var init_pathResolver = __esm({
7535
7609
  init_PathResolver();
7536
7610
  pathResolverInstance = PathResolver.getInstance({ debug: false });
7537
7611
  normalizePath = (...pathSegments) => {
7538
- return pathResolverInstance.normalizePath(join2(...pathSegments));
7612
+ return pathResolverInstance.normalizePath(join3(...pathSegments));
7539
7613
  };
7540
7614
  pathExists = (filePath, silent = false) => pathResolverInstance.pathExists(filePath, silent);
7541
7615
  readSync = (filePath, options) => pathResolverInstance.readSync(filePath, options);
@@ -7578,7 +7652,7 @@ var init_typed_file_operations = __esm({
7578
7652
  import { Buffer } from "node:buffer";
7579
7653
  import { copyFileSync as copyFileSync2, readFileSync as readFileSync2, writeFileSync as writeFileSync2, mkdirSync as mkdirSync2 } from "node:fs";
7580
7654
  import { createRequire as createRequire3 } from "node:module";
7581
- import { dirname as dirname3, resolve as resolve3 } from "node:path";
7655
+ import { dirname as dirname4, resolve as resolve3 } from "node:path";
7582
7656
  import process from "node:process";
7583
7657
  import { fileURLToPath as fileURLToPath3 } from "node:url";
7584
7658
  var require2, __filename, __dirname;
@@ -7587,7 +7661,7 @@ var init_utils2 = __esm({
7587
7661
  "use strict";
7588
7662
  require2 = createRequire3(import.meta.url);
7589
7663
  __filename = fileURLToPath3(import.meta.url);
7590
- __dirname = dirname3(__filename);
7664
+ __dirname = dirname4(__filename);
7591
7665
  if (typeof globalThis !== "undefined") {
7592
7666
  globalThis.require = require2;
7593
7667
  globalThis.__filename = __filename;
@@ -7615,7 +7689,7 @@ function detectApps(projectRoot) {
7615
7689
  const appsDir = joinPath(projectRoot, "apps");
7616
7690
  const appsDirStat = statSync2(appsDir);
7617
7691
  if (pathExists(appsDir) && appsDirStat?.isDirectory()) {
7618
- const appDirs = readdirSync2(appsDir, { withFileTypes: true }).filter((dirent) => dirent.isDirectory()).map((dirent) => dirent.name).sort();
7692
+ const appDirs = readdirSync3(appsDir, { withFileTypes: true }).filter((dirent) => dirent.isDirectory()).map((dirent) => dirent.name).sort();
7619
7693
  for (const appDir of appDirs) {
7620
7694
  const appPath = joinPath(appsDir, appDir);
7621
7695
  const packageJsonPath = joinPath(appPath, "package.json");
@@ -8221,8 +8295,8 @@ init_utils2();
8221
8295
  // packages/tooling/src/cli/coach/coach.ts
8222
8296
  init_utils2();
8223
8297
  init_app_detection();
8224
- init_cli_output();
8225
8298
  init_app_detection();
8299
+ init_cli_output();
8226
8300
  var CHECKLIST_ORDER = [
8227
8301
  async () => (await Promise.resolve().then(() => (init_checklist_firebase(), checklist_firebase_exports))).firebaseChecklist,
8228
8302
  async () => (await Promise.resolve().then(() => (init_checklist_supabase(), checklist_supabase_exports))).supabaseChecklist,
@@ -8258,9 +8332,9 @@ function deduplicateAndRender(hits, multiApp) {
8258
8332
  const first = providerHits[0];
8259
8333
  const section = first.section;
8260
8334
  if (section.prerequisite) {
8261
- log.info(` Prerequisite: ${section.prerequisite}`);
8335
+ log2.info(` Prerequisite: ${section.prerequisite}`);
8262
8336
  }
8263
- log.info(
8337
+ log2.info(
8264
8338
  `
8265
8339
  ${section.provider.toUpperCase()} (${section.steps.length} step${section.steps.length !== 1 ? "s" : ""})`
8266
8340
  );
@@ -8273,41 +8347,41 @@ ${section.provider.toUpperCase()} (${section.steps.length} step${section.steps.l
8273
8347
  for (const step of section.steps) {
8274
8348
  stepNumber++;
8275
8349
  renderStep(stepNumber, step);
8276
- for (let i = 1; i < providerHits.length; i++) {
8277
- const otherHit = providerHits[i];
8350
+ for (let i2 = 1; i2 < providerHits.length; i2++) {
8351
+ const otherHit = providerHits[i2];
8278
8352
  const matchingStep = otherHit.section.steps.find(
8279
8353
  (s) => s.action === step.action
8280
8354
  );
8281
8355
  if (matchingStep && matchingStep.target !== step.target) {
8282
- log.info(` \u2192 ${matchingStep.target}`);
8356
+ log2.info(` \u2192 ${matchingStep.target}`);
8283
8357
  }
8284
8358
  }
8285
8359
  }
8286
8360
  }
8287
8361
  }
8288
8362
  if (stepNumber > 0) {
8289
- log.info("\nWhen done, run: dndev setup");
8363
+ log2.info("\nWhen done, run: dndev setup");
8290
8364
  }
8291
8365
  }
8292
8366
  function renderStep(num, step, appName) {
8293
- log.info(` ${num}. ${step.action}`);
8367
+ log2.info(` ${num}. ${step.action}`);
8294
8368
  if (step.dashboardUrl) {
8295
- log.info(` ${step.dashboardUrl}`);
8369
+ log2.info(` ${step.dashboardUrl}`);
8296
8370
  }
8297
8371
  if (step.where !== step.action) {
8298
- log.info(` ${step.where}`);
8372
+ log2.info(` ${step.where}`);
8299
8373
  }
8300
8374
  if (step.target) {
8301
8375
  const prefix = appName ? `[${appName}] ` : "";
8302
- log.info(` \u2192 ${prefix}${step.target}`);
8376
+ log2.info(` \u2192 ${prefix}${step.target}`);
8303
8377
  }
8304
8378
  if (step.hint) {
8305
- log.info(` ${step.hint}`);
8379
+ log2.info(` ${step.hint}`);
8306
8380
  }
8307
8381
  }
8308
8382
  async function main(_options = {}) {
8309
8383
  const projectRoot = process.cwd();
8310
- mt("DoNotDev Coach");
8384
+ intro("DoNotDev Coach");
8311
8385
  const topology = analyzeProjectTopology(projectRoot);
8312
8386
  let apps = topology.apps;
8313
8387
  if (apps.length === 0) {
@@ -8329,13 +8403,13 @@ async function main(_options = {}) {
8329
8403
  }
8330
8404
  }
8331
8405
  if (hits.length === 0) {
8332
- log.warn("No providers detected. Nothing to coach.");
8333
- log.info("Tip: run dndev create-app to scaffold an app first.");
8334
- gt("");
8406
+ log2.warn("No providers detected. Nothing to coach.");
8407
+ log2.info("Tip: run dndev create-app to scaffold an app first.");
8408
+ outro("");
8335
8409
  return 0;
8336
8410
  }
8337
8411
  deduplicateAndRender(hits, multiApp);
8338
- gt("");
8412
+ outro("");
8339
8413
  return 0;
8340
8414
  }
8341
8415
  export {