@skirtle/create-vue-lib 0.0.1 → 0.0.3

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.
Files changed (37) hide show
  1. package/dist/index.cjs +197 -160
  2. package/dist/template/base/config/{.editorconfig → .editorconfig.ejs} +6 -0
  3. package/dist/template/base/config/.gitignore.ejs +32 -0
  4. package/dist/template/base/config/.vscode/extensions.json.ejs +12 -0
  5. package/dist/template/base/config/.vscode/settings.json.ejs +13 -0
  6. package/dist/template/base/config/LICENSE +0 -0
  7. package/dist/template/base/config/package.json.ejs +31 -16
  8. package/dist/template/base/config/packages/@projectName@/package.json.ejs +78 -0
  9. package/dist/template/base/config/packages/@projectName@/src/global.d.ts.ejs +4 -0
  10. package/dist/template/base/config/packages/@projectName@/{tsconfig.app.json → tsconfig.app.json.ejs} +3 -1
  11. package/dist/template/base/config/packages/@projectName@/{tsconfig.json → tsconfig.json.ejs} +2 -0
  12. package/dist/template/base/config/packages/@projectName@/tsconfig.node.json +1 -1
  13. package/dist/template/base/config/packages/@projectName@/{vite.config.mts → vite.config.mts.ejs} +29 -5
  14. package/dist/template/base/config/pnpm-workspace.yaml.ejs +12 -0
  15. package/dist/template/base/examples/packages/@projectName@/src/components/{ExampleComponent.vue → ExampleComponent.vue.ejs} +3 -0
  16. package/dist/template/eslint/config/eslint.config.mts.ejs +4 -0
  17. package/dist/template/eslint/config/tsconfig.json +10 -0
  18. package/dist/template/gh-pages/config/.github/workflows/{pages.yml → pages.yml.ejs} +1 -1
  19. package/dist/template/playground/config/packages/playground/package.json +7 -7
  20. package/dist/template/playground/config/packages/playground/tsconfig.app.json.ejs +13 -0
  21. package/dist/template/playground/config/packages/playground/tsconfig.node.json +1 -1
  22. package/dist/template/playground/config/packages/playground/vite.config.mts.ejs +46 -0
  23. package/dist/template/vitepress/config/packages/docs/.vitepress/config.mts.ejs +30 -5
  24. package/dist/template/vitepress/config/packages/docs/package.json +6 -7
  25. package/dist/template/vitepress/config/packages/docs/{tsconfig.app.json → tsconfig.app.json.ejs} +4 -2
  26. package/dist/template/vitepress/config/packages/docs/tsconfig.node.json +0 -1
  27. package/dist/template/{base → vitest}/config/packages/@projectName@/tsconfig.vitest.json +1 -1
  28. package/package.json +6 -9
  29. package/LICENSE +0 -21
  30. package/dist/template/base/config/packages/@projectName@/README.md.ejs +0 -5
  31. package/dist/template/base/config/packages/@projectName@/package.json +0 -68
  32. package/dist/template/base/config/packages/@projectName@/src/global.d.ts +0 -1
  33. package/dist/template/base/config/pnpm-workspace.yaml +0 -2
  34. package/dist/template/base/config/tsconfig.json +0 -4
  35. package/dist/template/playground/config/packages/playground/tsconfig.app.json +0 -11
  36. package/dist/template/playground/config/packages/playground/vite.config.mts +0 -22
  37. /package/dist/template/{base → vitest}/examples/packages/@projectName@/src/components/__tests__/MyPanel.spec.ts +0 -0
package/dist/index.cjs CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env node
2
+ "use strict";
2
3
  var __create = Object.create;
3
4
  var __defProp = Object.defineProperty;
4
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -25,9 +26,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
25
26
  mod
26
27
  ));
27
28
 
