create-rstack 1.2.0 → 1.3.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/index.js CHANGED
@@ -184,7 +184,7 @@ var __webpack_modules__ = {
184
184
  });
185
185
  }
186
186
  Object.keys(flags.bools).forEach(function(key) {
187
- setArg(key, void 0 !== defaults[key] && defaults[key]);
187
+ setArg(key, void 0 === defaults[key] ? false : defaults[key]);
188
188
  });
189
189
  var notFlags = [];
190
190
  if (-1 !== args.indexOf('--')) {
@@ -207,11 +207,11 @@ var __webpack_modules__ = {
207
207
  } else if (/^--.+/.test(arg)) {
208
208
  key = arg.match(/^--(.+)/)[1];
209
209
  next = args[i + 1];
210
- if (void 0 === next || /^(-|--)[^-]/.test(next) || flags.bools[key] || flags.allBools || aliases[key] && aliasIsBoolean(key)) {
210
+ if (void 0 === next || /^(-|--)[^-]/.test(next) || flags.bools[key] || flags.allBools || (aliases[key] ? aliasIsBoolean(key) : false)) {
211
211
  if (/^(true|false)$/.test(next)) {
212
212
  setArg(key, 'true' === next, arg);
213
213
  i += 1;
214
- } else setArg(key, !flags.strings[key] || '', arg);
214
+ } else setArg(key, flags.strings[key] ? '' : true, arg);
215
215
  } else {
216
216
  setArg(key, next, arg);
217
217
  i += 1;
@@ -240,15 +240,15 @@ var __webpack_modules__ = {
240
240
  broken = true;
241
241
  break;
242
242
  }
243
- setArg(letters[j], !flags.strings[letters[j]] || '', arg);
243
+ setArg(letters[j], flags.strings[letters[j]] ? '' : true, arg);
244
244
  }
245
245
  key = arg.slice(-1)[0];
246
246
  if (!broken && '-' !== key) {
247
- if (!args[i + 1] || /^(-|--)[^-]/.test(args[i + 1]) || flags.bools[key] || aliases[key] && aliasIsBoolean(key)) {
247
+ if (!args[i + 1] || /^(-|--)[^-]/.test(args[i + 1]) || flags.bools[key] || (aliases[key] ? aliasIsBoolean(key) : false)) {
248
248
  if (args[i + 1] && /^(true|false)$/.test(args[i + 1])) {
249
249
  setArg(key, 'true' === args[i + 1], arg);
250
250
  i += 1;
251
- } else setArg(key, !flags.strings[key] || '', arg);
251
+ } else setArg(key, flags.strings[key] ? '' : true, arg);
252
252
  } else {
253
253
  setArg(key, args[i + 1], arg);
254
254
  i += 1;
@@ -436,19 +436,20 @@ function __webpack_require__(moduleId) {
436
436
  })();
437
437
  var src = __webpack_require__("./node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js");
438
438
  var picocolors = __webpack_require__("./node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js");
439
- function dist_J({ onlyFirst: t = !1 } = {}) {
439
+ var picocolors_default = /*#__PURE__*/ __webpack_require__.n(picocolors);
440
+ function J({ onlyFirst: t = !1 } = {}) {
440
441
  const F = "[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))|(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))";
441
442
  return new RegExp(F, t ? void 0 : "g");
442
443
  }
443
- const dist_Q = dist_J();
444
+ const Q = J();
444
445
  function T(t) {
445
446
  if ("string" != typeof t) throw new TypeError(`Expected a \`string\`, got \`${typeof t}\``);
446
- return t.replace(dist_Q, "");
447
+ return t.replace(Q, "");
447
448
  }
448
449
  function dist_O(t) {
449
450
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
450
451
  }
451
- var dist_P = {
452
+ var P = {
452
453
  exports: {}
453
454
  };
454
455
  (function(t) {
@@ -478,9 +479,9 @@ var dist_P = {
478
479
  }
479
480
  return D;
480
481
  };
481
- })(dist_P);
482
- var X = dist_P.exports;
483
- const DD = dist_O(X);
482
+ })(P);
483
+ var dist_X = P.exports;
484
+ const DD = dist_O(dist_X);
484
485
  var uD = function() {
485
486
  return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g;
486
487
  };
@@ -509,7 +510,7 @@ function A(t, u = {}) {
509
510
  }
510
511
  return e;
511
512
  }
512
- const m = 10, L = (t = 0)=>(u)=>`\x1B[${u + t}m`, N = (t = 0)=>(u)=>`\x1B[${38 + t};5;${u}m`, dist_I = (t = 0)=>(u, F, e)=>`\x1B[${38 + t};2;${u};${F};${e}m`, dist_r = {
513
+ const dist_m = 10, L = (t = 0)=>(u)=>`\x1B[${u + t}m`, dist_N = (t = 0)=>(u)=>`\x1B[${38 + t};5;${u}m`, dist_I = (t = 0)=>(u, F, e)=>`\x1B[${38 + t};2;${u};${F};${e}m`, dist_r = {
513
514
  modifier: {
514
515
  reset: [
515
516
  0,
@@ -718,7 +719,7 @@ function sD() {
718
719
  return Object.defineProperty(dist_r, "codes", {
719
720
  value: t,
720
721
  enumerable: !1
721
- }), dist_r.color.close = "\x1B[39m", dist_r.bgColor.close = "\x1B[49m", dist_r.color.ansi = L(), dist_r.color.ansi256 = N(), dist_r.color.ansi16m = dist_I(), dist_r.bgColor.ansi = L(m), dist_r.bgColor.ansi256 = N(m), dist_r.bgColor.ansi16m = dist_I(m), Object.defineProperties(dist_r, {
722
+ }), dist_r.color.close = "\x1B[39m", dist_r.bgColor.close = "\x1B[49m", dist_r.color.ansi = L(), dist_r.color.ansi256 = dist_N(), dist_r.color.ansi16m = dist_I(), dist_r.bgColor.ansi = L(dist_m), dist_r.bgColor.ansi256 = dist_N(dist_m), dist_r.bgColor.ansi16m = dist_I(dist_m), Object.defineProperties(dist_r, {
722
723
  rgbToAnsi256: {
723
724
  value: (u, F, e)=>u === F && F === e ? u < 8 ? 16 : u > 248 ? 231 : Math.round((u - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(u / 255 * 5) + 6 * Math.round(F / 255 * 5) + Math.round(e / 255 * 5),
724
725
  enumerable: !1
@@ -776,18 +777,18 @@ function sD() {
776
777
  }
777
778
  }), dist_r;
778
779
  }
779
- const iD = sD(), v = new Set([
780
+ const iD = sD(), dist_v = new Set([
780
781
  "\x1B",
781
782
  "\x9B"
782
- ]), CD = 39, dist_w = "\x07", dist_W = "[", rD = "]", R = "m", y = `${rD}8;;`, V = (t)=>`${v.values().next().value}${dist_W}${t}${R}`, dist_z = (t)=>`${v.values().next().value}${y}${t}${dist_w}`, ED = (t)=>t.split(" ").map((u)=>A(u)), dist_ = (t, u, F)=>{
783
+ ]), CD = 39, w = "\x07", W = "[", rD = "]", dist_R = "m", dist_y = `${rD}8;;`, V = (t)=>`${dist_v.values().next().value}${W}${t}${dist_R}`, dist_z = (t)=>`${dist_v.values().next().value}${dist_y}${t}${w}`, ED = (t)=>t.split(" ").map((u)=>A(u)), _ = (t, u, F)=>{
783
784
  const e = [
784
785
  ...u
785
786
  ];
786
787
  let s = !1, i = !1, D = A(T(t[t.length - 1]));
787
788
  for (const [C, o] of e.entries()){
788
789
  const E = A(o);
789
- if (D + E <= F ? t[t.length - 1] += o : (t.push(o), D = 0), v.has(o) && (s = !0, i = e.slice(C + 1).join("").startsWith(y)), s) {
790
- i ? o === dist_w && (s = !1, i = !1) : o === R && (s = !1);
790
+ if (D + E <= F ? t[t.length - 1] += o : (t.push(o), D = 0), dist_v.has(o) && (s = !0, i = e.slice(C + 1).join("").startsWith(dist_y)), s) {
791
+ i ? o === w && (s = !1, i = !1) : o === dist_R && (s = !1);
791
792
  continue;
792
793
  }
793
794
  D += E, D === F && C < e.length - 1 && (t.push(""), D = 0);
@@ -810,18 +811,18 @@ const iD = sD(), v = new Set([
810
811
  let n = A(C[C.length - 1]);
811
812
  if (0 !== E && (n >= u && (!1 === F.wordWrap || !1 === F.trim) && (C.push(""), n = 0), (n > 0 || !1 === F.trim) && (C[C.length - 1] += " ", n++)), F.hard && D[E] > u) {
812
813
  const B = u - n, p = 1 + Math.floor((D[E] - B - 1) / u);
813
- Math.floor((D[E] - 1) / u) < p && C.push(""), dist_(C, a, u);
814
+ Math.floor((D[E] - 1) / u) < p && C.push(""), _(C, a, u);
814
815
  continue;
815
816
  }
816
817
  if (n + D[E] > u && n > 0 && D[E] > 0) {
817
818
  if (!1 === F.wordWrap && n < u) {
818
- dist_(C, a, u);
819
+ _(C, a, u);
819
820
  continue;
820
821
  }
821
822
  C.push("");
822
823
  }
823
824
  if (n + D[E] > u && !1 === F.wordWrap) {
824
- dist_(C, a, u);
825
+ _(C, a, u);
825
826
  continue;
826
827
  }
827
828
  C[C.length - 1] += a;
@@ -832,8 +833,8 @@ const iD = sD(), v = new Set([
832
833
  `)
833
834
  ];
834
835
  for (const [E, a] of o.entries()){
835
- if (e += a, v.has(a)) {
836
- const { groups: B } = new RegExp(`(?:\\${dist_W}(?<code>\\d+)m|\\${y}(?<uri>.*)${dist_w})`).exec(o.slice(E).join("")) || {
836
+ if (e += a, dist_v.has(a)) {
837
+ const { groups: B } = new RegExp(`(?:\\${W}(?<code>\\d+)m|\\${dist_y}(?<uri>.*)${w})`).exec(o.slice(E).join("")) || {
837
838
  groups: {}
838
839
  };
839
840
  if (void 0 !== B.code) {
@@ -848,7 +849,7 @@ const iD = sD(), v = new Set([
848
849
  }
849
850
  return e;
850
851
  };
851
- function G(t, u, F) {
852
+ function dist_G(t, u, F) {
852
853
  return String(t).normalize().replace(/\r\n/g, `
853
854
  `).split(`
854
855
  `).map((e)=>oD(e, u, F)).join(`
@@ -905,11 +906,11 @@ function lD(t, u) {
905
906
  return s;
906
907
  }
907
908
  globalThis.process.platform.startsWith("win");
908
- const S = Symbol("clack:cancel");
909
+ const dist_S = Symbol("clack:cancel");
909
910
  function BD(t) {
910
- return t === S;
911
+ return t === dist_S;
911
912
  }
912
- function dist_d(t, u) {
913
+ function d(t, u) {
913
914
  const F = t;
914
915
  F.isTTY && F.setRawMode(u);
915
916
  }
@@ -951,7 +952,7 @@ class dist_x {
951
952
  prompt() {
952
953
  return new Promise((u, F)=>{
953
954
  if (this._abortSignal) {
954
- if (this._abortSignal.aborted) return this.state = "cancel", this.close(), u(S);
955
+ if (this._abortSignal.aborted) return this.state = "cancel", this.close(), u(dist_S);
955
956
  this._abortSignal.addEventListener("abort", ()=>{
956
957
  this.state = "cancel", this.close();
957
958
  }, {
@@ -967,10 +968,10 @@ class dist_x {
967
968
  tabSize: 2,
968
969
  prompt: "",
969
970
  escapeCodeTimeout: 50
970
- }), __WEBPACK_EXTERNAL_MODULE_node_readline_91c31510__["default"].emitKeypressEvents(this.input, this.rl), this.rl.prompt(), void 0 !== this.opts.initialValue && this._track && this.rl.write(this.opts.initialValue), this.input.on("keypress", this.onKeypress), dist_d(this.input, !0), this.output.on("resize", this.render), this.render(), this.once("submit", ()=>{
971
- this.output.write(src.cursor.show), this.output.off("resize", this.render), dist_d(this.input, !1), u(this.value);
971
+ }), __WEBPACK_EXTERNAL_MODULE_node_readline_91c31510__["default"].emitKeypressEvents(this.input, this.rl), this.rl.prompt(), void 0 !== this.opts.initialValue && this._track && this.rl.write(this.opts.initialValue), this.input.on("keypress", this.onKeypress), d(this.input, !0), this.output.on("resize", this.render), this.render(), this.once("submit", ()=>{
972
+ this.output.write(src.cursor.show), this.output.off("resize", this.render), d(this.input, !1), u(this.value);
972
973
  }), this.once("cancel", ()=>{
973
- this.output.write(src.cursor.show), this.output.off("resize", this.render), dist_d(this.input, !1), u(S);
974
+ this.output.write(src.cursor.show), this.output.off("resize", this.render), d(this.input, !1), u(dist_S);
974
975
  });
975
976
  });
976
977
  }
@@ -990,17 +991,17 @@ class dist_x {
990
991
  }
991
992
  close() {
992
993
  this.input.unpipe(), this.input.removeListener("keypress", this.onKeypress), this.output.write(`
993
- `), dist_d(this.input, !1), this.rl?.close(), this.rl = void 0, this.emit(`${this.state}`, this.value), this.unsubscribe();
994
+ `), d(this.input, !1), this.rl?.close(), this.rl = void 0, this.emit(`${this.state}`, this.value), this.unsubscribe();
994
995
  }
995
996
  restoreCursor() {
996
- const u = G(this._prevFrame, process.stdout.columns, {
997
+ const u = dist_G(this._prevFrame, process.stdout.columns, {
997
998
  hard: !0
998
999
  }).split(`
999
1000
  `).length - 1;
1000
1001
  this.output.write(src.cursor.move(-999, -1 * u));
1001
1002
  }
1002
1003
  render() {
1003
- const u = G(this._render(this) ?? "", process.stdout.columns, {
1004
+ const u = dist_G(this._render(this) ?? "", process.stdout.columns, {
1004
1005
  hard: !0
1005
1006
  });
1006
1007
  if (u !== this._prevFrame) {
@@ -1035,10 +1036,10 @@ var bD = Object.defineProperty, mD = (t, u, F)=>u in t ? bD(t, u, {
1035
1036
  configurable: !0,
1036
1037
  writable: !0,
1037
1038
  value: F
1038
- }) : t[u] = F, dist_Y = (t, u, F)=>(mD(t, "symbol" != typeof u ? u + "" : u, F), F);
1039
+ }) : t[u] = F, Y = (t, u, F)=>(mD(t, "symbol" != typeof u ? u + "" : u, F), F);
1039
1040
  let wD = class extends dist_x {
1040
1041
  constructor(u){
1041
- super(u, !1), dist_Y(this, "options"), dist_Y(this, "cursor", 0), this.options = u.options, this.value = [
1042
+ super(u, !1), Y(this, "options"), Y(this, "cursor", 0), this.options = u.options, this.value = [
1042
1043
  ...u.initialValues ?? []
1043
1044
  ], this.cursor = Math.max(this.options.findIndex(({ value: F })=>F === u.cursorAt), 0), this.on("key", (F)=>{
1044
1045
  "a" === F && this.toggleAll();
@@ -1078,10 +1079,10 @@ var SD = Object.defineProperty, $D = (t, u, F)=>u in t ? SD(t, u, {
1078
1079
  configurable: !0,
1079
1080
  writable: !0,
1080
1081
  value: F
1081
- }) : t[u] = F, dist_q = (t, u, F)=>($D(t, "symbol" != typeof u ? u + "" : u, F), F);
1082
+ }) : t[u] = F, q = (t, u, F)=>($D(t, "symbol" != typeof u ? u + "" : u, F), F);
1082
1083
  class jD extends dist_x {
1083
1084
  constructor(u){
1084
- super(u, !1), dist_q(this, "options"), dist_q(this, "cursor", 0), this.options = u.options, this.cursor = this.options.findIndex(({ value: F })=>F === u.initialValue), -1 === this.cursor && (this.cursor = 0), this.changeValue(), this.on("cursor", (F)=>{
1085
+ super(u, !1), q(this, "options"), q(this, "cursor", 0), this.options = u.options, this.cursor = this.options.findIndex(({ value: F })=>F === u.initialValue), -1 === this.cursor && (this.cursor = 0), this.changeValue(), this.on("cursor", (F)=>{
1085
1086
  switch(F){
1086
1087
  case "left":
1087
1088
  case "up":
@@ -1118,178 +1119,179 @@ class PD extends dist_x {
1118
1119
  });
1119
1120
  }
1120
1121
  }
1121
- function dist_X() {
1122
+ function ce() {
1122
1123
  return "win32" !== __WEBPACK_EXTERNAL_MODULE_node_process_786449bf__["default"].platform ? "linux" !== __WEBPACK_EXTERNAL_MODULE_node_process_786449bf__["default"].env.TERM : !!__WEBPACK_EXTERNAL_MODULE_node_process_786449bf__["default"].env.CI || !!__WEBPACK_EXTERNAL_MODULE_node_process_786449bf__["default"].env.WT_SESSION || !!__WEBPACK_EXTERNAL_MODULE_node_process_786449bf__["default"].env.TERMINUS_SUBLIME || "{cmd::Cmder}" === __WEBPACK_EXTERNAL_MODULE_node_process_786449bf__["default"].env.ConEmuTask || "Terminus-Sublime" === __WEBPACK_EXTERNAL_MODULE_node_process_786449bf__["default"].env.TERM_PROGRAM || "vscode" === __WEBPACK_EXTERNAL_MODULE_node_process_786449bf__["default"].env.TERM_PROGRAM || "xterm-256color" === __WEBPACK_EXTERNAL_MODULE_node_process_786449bf__["default"].env.TERM || "alacritty" === __WEBPACK_EXTERNAL_MODULE_node_process_786449bf__["default"].env.TERM || "JetBrains-JediTerm" === __WEBPACK_EXTERNAL_MODULE_node_process_786449bf__["default"].env.TERMINAL_EMULATOR;
1123
1124
  }
1124
- const dist_E = dist_X(), dist_u = (s, n)=>dist_E ? s : n, ee = dist_u("\u25C6", "*"), dist_A = dist_u("\u25A0", "x"), dist_B = dist_u("\u25B2", "x"), dist_S = dist_u("\u25C7", "o"), dist_a = (dist_u("\u250C", "T"), dist_u("\u2502", "|")), dist_m = dist_u("\u2514", "\u2014"), dist_j = dist_u("\u25CF", ">"), dist_R = dist_u("\u25CB", " "), dist_V = dist_u("\u25FB", "[\u2022]"), M = dist_u("\u25FC", "[+]"), dist_G = dist_u("\u25FB", "[ ]"), dist_N = (dist_u("\u25AA", "\u2022"), dist_u("\u2500", "-")), re = dist_u("\u256E", "+"), ie = dist_u("\u251C", "+"), ne = dist_u("\u256F", "+"), dist_y = (dist_u("\u25CF", "\u2022"), dist_u("\u25C6", "*"), dist_u("\u25B2", "!"), dist_u("\u25A0", "x"), (s)=>{
1125
- switch(s){
1125
+ const dist_V = ce(), dist_u = (t, n)=>dist_V ? t : n, le = dist_u("\u25C6", "*"), dist_L = dist_u("\u25A0", "x"), dist_W = dist_u("\u25B2", "x"), dist_C = dist_u("\u25C7", "o"), dist_o = (dist_u("\u250C", "T"), dist_u("\u2502", "|")), dist_d = dist_u("\u2514", "\u2014"), dist_k = dist_u("\u25CF", ">"), dist_P = dist_u("\u25CB", " "), dist_A = dist_u("\u25FB", "[\u2022]"), dist_T = dist_u("\u25FC", "[+]"), dist_F = dist_u("\u25FB", "[ ]"), dist_ = (dist_u("\u25AA", "\u2022"), dist_u("\u2500", "-")), me = dist_u("\u256E", "+"), de = dist_u("\u251C", "+"), pe = dist_u("\u256F", "+"), dist_w = (dist_u("\u25CF", "\u2022"), dist_u("\u25C6", "*"), dist_u("\u25B2", "!"), dist_u("\u25A0", "x"), (t)=>{
1126
+ switch(t){
1126
1127
  case "initial":
1127
1128
  case "active":
1128
- return picocolors.cyan(ee);
1129
+ return picocolors.cyan(le);
1129
1130
  case "cancel":
1130
- return picocolors.red(dist_A);
1131
+ return picocolors.red(dist_L);
1131
1132
  case "error":
1132
- return picocolors.yellow(dist_B);
1133
+ return picocolors.yellow(dist_W);
1133
1134
  case "submit":
1134
- return picocolors.green(dist_S);
1135
+ return picocolors.green(dist_C);
1135
1136
  }
1136
- }), dist_k = (s)=>{
1137
- const { cursor: n, options: t, style: i } = s, r = s.maxItems ?? Number.POSITIVE_INFINITY, c = Math.max(process.stdout.rows - 4, 0), o = Math.min(c, Math.max(r, 5));
1137
+ }), dist_B = (t)=>{
1138
+ const { cursor: n, options: s, style: r } = t, i = t.maxItems ?? Number.POSITIVE_INFINITY, a = Math.max(process.stdout.rows - 4, 0), c = Math.min(a, Math.max(i, 5));
1138
1139
  let l = 0;
1139
- n >= l + o - 3 ? l = Math.max(Math.min(n - o + 3, t.length - o), 0) : n < l + 2 && (l = Math.max(n - 2, 0));
1140
- const $ = o < t.length && l > 0, d = o < t.length && l + o < t.length;
1141
- return t.slice(l, l + o).map((w, b, C)=>{
1142
- const I = 0 === b && $, x = b === C.length - 1 && d;
1143
- return I || x ? picocolors.dim("...") : i(w, b + l === n);
1140
+ n >= l + c - 3 ? l = Math.max(Math.min(n - c + 3, s.length - c), 0) : n < l + 2 && (l = Math.max(n - 2, 0));
1141
+ const $ = c < s.length && l > 0, p = c < s.length && l + c < s.length;
1142
+ return s.slice(l, l + c).map((M, v, x)=>{
1143
+ const j = 0 === v && $, E = v === x.length - 1 && p;
1144
+ return j || E ? picocolors.dim("...") : r(M, v + l === n);
1144
1145
  });
1145
- }, ue = (s)=>new PD({
1146
- validate: s.validate,
1147
- placeholder: s.placeholder,
1148
- defaultValue: s.defaultValue,
1149
- initialValue: s.initialValue,
1146
+ }, he = (t)=>new PD({
1147
+ validate: t.validate,
1148
+ placeholder: t.placeholder,
1149
+ defaultValue: t.defaultValue,
1150
+ initialValue: t.initialValue,
1150
1151
  render () {
1151
- const n = `${picocolors.gray(dist_a)}
1152
- ${dist_y(this.state)} ${s.message}
1153
- `, t = s.placeholder ? picocolors.inverse(s.placeholder[0]) + picocolors.dim(s.placeholder.slice(1)) : picocolors.inverse(picocolors.hidden("_")), i = this.value ? this.valueWithCursor : t;
1152
+ const n = `${picocolors.gray(dist_o)}
1153
+ ${dist_w(this.state)} ${t.message}
1154
+ `, s = t.placeholder ? picocolors.inverse(t.placeholder[0]) + picocolors.dim(t.placeholder.slice(1)) : picocolors.inverse(picocolors.hidden("_")), r = this.value ? this.valueWithCursor : s;
1154
1155
  switch(this.state){
1155
1156
  case "error":
1156
1157
  return `${n.trim()}
1157
- ${picocolors.yellow(dist_a)} ${i}
1158
- ${picocolors.yellow(dist_m)} ${picocolors.yellow(this.error)}
1158
+ ${picocolors.yellow(dist_o)} ${r}
1159
+ ${picocolors.yellow(dist_d)} ${picocolors.yellow(this.error)}
1159
1160
  `;
1160
1161
  case "submit":
1161
- return `${n}${picocolors.gray(dist_a)} ${picocolors.dim(this.value || s.placeholder)}`;
1162
+ return `${n}${picocolors.gray(dist_o)} ${picocolors.dim(this.value || t.placeholder)}`;
1162
1163
  case "cancel":
1163
- return `${n}${picocolors.gray(dist_a)} ${picocolors.strikethrough(picocolors.dim(this.value ?? ""))}${this.value?.trim() ? `
1164
- ${picocolors.gray(dist_a)}` : ""}`;
1164
+ return `${n}${picocolors.gray(dist_o)} ${picocolors.strikethrough(picocolors.dim(this.value ?? ""))}${this.value?.trim() ? `
1165
+ ${picocolors.gray(dist_o)}` : ""}`;
1165
1166
  default:
1166
- return `${n}${picocolors.cyan(dist_a)} ${i}
1167
- ${picocolors.cyan(dist_m)}
1167
+ return `${n}${picocolors.cyan(dist_o)} ${r}
1168
+ ${picocolors.cyan(dist_d)}
1168
1169
  `;
1169
1170
  }
1170
1171
  }
1171
- }).prompt(), de = (s)=>{
1172
- const n = (t, i)=>{
1173
- const r = t.label ?? String(t.value);
1174
- switch(i){
1172
+ }).prompt(), ve = (t)=>{
1173
+ const n = (s, r)=>{
1174
+ const i = s.label ?? String(s.value);
1175
+ switch(r){
1175
1176
  case "selected":
1176
- return `${picocolors.dim(r)}`;
1177
+ return `${picocolors.dim(i)}`;
1177
1178
  case "active":
1178
- return `${picocolors.green(dist_j)} ${r} ${t.hint ? picocolors.dim(`(${t.hint})`) : ""}`;
1179
+ return `${picocolors.green(dist_k)} ${i} ${s.hint ? picocolors.dim(`(${s.hint})`) : ""}`;
1179
1180
  case "cancelled":
1180
- return `${picocolors.strikethrough(picocolors.dim(r))}`;
1181
+ return `${picocolors.strikethrough(picocolors.dim(i))}`;
1181
1182
  default:
1182
- return `${picocolors.dim(dist_R)} ${picocolors.dim(r)}`;
1183
+ return `${picocolors.dim(dist_P)} ${picocolors.dim(i)}`;
1183
1184
  }
1184
1185
  };
1185
1186
  return new jD({
1186
- options: s.options,
1187
- initialValue: s.initialValue,
1187
+ options: t.options,
1188
+ initialValue: t.initialValue,
1188
1189
  render () {
1189
- const t = `${picocolors.gray(dist_a)}
1190
- ${dist_y(this.state)} ${s.message}
1190
+ const s = `${picocolors.gray(dist_o)}
1191
+ ${dist_w(this.state)} ${t.message}
1191
1192
  `;
1192
1193
  switch(this.state){
1193
1194
  case "submit":
1194
- return `${t}${picocolors.gray(dist_a)} ${n(this.options[this.cursor], "selected")}`;
1195
+ return `${s}${picocolors.gray(dist_o)} ${n(this.options[this.cursor], "selected")}`;
1195
1196
  case "cancel":
1196
- return `${t}${picocolors.gray(dist_a)} ${n(this.options[this.cursor], "cancelled")}
1197
- ${picocolors.gray(dist_a)}`;
1197
+ return `${s}${picocolors.gray(dist_o)} ${n(this.options[this.cursor], "cancelled")}
1198
+ ${picocolors.gray(dist_o)}`;
1198
1199
  default:
1199
- return `${t}${picocolors.cyan(dist_a)} ${dist_k({
1200
+ return `${s}${picocolors.cyan(dist_o)} ${dist_B({
1200
1201
  cursor: this.cursor,
1201
1202
  options: this.options,
1202
- maxItems: s.maxItems,
1203
- style: (i, r)=>n(i, r ? "active" : "inactive")
1203
+ maxItems: t.maxItems,
1204
+ style: (r, i)=>n(r, i ? "active" : "inactive")
1204
1205
  }).join(`
1205
- ${picocolors.cyan(dist_a)} `)}
1206
- ${picocolors.cyan(dist_m)}
1206
+ ${picocolors.cyan(dist_o)} `)}
1207
+ ${picocolors.cyan(dist_d)}
1207
1208
  `;
1208
1209
  }
1209
1210
  }
1210
1211
  }).prompt();
1211
- }, pe = (s)=>{
1212
- const n = (t, i)=>{
1213
- const r = t.label ?? String(t.value);
1214
- return "active" === i ? `${picocolors.cyan(dist_V)} ${r} ${t.hint ? picocolors.dim(`(${t.hint})`) : ""}` : "selected" === i ? `${picocolors.green(M)} ${picocolors.dim(r)}` : "cancelled" === i ? `${picocolors.strikethrough(picocolors.dim(r))}` : "active-selected" === i ? `${picocolors.green(M)} ${r} ${t.hint ? picocolors.dim(`(${t.hint})`) : ""}` : "submitted" === i ? `${picocolors.dim(r)}` : `${picocolors.dim(dist_G)} ${picocolors.dim(r)}`;
1212
+ }, fe = (t)=>{
1213
+ const n = (s, r)=>{
1214
+ const i = s.label ?? String(s.value);
1215
+ return "active" === r ? `${picocolors.cyan(dist_A)} ${i} ${s.hint ? picocolors.dim(`(${s.hint})`) : ""}` : "selected" === r ? `${picocolors.green(dist_T)} ${picocolors.dim(i)}` : "cancelled" === r ? `${picocolors.strikethrough(picocolors.dim(i))}` : "active-selected" === r ? `${picocolors.green(dist_T)} ${i} ${s.hint ? picocolors.dim(`(${s.hint})`) : ""}` : "submitted" === r ? `${picocolors.dim(i)}` : `${picocolors.dim(dist_F)} ${picocolors.dim(i)}`;
1215
1216
  };
1216
1217
  return new wD({
1217
- options: s.options,
1218
- initialValues: s.initialValues,
1219
- required: s.required ?? !0,
1220
- cursorAt: s.cursorAt,
1221
- validate (t) {
1222
- if (this.required && 0 === t.length) return `Please select at least one option.
1218
+ options: t.options,
1219
+ initialValues: t.initialValues,
1220
+ required: t.required ?? !0,
1221
+ cursorAt: t.cursorAt,
1222
+ validate (s) {
1223
+ if (this.required && 0 === s.length) return `Please select at least one option.
1223
1224
  ${picocolors.reset(picocolors.dim(`Press ${picocolors.gray(picocolors.bgWhite(picocolors.inverse(" space ")))} to select, ${picocolors.gray(picocolors.bgWhite(picocolors.inverse(" enter ")))} to submit`))}`;
1224
1225
  },
1225
1226
  render () {
1226
- const t = `${picocolors.gray(dist_a)}
1227
- ${dist_y(this.state)} ${s.message}
1228
- `, i = (r, c)=>{
1229
- const o = this.value.includes(r.value);
1230
- return c && o ? n(r, "active-selected") : o ? n(r, "selected") : n(r, c ? "active" : "inactive");
1227
+ const s = `${picocolors.gray(dist_o)}
1228
+ ${dist_w(this.state)} ${t.message}
1229
+ `, r = (i, a)=>{
1230
+ const c = this.value.includes(i.value);
1231
+ return a && c ? n(i, "active-selected") : c ? n(i, "selected") : n(i, a ? "active" : "inactive");
1231
1232
  };
1232
1233
  switch(this.state){
1233
1234
  case "submit":
1234
- return `${t}${picocolors.gray(dist_a)} ${this.options.filter(({ value: r })=>this.value.includes(r)).map((r)=>n(r, "submitted")).join(picocolors.dim(", ")) || picocolors.dim("none")}`;
1235
+ return `${s}${picocolors.gray(dist_o)} ${this.options.filter(({ value: i })=>this.value.includes(i)).map((i)=>n(i, "submitted")).join(picocolors.dim(", ")) || picocolors.dim("none")}`;
1235
1236
  case "cancel":
1236
1237
  {
1237
- const r = this.options.filter(({ value: c })=>this.value.includes(c)).map((c)=>n(c, "cancelled")).join(picocolors.dim(", "));
1238
- return `${t}${picocolors.gray(dist_a)} ${r.trim() ? `${r}
1239
- ${picocolors.gray(dist_a)}` : ""}`;
1238
+ const i = this.options.filter(({ value: a })=>this.value.includes(a)).map((a)=>n(a, "cancelled")).join(picocolors.dim(", "));
1239
+ return `${s}${picocolors.gray(dist_o)} ${i.trim() ? `${i}
1240
+ ${picocolors.gray(dist_o)}` : ""}`;
1240
1241
  }
1241
1242
  case "error":
1242
1243
  {
1243
- const r = this.error.split(`
1244
- `).map((c, o)=>0 === o ? `${picocolors.yellow(dist_m)} ${picocolors.yellow(c)}` : ` ${c}`).join(`
1244
+ const i = this.error.split(`
1245
+ `).map((a, c)=>0 === c ? `${picocolors.yellow(dist_d)} ${picocolors.yellow(a)}` : ` ${a}`).join(`
1245
1246
  `);
1246
- return `${t + picocolors.yellow(dist_a)} ${dist_k({
1247
+ return `${s + picocolors.yellow(dist_o)} ${dist_B({
1247
1248
  options: this.options,
1248
1249
  cursor: this.cursor,
1249
- maxItems: s.maxItems,
1250
- style: i
1250
+ maxItems: t.maxItems,
1251
+ style: r
1251
1252
  }).join(`
1252
- ${picocolors.yellow(dist_a)} `)}
1253
- ${r}
1253
+ ${picocolors.yellow(dist_o)} `)}
1254
+ ${i}
1254
1255
  `;
1255
1256
  }
1256
1257
  default:
1257
- return `${t}${picocolors.cyan(dist_a)} ${dist_k({
1258
+ return `${s}${picocolors.cyan(dist_o)} ${dist_B({
1258
1259
  options: this.options,
1259
1260
  cursor: this.cursor,
1260
- maxItems: s.maxItems,
1261
- style: i
1261
+ maxItems: t.maxItems,
1262
+ style: r
1262
1263
  }).join(`
1263
- ${picocolors.cyan(dist_a)} `)}
1264
- ${picocolors.cyan(dist_m)}
1264
+ ${picocolors.cyan(dist_o)} `)}
1265
+ ${picocolors.cyan(dist_d)}
1265
1266
  `;
1266
1267
  }
1267
1268
  }
1268
1269
  }).prompt();
1269
- }, ye = (s = "", n = "")=>{
1270
- const t = `
1271
- ${s}
1270
+ }, Me = (t = "", n = "")=>{
1271
+ const s = `
1272
+ ${t}
1272
1273
  `.split(`
1273
- `), i = (0, __WEBPACK_EXTERNAL_MODULE_node_util_1b29d436__.stripVTControlCharacters)(n).length, r = Math.max(t.reduce((o, l)=>{
1274
+ `), r = (0, __WEBPACK_EXTERNAL_MODULE_node_util_1b29d436__.stripVTControlCharacters)(n).length, i = Math.max(s.reduce((c, l)=>{
1274
1275
  const $ = (0, __WEBPACK_EXTERNAL_MODULE_node_util_1b29d436__.stripVTControlCharacters)(l);
1275
- return $.length > o ? $.length : o;
1276
- }, 0), i) + 2, c = t.map((o)=>`${picocolors.gray(dist_a)} ${picocolors.dim(o)}${" ".repeat(r - (0, __WEBPACK_EXTERNAL_MODULE_node_util_1b29d436__.stripVTControlCharacters)(o).length)}${picocolors.gray(dist_a)}`).join(`
1276
+ return $.length > c ? $.length : c;
1277
+ }, 0), r) + 2, a = s.map((c)=>`${picocolors.gray(dist_o)} ${picocolors.dim(c)}${" ".repeat(i - (0, __WEBPACK_EXTERNAL_MODULE_node_util_1b29d436__.stripVTControlCharacters)(c).length)}${picocolors.gray(dist_o)}`).join(`
1277
1278
  `);
1278
- process.stdout.write(`${picocolors.gray(dist_a)}
1279
- ${picocolors.green(dist_S)} ${picocolors.reset(n)} ${picocolors.gray(dist_N.repeat(Math.max(r - i - 1, 1)) + re)}
1280
- ${c}
1281
- ${picocolors.gray(ie + dist_N.repeat(r + 2) + ne)}
1279
+ process.stdout.write(`${picocolors.gray(dist_o)}
1280
+ ${picocolors.green(dist_C)} ${picocolors.reset(n)} ${picocolors.gray(dist_.repeat(Math.max(i - r - 1, 1)) + me)}
1281
+ ${a}
1282
+ ${picocolors.gray(de + dist_.repeat(i + 2) + pe)}
1282
1283
  `);
1283
- }, ve = (s = "")=>{
1284
- process.stdout.write(`${picocolors.gray(dist_m)} ${picocolors.red(s)}
1284
+ }, xe = (t = "")=>{
1285
+ process.stdout.write(`${picocolors.gray(dist_d)} ${picocolors.red(t)}
1285
1286
 
1286
1287
  `);
1287
- }, fe = (s = "")=>{
1288
- process.stdout.write(`${picocolors.gray(dist_a)}
1289
- ${picocolors.gray(dist_m)} ${s}
1288
+ }, Se = (t = "")=>{
1289
+ process.stdout.write(`${picocolors.gray(dist_o)}
1290
+ ${picocolors.gray(dist_d)} ${t}
1290
1291
 
1291
1292
  `);
1292
1293
  };
1294
+ picocolors.gray(dist_o);
1293
1295
  var cjs = __webpack_require__("./node_modules/.pnpm/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.js");
1294
1296
  var cjs_default = /*#__PURE__*/ __webpack_require__.n(cjs);
1295
1297
  var minimist = __webpack_require__("./node_modules/.pnpm/minimist@1.2.8/node_modules/minimist/index.js");
@@ -1532,7 +1534,7 @@ var logger = createLogger();
1532
1534
  const src_filename = (0, __WEBPACK_EXTERNAL_MODULE_node_url_e96de089__.fileURLToPath)(import.meta.url);
1533
1535
  const src_dirname = (0, __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__.dirname)(src_filename);
1534
1536
  function cancelAndExit() {
1535
- ve('Operation cancelled.');
1537
+ xe('Operation cancelled.');
1536
1538
  process.exit(0);
1537
1539
  }
1538
1540
  function checkCancel(value) {
@@ -1581,7 +1583,7 @@ async function getTools({ tools, dir, template }) {
1581
1583
  tools
1582
1584
  ];
1583
1585
  if (dir && template) return [];
1584
- return checkCancel(await pe({
1586
+ return checkCancel(await fe({
1585
1587
  message: 'Select additional tools (Use <space> to select, <enter> to continue)',
1586
1588
  options: [
1587
1589
  {
@@ -1622,7 +1624,7 @@ async function create({ name, root, templates, skipFiles, getTemplateName, mapES
1622
1624
  const pkgManager = pkgInfo ? pkgInfo.name : 'npm';
1623
1625
  const packageJsonPath = __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__["default"].join(root, 'package.json');
1624
1626
  if (!version) version = JSON.parse(await __WEBPACK_EXTERNAL_MODULE_node_fs_5ea92f0c__["default"].promises.readFile(packageJsonPath, 'utf-8')).version;
1625
- const projectName = argv.dir ?? checkCancel(await ue({
1627
+ const projectName = argv.dir ?? checkCancel(await he({
1626
1628
  message: 'Project name or path',
1627
1629
  placeholder: `${name}-project`,
1628
1630
  defaultValue: `${name}-project`,
@@ -1633,7 +1635,7 @@ async function create({ name, root, templates, skipFiles, getTemplateName, mapES
1633
1635
  const { targetDir, packageName } = formatProjectName(projectName);
1634
1636
  const distFolder = __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__["default"].isAbsolute(targetDir) ? targetDir : __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__["default"].join(cwd, targetDir);
1635
1637
  if (!argv.override && __WEBPACK_EXTERNAL_MODULE_node_fs_5ea92f0c__["default"].existsSync(distFolder) && !isEmptyDir(distFolder)) {
1636
- const option = checkCancel(await de({
1638
+ const option = checkCancel(await ve({
1637
1639
  message: `"${targetDir}" is not empty, please choose:`,
1638
1640
  options: [
1639
1641
  {
@@ -1689,12 +1691,13 @@ async function create({ name, root, templates, skipFiles, getTemplateName, mapES
1689
1691
  });
1690
1692
  }
1691
1693
  const nextSteps = [
1692
- `cd ${targetDir}`,
1693
- `${pkgManager} install`,
1694
- `${pkgManager} run dev`
1694
+ `1. ${picocolors_default().cyan(`cd ${targetDir}`)}`,
1695
+ `2. ${picocolors_default().cyan('git init')} ${picocolors_default().dim('(optional)')}`,
1696
+ `3. ${picocolors_default().cyan(`${pkgManager} install`)}`,
1697
+ `4. ${picocolors_default().cyan(`${pkgManager} run dev`)}`
1695
1698
  ];
1696
- ye(nextSteps.join('\n'), 'Next steps');
1697
- fe('Done.');
1699
+ Me(nextSteps.map((step)=>picocolors_default().reset(step)).join('\n'), 'Next steps');
1700
+ Se('All set, happy coding!');
1698
1701
  }
1699
1702
  function sortObjectKeys(obj) {
1700
1703
  const sortedKeys = Object.keys(obj).sort();
@@ -1769,4 +1772,4 @@ const updatePackageJson = (pkgJsonPath, version, name)=>{
1769
1772
  if (name && '.' !== name) pkg.name = name;
1770
1773
  __WEBPACK_EXTERNAL_MODULE_node_fs_5ea92f0c__["default"].writeFileSync(pkgJsonPath, `${JSON.stringify(pkg, null, 2)}\n`);
1771
1774
  };
1772
- export { checkCancel, copyFolder, create, mergePackageJson, pe as multiselect, de as select, ue as text };
1775
+ export { checkCancel, copyFolder, create, mergePackageJson, fe as multiselect, ve as select, he as text };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-rstack",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "Create a new Rstack project",
5
5
  "repository": {
6
6
  "type": "git",
@@ -41,18 +41,19 @@
41
41
  },
42
42
  "devDependencies": {
43
43
  "@biomejs/biome": "^1.9.4",
44
- "@clack/prompts": "^0.9.1",
45
- "@microsoft/api-extractor": "^7.49.2",
46
- "@rslib/core": "0.4.0",
44
+ "@clack/prompts": "^0.10.0",
45
+ "@microsoft/api-extractor": "^7.50.1",
46
+ "@rslib/core": "0.5.1",
47
47
  "@types/minimist": "^1.2.5",
48
- "@types/node": "22.13.0",
48
+ "@types/node": "22.13.5",
49
49
  "deepmerge": "^4.3.1",
50
50
  "minimist": "^1.2.8",
51
+ "picocolors": "^1.1.1",
51
52
  "rslog": "^1.2.3",
52
53
  "simple-git-hooks": "^2.11.1",
53
54
  "typescript": "^5.7.3"
54
55
  },
55
- "packageManager": "pnpm@9.15.4",
56
+ "packageManager": "pnpm@10.4.1",
56
57
  "publishConfig": {
57
58
  "access": "public",
58
59
  "provenance": true,
@@ -6,11 +6,11 @@
6
6
  "lint": "eslint ."
7
7
  },
8
8
  "devDependencies": {
9
- "@eslint/compat": "^1.2.6",
10
- "@eslint/js": "^9.19.0",
11
- "eslint": "^9.19.0",
9
+ "@eslint/compat": "^1.2.7",
10
+ "@eslint/js": "^9.21.0",
11
+ "eslint": "^9.21.0",
12
12
  "eslint-plugin-react": "^7.37.4",
13
13
  "eslint-plugin-react-hooks": "^5.1.0",
14
- "globals": "^15.14.0"
14
+ "globals": "^16.0.0"
15
15
  }
16
16
  }
@@ -6,12 +6,12 @@
6
6
  "lint": "eslint ."
7
7
  },
8
8
  "devDependencies": {
9
- "@eslint/compat": "^1.2.6",
10
- "@eslint/js": "^9.19.0",
11
- "eslint": "^9.19.0",
9
+ "@eslint/compat": "^1.2.7",
10
+ "@eslint/js": "^9.21.0",
11
+ "eslint": "^9.21.0",
12
12
  "eslint-plugin-react": "^7.37.4",
13
13
  "eslint-plugin-react-hooks": "^5.1.0",
14
- "globals": "^15.14.0",
15
- "typescript-eslint": "^8.22.0"
14
+ "globals": "^16.0.0",
15
+ "typescript-eslint": "^8.24.1"
16
16
  }
17
17
  }
@@ -6,9 +6,9 @@
6
6
  "lint": "eslint ."
7
7
  },
8
8
  "devDependencies": {
9
- "@eslint/js": "^9.19.0",
10
- "eslint": "^9.19.0",
9
+ "@eslint/js": "^9.21.0",
10
+ "eslint": "^9.21.0",
11
11
  "eslint-plugin-svelte": "^2.46.1",
12
- "globals": "^15.14.0"
12
+ "globals": "^16.0.0"
13
13
  }
14
14
  }
@@ -6,11 +6,11 @@
6
6
  "lint": "eslint ."
7
7
  },
8
8
  "devDependencies": {
9
- "@eslint/js": "^9.19.0",
10
- "eslint": "^9.19.0",
9
+ "@eslint/js": "^9.21.0",
10
+ "eslint": "^9.21.0",
11
11
  "eslint-plugin-svelte": "^2.46.1",
12
- "globals": "^15.14.0",
13
- "typescript-eslint": "^8.22.0"
12
+ "globals": "^16.0.0",
13
+ "typescript-eslint": "^8.24.1"
14
14
  },
15
15
  "type": "module"
16
16
  }
@@ -6,8 +6,8 @@
6
6
  "lint": "eslint ."
7
7
  },
8
8
  "devDependencies": {
9
- "@eslint/js": "^9.19.0",
10
- "eslint": "^9.19.0",
11
- "globals": "^15.14.0"
9
+ "@eslint/js": "^9.21.0",
10
+ "eslint": "^9.21.0",
11
+ "globals": "^16.0.0"
12
12
  }
13
13
  }
@@ -6,9 +6,9 @@
6
6
  "lint": "eslint ."
7
7
  },
8
8
  "devDependencies": {
9
- "@eslint/js": "^9.19.0",
10
- "eslint": "^9.19.0",
11
- "globals": "^15.14.0",
12
- "typescript-eslint": "^8.22.0"
9
+ "@eslint/js": "^9.21.0",
10
+ "eslint": "^9.21.0",
11
+ "globals": "^16.0.0",
12
+ "typescript-eslint": "^8.24.1"
13
13
  }
14
14
  }
@@ -6,9 +6,9 @@
6
6
  "lint": "eslint ."
7
7
  },
8
8
  "devDependencies": {
9
- "@eslint/js": "^9.19.0",
10
- "eslint": "^9.19.0",
9
+ "@eslint/js": "^9.21.0",
10
+ "eslint": "^9.21.0",
11
11
  "eslint-plugin-vue": "^9.32.0",
12
- "globals": "^15.14.0"
12
+ "globals": "^16.0.0"
13
13
  }
14
14
  }
@@ -6,10 +6,10 @@
6
6
  "lint": "eslint ."
7
7
  },
8
8
  "devDependencies": {
9
- "@eslint/js": "^9.19.0",
10
- "eslint": "^9.19.0",
9
+ "@eslint/js": "^9.21.0",
10
+ "eslint": "^9.21.0",
11
11
  "eslint-plugin-vue": "^9.32.0",
12
- "globals": "^15.14.0",
13
- "typescript-eslint": "^8.22.0"
12
+ "globals": "^16.0.0",
13
+ "typescript-eslint": "^8.24.1"
14
14
  }
15
15
  }
@@ -6,6 +6,6 @@
6
6
  "format": "prettier --write ."
7
7
  },
8
8
  "devDependencies": {
9
- "prettier": "^3.4.2"
9
+ "prettier": "^3.5.2"
10
10
  }
11
11
  }