create-widget 24.1.1-beta.41 → 24.1.1-beta.43

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/index.cjs CHANGED
@@ -25,9 +25,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
25
25
  mod
26
26
  ));
27
27
 
28
- // ../../../node_modules/.pnpm/color-name@1.1.4/node_modules/color-name/index.js
28
+ // node_modules/.pnpm/color-name@1.1.4/node_modules/color-name/index.js
29
29
  var require_color_name = __commonJS({
30
- "../../../node_modules/.pnpm/color-name@1.1.4/node_modules/color-name/index.js"(exports2, module2) {
30
+ "node_modules/.pnpm/color-name@1.1.4/node_modules/color-name/index.js"(exports2, module2) {
31
31
  "use strict";
32
32
  module2.exports = {
33
33
  "aliceblue": [240, 248, 255],
@@ -182,9 +182,9 @@ var require_color_name = __commonJS({
182
182
  }
183
183
  });
184
184
 
185
- // ../../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/conversions.js
185
+ // node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/conversions.js
186
186
  var require_conversions = __commonJS({
187
- "../../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/conversions.js"(exports2, module2) {
187
+ "node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/conversions.js"(exports2, module2) {
188
188
  var cssKeywords = require_color_name();
189
189
  var reverseKeywords = {};
190
190
  for (const key of Object.keys(cssKeywords)) {
@@ -853,9 +853,9 @@ var require_conversions = __commonJS({
853
853
  }
854
854
  });
855
855
 
856
- // ../../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/route.js
856
+ // node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/route.js
857
857
  var require_route = __commonJS({
858
- "../../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/route.js"(exports2, module2) {
858
+ "node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/route.js"(exports2, module2) {
859
859
  var conversions = require_conversions();
860
860
  function buildGraph() {
861
861
  const graph = {};
@@ -923,9 +923,9 @@ var require_route = __commonJS({
923
923
  }
924
924
  });
925
925
 
926
- // ../../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/index.js
926
+ // node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/index.js
927
927
  var require_color_convert = __commonJS({
928
- "../../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/index.js"(exports2, module2) {
928
+ "node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/index.js"(exports2, module2) {
929
929
  var conversions = require_conversions();
930
930
  var route = require_route();
931
931
  var convert = {};
@@ -984,9 +984,9 @@ var require_color_convert = __commonJS({
984
984
  }
985
985
  });
986
986
 
987
- // ../../../node_modules/.pnpm/ansi-styles@4.3.0/node_modules/ansi-styles/index.js
987
+ // node_modules/.pnpm/ansi-styles@4.3.0/node_modules/ansi-styles/index.js
988
988
  var require_ansi_styles = __commonJS({
989
- "../../../node_modules/.pnpm/ansi-styles@4.3.0/node_modules/ansi-styles/index.js"(exports2, module2) {
989
+ "node_modules/.pnpm/ansi-styles@4.3.0/node_modules/ansi-styles/index.js"(exports2, module2) {
990
990
  "use strict";
991
991
  var wrapAnsi16 = (fn, offset) => (...args) => {
992
992
  const code = fn(...args);
@@ -1126,9 +1126,9 @@ var require_ansi_styles = __commonJS({
1126
1126
  }
1127
1127
  });
1128
1128
 
1129
- // ../../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js
1129
+ // node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js
1130
1130
  var require_has_flag = __commonJS({
1131
- "../../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js"(exports2, module2) {
1131
+ "node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js"(exports2, module2) {
1132
1132
  "use strict";
1133
1133
  module2.exports = (flag, argv2 = process.argv) => {
1134
1134
  const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
@@ -1139,9 +1139,9 @@ var require_has_flag = __commonJS({
1139
1139
  }
1140
1140
  });
1141
1141
 
1142
- // ../../../node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js
1142
+ // node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js
1143
1143
  var require_supports_color = __commonJS({
1144
- "../../../node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js"(exports2, module2) {
1144
+ "node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js"(exports2, module2) {
1145
1145
  "use strict";
1146
1146
  var os = require("os");
1147
1147
  var tty = require("tty");
@@ -1241,9 +1241,9 @@ var require_supports_color = __commonJS({
1241
1241
  }
1242
1242
  });
1243
1243
 
1244
- // ../../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/util.js
1244
+ // node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/util.js
1245
1245
  var require_util = __commonJS({
1246
- "../../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/util.js"(exports2, module2) {
1246
+ "node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/util.js"(exports2, module2) {
1247
1247
  "use strict";
1248
1248
  var stringReplaceAll = (string, substring, replacer) => {
1249
1249
  let index = string.indexOf(substring);
@@ -1280,9 +1280,9 @@ var require_util = __commonJS({
1280
1280
  }
1281
1281
  });
1282
1282
 
1283
- // ../../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/templates.js
1283
+ // node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/templates.js
1284
1284
  var require_templates = __commonJS({
1285
- "../../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/templates.js"(exports2, module2) {
1285
+ "node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/templates.js"(exports2, module2) {
1286
1286
  "use strict";
1287
1287
  var TEMPLATE_REGEX = /(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;
1288
1288
  var STYLE_REGEX = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;
@@ -1394,9 +1394,9 @@ var require_templates = __commonJS({
1394
1394
  }
1395
1395
  });
1396
1396
 
1397
- // ../../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/index.js
1397
+ // node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/index.js
1398
1398
  var require_source = __commonJS({
1399
- "../../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/index.js"(exports2, module2) {
1399
+ "node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/index.js"(exports2, module2) {
1400
1400
  "use strict";
1401
1401
  var ansiStyles = require_ansi_styles();
1402
1402
  var { stdout: stdoutColor, stderr: stderrColor } = require_supports_color();
@@ -1572,9 +1572,9 @@ var require_source = __commonJS({
1572
1572
  }
1573
1573
  });
1574
1574
 
1575
- // ../../../node_modules/.pnpm/tinycolor2@1.6.0/node_modules/tinycolor2/cjs/tinycolor.js
1575
+ // node_modules/.pnpm/tinycolor2@1.6.0/node_modules/tinycolor2/cjs/tinycolor.js
1576
1576
  var require_tinycolor = __commonJS({
1577
- "../../../node_modules/.pnpm/tinycolor2@1.6.0/node_modules/tinycolor2/cjs/tinycolor.js"(exports2, module2) {
1577
+ "node_modules/.pnpm/tinycolor2@1.6.0/node_modules/tinycolor2/cjs/tinycolor.js"(exports2, module2) {
1578
1578
  (function(global2, factory) {
1579
1579
  typeof exports2 === "object" && typeof module2 !== "undefined" ? module2.exports = factory() : typeof define === "function" && define.amd ? define(factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, global2.tinycolor = factory());
1580
1580
  })(exports2, function() {
@@ -2563,9 +2563,9 @@ var require_tinycolor = __commonJS({
2563
2563
  }
2564
2564
  });
2565
2565
 
2566
- // ../../../node_modules/.pnpm/tinygradient@1.1.5/node_modules/tinygradient/index.js
2566
+ // node_modules/.pnpm/tinygradient@1.1.5/node_modules/tinygradient/index.js
2567
2567
  var require_tinygradient = __commonJS({
2568
- "../../../node_modules/.pnpm/tinygradient@1.1.5/node_modules/tinygradient/index.js"(exports2, module2) {
2568
+ "node_modules/.pnpm/tinygradient@1.1.5/node_modules/tinygradient/index.js"(exports2, module2) {
2569
2569
  var tinycolor = require_tinycolor();
2570
2570
  var RGBA_MAX = { r: 256, g: 256, b: 256, a: 1 };
2571
2571
  var HSVA_MAX = { h: 360, s: 1, v: 1, a: 1 };
@@ -2862,9 +2862,9 @@ var require_tinygradient = __commonJS({
2862
2862
  }
2863
2863
  });
2864
2864
 
2865
- // ../../../node_modules/.pnpm/gradient-string@2.0.2/node_modules/gradient-string/index.js
2865
+ // node_modules/.pnpm/gradient-string@2.0.2/node_modules/gradient-string/index.js
2866
2866
  var require_gradient_string = __commonJS({
2867
- "../../../node_modules/.pnpm/gradient-string@2.0.2/node_modules/gradient-string/index.js"(exports2, module2) {
2867
+ "node_modules/.pnpm/gradient-string@2.0.2/node_modules/gradient-string/index.js"(exports2, module2) {
2868
2868
  "use strict";
2869
2869
  var chalk2 = require_source();
2870
2870
  var tinygradient = require_tinygradient();
@@ -2938,9 +2938,231 @@ var require_gradient_string = __commonJS({
2938
2938
  }
2939
2939
  });
2940
2940
 
2941
- // ../../../node_modules/.pnpm/kleur@3.0.3/node_modules/kleur/index.js
2941
+ // node_modules/.pnpm/minimist@1.2.8/node_modules/minimist/index.js
2942
+ var require_minimist = __commonJS({
2943
+ "node_modules/.pnpm/minimist@1.2.8/node_modules/minimist/index.js"(exports2, module2) {
2944
+ "use strict";
2945
+ function hasKey(obj, keys) {
2946
+ var o = obj;
2947
+ keys.slice(0, -1).forEach(function(key2) {
2948
+ o = o[key2] || {};
2949
+ });
2950
+ var key = keys[keys.length - 1];
2951
+ return key in o;
2952
+ }
2953
+ function isNumber(x) {
2954
+ if (typeof x === "number") {
2955
+ return true;
2956
+ }
2957
+ if (/^0x[0-9a-f]+$/i.test(x)) {
2958
+ return true;
2959
+ }
2960
+ return /^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(x);
2961
+ }
2962
+ function isConstructorOrProto(obj, key) {
2963
+ return key === "constructor" && typeof obj[key] === "function" || key === "__proto__";
2964
+ }
2965
+ module2.exports = function(args, opts) {
2966
+ if (!opts) {
2967
+ opts = {};
2968
+ }
2969
+ var flags = {
2970
+ bools: {},
2971
+ strings: {},
2972
+ unknownFn: null
2973
+ };
2974
+ if (typeof opts.unknown === "function") {
2975
+ flags.unknownFn = opts.unknown;
2976
+ }
2977
+ if (typeof opts.boolean === "boolean" && opts.boolean) {
2978
+ flags.allBools = true;
2979
+ } else {
2980
+ [].concat(opts.boolean).filter(Boolean).forEach(function(key2) {
2981
+ flags.bools[key2] = true;
2982
+ });
2983
+ }
2984
+ var aliases = {};
2985
+ function aliasIsBoolean(key2) {
2986
+ return aliases[key2].some(function(x) {
2987
+ return flags.bools[x];
2988
+ });
2989
+ }
2990
+ Object.keys(opts.alias || {}).forEach(function(key2) {
2991
+ aliases[key2] = [].concat(opts.alias[key2]);
2992
+ aliases[key2].forEach(function(x) {
2993
+ aliases[x] = [key2].concat(aliases[key2].filter(function(y) {
2994
+ return x !== y;
2995
+ }));
2996
+ });
2997
+ });
2998
+ [].concat(opts.string).filter(Boolean).forEach(function(key2) {
2999
+ flags.strings[key2] = true;
3000
+ if (aliases[key2]) {
3001
+ [].concat(aliases[key2]).forEach(function(k) {
3002
+ flags.strings[k] = true;
3003
+ });
3004
+ }
3005
+ });
3006
+ var defaults = opts.default || {};
3007
+ var argv2 = { _: [] };
3008
+ function argDefined(key2, arg2) {
3009
+ return flags.allBools && /^--[^=]+$/.test(arg2) || flags.strings[key2] || flags.bools[key2] || aliases[key2];
3010
+ }
3011
+ function setKey(obj, keys, value2) {
3012
+ var o = obj;
3013
+ for (var i2 = 0; i2 < keys.length - 1; i2++) {
3014
+ var key2 = keys[i2];
3015
+ if (isConstructorOrProto(o, key2)) {
3016
+ return;
3017
+ }
3018
+ if (o[key2] === void 0) {
3019
+ o[key2] = {};
3020
+ }
3021
+ if (o[key2] === Object.prototype || o[key2] === Number.prototype || o[key2] === String.prototype) {
3022
+ o[key2] = {};
3023
+ }
3024
+ if (o[key2] === Array.prototype) {
3025
+ o[key2] = [];
3026
+ }
3027
+ o = o[key2];
3028
+ }
3029
+ var lastKey = keys[keys.length - 1];
3030
+ if (isConstructorOrProto(o, lastKey)) {
3031
+ return;
3032
+ }
3033
+ if (o === Object.prototype || o === Number.prototype || o === String.prototype) {
3034
+ o = {};
3035
+ }
3036
+ if (o === Array.prototype) {
3037
+ o = [];
3038
+ }
3039
+ if (o[lastKey] === void 0 || flags.bools[lastKey] || typeof o[lastKey] === "boolean") {
3040
+ o[lastKey] = value2;
3041
+ } else if (Array.isArray(o[lastKey])) {
3042
+ o[lastKey].push(value2);
3043
+ } else {
3044
+ o[lastKey] = [o[lastKey], value2];
3045
+ }
3046
+ }
3047
+ function setArg(key2, val, arg2) {
3048
+ if (arg2 && flags.unknownFn && !argDefined(key2, arg2)) {
3049
+ if (flags.unknownFn(arg2) === false) {
3050
+ return;
3051
+ }
3052
+ }
3053
+ var value2 = !flags.strings[key2] && isNumber(val) ? Number(val) : val;
3054
+ setKey(argv2, key2.split("."), value2);
3055
+ (aliases[key2] || []).forEach(function(x) {
3056
+ setKey(argv2, x.split("."), value2);
3057
+ });
3058
+ }
3059
+ Object.keys(flags.bools).forEach(function(key2) {
3060
+ setArg(key2, defaults[key2] === void 0 ? false : defaults[key2]);
3061
+ });
3062
+ var notFlags = [];
3063
+ if (args.indexOf("--") !== -1) {
3064
+ notFlags = args.slice(args.indexOf("--") + 1);
3065
+ args = args.slice(0, args.indexOf("--"));
3066
+ }
3067
+ for (var i = 0; i < args.length; i++) {
3068
+ var arg = args[i];
3069
+ var key;
3070
+ var next;
3071
+ if (/^--.+=/.test(arg)) {
3072
+ var m = arg.match(/^--([^=]+)=([\s\S]*)$/);
3073
+ key = m[1];
3074
+ var value = m[2];
3075
+ if (flags.bools[key]) {
3076
+ value = value !== "false";
3077
+ }
3078
+ setArg(key, value, arg);
3079
+ } else if (/^--no-.+/.test(arg)) {
3080
+ key = arg.match(/^--no-(.+)/)[1];
3081
+ setArg(key, false, arg);
3082
+ } else if (/^--.+/.test(arg)) {
3083
+ key = arg.match(/^--(.+)/)[1];
3084
+ next = args[i + 1];
3085
+ if (next !== void 0 && !/^(-|--)[^-]/.test(next) && !flags.bools[key] && !flags.allBools && (aliases[key] ? !aliasIsBoolean(key) : true)) {
3086
+ setArg(key, next, arg);
3087
+ i += 1;
3088
+ } else if (/^(true|false)$/.test(next)) {
3089
+ setArg(key, next === "true", arg);
3090
+ i += 1;
3091
+ } else {
3092
+ setArg(key, flags.strings[key] ? "" : true, arg);
3093
+ }
3094
+ } else if (/^-[^-]+/.test(arg)) {
3095
+ var letters = arg.slice(1, -1).split("");
3096
+ var broken = false;
3097
+ for (var j = 0; j < letters.length; j++) {
3098
+ next = arg.slice(j + 2);
3099
+ if (next === "-") {
3100
+ setArg(letters[j], next, arg);
3101
+ continue;
3102
+ }
3103
+ if (/[A-Za-z]/.test(letters[j]) && next[0] === "=") {
3104
+ setArg(letters[j], next.slice(1), arg);
3105
+ broken = true;
3106
+ break;
3107
+ }
3108
+ if (/[A-Za-z]/.test(letters[j]) && /-?\d+(\.\d*)?(e-?\d+)?$/.test(next)) {
3109
+ setArg(letters[j], next, arg);
3110
+ broken = true;
3111
+ break;
3112
+ }
3113
+ if (letters[j + 1] && letters[j + 1].match(/\W/)) {
3114
+ setArg(letters[j], arg.slice(j + 2), arg);
3115
+ broken = true;
3116
+ break;
3117
+ } else {
3118
+ setArg(letters[j], flags.strings[letters[j]] ? "" : true, arg);
3119
+ }
3120
+ }
3121
+ key = arg.slice(-1)[0];
3122
+ if (!broken && key !== "-") {
3123
+ if (args[i + 1] && !/^(-|--)[^-]/.test(args[i + 1]) && !flags.bools[key] && (aliases[key] ? !aliasIsBoolean(key) : true)) {
3124
+ setArg(key, args[i + 1], arg);
3125
+ i += 1;
3126
+ } else if (args[i + 1] && /^(true|false)$/.test(args[i + 1])) {
3127
+ setArg(key, args[i + 1] === "true", arg);
3128
+ i += 1;
3129
+ } else {
3130
+ setArg(key, flags.strings[key] ? "" : true, arg);
3131
+ }
3132
+ }
3133
+ } else {
3134
+ if (!flags.unknownFn || flags.unknownFn(arg) !== false) {
3135
+ argv2._.push(flags.strings._ || !isNumber(arg) ? arg : Number(arg));
3136
+ }
3137
+ if (opts.stopEarly) {
3138
+ argv2._.push.apply(argv2._, args.slice(i + 1));
3139
+ break;
3140
+ }
3141
+ }
3142
+ }
3143
+ Object.keys(defaults).forEach(function(k) {
3144
+ if (!hasKey(argv2, k.split("."))) {
3145
+ setKey(argv2, k.split("."), defaults[k]);
3146
+ (aliases[k] || []).forEach(function(x) {
3147
+ setKey(argv2, x.split("."), defaults[k]);
3148
+ });
3149
+ }
3150
+ });
3151
+ if (opts["--"]) {
3152
+ argv2["--"] = notFlags.slice();
3153
+ } else {
3154
+ notFlags.forEach(function(k) {
3155
+ argv2._.push(k);
3156
+ });
3157
+ }
3158
+ return argv2;
3159
+ };
3160
+ }
3161
+ });
3162
+
3163
+ // node_modules/.pnpm/kleur@3.0.3/node_modules/kleur/index.js
2942
3164
  var require_kleur = __commonJS({
2943
- "../../../node_modules/.pnpm/kleur@3.0.3/node_modules/kleur/index.js"(exports2, module2) {
3165
+ "node_modules/.pnpm/kleur@3.0.3/node_modules/kleur/index.js"(exports2, module2) {
2944
3166
  "use strict";
2945
3167
  var { FORCE_COLOR, NODE_DISABLE_COLORS, TERM } = process.env;
2946
3168
  var $ = {
@@ -3035,9 +3257,9 @@ var require_kleur = __commonJS({
3035
3257
  }
3036
3258
  });
3037
3259
 
3038
- // ../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/action.js
3260
+ // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/action.js
3039
3261
  var require_action = __commonJS({
3040
- "../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/action.js"(exports2, module2) {
3262
+ "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/action.js"(exports2, module2) {
3041
3263
  "use strict";
3042
3264
  module2.exports = (key, isSelect) => {
3043
3265
  if (key.meta && key.name !== "escape")
@@ -3095,9 +3317,9 @@ var require_action = __commonJS({
3095
3317
  }
3096
3318
  });
3097
3319
 
3098
- // ../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/strip.js
3320
+ // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/strip.js
3099
3321
  var require_strip = __commonJS({
3100
- "../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/strip.js"(exports2, module2) {
3322
+ "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/strip.js"(exports2, module2) {
3101
3323
  "use strict";
3102
3324
  module2.exports = (str) => {
3103
3325
  const pattern = [
@@ -3110,9 +3332,9 @@ var require_strip = __commonJS({
3110
3332
  }
3111
3333
  });
3112
3334
 
3113
- // ../../../node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js
3335
+ // node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js
3114
3336
  var require_src = __commonJS({
3115
- "../../../node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js"(exports2, module2) {
3337
+ "node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js"(exports2, module2) {
3116
3338
  "use strict";
3117
3339
  var ESC = "\x1B";
3118
3340
  var CSI = `${ESC}[`;
@@ -3171,9 +3393,9 @@ var require_src = __commonJS({
3171
3393
  }
3172
3394
  });
3173
3395
 
3174
- // ../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/clear.js
3396
+ // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/clear.js
3175
3397
  var require_clear = __commonJS({
3176
- "../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/clear.js"(exports2, module2) {
3398
+ "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/clear.js"(exports2, module2) {
3177
3399
  "use strict";
3178
3400
  var strip = require_strip();
3179
3401
  var { erase, cursor } = require_src();
@@ -3191,9 +3413,9 @@ var require_clear = __commonJS({
3191
3413
  }
3192
3414
  });
3193
3415
 
3194
- // ../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/figures.js
3416
+ // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/figures.js
3195
3417
  var require_figures = __commonJS({
3196
- "../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/figures.js"(exports2, module2) {
3418
+ "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/figures.js"(exports2, module2) {
3197
3419
  "use strict";
3198
3420
  var main = {
3199
3421
  arrowUp: "\u2191",
@@ -3228,9 +3450,9 @@ var require_figures = __commonJS({
3228
3450
  }
3229
3451
  });
3230
3452
 
3231
- // ../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/style.js
3453
+ // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/style.js
3232
3454
  var require_style = __commonJS({
3233
- "../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/style.js"(exports2, module2) {
3455
+ "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/style.js"(exports2, module2) {
3234
3456
  "use strict";
3235
3457
  var c = require_kleur();
3236
3458
  var figures = require_figures();
@@ -3261,9 +3483,9 @@ var require_style = __commonJS({
3261
3483
  }
3262
3484
  });
3263
3485
 
3264
- // ../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/lines.js
3486
+ // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/lines.js
3265
3487
  var require_lines = __commonJS({
3266
- "../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/lines.js"(exports2, module2) {
3488
+ "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/lines.js"(exports2, module2) {
3267
3489
  "use strict";
3268
3490
  var strip = require_strip();
3269
3491
  module2.exports = function(msg, perLine) {
@@ -3275,9 +3497,9 @@ var require_lines = __commonJS({
3275
3497
  }
3276
3498
  });
3277
3499
 
3278
- // ../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/wrap.js
3500
+ // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/wrap.js
3279
3501
  var require_wrap = __commonJS({
3280
- "../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/wrap.js"(exports2, module2) {
3502
+ "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/wrap.js"(exports2, module2) {
3281
3503
  "use strict";
3282
3504
  module2.exports = (msg, opts = {}) => {
3283
3505
  const tab = Number.isSafeInteger(parseInt(opts.margin)) ? new Array(parseInt(opts.margin)).fill(" ").join("") : opts.margin || "";
@@ -3293,9 +3515,9 @@ var require_wrap = __commonJS({
3293
3515
  }
3294
3516
  });
3295
3517
 
3296
- // ../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/entriesToDisplay.js
3518
+ // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/entriesToDisplay.js
3297
3519
  var require_entriesToDisplay = __commonJS({
3298
- "../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/entriesToDisplay.js"(exports2, module2) {
3520
+ "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/entriesToDisplay.js"(exports2, module2) {
3299
3521
  "use strict";
3300
3522
  module2.exports = (cursor, total, maxVisible) => {
3301
3523
  maxVisible = maxVisible || total;
@@ -3308,9 +3530,9 @@ var require_entriesToDisplay = __commonJS({
3308
3530
  }
3309
3531
  });
3310
3532
 
3311
- // ../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/index.js
3533
+ // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/index.js
3312
3534
  var require_util2 = __commonJS({
3313
- "../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/index.js"(exports2, module2) {
3535
+ "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/index.js"(exports2, module2) {
3314
3536
  "use strict";
3315
3537
  module2.exports = {
3316
3538
  action: require_action(),
@@ -3325,9 +3547,9 @@ var require_util2 = __commonJS({
3325
3547
  }
3326
3548
  });
3327
3549
 
3328
- // ../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/prompt.js
3550
+ // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/prompt.js
3329
3551
  var require_prompt = __commonJS({
3330
- "../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/prompt.js"(exports2, module2) {
3552
+ "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/prompt.js"(exports2, module2) {
3331
3553
  "use strict";
3332
3554
  var readline = require("readline");
3333
3555
  var { action } = require_util2();
@@ -3387,9 +3609,9 @@ var require_prompt = __commonJS({
3387
3609
  }
3388
3610
  });
3389
3611
 
3390
- // ../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/text.js
3612
+ // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/text.js
3391
3613
  var require_text = __commonJS({
3392
- "../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/text.js"(exports2, module2) {
3614
+ "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/text.js"(exports2, module2) {
3393
3615
  var color = require_kleur();
3394
3616
  var Prompt = require_prompt();
3395
3617
  var { erase, cursor } = require_src();
@@ -3574,9 +3796,9 @@ ${i ? " " : figures.pointerSmall} ${color.red().italic(l)}`, ``);
3574
3796
  }
3575
3797
  });
3576
3798
 
3577
- // ../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/select.js
3799
+ // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/select.js
3578
3800
  var require_select = __commonJS({
3579
- "../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/select.js"(exports2, module2) {
3801
+ "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/select.js"(exports2, module2) {
3580
3802
  "use strict";
3581
3803
  var color = require_kleur();
3582
3804
  var Prompt = require_prompt();
@@ -3721,9 +3943,9 @@ var require_select = __commonJS({
3721
3943
  }
3722
3944
  });
3723
3945
 
3724
- // ../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/toggle.js
3946
+ // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/toggle.js
3725
3947
  var require_toggle = __commonJS({
3726
- "../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/toggle.js"(exports2, module2) {
3948
+ "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/toggle.js"(exports2, module2) {
3727
3949
  var color = require_kleur();
3728
3950
  var Prompt = require_prompt();
3729
3951
  var { style, clear } = require_util2();
@@ -3827,9 +4049,9 @@ var require_toggle = __commonJS({
3827
4049
  }
3828
4050
  });
3829
4051
 
3830
- // ../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/datepart.js
4052
+ // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/datepart.js
3831
4053
  var require_datepart = __commonJS({
3832
- "../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/datepart.js"(exports2, module2) {
4054
+ "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/datepart.js"(exports2, module2) {
3833
4055
  "use strict";
3834
4056
  var DatePart = class _DatePart {
3835
4057
  constructor({ token, date, parts, locales }) {
@@ -3861,9 +4083,9 @@ var require_datepart = __commonJS({
3861
4083
  }
3862
4084
  });
3863
4085
 
3864
- // ../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/meridiem.js
4086
+ // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/meridiem.js
3865
4087
  var require_meridiem = __commonJS({
3866
- "../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/meridiem.js"(exports2, module2) {
4088
+ "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/meridiem.js"(exports2, module2) {
3867
4089
  "use strict";
3868
4090
  var DatePart = require_datepart();
3869
4091
  var Meridiem = class extends DatePart {
@@ -3885,9 +4107,9 @@ var require_meridiem = __commonJS({
3885
4107
  }
3886
4108
  });
3887
4109
 
3888
- // ../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/day.js
4110
+ // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/day.js
3889
4111
  var require_day = __commonJS({
3890
- "../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/day.js"(exports2, module2) {
4112
+ "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/day.js"(exports2, module2) {
3891
4113
  "use strict";
3892
4114
  var DatePart = require_datepart();
3893
4115
  var pos = (n) => {
@@ -3917,9 +4139,9 @@ var require_day = __commonJS({
3917
4139
  }
3918
4140
  });
3919
4141
 
3920
- // ../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/hours.js
4142
+ // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/hours.js
3921
4143
  var require_hours = __commonJS({
3922
- "../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/hours.js"(exports2, module2) {
4144
+ "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/hours.js"(exports2, module2) {
3923
4145
  "use strict";
3924
4146
  var DatePart = require_datepart();
3925
4147
  var Hours = class extends DatePart {
@@ -3946,9 +4168,9 @@ var require_hours = __commonJS({
3946
4168
  }
3947
4169
  });
3948
4170
 
3949
- // ../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/milliseconds.js
4171
+ // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/milliseconds.js
3950
4172
  var require_milliseconds = __commonJS({
3951
- "../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/milliseconds.js"(exports2, module2) {
4173
+ "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/milliseconds.js"(exports2, module2) {
3952
4174
  "use strict";
3953
4175
  var DatePart = require_datepart();
3954
4176
  var Milliseconds = class extends DatePart {
@@ -3972,9 +4194,9 @@ var require_milliseconds = __commonJS({
3972
4194
  }
3973
4195
  });
3974
4196
 
3975
- // ../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/minutes.js
4197
+ // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/minutes.js
3976
4198
  var require_minutes = __commonJS({
3977
- "../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/minutes.js"(exports2, module2) {
4199
+ "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/minutes.js"(exports2, module2) {
3978
4200
  "use strict";
3979
4201
  var DatePart = require_datepart();
3980
4202
  var Minutes = class extends DatePart {
@@ -3999,9 +4221,9 @@ var require_minutes = __commonJS({
3999
4221
  }
4000
4222
  });
4001
4223
 
4002
- // ../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/month.js
4224
+ // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/month.js
4003
4225
  var require_month = __commonJS({
4004
- "../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/month.js"(exports2, module2) {
4226
+ "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/month.js"(exports2, module2) {
4005
4227
  "use strict";
4006
4228
  var DatePart = require_datepart();
4007
4229
  var Month = class extends DatePart {
@@ -4028,9 +4250,9 @@ var require_month = __commonJS({
4028
4250
  }
4029
4251
  });
4030
4252
 
4031
- // ../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/seconds.js
4253
+ // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/seconds.js
4032
4254
  var require_seconds = __commonJS({
4033
- "../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/seconds.js"(exports2, module2) {
4255
+ "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/seconds.js"(exports2, module2) {
4034
4256
  "use strict";
4035
4257
  var DatePart = require_datepart();
4036
4258
  var Seconds = class extends DatePart {
@@ -4055,9 +4277,9 @@ var require_seconds = __commonJS({
4055
4277
  }
4056
4278
  });
4057
4279
 
4058
- // ../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/year.js
4280
+ // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/year.js
4059
4281
  var require_year = __commonJS({
4060
- "../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/year.js"(exports2, module2) {
4282
+ "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/year.js"(exports2, module2) {
4061
4283
  "use strict";
4062
4284
  var DatePart = require_datepart();
4063
4285
  var Year = class extends DatePart {
@@ -4082,9 +4304,9 @@ var require_year = __commonJS({
4082
4304
  }
4083
4305
  });
4084
4306
 
4085
- // ../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/index.js
4307
+ // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/index.js
4086
4308
  var require_dateparts = __commonJS({
4087
- "../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/index.js"(exports2, module2) {
4309
+ "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/index.js"(exports2, module2) {
4088
4310
  "use strict";
4089
4311
  module2.exports = {
4090
4312
  DatePart: require_datepart(),
@@ -4100,9 +4322,9 @@ var require_dateparts = __commonJS({
4100
4322
  }
4101
4323
  });
4102
4324
 
4103
- // ../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/date.js
4325
+ // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/date.js
4104
4326
  var require_date = __commonJS({
4105
- "../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/date.js"(exports2, module2) {
4327
+ "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/date.js"(exports2, module2) {
4106
4328
  "use strict";
4107
4329
  var color = require_kleur();
4108
4330
  var Prompt = require_prompt();
@@ -4286,9 +4508,9 @@ ${i ? ` ` : figures.pointerSmall} ${color.red().italic(l)}`,
4286
4508
  }
4287
4509
  });
4288
4510
 
4289
- // ../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/number.js
4511
+ // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/number.js
4290
4512
  var require_number = __commonJS({
4291
- "../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/number.js"(exports2, module2) {
4513
+ "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/number.js"(exports2, module2) {
4292
4514
  var color = require_kleur();
4293
4515
  var Prompt = require_prompt();
4294
4516
  var { cursor, erase } = require_src();
@@ -4474,9 +4696,9 @@ ${i ? ` ` : figures.pointerSmall} ${color.red().italic(l)}`, ``);
4474
4696
  }
4475
4697
  });
4476
4698
 
4477
- // ../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/multiselect.js
4699
+ // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/multiselect.js
4478
4700
  var require_multiselect = __commonJS({
4479
- "../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/multiselect.js"(exports2, module2) {
4701
+ "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/multiselect.js"(exports2, module2) {
4480
4702
  "use strict";
4481
4703
  var color = require_kleur();
4482
4704
  var { cursor } = require_src();
@@ -4702,9 +4924,9 @@ Instructions:
4702
4924
  }
4703
4925
  });
4704
4926
 
4705
- // ../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/autocomplete.js
4927
+ // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/autocomplete.js
4706
4928
  var require_autocomplete = __commonJS({
4707
- "../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/autocomplete.js"(exports2, module2) {
4929
+ "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/autocomplete.js"(exports2, module2) {
4708
4930
  "use strict";
4709
4931
  var color = require_kleur();
4710
4932
  var Prompt = require_prompt();
@@ -4928,9 +5150,9 @@ var require_autocomplete = __commonJS({
4928
5150
  }
4929
5151
  });
4930
5152
 
4931
- // ../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/autocompleteMultiselect.js
5153
+ // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/autocompleteMultiselect.js
4932
5154
  var require_autocompleteMultiselect = __commonJS({
4933
- "../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/autocompleteMultiselect.js"(exports2, module2) {
5155
+ "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/autocompleteMultiselect.js"(exports2, module2) {
4934
5156
  "use strict";
4935
5157
  var color = require_kleur();
4936
5158
  var { cursor } = require_src();
@@ -5093,9 +5315,9 @@ Filtered results for: ${this.inputValue ? this.inputValue : color.gray("Enter so
5093
5315
  }
5094
5316
  });
5095
5317
 
5096
- // ../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/confirm.js
5318
+ // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/confirm.js
5097
5319
  var require_confirm = __commonJS({
5098
- "../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/confirm.js"(exports2, module2) {
5320
+ "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/confirm.js"(exports2, module2) {
5099
5321
  var color = require_kleur();
5100
5322
  var Prompt = require_prompt();
5101
5323
  var { style, clear } = require_util2();
@@ -5168,9 +5390,9 @@ var require_confirm = __commonJS({
5168
5390
  }
5169
5391
  });
5170
5392
 
5171
- // ../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/index.js
5393
+ // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/index.js
5172
5394
  var require_elements = __commonJS({
5173
- "../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/index.js"(exports2, module2) {
5395
+ "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/index.js"(exports2, module2) {
5174
5396
  "use strict";
5175
5397
  module2.exports = {
5176
5398
  TextPrompt: require_text(),
@@ -5186,9 +5408,9 @@ var require_elements = __commonJS({
5186
5408
  }
5187
5409
  });
5188
5410
 
5189
- // ../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/prompts.js
5411
+ // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/prompts.js
5190
5412
  var require_prompts = __commonJS({
5191
- "../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/prompts.js"(exports2) {
5413
+ "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/prompts.js"(exports2) {
5192
5414
  "use strict";
5193
5415
  var $ = exports2;
5194
5416
  var el = require_elements();
@@ -5252,9 +5474,9 @@ var require_prompts = __commonJS({
5252
5474
  }
5253
5475
  });
5254
5476
 
5255
- // ../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/index.js
5477
+ // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/index.js
5256
5478
  var require_lib = __commonJS({
5257
- "../../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/index.js"(exports2, module2) {
5479
+ "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/index.js"(exports2, module2) {
5258
5480
  "use strict";
5259
5481
  var prompts2 = require_prompts();
5260
5482
  var passOn = ["suggest", "format", "onState", "validate", "onRender", "type"];
@@ -5329,231 +5551,9 @@ var require_lib = __commonJS({
5329
5551
  }
5330
5552
  });
5331
5553
 
5332
- // ../../../node_modules/.pnpm/minimist@1.2.8/node_modules/minimist/index.js
5333
- var require_minimist = __commonJS({
5334
- "../../../node_modules/.pnpm/minimist@1.2.8/node_modules/minimist/index.js"(exports2, module2) {
5335
- "use strict";
5336
- function hasKey(obj, keys) {
5337
- var o = obj;
5338
- keys.slice(0, -1).forEach(function(key2) {
5339
- o = o[key2] || {};
5340
- });
5341
- var key = keys[keys.length - 1];
5342
- return key in o;
5343
- }
5344
- function isNumber(x) {
5345
- if (typeof x === "number") {
5346
- return true;
5347
- }
5348
- if (/^0x[0-9a-f]+$/i.test(x)) {
5349
- return true;
5350
- }
5351
- return /^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(x);
5352
- }
5353
- function isConstructorOrProto(obj, key) {
5354
- return key === "constructor" && typeof obj[key] === "function" || key === "__proto__";
5355
- }
5356
- module2.exports = function(args, opts) {
5357
- if (!opts) {
5358
- opts = {};
5359
- }
5360
- var flags = {
5361
- bools: {},
5362
- strings: {},
5363
- unknownFn: null
5364
- };
5365
- if (typeof opts.unknown === "function") {
5366
- flags.unknownFn = opts.unknown;
5367
- }
5368
- if (typeof opts.boolean === "boolean" && opts.boolean) {
5369
- flags.allBools = true;
5370
- } else {
5371
- [].concat(opts.boolean).filter(Boolean).forEach(function(key2) {
5372
- flags.bools[key2] = true;
5373
- });
5374
- }
5375
- var aliases = {};
5376
- function aliasIsBoolean(key2) {
5377
- return aliases[key2].some(function(x) {
5378
- return flags.bools[x];
5379
- });
5380
- }
5381
- Object.keys(opts.alias || {}).forEach(function(key2) {
5382
- aliases[key2] = [].concat(opts.alias[key2]);
5383
- aliases[key2].forEach(function(x) {
5384
- aliases[x] = [key2].concat(aliases[key2].filter(function(y) {
5385
- return x !== y;
5386
- }));
5387
- });
5388
- });
5389
- [].concat(opts.string).filter(Boolean).forEach(function(key2) {
5390
- flags.strings[key2] = true;
5391
- if (aliases[key2]) {
5392
- [].concat(aliases[key2]).forEach(function(k) {
5393
- flags.strings[k] = true;
5394
- });
5395
- }
5396
- });
5397
- var defaults = opts.default || {};
5398
- var argv2 = { _: [] };
5399
- function argDefined(key2, arg2) {
5400
- return flags.allBools && /^--[^=]+$/.test(arg2) || flags.strings[key2] || flags.bools[key2] || aliases[key2];
5401
- }
5402
- function setKey(obj, keys, value2) {
5403
- var o = obj;
5404
- for (var i2 = 0; i2 < keys.length - 1; i2++) {
5405
- var key2 = keys[i2];
5406
- if (isConstructorOrProto(o, key2)) {
5407
- return;
5408
- }
5409
- if (o[key2] === void 0) {
5410
- o[key2] = {};
5411
- }
5412
- if (o[key2] === Object.prototype || o[key2] === Number.prototype || o[key2] === String.prototype) {
5413
- o[key2] = {};
5414
- }
5415
- if (o[key2] === Array.prototype) {
5416
- o[key2] = [];
5417
- }
5418
- o = o[key2];
5419
- }
5420
- var lastKey = keys[keys.length - 1];
5421
- if (isConstructorOrProto(o, lastKey)) {
5422
- return;
5423
- }
5424
- if (o === Object.prototype || o === Number.prototype || o === String.prototype) {
5425
- o = {};
5426
- }
5427
- if (o === Array.prototype) {
5428
- o = [];
5429
- }
5430
- if (o[lastKey] === void 0 || flags.bools[lastKey] || typeof o[lastKey] === "boolean") {
5431
- o[lastKey] = value2;
5432
- } else if (Array.isArray(o[lastKey])) {
5433
- o[lastKey].push(value2);
5434
- } else {
5435
- o[lastKey] = [o[lastKey], value2];
5436
- }
5437
- }
5438
- function setArg(key2, val, arg2) {
5439
- if (arg2 && flags.unknownFn && !argDefined(key2, arg2)) {
5440
- if (flags.unknownFn(arg2) === false) {
5441
- return;
5442
- }
5443
- }
5444
- var value2 = !flags.strings[key2] && isNumber(val) ? Number(val) : val;
5445
- setKey(argv2, key2.split("."), value2);
5446
- (aliases[key2] || []).forEach(function(x) {
5447
- setKey(argv2, x.split("."), value2);
5448
- });
5449
- }
5450
- Object.keys(flags.bools).forEach(function(key2) {
5451
- setArg(key2, defaults[key2] === void 0 ? false : defaults[key2]);
5452
- });
5453
- var notFlags = [];
5454
- if (args.indexOf("--") !== -1) {
5455
- notFlags = args.slice(args.indexOf("--") + 1);
5456
- args = args.slice(0, args.indexOf("--"));
5457
- }
5458
- for (var i = 0; i < args.length; i++) {
5459
- var arg = args[i];
5460
- var key;
5461
- var next;
5462
- if (/^--.+=/.test(arg)) {
5463
- var m = arg.match(/^--([^=]+)=([\s\S]*)$/);
5464
- key = m[1];
5465
- var value = m[2];
5466
- if (flags.bools[key]) {
5467
- value = value !== "false";
5468
- }
5469
- setArg(key, value, arg);
5470
- } else if (/^--no-.+/.test(arg)) {
5471
- key = arg.match(/^--no-(.+)/)[1];
5472
- setArg(key, false, arg);
5473
- } else if (/^--.+/.test(arg)) {
5474
- key = arg.match(/^--(.+)/)[1];
5475
- next = args[i + 1];
5476
- if (next !== void 0 && !/^(-|--)[^-]/.test(next) && !flags.bools[key] && !flags.allBools && (aliases[key] ? !aliasIsBoolean(key) : true)) {
5477
- setArg(key, next, arg);
5478
- i += 1;
5479
- } else if (/^(true|false)$/.test(next)) {
5480
- setArg(key, next === "true", arg);
5481
- i += 1;
5482
- } else {
5483
- setArg(key, flags.strings[key] ? "" : true, arg);
5484
- }
5485
- } else if (/^-[^-]+/.test(arg)) {
5486
- var letters = arg.slice(1, -1).split("");
5487
- var broken = false;
5488
- for (var j = 0; j < letters.length; j++) {
5489
- next = arg.slice(j + 2);
5490
- if (next === "-") {
5491
- setArg(letters[j], next, arg);
5492
- continue;
5493
- }
5494
- if (/[A-Za-z]/.test(letters[j]) && next[0] === "=") {
5495
- setArg(letters[j], next.slice(1), arg);
5496
- broken = true;
5497
- break;
5498
- }
5499
- if (/[A-Za-z]/.test(letters[j]) && /-?\d+(\.\d*)?(e-?\d+)?$/.test(next)) {
5500
- setArg(letters[j], next, arg);
5501
- broken = true;
5502
- break;
5503
- }
5504
- if (letters[j + 1] && letters[j + 1].match(/\W/)) {
5505
- setArg(letters[j], arg.slice(j + 2), arg);
5506
- broken = true;
5507
- break;
5508
- } else {
5509
- setArg(letters[j], flags.strings[letters[j]] ? "" : true, arg);
5510
- }
5511
- }
5512
- key = arg.slice(-1)[0];
5513
- if (!broken && key !== "-") {
5514
- if (args[i + 1] && !/^(-|--)[^-]/.test(args[i + 1]) && !flags.bools[key] && (aliases[key] ? !aliasIsBoolean(key) : true)) {
5515
- setArg(key, args[i + 1], arg);
5516
- i += 1;
5517
- } else if (args[i + 1] && /^(true|false)$/.test(args[i + 1])) {
5518
- setArg(key, args[i + 1] === "true", arg);
5519
- i += 1;
5520
- } else {
5521
- setArg(key, flags.strings[key] ? "" : true, arg);
5522
- }
5523
- }
5524
- } else {
5525
- if (!flags.unknownFn || flags.unknownFn(arg) !== false) {
5526
- argv2._.push(flags.strings._ || !isNumber(arg) ? arg : Number(arg));
5527
- }
5528
- if (opts.stopEarly) {
5529
- argv2._.push.apply(argv2._, args.slice(i + 1));
5530
- break;
5531
- }
5532
- }
5533
- }
5534
- Object.keys(defaults).forEach(function(k) {
5535
- if (!hasKey(argv2, k.split("."))) {
5536
- setKey(argv2, k.split("."), defaults[k]);
5537
- (aliases[k] || []).forEach(function(x) {
5538
- setKey(argv2, x.split("."), defaults[k]);
5539
- });
5540
- }
5541
- });
5542
- if (opts["--"]) {
5543
- argv2["--"] = notFlags.slice();
5544
- } else {
5545
- notFlags.forEach(function(k) {
5546
- argv2._.push(k);
5547
- });
5548
- }
5549
- return argv2;
5550
- };
5551
- }
5552
- });
5553
-
5554
- // ../../../node_modules/.pnpm/universalify@2.0.1/node_modules/universalify/index.js
5554
+ // node_modules/.pnpm/universalify@2.0.1/node_modules/universalify/index.js
5555
5555
  var require_universalify = __commonJS({
5556
- "../../../node_modules/.pnpm/universalify@2.0.1/node_modules/universalify/index.js"(exports2) {
5556
+ "node_modules/.pnpm/universalify@2.0.1/node_modules/universalify/index.js"(exports2) {
5557
5557
  "use strict";
5558
5558
  exports2.fromCallback = function(fn) {
5559
5559
  return Object.defineProperty(function(...args) {
@@ -5581,9 +5581,9 @@ var require_universalify = __commonJS({
5581
5581
  }
5582
5582
  });
5583
5583
 
5584
- // ../../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/polyfills.js
5584
+ // node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/polyfills.js
5585
5585
  var require_polyfills = __commonJS({
5586
- "../../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/polyfills.js"(exports2, module2) {
5586
+ "node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/polyfills.js"(exports2, module2) {
5587
5587
  var constants = require("constants");
5588
5588
  var origCwd = process.cwd;
5589
5589
  var cwd2 = null;
@@ -5897,9 +5897,9 @@ var require_polyfills = __commonJS({
5897
5897
  }
5898
5898
  });
5899
5899
 
5900
- // ../../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/legacy-streams.js
5900
+ // node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/legacy-streams.js
5901
5901
  var require_legacy_streams = __commonJS({
5902
- "../../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/legacy-streams.js"(exports2, module2) {
5902
+ "node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/legacy-streams.js"(exports2, module2) {
5903
5903
  var Stream = require("stream").Stream;
5904
5904
  module2.exports = legacy;
5905
5905
  function legacy(fs4) {
@@ -5996,9 +5996,9 @@ var require_legacy_streams = __commonJS({
5996
5996
  }
5997
5997
  });
5998
5998
 
5999
- // ../../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/clone.js
5999
+ // node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/clone.js
6000
6000
  var require_clone = __commonJS({
6001
- "../../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/clone.js"(exports2, module2) {
6001
+ "node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/clone.js"(exports2, module2) {
6002
6002
  "use strict";
6003
6003
  module2.exports = clone;
6004
6004
  var getPrototypeOf = Object.getPrototypeOf || function(obj) {
@@ -6019,9 +6019,9 @@ var require_clone = __commonJS({
6019
6019
  }
6020
6020
  });
6021
6021
 
6022
- // ../../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/graceful-fs.js
6022
+ // node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/graceful-fs.js
6023
6023
  var require_graceful_fs = __commonJS({
6024
- "../../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/graceful-fs.js"(exports2, module2) {
6024
+ "node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/graceful-fs.js"(exports2, module2) {
6025
6025
  var fs4 = require("fs");
6026
6026
  var polyfills = require_polyfills();
6027
6027
  var legacy = require_legacy_streams();
@@ -6389,9 +6389,9 @@ var require_graceful_fs = __commonJS({
6389
6389
  }
6390
6390
  });
6391
6391
 
6392
- // ../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/fs/index.js
6392
+ // node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/fs/index.js
6393
6393
  var require_fs = __commonJS({
6394
- "../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/fs/index.js"(exports2) {
6394
+ "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/fs/index.js"(exports2) {
6395
6395
  "use strict";
6396
6396
  var u = require_universalify().fromCallback;
6397
6397
  var fs4 = require_graceful_fs();
@@ -6505,9 +6505,9 @@ var require_fs = __commonJS({
6505
6505
  }
6506
6506
  });
6507
6507
 
6508
- // ../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/mkdirs/utils.js
6508
+ // node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/mkdirs/utils.js
6509
6509
  var require_utils = __commonJS({
6510
- "../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/mkdirs/utils.js"(exports2, module2) {
6510
+ "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/mkdirs/utils.js"(exports2, module2) {
6511
6511
  "use strict";
6512
6512
  var path3 = require("path");
6513
6513
  module2.exports.checkPath = function checkPath(pth) {
@@ -6523,9 +6523,9 @@ var require_utils = __commonJS({
6523
6523
  }
6524
6524
  });
6525
6525
 
6526
- // ../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/mkdirs/make-dir.js
6526
+ // node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/mkdirs/make-dir.js
6527
6527
  var require_make_dir = __commonJS({
6528
- "../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/mkdirs/make-dir.js"(exports2, module2) {
6528
+ "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/mkdirs/make-dir.js"(exports2, module2) {
6529
6529
  "use strict";
6530
6530
  var fs4 = require_fs();
6531
6531
  var { checkPath } = require_utils();
@@ -6552,9 +6552,9 @@ var require_make_dir = __commonJS({
6552
6552
  }
6553
6553
  });
6554
6554
 
6555
- // ../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/mkdirs/index.js
6555
+ // node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/mkdirs/index.js
6556
6556
  var require_mkdirs = __commonJS({
6557
- "../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/mkdirs/index.js"(exports2, module2) {
6557
+ "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/mkdirs/index.js"(exports2, module2) {
6558
6558
  "use strict";
6559
6559
  var u = require_universalify().fromPromise;
6560
6560
  var { makeDir: _makeDir, makeDirSync } = require_make_dir();
@@ -6571,9 +6571,9 @@ var require_mkdirs = __commonJS({
6571
6571
  }
6572
6572
  });
6573
6573
 
6574
- // ../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/path-exists/index.js
6574
+ // node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/path-exists/index.js
6575
6575
  var require_path_exists = __commonJS({
6576
- "../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/path-exists/index.js"(exports2, module2) {
6576
+ "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/path-exists/index.js"(exports2, module2) {
6577
6577
  "use strict";
6578
6578
  var u = require_universalify().fromPromise;
6579
6579
  var fs4 = require_fs();
@@ -6587,9 +6587,9 @@ var require_path_exists = __commonJS({
6587
6587
  }
6588
6588
  });
6589
6589
 
6590
- // ../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/util/utimes.js
6590
+ // node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/util/utimes.js
6591
6591
  var require_utimes = __commonJS({
6592
- "../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/util/utimes.js"(exports2, module2) {
6592
+ "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/util/utimes.js"(exports2, module2) {
6593
6593
  "use strict";
6594
6594
  var fs4 = require_fs();
6595
6595
  var u = require_universalify().fromPromise;
@@ -6621,9 +6621,9 @@ var require_utimes = __commonJS({
6621
6621
  }
6622
6622
  });
6623
6623
 
6624
- // ../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/util/stat.js
6624
+ // node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/util/stat.js
6625
6625
  var require_stat = __commonJS({
6626
- "../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/util/stat.js"(exports2, module2) {
6626
+ "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/util/stat.js"(exports2, module2) {
6627
6627
  "use strict";
6628
6628
  var fs4 = require_fs();
6629
6629
  var path3 = require("path");
@@ -6759,9 +6759,9 @@ var require_stat = __commonJS({
6759
6759
  }
6760
6760
  });
6761
6761
 
6762
- // ../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/copy/copy.js
6762
+ // node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/copy/copy.js
6763
6763
  var require_copy = __commonJS({
6764
- "../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/copy/copy.js"(exports2, module2) {
6764
+ "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/copy/copy.js"(exports2, module2) {
6765
6765
  "use strict";
6766
6766
  var fs4 = require_fs();
6767
6767
  var path3 = require("path");
@@ -6892,9 +6892,9 @@ var require_copy = __commonJS({
6892
6892
  }
6893
6893
  });
6894
6894
 
6895
- // ../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/copy/copy-sync.js
6895
+ // node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/copy/copy-sync.js
6896
6896
  var require_copy_sync = __commonJS({
6897
- "../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/copy/copy-sync.js"(exports2, module2) {
6897
+ "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/copy/copy-sync.js"(exports2, module2) {
6898
6898
  "use strict";
6899
6899
  var fs4 = require_graceful_fs();
6900
6900
  var path3 = require("path");
@@ -7033,9 +7033,9 @@ var require_copy_sync = __commonJS({
7033
7033
  }
7034
7034
  });
7035
7035
 
7036
- // ../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/copy/index.js
7036
+ // node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/copy/index.js
7037
7037
  var require_copy2 = __commonJS({
7038
- "../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/copy/index.js"(exports2, module2) {
7038
+ "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/copy/index.js"(exports2, module2) {
7039
7039
  "use strict";
7040
7040
  var u = require_universalify().fromPromise;
7041
7041
  module2.exports = {
@@ -7045,9 +7045,9 @@ var require_copy2 = __commonJS({
7045
7045
  }
7046
7046
  });
7047
7047
 
7048
- // ../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/remove/index.js
7048
+ // node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/remove/index.js
7049
7049
  var require_remove = __commonJS({
7050
- "../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/remove/index.js"(exports2, module2) {
7050
+ "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/remove/index.js"(exports2, module2) {
7051
7051
  "use strict";
7052
7052
  var fs4 = require_graceful_fs();
7053
7053
  var u = require_universalify().fromCallback;
@@ -7064,9 +7064,9 @@ var require_remove = __commonJS({
7064
7064
  }
7065
7065
  });
7066
7066
 
7067
- // ../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/empty/index.js
7067
+ // node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/empty/index.js
7068
7068
  var require_empty = __commonJS({
7069
- "../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/empty/index.js"(exports2, module2) {
7069
+ "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/empty/index.js"(exports2, module2) {
7070
7070
  "use strict";
7071
7071
  var u = require_universalify().fromPromise;
7072
7072
  var fs4 = require_fs();
@@ -7103,9 +7103,9 @@ var require_empty = __commonJS({
7103
7103
  }
7104
7104
  });
7105
7105
 
7106
- // ../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/ensure/file.js
7106
+ // node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/ensure/file.js
7107
7107
  var require_file = __commonJS({
7108
- "../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/ensure/file.js"(exports2, module2) {
7108
+ "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/ensure/file.js"(exports2, module2) {
7109
7109
  "use strict";
7110
7110
  var u = require_universalify().fromPromise;
7111
7111
  var path3 = require("path");
@@ -7166,9 +7166,9 @@ var require_file = __commonJS({
7166
7166
  }
7167
7167
  });
7168
7168
 
7169
- // ../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/ensure/link.js
7169
+ // node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/ensure/link.js
7170
7170
  var require_link = __commonJS({
7171
- "../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/ensure/link.js"(exports2, module2) {
7171
+ "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/ensure/link.js"(exports2, module2) {
7172
7172
  "use strict";
7173
7173
  var u = require_universalify().fromPromise;
7174
7174
  var path3 = require("path");
@@ -7226,9 +7226,9 @@ var require_link = __commonJS({
7226
7226
  }
7227
7227
  });
7228
7228
 
7229
- // ../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/ensure/symlink-paths.js
7229
+ // node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/ensure/symlink-paths.js
7230
7230
  var require_symlink_paths = __commonJS({
7231
- "../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/ensure/symlink-paths.js"(exports2, module2) {
7231
+ "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/ensure/symlink-paths.js"(exports2, module2) {
7232
7232
  "use strict";
7233
7233
  var path3 = require("path");
7234
7234
  var fs4 = require_fs();
@@ -7301,9 +7301,9 @@ var require_symlink_paths = __commonJS({
7301
7301
  }
7302
7302
  });
7303
7303
 
7304
- // ../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/ensure/symlink-type.js
7304
+ // node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/ensure/symlink-type.js
7305
7305
  var require_symlink_type = __commonJS({
7306
- "../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/ensure/symlink-type.js"(exports2, module2) {
7306
+ "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/ensure/symlink-type.js"(exports2, module2) {
7307
7307
  "use strict";
7308
7308
  var fs4 = require_fs();
7309
7309
  var u = require_universalify().fromPromise;
@@ -7336,9 +7336,9 @@ var require_symlink_type = __commonJS({
7336
7336
  }
7337
7337
  });
7338
7338
 
7339
- // ../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/ensure/symlink.js
7339
+ // node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/ensure/symlink.js
7340
7340
  var require_symlink = __commonJS({
7341
- "../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/ensure/symlink.js"(exports2, module2) {
7341
+ "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/ensure/symlink.js"(exports2, module2) {
7342
7342
  "use strict";
7343
7343
  var u = require_universalify().fromPromise;
7344
7344
  var path3 = require("path");
@@ -7400,9 +7400,9 @@ var require_symlink = __commonJS({
7400
7400
  }
7401
7401
  });
7402
7402
 
7403
- // ../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/ensure/index.js
7403
+ // node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/ensure/index.js
7404
7404
  var require_ensure = __commonJS({
7405
- "../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/ensure/index.js"(exports2, module2) {
7405
+ "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/ensure/index.js"(exports2, module2) {
7406
7406
  "use strict";
7407
7407
  var { createFile, createFileSync } = require_file();
7408
7408
  var { createLink, createLinkSync } = require_link();
@@ -7427,9 +7427,9 @@ var require_ensure = __commonJS({
7427
7427
  }
7428
7428
  });
7429
7429
 
7430
- // ../../../node_modules/.pnpm/jsonfile@6.1.0/node_modules/jsonfile/utils.js
7430
+ // node_modules/.pnpm/jsonfile@6.1.0/node_modules/jsonfile/utils.js
7431
7431
  var require_utils2 = __commonJS({
7432
- "../../../node_modules/.pnpm/jsonfile@6.1.0/node_modules/jsonfile/utils.js"(exports2, module2) {
7432
+ "node_modules/.pnpm/jsonfile@6.1.0/node_modules/jsonfile/utils.js"(exports2, module2) {
7433
7433
  function stringify(obj, { EOL = "\n", finalEOL = true, replacer = null, spaces } = {}) {
7434
7434
  const EOF = finalEOL ? EOL : "";
7435
7435
  const str = JSON.stringify(obj, replacer, spaces);
@@ -7444,9 +7444,9 @@ var require_utils2 = __commonJS({
7444
7444
  }
7445
7445
  });
7446
7446
 
7447
- // ../../../node_modules/.pnpm/jsonfile@6.1.0/node_modules/jsonfile/index.js
7447
+ // node_modules/.pnpm/jsonfile@6.1.0/node_modules/jsonfile/index.js
7448
7448
  var require_jsonfile = __commonJS({
7449
- "../../../node_modules/.pnpm/jsonfile@6.1.0/node_modules/jsonfile/index.js"(exports2, module2) {
7449
+ "node_modules/.pnpm/jsonfile@6.1.0/node_modules/jsonfile/index.js"(exports2, module2) {
7450
7450
  var _fs;
7451
7451
  try {
7452
7452
  _fs = require_graceful_fs();
@@ -7517,9 +7517,9 @@ var require_jsonfile = __commonJS({
7517
7517
  }
7518
7518
  });
7519
7519
 
7520
- // ../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/json/jsonfile.js
7520
+ // node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/json/jsonfile.js
7521
7521
  var require_jsonfile2 = __commonJS({
7522
- "../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/json/jsonfile.js"(exports2, module2) {
7522
+ "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/json/jsonfile.js"(exports2, module2) {
7523
7523
  "use strict";
7524
7524
  var jsonFile = require_jsonfile();
7525
7525
  module2.exports = {
@@ -7532,9 +7532,9 @@ var require_jsonfile2 = __commonJS({
7532
7532
  }
7533
7533
  });
7534
7534
 
7535
- // ../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/output-file/index.js
7535
+ // node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/output-file/index.js
7536
7536
  var require_output_file = __commonJS({
7537
- "../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/output-file/index.js"(exports2, module2) {
7537
+ "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/output-file/index.js"(exports2, module2) {
7538
7538
  "use strict";
7539
7539
  var u = require_universalify().fromPromise;
7540
7540
  var fs4 = require_fs();
@@ -7562,9 +7562,9 @@ var require_output_file = __commonJS({
7562
7562
  }
7563
7563
  });
7564
7564
 
7565
- // ../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/json/output-json.js
7565
+ // node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/json/output-json.js
7566
7566
  var require_output_json = __commonJS({
7567
- "../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/json/output-json.js"(exports2, module2) {
7567
+ "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/json/output-json.js"(exports2, module2) {
7568
7568
  "use strict";
7569
7569
  var { stringify } = require_utils2();
7570
7570
  var { outputFile } = require_output_file();
@@ -7576,9 +7576,9 @@ var require_output_json = __commonJS({
7576
7576
  }
7577
7577
  });
7578
7578
 
7579
- // ../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/json/output-json-sync.js
7579
+ // node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/json/output-json-sync.js
7580
7580
  var require_output_json_sync = __commonJS({
7581
- "../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/json/output-json-sync.js"(exports2, module2) {
7581
+ "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/json/output-json-sync.js"(exports2, module2) {
7582
7582
  "use strict";
7583
7583
  var { stringify } = require_utils2();
7584
7584
  var { outputFileSync } = require_output_file();
@@ -7590,9 +7590,9 @@ var require_output_json_sync = __commonJS({
7590
7590
  }
7591
7591
  });
7592
7592
 
7593
- // ../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/json/index.js
7593
+ // node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/json/index.js
7594
7594
  var require_json = __commonJS({
7595
- "../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/json/index.js"(exports2, module2) {
7595
+ "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/json/index.js"(exports2, module2) {
7596
7596
  "use strict";
7597
7597
  var u = require_universalify().fromPromise;
7598
7598
  var jsonFile = require_jsonfile2();
@@ -7608,9 +7608,9 @@ var require_json = __commonJS({
7608
7608
  }
7609
7609
  });
7610
7610
 
7611
- // ../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/move/move.js
7611
+ // node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/move/move.js
7612
7612
  var require_move = __commonJS({
7613
- "../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/move/move.js"(exports2, module2) {
7613
+ "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/move/move.js"(exports2, module2) {
7614
7614
  "use strict";
7615
7615
  var fs4 = require_fs();
7616
7616
  var path3 = require("path");
@@ -7660,9 +7660,9 @@ var require_move = __commonJS({
7660
7660
  }
7661
7661
  });
7662
7662
 
7663
- // ../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/move/move-sync.js
7663
+ // node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/move/move-sync.js
7664
7664
  var require_move_sync = __commonJS({
7665
- "../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/move/move-sync.js"(exports2, module2) {
7665
+ "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/move/move-sync.js"(exports2, module2) {
7666
7666
  "use strict";
7667
7667
  var fs4 = require_graceful_fs();
7668
7668
  var path3 = require("path");
@@ -7717,9 +7717,9 @@ var require_move_sync = __commonJS({
7717
7717
  }
7718
7718
  });
7719
7719
 
7720
- // ../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/move/index.js
7720
+ // node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/move/index.js
7721
7721
  var require_move2 = __commonJS({
7722
- "../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/move/index.js"(exports2, module2) {
7722
+ "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/move/index.js"(exports2, module2) {
7723
7723
  "use strict";
7724
7724
  var u = require_universalify().fromPromise;
7725
7725
  module2.exports = {
@@ -7729,9 +7729,9 @@ var require_move2 = __commonJS({
7729
7729
  }
7730
7730
  });
7731
7731
 
7732
- // ../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/index.js
7732
+ // node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/index.js
7733
7733
  var require_lib2 = __commonJS({
7734
- "../../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/index.js"(exports2, module2) {
7734
+ "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/index.js"(exports2, module2) {
7735
7735
  "use strict";
7736
7736
  module2.exports = {
7737
7737
  // Export promiseified graceful-fs:
@@ -7752,12 +7752,12 @@ var require_lib2 = __commonJS({
7752
7752
 
7753
7753
  // src/index.ts
7754
7754
  var import_node_fs = __toESM(require("fs"));
7755
- var process2 = __toESM(require("process"));
7756
7755
  var import_node_path = __toESM(require("path"));
7756
+ var process2 = __toESM(require("process"));
7757
+ var import_chalk = __toESM(require_source());
7757
7758
  var import_gradient_string = __toESM(require_gradient_string());
7758
- var import_prompts = __toESM(require_lib());
7759
7759
  var import_minimist = __toESM(require_minimist());
7760
- var import_chalk = __toESM(require_source());
7760
+ var import_prompts = __toESM(require_lib());
7761
7761
 
7762
7762
  // src/utils/directoryTraverse.ts
7763
7763
  var fs = __toESM(require("fs"));
@@ -7777,18 +7777,6 @@ function postOrderDirectoryTraverse(dir, dirCallback, fileCallback) {
7777
7777
  }
7778
7778
  }
7779
7779
 
7780
- // src/utils/getCommand.ts
7781
- function getCommand(packageManager, scriptName, args) {
7782
- if (scriptName === "install") {
7783
- return packageManager === "yarn" ? "yarn" : `${packageManager} install`;
7784
- }
7785
- if (args) {
7786
- return packageManager === "npm" ? `npm run ${scriptName} -- ${args}` : `${packageManager} ${scriptName} ${args}`;
7787
- } else {
7788
- return packageManager === "npm" ? `npm run ${scriptName}` : `${packageManager} ${scriptName}`;
7789
- }
7790
- }
7791
-
7792
7780
  // src/utils/FileUtils.ts
7793
7781
  var fs2 = __toESM(require("fs"));
7794
7782
  var import_fs_extra = __toESM(require_lib2());
@@ -7813,6 +7801,18 @@ var FileUtils = class {
7813
7801
  }
7814
7802
  };
7815
7803
 
7804
+ // src/utils/getCommand.ts
7805
+ function getCommand(packageManager, scriptName, args) {
7806
+ if (scriptName === "install") {
7807
+ return packageManager === "yarn" ? "yarn" : `${packageManager} install`;
7808
+ }
7809
+ if (args) {
7810
+ return packageManager === "npm" ? `npm run ${scriptName} -- ${args}` : `${packageManager} ${scriptName} ${args}`;
7811
+ } else {
7812
+ return packageManager === "npm" ? `npm run ${scriptName}` : `${packageManager} ${scriptName}`;
7813
+ }
7814
+ }
7815
+
7816
7816
  // src/index.ts
7817
7817
  function canSkipEmptying(dir) {
7818
7818
  if (!import_node_fs.default.existsSync(dir)) {
@@ -7865,6 +7865,7 @@ async function init() {
7865
7865
  const unocss = argv2.unocss;
7866
7866
  const vueuse = argv2.vueuse;
7867
7867
  const iconpark = argv2.iconpark;
7868
+ const githubPage = argv2.githubPage;
7868
7869
  const cwd2 = process2.cwd();
7869
7870
  let result = {};
7870
7871
  result = await (0, import_prompts.default)(
@@ -7904,6 +7905,13 @@ async function init() {
7904
7905
  message: () => {
7905
7906
  return `Use IconPark (2000+ high-quality icons)?`;
7906
7907
  }
7908
+ },
7909
+ {
7910
+ name: "useGithubPage",
7911
+ type: () => githubPage ? null : "confirm",
7912
+ message: () => {
7913
+ return `Use GitHub Page to deploy your project?`;
7914
+ }
7907
7915
  }
7908
7916
  ],
7909
7917
  {
@@ -7917,7 +7925,8 @@ async function init() {
7917
7925
  shouldOverwrite = argv2.force,
7918
7926
  useVueUse = argv2.vueuse,
7919
7927
  useUnoCss = argv2.unocss,
7920
- useIconPark = argv2.iconpark
7928
+ useIconPark = argv2.iconpark,
7929
+ useGithubPage = argv2.githubPage
7921
7930
  } = result;
7922
7931
  const root = import_node_path.default.join(cwd2, targetDir);
7923
7932
  if (import_node_fs.default.existsSync(root) && shouldOverwrite) {
@@ -7943,6 +7952,10 @@ Scaffolding project in ${root}...`);
7943
7952
  packageJson.dependencies["@icon-park/vue-next"] = "latest";
7944
7953
  }
7945
7954
  import_node_fs.default.writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2));
7955
+ if (useGithubPage) {
7956
+ const githubPageTemplateRoot = import_node_path.default.join(__dirname, "./github-page");
7957
+ await FileUtils.copyFolderRecursive(githubPageTemplateRoot, root);
7958
+ }
7946
7959
  const userAgent = process2.env.npm_config_user_agent ?? "";
7947
7960
  const packageManager = /pnpm/.test(userAgent) ? "pnpm" : /yarn/.test(userAgent) ? "yarn" : "npm";
7948
7961
  console.log(`