28
- // node_modules/.pnpm/kleur@3.0.3/node_modules/kleur/index.js
29
+ // ../../node_modules/.pnpm/kleur@3.0.3/node_modules/kleur/index.js
29
30
  var require_kleur = __commonJS({
30
- "node_modules/.pnpm/kleur@3.0.3/node_modules/kleur/index.js"(exports2, module2) {
31
+ "../../node_modules/.pnpm/kleur@3.0.3/node_modules/kleur/index.js"(exports2, module2) {
31
32
  "use strict";
32
33
  var { FORCE_COLOR, NODE_DISABLE_COLORS, TERM } = process.env;
33
34
  var $ = {
@@ -122,9 +123,9 @@ var require_kleur = __commonJS({
122
123
  }
123
124
  });
124
125
 
125
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/action.js
126
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/action.js
126
127
  var require_action = __commonJS({
127
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/action.js"(exports2, module2) {
128
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/action.js"(exports2, module2) {
128
129
  "use strict";
129
130
  module2.exports = (key, isSelect) => {
130
131
  if (key.meta && key.name !== "escape") return;
@@ -159,9 +160,9 @@ var require_action = __commonJS({
159
160
  }
160
161
  });
161
162
 
162
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/strip.js
163
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/strip.js
163
164
  var require_strip = __commonJS({
164
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/strip.js"(exports2, module2) {
165
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/strip.js"(exports2, module2) {
165
166
  "use strict";
166
167
  module2.exports = (str) => {
167
168
  const pattern = ["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))"].join("|");
@@ -171,9 +172,9 @@ var require_strip = __commonJS({
171
172
  }
172
173
  });
173
174
 
174
- // node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js
175
+ // ../../node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js
175
176
  var require_src = __commonJS({
176
- "node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js"(exports2, module2) {
177
+ "../../node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js"(exports2, module2) {
177
178
  "use strict";
178
179
  var ESC = "\x1B";
179
180
  var CSI = `${ESC}[`;
@@ -227,9 +228,9 @@ var require_src = __commonJS({
227
228
  }
228
229
  });
229
230
 
230
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/clear.js
231
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/clear.js
231
232
  var require_clear = __commonJS({
232
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/clear.js"(exports2, module2) {
233
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/clear.js"(exports2, module2) {
233
234
  "use strict";
234
235
  function _createForOfIteratorHelper(o, allowArrayLike) {
235
236
  var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
@@ -304,9 +305,9 @@ var require_clear = __commonJS({
304
305
  }
305
306
  });
306
307
 
307
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/figures.js
308
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/figures.js
308
309
  var require_figures = __commonJS({
309
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/figures.js"(exports2, module2) {
310
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/figures.js"(exports2, module2) {
310
311
  "use strict";
311
312
  var main = {
312
313
  arrowUp: "\u2191",
@@ -341,9 +342,9 @@ var require_figures = __commonJS({
341
342
  }
342
343
  });
343
344
 
344
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/style.js
345
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/style.js
345
346
  var require_style = __commonJS({
346
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/style.js"(exports2, module2) {
347
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/style.js"(exports2, module2) {
347
348
  "use strict";
348
349
  var c = require_kleur();
349
350
  var figures = require_figures();
@@ -386,9 +387,9 @@ var require_style = __commonJS({
386
387
  }
387
388
  });
388
389
 
389
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/lines.js
390
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/lines.js
390
391
  var require_lines = __commonJS({
391
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/lines.js"(exports2, module2) {
392
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/lines.js"(exports2, module2) {
392
393
  "use strict";
393
394
  var strip = require_strip();
394
395
  module2.exports = function(msg, perLine) {
@@ -399,9 +400,9 @@ var require_lines = __commonJS({
399
400
  }
400
401
  });
401
402
 
402
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/wrap.js
403
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/wrap.js
403
404
  var require_wrap = __commonJS({
404
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/wrap.js"(exports2, module2) {
405
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/wrap.js"(exports2, module2) {
405
406
  "use strict";
406
407
  module2.exports = (msg, opts = {}) => {
407
408
  const tab = Number.isSafeInteger(parseInt(opts.margin)) ? new Array(parseInt(opts.margin)).fill(" ").join("") : opts.margin || "";
@@ -415,9 +416,9 @@ var require_wrap = __commonJS({
415
416
  }
416
417
  });
417
418
 
418
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/entriesToDisplay.js
419
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/entriesToDisplay.js
419
420
  var require_entriesToDisplay = __commonJS({
420
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/entriesToDisplay.js"(exports2, module2) {
421
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/entriesToDisplay.js"(exports2, module2) {
421
422
  "use strict";
422
423
  module2.exports = (cursor, total, maxVisible) => {
423
424
  maxVisible = maxVisible || total;
@@ -432,9 +433,9 @@ var require_entriesToDisplay = __commonJS({
432
433
  }
433
434
  });
434
435
 
435
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/index.js
436
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/index.js
436
437
  var require_util = __commonJS({
437
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/index.js"(exports2, module2) {
438
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/index.js"(exports2, module2) {
438
439
  "use strict";
439
440
  module2.exports = {
440
441
  action: require_action(),
@@ -449,9 +450,9 @@ var require_util = __commonJS({
449
450
  }
450
451
  });
451
452
 
452
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/prompt.js
453
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/prompt.js
453
454
  var require_prompt = __commonJS({
454
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/prompt.js"(exports2, module2) {
455
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/prompt.js"(exports2, module2) {
455
456
  "use strict";
456
457
  var readline = require("readline");
457
458
  var _require = require_util();
@@ -514,9 +515,9 @@ var require_prompt = __commonJS({
514
515
  }
515
516
  });
516
517
 
517
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/text.js
518
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/text.js
518
519
  var require_text = __commonJS({
519
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/text.js"(exports2, module2) {
520
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/text.js"(exports2, module2) {
520
521
  "use strict";
521
522
  function asyncGeneratorStep(gen, resolve2, reject, _next, _throw, key, arg) {
522
523
  try {
@@ -730,9 +731,9 @@ ${i ? " " : figures.pointerSmall} ${color.red().italic(l)}`, ``);
730
731
  }
731
732
  });
732
733
 
733
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/select.js
734
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/select.js
734
735
  var require_select = __commonJS({
735
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/select.js"(exports2, module2) {
736
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/select.js"(exports2, module2) {
736
737
  "use strict";
737
738
  var color = require_kleur();
738
739
  var Prompt = require_prompt();
@@ -878,9 +879,9 @@ var require_select = __commonJS({
878
879
  }
879
880
  });
880
881
 
881
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/toggle.js
882
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/toggle.js
882
883
  var require_toggle = __commonJS({
883
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/toggle.js"(exports2, module2) {
884
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/toggle.js"(exports2, module2) {
884
885
  "use strict";
885
886
  var color = require_kleur();
886
887
  var Prompt = require_prompt();
@@ -976,9 +977,9 @@ var require_toggle = __commonJS({
976
977
  }
977
978
  });
978
979
 
979
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/datepart.js
980
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/datepart.js
980
981
  var require_datepart = __commonJS({
981
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/datepart.js"(exports2, module2) {
982
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/datepart.js"(exports2, module2) {
982
983
  "use strict";
983
984
  var DatePart = class _DatePart {
984
985
  constructor({
@@ -1015,9 +1016,9 @@ var require_datepart = __commonJS({
1015
1016
  }
1016
1017
  });
1017
1018
 
1018
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/meridiem.js
1019
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/meridiem.js
1019
1020
  var require_meridiem = __commonJS({
1020
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/meridiem.js"(exports2, module2) {
1021
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/meridiem.js"(exports2, module2) {
1021
1022
  "use strict";
1022
1023
  var DatePart = require_datepart();
1023
1024
  var Meridiem = class extends DatePart {
@@ -1039,9 +1040,9 @@ var require_meridiem = __commonJS({
1039
1040
  }
1040
1041
  });
1041
1042
 
1042
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/day.js
1043
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/day.js
1043
1044
  var require_day = __commonJS({
1044
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/day.js"(exports2, module2) {
1045
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/day.js"(exports2, module2) {
1045
1046
  "use strict";
1046
1047
  var DatePart = require_datepart();
1047
1048
  var pos = (n) => {
@@ -1071,9 +1072,9 @@ var require_day = __commonJS({
1071
1072
  }
1072
1073
  });
1073
1074
 
1074
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/hours.js
1075
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/hours.js
1075
1076
  var require_hours = __commonJS({
1076
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/hours.js"(exports2, module2) {
1077
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/hours.js"(exports2, module2) {
1077
1078
  "use strict";
1078
1079
  var DatePart = require_datepart();
1079
1080
  var Hours = class extends DatePart {
@@ -1099,9 +1100,9 @@ var require_hours = __commonJS({
1099
1100
  }
1100
1101
  });
1101
1102
 
1102
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/milliseconds.js
1103
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/milliseconds.js
1103
1104
  var require_milliseconds = __commonJS({
1104
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/milliseconds.js"(exports2, module2) {
1105
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/milliseconds.js"(exports2, module2) {
1105
1106
  "use strict";
1106
1107
  var DatePart = require_datepart();
1107
1108
  var Milliseconds = class extends DatePart {
@@ -1125,9 +1126,9 @@ var require_milliseconds = __commonJS({
1125
1126
  }
1126
1127
  });
1127
1128
 
1128
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/minutes.js
1129
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/minutes.js
1129
1130
  var require_minutes = __commonJS({
1130
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/minutes.js"(exports2, module2) {
1131
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/minutes.js"(exports2, module2) {
1131
1132
  "use strict";
1132
1133
  var DatePart = require_datepart();
1133
1134
  var Minutes = class extends DatePart {
@@ -1152,9 +1153,9 @@ var require_minutes = __commonJS({
1152
1153
  }
1153
1154
  });
1154
1155
 
1155
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/month.js
1156
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/month.js
1156
1157
  var require_month = __commonJS({
1157
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/month.js"(exports2, module2) {
1158
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/month.js"(exports2, module2) {
1158
1159
  "use strict";
1159
1160
  var DatePart = require_datepart();
1160
1161
  var Month = class extends DatePart {
@@ -1181,9 +1182,9 @@ var require_month = __commonJS({
1181
1182
  }
1182
1183
  });
1183
1184
 
1184
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/seconds.js
1185
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/seconds.js
1185
1186
  var require_seconds = __commonJS({
1186
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/seconds.js"(exports2, module2) {
1187
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/seconds.js"(exports2, module2) {
1187
1188
  "use strict";
1188
1189
  var DatePart = require_datepart();
1189
1190
  var Seconds = class extends DatePart {
@@ -1208,9 +1209,9 @@ var require_seconds = __commonJS({
1208
1209
  }
1209
1210
  });
1210
1211
 
1211
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/year.js
1212
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/year.js
1212
1213
  var require_year = __commonJS({
1213
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/year.js"(exports2, module2) {
1214
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/year.js"(exports2, module2) {
1214
1215
  "use strict";
1215
1216
  var DatePart = require_datepart();
1216
1217
  var Year = class extends DatePart {
@@ -1235,9 +1236,9 @@ var require_year = __commonJS({
1235
1236
  }
1236
1237
  });
1237
1238
 
1238
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/index.js
1239
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/index.js
1239
1240
  var require_dateparts = __commonJS({
1240
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/index.js"(exports2, module2) {
1241
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/dateparts/index.js"(exports2, module2) {
1241
1242
  "use strict";
1242
1243
  module2.exports = {
1243
1244
  DatePart: require_datepart(),
@@ -1253,9 +1254,9 @@ var require_dateparts = __commonJS({
1253
1254
  }
1254
1255
  });
1255
1256
 
1256
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/date.js
1257
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/date.js
1257
1258
  var require_date = __commonJS({
1258
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/date.js"(exports2, module2) {
1259
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/date.js"(exports2, module2) {
1259
1260
  "use strict";
1260
1261
  function asyncGeneratorStep(gen, resolve2, reject, _next, _throw, key, arg) {
1261
1262
  try {
@@ -1479,9 +1480,9 @@ ${i ? ` ` : figures.pointerSmall} ${color.red().italic(l)}`, ``);
1479
1480
  }
1480
1481
  });
1481
1482
 
1482
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/number.js
1483
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/number.js
1483
1484
  var require_number = __commonJS({
1484
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/number.js"(exports2, module2) {
1485
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/number.js"(exports2, module2) {
1485
1486
  "use strict";
1486
1487
  function asyncGeneratorStep(gen, resolve2, reject, _next, _throw, key, arg) {
1487
1488
  try {
@@ -1694,9 +1695,9 @@ ${i ? ` ` : figures.pointerSmall} ${color.red().italic(l)}`, ``);
1694
1695
  }
1695
1696
  });
1696
1697
 
1697
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/multiselect.js
1698
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/multiselect.js
1698
1699
  var require_multiselect = __commonJS({
1699
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/multiselect.js"(exports2, module2) {
1700
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/multiselect.js"(exports2, module2) {
1700
1701
  "use strict";
1701
1702
  var color = require_kleur();
1702
1703
  var _require = require_src();
@@ -1925,9 +1926,9 @@ Instructions:
1925
1926
  }
1926
1927
  });
1927
1928
 
1928
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/autocomplete.js
1929
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/autocomplete.js
1929
1930
  var require_autocomplete = __commonJS({
1930
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/autocomplete.js"(exports2, module2) {
1931
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/autocomplete.js"(exports2, module2) {
1931
1932
  "use strict";
1932
1933
  function asyncGeneratorStep(gen, resolve2, reject, _next, _throw, key, arg) {
1933
1934
  try {
@@ -2180,9 +2181,9 @@ var require_autocomplete = __commonJS({
2180
2181
  }
2181
2182
  });
2182
2183
 
2183
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/autocompleteMultiselect.js
2184
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/autocompleteMultiselect.js
2184
2185
  var require_autocompleteMultiselect = __commonJS({
2185
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/autocompleteMultiselect.js"(exports2, module2) {
2186
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/autocompleteMultiselect.js"(exports2, module2) {
2186
2187
  "use strict";
2187
2188
  var color = require_kleur();
2188
2189
  var _require = require_src();
@@ -2339,9 +2340,9 @@ Filtered results for: ${this.inputValue ? this.inputValue : color.gray("Enter so
2339
2340
  }
2340
2341
  });
2341
2342
 
2342
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/confirm.js
2343
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/confirm.js
2343
2344
  var require_confirm = __commonJS({
2344
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/confirm.js"(exports2, module2) {
2345
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/confirm.js"(exports2, module2) {
2345
2346
  "use strict";
2346
2347
  var color = require_kleur();
2347
2348
  var Prompt = require_prompt();
@@ -2411,9 +2412,9 @@ var require_confirm = __commonJS({
2411
2412
  }
2412
2413
  });
2413
2414
 
2414
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/index.js
2415
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/index.js
2415
2416
  var require_elements = __commonJS({
2416
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/index.js"(exports2, module2) {
2417
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/elements/index.js"(exports2, module2) {
2417
2418
  "use strict";
2418
2419
  module2.exports = {
2419
2420
  TextPrompt: require_text(),
@@ -2429,9 +2430,9 @@ var require_elements = __commonJS({
2429
2430
  }
2430
2431
  });
2431
2432
 
2432
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/prompts.js
2433
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/prompts.js
2433
2434
  var require_prompts = __commonJS({
2434
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/prompts.js"(exports2) {
2435
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/prompts.js"(exports2) {
2435
2436
  "use strict";
2436
2437
  var $ = exports2;
2437
2438
  var el = require_elements();
@@ -2493,9 +2494,9 @@ var require_prompts = __commonJS({
2493
2494
  }
2494
2495
  });
2495
2496
 
2496
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/index.js
2497
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/index.js
2497
2498
  var require_dist = __commonJS({
2498
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/index.js"(exports2, module2) {
2499
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/index.js"(exports2, module2) {
2499
2500
  "use strict";
2500
2501
  function ownKeys(object, enumerableOnly) {
2501
2502
  var keys = Object.keys(object);
@@ -2713,9 +2714,9 @@ var require_dist = __commonJS({
2713
2714
  }
2714
2715
  });
2715
2716
 
2716
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/action.js
2717
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/action.js
2717
2718
  var require_action2 = __commonJS({
2718
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/action.js"(exports2, module2) {
2719
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/action.js"(exports2, module2) {
2719
2720
  "use strict";
2720
2721
  module2.exports = (key, isSelect) => {
2721
2722
  if (key.meta && key.name !== "escape") return;
@@ -2750,9 +2751,9 @@ var require_action2 = __commonJS({
2750
2751
  }
2751
2752
  });
2752
2753
 
2753
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/strip.js
2754
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/strip.js
2754
2755
  var require_strip2 = __commonJS({
2755
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/strip.js"(exports2, module2) {
2756
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/strip.js"(exports2, module2) {
2756
2757
  "use strict";
2757
2758
  module2.exports = (str) => {
2758
2759
  const pattern = [
@@ -2765,9 +2766,9 @@ var require_strip2 = __commonJS({
2765
2766
  }
2766
2767
  });
2767
2768
 
2768
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/clear.js
2769
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/clear.js
2769
2770
  var require_clear2 = __commonJS({
2770
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/clear.js"(exports2, module2) {
2771
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/clear.js"(exports2, module2) {
2771
2772
  "use strict";
2772
2773
  var strip = require_strip2();
2773
2774
  var { erase, cursor } = require_src();
@@ -2784,9 +2785,9 @@ var require_clear2 = __commonJS({
2784
2785
  }
2785
2786
  });
2786
2787
 
2787
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/figures.js
2788
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/figures.js
2788
2789
  var require_figures2 = __commonJS({
2789
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/figures.js"(exports2, module2) {
2790
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/figures.js"(exports2, module2) {
2790
2791
  "use strict";
2791
2792
  var main = {
2792
2793
  arrowUp: "\u2191",
@@ -2821,9 +2822,9 @@ var require_figures2 = __commonJS({
2821
2822
  }
2822
2823
  });
2823
2824
 
2824
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/style.js
2825
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/style.js
2825
2826
  var require_style2 = __commonJS({
2826
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/style.js"(exports2, module2) {
2827
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/style.js"(exports2, module2) {
2827
2828
  "use strict";
2828
2829
  var c = require_kleur();
2829
2830
  var figures = require_figures2();
@@ -2854,9 +2855,9 @@ var require_style2 = __commonJS({
2854
2855
  }
2855
2856
  });
2856
2857
 
2857
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/lines.js
2858
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/lines.js
2858
2859
  var require_lines2 = __commonJS({
2859
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/lines.js"(exports2, module2) {
2860
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/lines.js"(exports2, module2) {
2860
2861
  "use strict";
2861
2862
  var strip = require_strip2();
2862
2863
  module2.exports = function(msg, perLine) {
@@ -2867,9 +2868,9 @@ var require_lines2 = __commonJS({
2867
2868
  }
2868
2869
  });
2869
2870
 
2870
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/wrap.js
2871
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/wrap.js
2871
2872
  var require_wrap2 = __commonJS({
2872
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/wrap.js"(exports2, module2) {
2873
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/wrap.js"(exports2, module2) {
2873
2874
  "use strict";
2874
2875
  module2.exports = (msg, opts = {}) => {
2875
2876
  const tab = Number.isSafeInteger(parseInt(opts.margin)) ? new Array(parseInt(opts.margin)).fill(" ").join("") : opts.margin || "";
@@ -2884,9 +2885,9 @@ var require_wrap2 = __commonJS({
2884
2885
  }
2885
2886
  });
2886
2887
 
2887
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/entriesToDisplay.js
2888
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/entriesToDisplay.js
2888
2889
  var require_entriesToDisplay2 = __commonJS({
2889
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/entriesToDisplay.js"(exports2, module2) {
2890
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/entriesToDisplay.js"(exports2, module2) {
2890
2891
  "use strict";
2891
2892
  module2.exports = (cursor, total, maxVisible) => {
2892
2893
  maxVisible = maxVisible || total;
@@ -2898,9 +2899,9 @@ var require_entriesToDisplay2 = __commonJS({
2898
2899
  }
2899
2900
  });
2900
2901
 
2901
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/index.js
2902
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/index.js
2902
2903
  var require_util2 = __commonJS({
2903
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/index.js"(exports2, module2) {
2904
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/util/index.js"(exports2, module2) {
2904
2905
  "use strict";
2905
2906
  module2.exports = {
2906
2907
  action: require_action2(),
@@ -2915,9 +2916,9 @@ var require_util2 = __commonJS({
2915
2916
  }
2916
2917
  });
2917
2918
 
2918
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/prompt.js
2919
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/prompt.js
2919
2920
  var require_prompt2 = __commonJS({
2920
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/prompt.js"(exports2, module2) {
2921
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/prompt.js"(exports2, module2) {
2921
2922
  "use strict";
2922
2923
  var readline = require("readline");
2923
2924
  var { action } = require_util2();
@@ -2974,9 +2975,10 @@ var require_prompt2 = __commonJS({
2974
2975
  }
2975
2976
  });
2976
2977
 
2977
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/text.js
2978
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/text.js
2978
2979
  var require_text2 = __commonJS({
2979
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/text.js"(exports2, module2) {
2980
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/text.js"(exports2, module2) {
2981
+ "use strict";
2980
2982
  var color = require_kleur();
2981
2983
  var Prompt = require_prompt2();
2982
2984
  var { erase, cursor } = require_src();
@@ -3154,9 +3156,9 @@ ${i ? " " : figures.pointerSmall} ${color.red().italic(l)}`, ``);
3154
3156
  }
3155
3157
  });
3156
3158
 
3157
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/select.js
3159
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/select.js
3158
3160
  var require_select2 = __commonJS({
3159
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/select.js"(exports2, module2) {
3161
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/select.js"(exports2, module2) {
3160
3162
  "use strict";
3161
3163
  var color = require_kleur();
3162
3164
  var Prompt = require_prompt2();
@@ -3297,9 +3299,10 @@ var require_select2 = __commonJS({
3297
3299
  }
3298
3300
  });
3299
3301
 
3300
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/toggle.js
3302
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/toggle.js
3301
3303
  var require_toggle2 = __commonJS({
3302
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/toggle.js"(exports2, module2) {
3304
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/toggle.js"(exports2, module2) {
3305
+ "use strict";
3303
3306
  var color = require_kleur();
3304
3307
  var Prompt = require_prompt2();
3305
3308
  var { style, clear } = require_util2();
@@ -3397,9 +3400,9 @@ var require_toggle2 = __commonJS({
3397
3400
  }
3398
3401
  });
3399
3402
 
3400
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/datepart.js
3403
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/datepart.js
3401
3404
  var require_datepart2 = __commonJS({
3402
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/datepart.js"(exports2, module2) {
3405
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/datepart.js"(exports2, module2) {
3403
3406
  "use strict";
3404
3407
  var DatePart = class _DatePart {
3405
3408
  constructor({ token, date, parts, locales }) {
@@ -3431,9 +3434,9 @@ var require_datepart2 = __commonJS({
3431
3434
  }
3432
3435
  });
3433
3436
 
3434
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/meridiem.js
3437
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/meridiem.js
3435
3438
  var require_meridiem2 = __commonJS({
3436
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/meridiem.js"(exports2, module2) {
3439
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/meridiem.js"(exports2, module2) {
3437
3440
  "use strict";
3438
3441
  var DatePart = require_datepart2();
3439
3442
  var Meridiem = class extends DatePart {
@@ -3455,9 +3458,9 @@ var require_meridiem2 = __commonJS({
3455
3458
  }
3456
3459
  });
3457
3460
 
3458
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/day.js
3461
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/day.js
3459
3462
  var require_day2 = __commonJS({
3460
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/day.js"(exports2, module2) {
3463
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/day.js"(exports2, module2) {
3461
3464
  "use strict";
3462
3465
  var DatePart = require_datepart2();
3463
3466
  var pos = (n) => {
@@ -3487,9 +3490,9 @@ var require_day2 = __commonJS({
3487
3490
  }
3488
3491
  });
3489
3492
 
3490
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/hours.js
3493
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/hours.js
3491
3494
  var require_hours2 = __commonJS({
3492
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/hours.js"(exports2, module2) {
3495
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/hours.js"(exports2, module2) {
3493
3496
  "use strict";
3494
3497
  var DatePart = require_datepart2();
3495
3498
  var Hours = class extends DatePart {
@@ -3516,9 +3519,9 @@ var require_hours2 = __commonJS({
3516
3519
  }
3517
3520
  });
3518
3521
 
3519
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/milliseconds.js
3522
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/milliseconds.js
3520
3523
  var require_milliseconds2 = __commonJS({
3521
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/milliseconds.js"(exports2, module2) {
3524
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/milliseconds.js"(exports2, module2) {
3522
3525
  "use strict";
3523
3526
  var DatePart = require_datepart2();
3524
3527
  var Milliseconds = class extends DatePart {
@@ -3542,9 +3545,9 @@ var require_milliseconds2 = __commonJS({
3542
3545
  }
3543
3546
  });
3544
3547
 
3545
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/minutes.js
3548
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/minutes.js
3546
3549
  var require_minutes2 = __commonJS({
3547
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/minutes.js"(exports2, module2) {
3550
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/minutes.js"(exports2, module2) {
3548
3551
  "use strict";
3549
3552
  var DatePart = require_datepart2();
3550
3553
  var Minutes = class extends DatePart {
@@ -3569,9 +3572,9 @@ var require_minutes2 = __commonJS({
3569
3572
  }
3570
3573
  });
3571
3574
 
3572
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/month.js
3575
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/month.js
3573
3576
  var require_month2 = __commonJS({
3574
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/month.js"(exports2, module2) {
3577
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/month.js"(exports2, module2) {
3575
3578
  "use strict";
3576
3579
  var DatePart = require_datepart2();
3577
3580
  var Month = class extends DatePart {
@@ -3598,9 +3601,9 @@ var require_month2 = __commonJS({
3598
3601
  }
3599
3602
  });
3600
3603
 
3601
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/seconds.js
3604
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/seconds.js
3602
3605
  var require_seconds2 = __commonJS({
3603
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/seconds.js"(exports2, module2) {
3606
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/seconds.js"(exports2, module2) {
3604
3607
  "use strict";
3605
3608
  var DatePart = require_datepart2();
3606
3609
  var Seconds = class extends DatePart {
@@ -3625,9 +3628,9 @@ var require_seconds2 = __commonJS({
3625
3628
  }
3626
3629
  });
3627
3630
 
3628
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/year.js
3631
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/year.js
3629
3632
  var require_year2 = __commonJS({
3630
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/year.js"(exports2, module2) {
3633
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/year.js"(exports2, module2) {
3631
3634
  "use strict";
3632
3635
  var DatePart = require_datepart2();
3633
3636
  var Year = class extends DatePart {
@@ -3652,9 +3655,9 @@ var require_year2 = __commonJS({
3652
3655
  }
3653
3656
  });
3654
3657
 
3655
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/index.js
3658
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/index.js
3656
3659
  var require_dateparts2 = __commonJS({
3657
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/index.js"(exports2, module2) {
3660
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/dateparts/index.js"(exports2, module2) {
3658
3661
  "use strict";
3659
3662
  module2.exports = {
3660
3663
  DatePart: require_datepart2(),
@@ -3670,9 +3673,9 @@ var require_dateparts2 = __commonJS({
3670
3673
  }
3671
3674
  });
3672
3675
 
3673
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/date.js
3676
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/date.js
3674
3677
  var require_date2 = __commonJS({
3675
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/date.js"(exports2, module2) {
3678
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/date.js"(exports2, module2) {
3676
3679
  "use strict";
3677
3680
  var color = require_kleur();
3678
3681
  var Prompt = require_prompt2();
@@ -3849,9 +3852,10 @@ ${i ? ` ` : figures.pointerSmall} ${color.red().italic(l)}`,
3849
3852
  }
3850
3853
  });
3851
3854
 
3852
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/number.js
3855
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/number.js
3853
3856
  var require_number2 = __commonJS({
3854
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/number.js"(exports2, module2) {
3857
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/number.js"(exports2, module2) {
3858
+ "use strict";
3855
3859
  var color = require_kleur();
3856
3860
  var Prompt = require_prompt2();
3857
3861
  var { cursor, erase } = require_src();
@@ -4028,9 +4032,9 @@ ${i ? ` ` : figures.pointerSmall} ${color.red().italic(l)}`, ``);
4028
4032
  }
4029
4033
  });
4030
4034
 
4031
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/multiselect.js
4035
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/multiselect.js
4032
4036
  var require_multiselect2 = __commonJS({
4033
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/multiselect.js"(exports2, module2) {
4037
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/multiselect.js"(exports2, module2) {
4034
4038
  "use strict";
4035
4039
  var color = require_kleur();
4036
4040
  var { cursor } = require_src();
@@ -4253,9 +4257,9 @@ Instructions:
4253
4257
  }
4254
4258
  });
4255
4259
 
4256
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/autocomplete.js
4260
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/autocomplete.js
4257
4261
  var require_autocomplete2 = __commonJS({
4258
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/autocomplete.js"(exports2, module2) {
4262
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/autocomplete.js"(exports2, module2) {
4259
4263
  "use strict";
4260
4264
  var color = require_kleur();
4261
4265
  var Prompt = require_prompt2();
@@ -4469,9 +4473,9 @@ var require_autocomplete2 = __commonJS({
4469
4473
  }
4470
4474
  });
4471
4475
 
4472
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/autocompleteMultiselect.js
4476
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/autocompleteMultiselect.js
4473
4477
  var require_autocompleteMultiselect2 = __commonJS({
4474
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/autocompleteMultiselect.js"(exports2, module2) {
4478
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/autocompleteMultiselect.js"(exports2, module2) {
4475
4479
  "use strict";
4476
4480
  var color = require_kleur();
4477
4481
  var { cursor } = require_src();
@@ -4629,9 +4633,10 @@ Filtered results for: ${this.inputValue ? this.inputValue : color.gray("Enter so
4629
4633
  }
4630
4634
  });
4631
4635
 
4632
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/confirm.js
4636
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/confirm.js
4633
4637
  var require_confirm2 = __commonJS({
4634
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/confirm.js"(exports2, module2) {
4638
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/confirm.js"(exports2, module2) {
4639
+ "use strict";
4635
4640
  var color = require_kleur();
4636
4641
  var Prompt = require_prompt2();
4637
4642
  var { style, clear } = require_util2();
@@ -4701,9 +4706,9 @@ var require_confirm2 = __commonJS({
4701
4706
  }
4702
4707
  });
4703
4708
 
4704
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/index.js
4709
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/index.js
4705
4710
  var require_elements2 = __commonJS({
4706
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/index.js"(exports2, module2) {
4711
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/elements/index.js"(exports2, module2) {
4707
4712
  "use strict";
4708
4713
  module2.exports = {
4709
4714
  TextPrompt: require_text2(),
@@ -4719,9 +4724,9 @@ var require_elements2 = __commonJS({
4719
4724
  }
4720
4725
  });
4721
4726
 
4722
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/prompts.js
4727
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/prompts.js
4723
4728
  var require_prompts2 = __commonJS({
4724
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/prompts.js"(exports2) {
4729
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/prompts.js"(exports2) {
4725
4730
  "use strict";
4726
4731
  var $ = exports2;
4727
4732
  var el = require_elements2();
@@ -4785,9 +4790,9 @@ var require_prompts2 = __commonJS({
4785
4790
  }
4786
4791
  });
4787
4792
 
4788
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/index.js
4793
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/index.js
4789
4794
  var require_lib = __commonJS({
4790
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/index.js"(exports2, module2) {
4795
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/index.js"(exports2, module2) {
4791
4796
  "use strict";
4792
4797
  var prompts2 = require_prompts2();
4793
4798
  var passOn = ["suggest", "format", "onState", "validate", "onRender", "type"];
@@ -4859,9 +4864,10 @@ var require_lib = __commonJS({
4859
4864
  }
4860
4865
  });
4861
4866
 
4862
- // node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/index.js
4867
+ // ../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/index.js
4863
4868
  var require_prompts3 = __commonJS({
4864
- "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/index.js"(exports2, module2) {
4869
+ "../../node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/index.js"(exports2, module2) {
4870
+ "use strict";
4865
4871
  function isNodeLT(tar) {
4866
4872
  tar = (Array.isArray(tar) ? tar : tar.split(".")).map(Number);
4867
4873
  let i = 0, src = process.versions.node.split(".").map(Number);
@@ -4875,9 +4881,9 @@ var require_prompts3 = __commonJS({
4875
4881
  }
4876
4882
  });
4877
4883
 
4878
- // node_modules/.pnpm/ejs@3.1.10/node_modules/ejs/lib/utils.js
4884
+ // ../../node_modules/.pnpm/ejs@3.1.10/node_modules/ejs/lib/utils.js
4879
4885
  var require_utils = __commonJS({
4880
- "node_modules/.pnpm/ejs@3.1.10/node_modules/ejs/lib/utils.js"(exports2) {
4886
+ "../../node_modules/.pnpm/ejs@3.1.10/node_modules/ejs/lib/utils.js"(exports2) {
4881
4887
  "use strict";
4882
4888
  var regExpChars = /[|\\{}()[\]^$+*?.]/g;
4883
4889
  var hasOwnProperty = Object.prototype.hasOwnProperty;
@@ -5009,9 +5015,9 @@ function encode_char(c) {
5009
5015
  }
5010
5016
  });
5011
5017
 
5012
- // node_modules/.pnpm/ejs@3.1.10/node_modules/ejs/package.json
5018
+ // ../../node_modules/.pnpm/ejs@3.1.10/node_modules/ejs/package.json
5013
5019
  var require_package = __commonJS({
5014
- "node_modules/.pnpm/ejs@3.1.10/node_modules/ejs/package.json"(exports2, module2) {
5020
+ "../../node_modules/.pnpm/ejs@3.1.10/node_modules/ejs/package.json"(exports2, module2) {
5015
5021
  module2.exports = {
5016
5022
  name: "ejs",
5017
5023
  description: "Embedded JavaScript templates",
@@ -5057,9 +5063,9 @@ var require_package = __commonJS({
5057
5063
  }
5058
5064
  });
5059
5065
 
5060
- // node_modules/.pnpm/ejs@3.1.10/node_modules/ejs/lib/ejs.js
5066
+ // ../../node_modules/.pnpm/ejs@3.1.10/node_modules/ejs/lib/ejs.js
5061
5067
  var require_ejs = __commonJS({
5062
- "node_modules/.pnpm/ejs@3.1.10/node_modules/ejs/lib/ejs.js"(exports2) {
5068
+ "../../node_modules/.pnpm/ejs@3.1.10/node_modules/ejs/lib/ejs.js"(exports2) {
5063
5069
  "use strict";
5064
5070
  var fs2 = require("fs");
5065
5071
  var path2 = require("path");
@@ -5617,7 +5623,7 @@ var import_ejs = __toESM(require_ejs(), 1);
5617
5623
  // package.json
5618
5624
  var package_default = {
5619
5625
  name: "@skirtle/create-vue-lib",
5620
- version: "0.0.1",
5626
+ version: "0.0.3",
5621
5627
  author: "skirtle",
5622
5628
  license: "MIT",
5623
5629
  description: "Create a library using Vue and Vite",
@@ -5647,23 +5653,20 @@ var package_default = {
5647
5653
  "@types/prompts": "^2.4.9",
5648
5654
  copyfiles: "^2.4.1",
5649
5655
  ejs: "^3.1.10",
5650
- "lint-staged": "^15.4.3",
5651
5656
  "npm-run-all2": "^7.0.2",
5652
5657
  prompts: "^2.4.2",
5653
5658
  rimraf: "^6.0.1",
5654
- "simple-git-hooks": "^2.11.1",
5655
5659
  tsup: "^8.3.6",
5656
5660
  typescript: "^5.7.3"
5657
5661
  },
5658
5662
  scripts: {
5659
- clean: "rimraf dist",
5660
- build: "run-s clean build:copy build:ts",
5661
- "build:copy": 'copyfiles -u 1 -a "src/template/**" dist',
5663
+ clean: "rimraf dist README.md",
5664
+ "type-check": "tsc",
5665
+ "build:copy": "copyfiles -f ../../README.md .",
5666
+ "build:templates": 'copyfiles -u 1 -a "src/template/**" dist',
5662
5667
  "build:ts": "tsup src/index.ts --format cjs --target node18",
5663
- "build:dts": "tsup src/index.ts --dts --format cjs --target node18",
5668
+ build: "run-s clean build:copy build:templates build:ts",
5664
5669
  start: "node ./dist/index.cjs",
5665
- "docs:dev": "pnpm run --filter ./docs -r dev",
5666
- "docs:build": "pnpm run --filter ./docs -r build",
5667
5670
  preinstall: "npx only-allow pnpm"
5668
5671
  }
5669
5672
  };
@@ -5792,6 +5795,7 @@ async function init() {
5792
5795
  process.exit(1);
5793
5796
  }
5794
5797
  const unscopedPackageName = scopedPackageName.replace(/.*\//, "");
5798
+ const packageNameAsObjectKey = /^[a-zA-Z_$][\w$]*$/.test(scopedPackageName) ? scopedPackageName : `'${scopedPackageName}'`;
5795
5799
  const targetDirName = await textPrompt("Target directory", unscopedPackageName);
5796
5800
  if (targetDirName !== "." && !isValidDirName(targetDirName)) {
5797
5801
  console.log("Invalid directory name: " + targetDirName);
@@ -5807,6 +5811,8 @@ async function init() {
5807
5811
  console.log("Target directory already exists");
5808
5812
  }
5809
5813
  }
5814
+ const includePackagesDir = await togglePromptIf(extended, `Use 'packages' directory?`, true);
5815
+ const packagesDir = includePackagesDir ? "packages/" : "";
5810
5816
  const mainPackageDirName = await textPromptIf(extended, "Main package directory", unscopedPackageName);
5811
5817
  if (!isValidDirName(mainPackageDirName)) {
5812
5818
  console.log("Invalid directory name: " + mainPackageDirName);
@@ -5824,16 +5830,19 @@ async function init() {
5824
5830
  console.log();
5825
5831
  const rawGithubPath = await textPrompt("GitHub path (optional)");
5826
5832
  const githubPath = rawGithubPath.replace(/^(https:\/\/github.com\/|\/)/, "");
5827
- if (rawGithubPath && !/^[^\/]+\/[^\/]+$/.test(githubPath)) {
5833
+ if (rawGithubPath && !/^[\w-]+\/[\w-.]+$/.test(githubPath)) {
5828
5834
  console.log("Invalid GitHub path: " + rawGithubPath);
5829
5835
  process.exit(1);
5830
5836
  }
5831
5837
  const includeEsLint = await togglePrompt("Include ESLint?", true);
5832
5838
  const includeEsLintStylistic = await togglePromptIf(includeEsLint, "Include ESLint Stylistic for formatting?", includeEsLint);
5839
+ const includeVitest = await togglePromptIf(extended, "Include Vitest for testing?", true);
5833
5840
  const includeDocs = await togglePrompt("Include VitePress for documentation?", true);
5834
5841
  const includeGithubPages = includeDocs && await togglePrompt("Include GitHub Pages config for documentation?");
5835
5842
  const includePlayground = await togglePrompt("Include playground application for development?", true);
5836
- const includeExamples = await togglePrompt("Include example code?", true, "Yes", "No, just configs");
5843
+ const includeExamples = await togglePromptIf(extended, "Include example code?", true, "Yes", "No, just configs");
5844
+ const includeAtAliases = await togglePromptIf(extended, "Configure @ as an alias for src?");
5845
+ const includeTestVariable = await togglePromptIf(extended, "Configure global __TEST__ variable?");
5837
5846
  function suggestExtended() {
5838
5847
  if (!extended) {
5839
5848
  console.log(`Use the --extended flag to configure the directory name separately.`);
@@ -5849,6 +5858,11 @@ async function init() {
5849
5858
  suggestExtended();
5850
5859
  process.exit(1);
5851
5860
  }
5861
+ if (!includePackagesDir && mainPackageDirName === "scripts") {
5862
+ console.log(`The directory name 'scripts' is reserved for the scripts, please choose a different name.`);
5863
+ suggestExtended();
5864
+ process.exit(1);
5865
+ }
5852
5866
  const [githubUserName, githubRepoName] = (githubPath || "/").split("/");
5853
5867
  const githubUrl = githubPath ? `https://github.com/${githubPath}` : "";
5854
5868
  const githubIssues = githubPath ? `${githubUrl}/issues` : "";
@@ -5860,9 +5874,11 @@ async function init() {
5860
5874
  const config = {
5861
5875
  scopedPackageName,
5862
5876
  unscopedPackageName,
5877
+ packageNameAsObjectKey,
5863
5878
  globalVariableName,
5864
5879
  targetDirName,
5865
5880
  targetDirPath,
5881
+ packagesDir,
5866
5882
  mainPackageDirName,
5867
5883
  templateDirPath,
5868
5884
  githubPath,
@@ -5872,12 +5888,16 @@ async function init() {
5872
5888
  githubPagesOrigin,
5873
5889
  docsBase,
5874
5890
  homepageUrl,
5891
+ includePackagesDir,
5875
5892
  includeDocs,
5876
5893
  includeGithubPages,
5877
5894
  includePlayground,
5878
5895
  includeExamples,
5879
5896
  includeEsLint,
5880
- includeEsLintStylistic
5897
+ includeEsLintStylistic,
5898
+ includeVitest,
5899
+ includeAtAliases,
5900
+ includeTestVariable
5881
5901
  };
5882
5902
  copyTemplate("base", config);
5883
5903
  if (config.includeDocs) {
@@ -5892,17 +5912,25 @@ async function init() {
5892
5912
  if (config.includeEsLint) {
5893
5913
  copyTemplate("eslint", config);
5894
5914
  }
5915
+ if (config.includeVitest) {
5916
+ copyTemplate("vitest", config);
5917
+ }
5918
+ console.log();
5895
5919
  console.log("Project created");
5920
+ console.log();
5896
5921
  console.log("Note: pnpm must be used as the package manager");
5897
5922
  console.log();
5923
+ console.log("Next steps:");
5924
+ console.log();
5898
5925
  if (targetDirName !== ".") {
5899
- console.log("cd " + targetDirName);
5926
+ console.log(" cd " + targetDirName);
5900
5927
  }
5901
- console.log("pnpm install");
5902
- if (!fs.existsSync(path.join(targetDirPath, "packages", config.mainPackageDirName, "LICENSE"))) {
5903
- console.log();
5904
- console.log(`You should add a suitable license at packages/${config.mainPackageDirName}/LICENSE`);
5928
+ if (!fs.existsSync(path.join(targetDirPath, ".git"))) {
5929
+ console.log(" git init -b main");
5905
5930
  }
5931
+ console.log(" pnpm install");
5932
+ console.log();
5933
+ console.log("See https://skirtles-code.github.io/create-vue-lib/next-steps for more suggestions.");
5906
5934
  }
5907
5935
  function copyTemplate(templateName, config) {
5908
5936
  const dirs = ["config"];
@@ -5923,7 +5951,11 @@ function copyFiles(templateFile, config) {
5923
5951
  const templatePath = path.join(config.templateDirPath, templateFile);
5924
5952
  const stats = fs.statSync(templatePath);
5925
5953
  const basename2 = path.basename(templatePath);
5926
- const targetPath = path.join(config.targetDirPath, templateFile.replace(/@projectName@/g, config.mainPackageDirName));
5954
+ let targetFile = templateFile.replace(/@projectName@/g, config.mainPackageDirName);
5955
+ if (!config.includePackagesDir) {
5956
+ targetFile = targetFile.replace(/^packages/, ".");
5957
+ }
5958
+ const targetPath = path.join(config.targetDirPath, targetFile);
5927
5959
  if (stats.isDirectory()) {
5928
5960
  if (basename2 === "node_modules") {
5929
5961
  return;
@@ -5938,11 +5970,16 @@ function copyFiles(templateFile, config) {
5938
5970
  if (filename.endsWith(".ejs")) {
5939
5971
  const template = fs.readFileSync(templatePath, "utf-8");
5940
5972
  const target = targetPath.replace(/\.ejs$/, "");
5941
- const content = import_ejs.default.render(template, { config });
5973
+ let content = import_ejs.default.render(template, { config });
5974
+ if (/\.(json|m?[jt]s)$/.test(target)) {
5975
+ content = content.replace(/ +\n/g, "\n");
5976
+ content = content.replace(/\n\n+/g, "\n\n");
5977
+ content = content.replace(/, *(?:\n+(\n\s*)|(\s*))([}\])])/g, "$1$2$3");
5978
+ }
5942
5979
  fs.writeFileSync(target, content);
5943
5980
  } else if (["package.json", "vite.config.mts", "config.mts", "index.md", "introduction.md", "App.vue", "tsconfig.app.json", "env.d.ts"].includes(filename)) {
5944
5981
  const template = fs.readFileSync(templatePath, "utf-8");
5945
- const content = template.replace(/@projectName@/g, config.mainPackageDirName).replace(new RegExp(`@(${Object.keys(config).join("|")})@`, "g"), (all, setting) => config[setting] ?? all);
5982
+ const content = template.replace(/@projectName@/g, config.mainPackageDirName).replace(new RegExp(`@(${Object.keys(config).join("|")})@`, "g"), (all, setting) => `${config[setting] ?? all}`);
5946
5983
  fs.writeFileSync(targetPath, content);
5947
5984
  } else {
5948
5985
  fs.copyFileSync(templatePath, targetPath);