create-vuetify0 0.1.3 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { i as resolve$1$1, n as dirname$1, t as basename$1 } from "./nypm-
|
|
2
|
+
import { i as resolve$1$1, n as dirname$1$1, t as basename$1 } from "./nypm-Dqycz6Ud.mjs";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import e from "node:assert";
|
|
5
5
|
import { format, inspect, parseArgs, promisify, stripVTControlCharacters } from "node:util";
|
|
6
|
-
import
|
|
6
|
+
import process$1, { stdin, stdout } from "node:process";
|
|
7
7
|
import * as k$1 from "node:readline";
|
|
8
8
|
import c from "node:readline";
|
|
9
9
|
import { ReadStream } from "node:tty";
|
|
@@ -9870,7 +9870,7 @@ var en_default = {
|
|
|
9870
9870
|
"checking": "Checking for updates...",
|
|
9871
9871
|
"intro": "Checking for updates...",
|
|
9872
9872
|
"not_installed": "Vuetify is not installed in this project.",
|
|
9873
|
-
"deprecated_v2": "Vuetify 2 is deprecated. Please consider upgrading to Vuetify
|
|
9873
|
+
"deprecated_v2": "Vuetify 2 is deprecated. Please consider upgrading to Vuetify 4.",
|
|
9874
9874
|
"outdated_v1": "Vuetify 1 is out of date. Please upgrade.",
|
|
9875
9875
|
"updated": "Updated %{pkg}",
|
|
9876
9876
|
"failed": "Failed to update %{pkg}",
|
|
@@ -9945,15 +9945,22 @@ var en_default = {
|
|
|
9945
9945
|
"hint": "Headless Component Library"
|
|
9946
9946
|
}
|
|
9947
9947
|
},
|
|
9948
|
-
"vuetify_version": {
|
|
9949
|
-
"select": "Select Vuetify version:",
|
|
9950
|
-
"3_x": "Vuetify 3 (latest)",
|
|
9951
|
-
"4_x": "Vuetify 4 (beta)"
|
|
9952
|
-
},
|
|
9953
9948
|
"css_framework": {
|
|
9954
9949
|
"select": "Which CSS framework?",
|
|
9955
9950
|
"unocss": { "hint": "Instant on-demand atomic CSS engine" },
|
|
9956
|
-
"
|
|
9951
|
+
"unocss_wind4": {
|
|
9952
|
+
"label": "UnoCSS with Wind4 preset",
|
|
9953
|
+
"hint": "soon"
|
|
9954
|
+
},
|
|
9955
|
+
"unocss_vuetify": {
|
|
9956
|
+
"label": "UnoCSS with Vuetify preset",
|
|
9957
|
+
"hint": "soon"
|
|
9958
|
+
},
|
|
9959
|
+
"tailwindcss": {
|
|
9960
|
+
"label": "Tailwind CSS",
|
|
9961
|
+
"hint": "A utility-first CSS framework"
|
|
9962
|
+
},
|
|
9963
|
+
"status": { "not_supported": "CSS framework %{css} is not supported for %{vuetify} yet." },
|
|
9957
9964
|
"none": "None"
|
|
9958
9965
|
},
|
|
9959
9966
|
"typescript": { "use": "Use TypeScript?" },
|
|
@@ -9972,6 +9979,10 @@ var en_default = {
|
|
|
9972
9979
|
},
|
|
9973
9980
|
"features": {
|
|
9974
9981
|
"select": "Select features to install: %{hint}",
|
|
9982
|
+
"router": {
|
|
9983
|
+
"label": "Router",
|
|
9984
|
+
"hint": "Configure Vue Router"
|
|
9985
|
+
},
|
|
9975
9986
|
"pinia": { "label": "Pinia" },
|
|
9976
9987
|
"eslint": {
|
|
9977
9988
|
"label": "ESLint",
|
|
@@ -10052,8 +10063,7 @@ var en_default = {
|
|
|
10052
10063
|
"platform": { "description": "The framework to use" },
|
|
10053
10064
|
"verbose": { "description": "Output verbose logs" },
|
|
10054
10065
|
"version": { "description": "The Vuetify version to check documentation for" },
|
|
10055
|
-
"preset": { "description": "Path to a preset file to load" }
|
|
10056
|
-
"vuetifyVersion": { "description": "Vuetify version" }
|
|
10066
|
+
"preset": { "description": "Path to a preset file to load" }
|
|
10057
10067
|
},
|
|
10058
10068
|
cli: {
|
|
10059
10069
|
"main": { "description": "Unified CLI for Vuetify" },
|
|
@@ -10121,7 +10131,7 @@ var ru_default = {
|
|
|
10121
10131
|
"checking": "Проверка обновлений...",
|
|
10122
10132
|
"intro": "Проверка обновлений...",
|
|
10123
10133
|
"not_installed": "Vuetify не установлен в этом проекте.",
|
|
10124
|
-
"deprecated_v2": "Vuetify 2 устарел. Пожалуйста, рассмотрите возможность обновления до Vuetify
|
|
10134
|
+
"deprecated_v2": "Vuetify 2 устарел. Пожалуйста, рассмотрите возможность обновления до Vuetify 4.",
|
|
10125
10135
|
"outdated_v1": "Vuetify 1 устарел. Пожалуйста, обновитесь.",
|
|
10126
10136
|
"updated": "Обновлен %{pkg}",
|
|
10127
10137
|
"failed": "Не удалось обновить %{pkg}",
|
|
@@ -10191,11 +10201,6 @@ var ru_default = {
|
|
|
10191
10201
|
"hint": "Библиотека headless компонентов"
|
|
10192
10202
|
}
|
|
10193
10203
|
},
|
|
10194
|
-
"vuetify_version": {
|
|
10195
|
-
"select": "Выберите версию Vuetify:",
|
|
10196
|
-
"3_x": "Vuetify 3 (стабильная)",
|
|
10197
|
-
"4_x": "Vuetify 4 (бета)"
|
|
10198
|
-
},
|
|
10199
10204
|
"css_framework": {
|
|
10200
10205
|
"select": "Какой фреймворк CSS вы хотите использовать?",
|
|
10201
10206
|
"none": "Никакой",
|
|
@@ -10203,10 +10208,19 @@ var ru_default = {
|
|
|
10203
10208
|
"label": "UnoCSS",
|
|
10204
10209
|
"hint": "Быстрая и гибкая система стилей"
|
|
10205
10210
|
},
|
|
10211
|
+
"unocss_wind4": {
|
|
10212
|
+
"label": "UnoCSS с пресетом Wind4",
|
|
10213
|
+
"hint": "скоро"
|
|
10214
|
+
},
|
|
10215
|
+
"unocss_vuetify": {
|
|
10216
|
+
"label": "UnoCSS с пресетом Vuetify",
|
|
10217
|
+
"hint": "скоро"
|
|
10218
|
+
},
|
|
10206
10219
|
"tailwindcss": {
|
|
10207
10220
|
"label": "Tailwind CSS",
|
|
10208
10221
|
"hint": "Атомарный CSS-фреймворк"
|
|
10209
|
-
}
|
|
10222
|
+
},
|
|
10223
|
+
"status": { "not_supported": "CSS-фреймворк %{css} пока не поддерживается для %{vuetify}." }
|
|
10210
10224
|
},
|
|
10211
10225
|
"typescript": { "use": "Использовать TypeScript?" },
|
|
10212
10226
|
"router": {
|
|
@@ -10224,6 +10238,10 @@ var ru_default = {
|
|
|
10224
10238
|
},
|
|
10225
10239
|
"features": {
|
|
10226
10240
|
"select": "Выберите функции для установки: %{hint}",
|
|
10241
|
+
"router": {
|
|
10242
|
+
"label": "Роутер",
|
|
10243
|
+
"hint": "Добавить Vue Router"
|
|
10244
|
+
},
|
|
10227
10245
|
"pinia": { "label": "Pinia" },
|
|
10228
10246
|
"eslint": {
|
|
10229
10247
|
"label": "ESLint",
|
|
@@ -10299,8 +10317,7 @@ var ru_default = {
|
|
|
10299
10317
|
"platform": { "description": "Фреймворк для использования" },
|
|
10300
10318
|
"verbose": { "description": "Вывести подробные логи" },
|
|
10301
10319
|
"preset": { "description": "Путь к файлу пресета для загрузки" },
|
|
10302
|
-
"version": { "description": "Версия Vuetify для просмотра документации" }
|
|
10303
|
-
"vuetifyVersion": { "description": "Версия Vuetify" }
|
|
10320
|
+
"version": { "description": "Версия Vuetify для просмотра документации" }
|
|
10304
10321
|
},
|
|
10305
10322
|
cli: {
|
|
10306
10323
|
"main": { "description": "CLI для Vuetify" },
|
|
@@ -10402,10 +10419,6 @@ function projectArgs(options) {
|
|
|
10402
10419
|
preset: {
|
|
10403
10420
|
type: "string",
|
|
10404
10421
|
description: i18n$1.t("args.preset.description")
|
|
10405
|
-
},
|
|
10406
|
-
vuetifyVersion: {
|
|
10407
|
-
type: "string",
|
|
10408
|
-
description: i18n$1.t("args.vuetifyVersion.description")
|
|
10409
10422
|
}
|
|
10410
10423
|
};
|
|
10411
10424
|
if (options?.exclude) for (const key of options.exclude) delete args[key];
|
|
@@ -10542,7 +10555,7 @@ var require_src$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
10542
10555
|
//#region ../../node_modules/.pnpm/@clack+core@1.0.0/node_modules/@clack/core/dist/index.mjs
|
|
10543
10556
|
var import_picocolors = /* @__PURE__ */ __toESM(require_picocolors(), 1);
|
|
10544
10557
|
var import_src = require_src$1();
|
|
10545
|
-
const at = (t) => t === 161 || t === 164 || t === 167 || t === 168 || t === 170 || t === 173 || t === 174 || t >= 176 && t <= 180 || t >= 182 && t <= 186 || t >= 188 && t <= 191 || t === 198 || t === 208 || t === 215 || t === 216 || t >= 222 && t <= 225 || t === 230 || t >= 232 && t <= 234 || t === 236 || t === 237 || t === 240 || t === 242 || t === 243 || t >= 247 && t <= 250 || t === 252 || t === 254 || t === 257 || t === 273 || t === 275 || t === 283 || t === 294 || t === 295 || t === 299 || t >= 305 && t <= 307 || t === 312 || t >= 319 && t <= 322 || t === 324 || t >= 328 && t <= 331 || t === 333 || t === 338 || t === 339 || t === 358 || t === 359 || t === 363 || t === 462 || t === 464 || t === 466 || t === 468 || t === 470 || t === 472 || t === 474 || t === 476 || t === 593 || t === 609 || t === 708 || t === 711 || t >= 713 && t <= 715 || t === 717 || t === 720 || t >= 728 && t <= 731 || t === 733 || t === 735 || t >= 768 && t <= 879 || t >= 913 && t <= 929 || t >= 931 && t <= 937 || t >= 945 && t <= 961 || t >= 963 && t <= 969 || t === 1025 || t >= 1040 && t <= 1103 || t === 1105 || t === 8208 || t >= 8211 && t <= 8214 || t === 8216 || t === 8217 || t === 8220 || t === 8221 || t >= 8224 && t <= 8226 || t >= 8228 && t <= 8231 || t === 8240 || t === 8242 || t === 8243 || t === 8245 || t === 8251 || t === 8254 || t === 8308 || t === 8319 || t >= 8321 && t <= 8324 || t === 8364 || t === 8451 || t === 8453 || t === 8457 || t === 8467 || t === 8470 || t === 8481 || t === 8482 || t === 8486 || t === 8491 || t === 8531 || t === 8532 || t >= 8539 && t <= 8542 || t >= 8544 && t <= 8555 || t >= 8560 && t <= 8569 || t === 8585 || t >= 8592 && t <= 8601 || t === 8632 || t === 8633 || t === 8658 || t === 8660 || t === 8679 || t === 8704 || t === 8706 || t === 8707 || t === 8711 || t === 8712 || t === 8715 || t === 8719 || t === 8721 || t === 8725 || t === 8730 || t >= 8733 && t <= 8736 || t === 8739 || t === 8741 || t >= 8743 && t <= 8748 || t === 8750 || t >= 8756 && t <= 8759 || t === 8764 || t === 8765 || t === 8776 || t === 8780 || t === 8786 || t === 8800 || t === 8801 || t >= 8804 && t <= 8807 || t === 8810 || t === 8811 || t === 8814 || t === 8815 || t === 8834 || t === 8835 || t === 8838 || t === 8839 || t === 8853 || t === 8857 || t === 8869 || t === 8895 || t === 8978 || t >= 9312 && t <= 9449 || t >= 9451 && t <= 9547 || t >= 9552 && t <= 9587 || t >= 9600 && t <= 9615 || t >= 9618 && t <= 9621 || t === 9632 || t === 9633 || t >= 9635 && t <= 9641 || t === 9650 || t === 9651 || t === 9654 || t === 9655 || t === 9660 || t === 9661 || t === 9664 || t === 9665 || t >= 9670 && t <= 9672 || t === 9675 || t >= 9678 && t <= 9681 || t >= 9698 && t <= 9701 || t === 9711 || t === 9733 || t === 9734 || t === 9737 || t === 9742 || t === 9743 || t === 9756 || t === 9758 || t === 9792 || t === 9794 || t === 9824 || t === 9825 || t >= 9827 && t <= 9829 || t >= 9831 && t <= 9834 || t === 9836 || t === 9837 || t === 9839 || t === 9886 || t === 9887 || t === 9919 || t >= 9926 && t <= 9933 || t >= 9935 && t <= 9939 || t >= 9941 && t <= 9953 || t === 9955 || t === 9960 || t === 9961 || t >= 9963 && t <= 9969 || t === 9972 || t >= 9974 && t <= 9977 || t === 9979 || t === 9980 || t === 9982 || t === 9983 || t === 10045 || t >= 10102 && t <= 10111 || t >= 11094 && t <= 11097 || t >= 12872 && t <= 12879 || t >= 57344 && t <= 63743 || t >= 65024 && t <= 65039 || t === 65533 || t >= 127232 && t <= 127242 || t >= 127248 && t <= 127277 || t >= 127280 && t <= 127337 || t >= 127344 && t <= 127373 || t === 127375 || t === 127376 || t >= 127387 && t <= 127404 || t >= 917760 && t <= 917999 || t >= 983040 && t <= 1048573 || t >= 1048576 && t <= 1114109, lt = (t) => t === 12288 || t >= 65281 && t <= 65376 || t >= 65504 && t <= 65510, ht$1 = (t) => t >= 4352 && t <= 4447 || t === 8986 || t === 8987 || t === 9001 || t === 9002 || t >= 9193 && t <= 9196 || t === 9200 || t === 9203 || t === 9725 || t === 9726 || t === 9748 || t === 9749 || t >= 9800 && t <= 9811 || t === 9855 || t === 9875 || t === 9889 || t === 9898 || t === 9899 || t === 9917 || t === 9918 || t === 9924 || t === 9925 || t === 9934 || t === 9940 || t === 9962 || t === 9970 || t === 9971 || t === 9973 || t === 9978 || t === 9981 || t === 9989 || t === 9994 || t === 9995 || t === 10024 || t === 10060 || t === 10062 || t >= 10067 && t <= 10069 || t === 10071 || t >= 10133 && t <= 10135 || t === 10160 || t === 10175 || t === 11035 || t === 11036 || t === 11088 || t === 11093 || t >= 11904 && t <= 11929 || t >= 11931 && t <= 12019 || t >= 12032 && t <= 12245 || t >= 12272 && t <= 12287 || t >= 12289 && t <= 12350 || t >= 12353 && t <= 12438 || t >= 12441 && t <= 12543 || t >= 12549 && t <= 12591 || t >= 12593 && t <= 12686 || t >= 12688 && t <= 12771 || t >= 12783 && t <= 12830 || t >= 12832 && t <= 12871 || t >= 12880 && t <= 19903 || t >= 19968 && t <= 42124 || t >= 42128 && t <= 42182 || t >= 43360 && t <= 43388 || t >= 44032 && t <= 55203 || t >= 63744 && t <= 64255 || t >= 65040 && t <= 65049 || t >= 65072 && t <= 65106 || t >= 65108 && t <= 65126 || t >= 65128 && t <= 65131 || t >= 94176 && t <= 94180 || t === 94192 || t === 94193 || t >= 94208 && t <= 100343 || t >= 100352 && t <= 101589 || t >= 101632 && t <= 101640 || t >= 110576 && t <= 110579 || t >= 110581 && t <= 110587 || t === 110589 || t === 110590 || t >= 110592 && t <= 110882 || t === 110898 || t >= 110928 && t <= 110930 || t === 110933 || t >= 110948 && t <= 110951 || t >= 110960 && t <= 111355 || t === 126980 || t === 127183 || t === 127374 || t >= 127377 && t <= 127386 || t >= 127488 && t <= 127490 || t >= 127504 && t <= 127547 || t >= 127552 && t <= 127560 || t === 127568 || t === 127569 || t >= 127584 && t <= 127589 || t >= 127744 && t <= 127776 || t >= 127789 && t <= 127797 || t >= 127799 && t <= 127868 || t >= 127870 && t <= 127891 || t >= 127904 && t <= 127946 || t >= 127951 && t <= 127955 || t >= 127968 && t <= 127984 || t === 127988 || t >= 127992 && t <= 128062 || t === 128064 || t >= 128066 && t <= 128252 || t >= 128255 && t <= 128317 || t >= 128331 && t <= 128334 || t >= 128336 && t <= 128359 || t === 128378 || t === 128405 || t === 128406 || t === 128420 || t >= 128507 && t <= 128591 || t >= 128640 && t <= 128709 || t === 128716 || t >= 128720 && t <= 128722 || t >= 128725 && t <= 128727 || t >= 128732 && t <= 128735 || t === 128747 || t === 128748 || t >= 128756 && t <= 128764 || t >= 128992 && t <= 129003 || t === 129008 || t >= 129292 && t <= 129338 || t >= 129340 && t <= 129349 || t >= 129351 && t <= 129535 || t >= 129648 && t <= 129660 || t >= 129664 && t <= 129672 || t >= 129680 && t <= 129725 || t >= 129727 && t <= 129733 || t >= 129742 && t <= 129755 || t >= 129760 && t <= 129768 || t >= 129776 && t <= 129784 || t >= 131072 && t <= 196605 || t >= 196608 && t <= 262141, O = /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/y, y = /[\x00-\x08\x0A-\x1F\x7F-\x9F]{1,1000}/y, M$1 = /\t{1,1000}/y, P
|
|
10558
|
+
const at = (t) => t === 161 || t === 164 || t === 167 || t === 168 || t === 170 || t === 173 || t === 174 || t >= 176 && t <= 180 || t >= 182 && t <= 186 || t >= 188 && t <= 191 || t === 198 || t === 208 || t === 215 || t === 216 || t >= 222 && t <= 225 || t === 230 || t >= 232 && t <= 234 || t === 236 || t === 237 || t === 240 || t === 242 || t === 243 || t >= 247 && t <= 250 || t === 252 || t === 254 || t === 257 || t === 273 || t === 275 || t === 283 || t === 294 || t === 295 || t === 299 || t >= 305 && t <= 307 || t === 312 || t >= 319 && t <= 322 || t === 324 || t >= 328 && t <= 331 || t === 333 || t === 338 || t === 339 || t === 358 || t === 359 || t === 363 || t === 462 || t === 464 || t === 466 || t === 468 || t === 470 || t === 472 || t === 474 || t === 476 || t === 593 || t === 609 || t === 708 || t === 711 || t >= 713 && t <= 715 || t === 717 || t === 720 || t >= 728 && t <= 731 || t === 733 || t === 735 || t >= 768 && t <= 879 || t >= 913 && t <= 929 || t >= 931 && t <= 937 || t >= 945 && t <= 961 || t >= 963 && t <= 969 || t === 1025 || t >= 1040 && t <= 1103 || t === 1105 || t === 8208 || t >= 8211 && t <= 8214 || t === 8216 || t === 8217 || t === 8220 || t === 8221 || t >= 8224 && t <= 8226 || t >= 8228 && t <= 8231 || t === 8240 || t === 8242 || t === 8243 || t === 8245 || t === 8251 || t === 8254 || t === 8308 || t === 8319 || t >= 8321 && t <= 8324 || t === 8364 || t === 8451 || t === 8453 || t === 8457 || t === 8467 || t === 8470 || t === 8481 || t === 8482 || t === 8486 || t === 8491 || t === 8531 || t === 8532 || t >= 8539 && t <= 8542 || t >= 8544 && t <= 8555 || t >= 8560 && t <= 8569 || t === 8585 || t >= 8592 && t <= 8601 || t === 8632 || t === 8633 || t === 8658 || t === 8660 || t === 8679 || t === 8704 || t === 8706 || t === 8707 || t === 8711 || t === 8712 || t === 8715 || t === 8719 || t === 8721 || t === 8725 || t === 8730 || t >= 8733 && t <= 8736 || t === 8739 || t === 8741 || t >= 8743 && t <= 8748 || t === 8750 || t >= 8756 && t <= 8759 || t === 8764 || t === 8765 || t === 8776 || t === 8780 || t === 8786 || t === 8800 || t === 8801 || t >= 8804 && t <= 8807 || t === 8810 || t === 8811 || t === 8814 || t === 8815 || t === 8834 || t === 8835 || t === 8838 || t === 8839 || t === 8853 || t === 8857 || t === 8869 || t === 8895 || t === 8978 || t >= 9312 && t <= 9449 || t >= 9451 && t <= 9547 || t >= 9552 && t <= 9587 || t >= 9600 && t <= 9615 || t >= 9618 && t <= 9621 || t === 9632 || t === 9633 || t >= 9635 && t <= 9641 || t === 9650 || t === 9651 || t === 9654 || t === 9655 || t === 9660 || t === 9661 || t === 9664 || t === 9665 || t >= 9670 && t <= 9672 || t === 9675 || t >= 9678 && t <= 9681 || t >= 9698 && t <= 9701 || t === 9711 || t === 9733 || t === 9734 || t === 9737 || t === 9742 || t === 9743 || t === 9756 || t === 9758 || t === 9792 || t === 9794 || t === 9824 || t === 9825 || t >= 9827 && t <= 9829 || t >= 9831 && t <= 9834 || t === 9836 || t === 9837 || t === 9839 || t === 9886 || t === 9887 || t === 9919 || t >= 9926 && t <= 9933 || t >= 9935 && t <= 9939 || t >= 9941 && t <= 9953 || t === 9955 || t === 9960 || t === 9961 || t >= 9963 && t <= 9969 || t === 9972 || t >= 9974 && t <= 9977 || t === 9979 || t === 9980 || t === 9982 || t === 9983 || t === 10045 || t >= 10102 && t <= 10111 || t >= 11094 && t <= 11097 || t >= 12872 && t <= 12879 || t >= 57344 && t <= 63743 || t >= 65024 && t <= 65039 || t === 65533 || t >= 127232 && t <= 127242 || t >= 127248 && t <= 127277 || t >= 127280 && t <= 127337 || t >= 127344 && t <= 127373 || t === 127375 || t === 127376 || t >= 127387 && t <= 127404 || t >= 917760 && t <= 917999 || t >= 983040 && t <= 1048573 || t >= 1048576 && t <= 1114109, lt = (t) => t === 12288 || t >= 65281 && t <= 65376 || t >= 65504 && t <= 65510, ht$1 = (t) => t >= 4352 && t <= 4447 || t === 8986 || t === 8987 || t === 9001 || t === 9002 || t >= 9193 && t <= 9196 || t === 9200 || t === 9203 || t === 9725 || t === 9726 || t === 9748 || t === 9749 || t >= 9800 && t <= 9811 || t === 9855 || t === 9875 || t === 9889 || t === 9898 || t === 9899 || t === 9917 || t === 9918 || t === 9924 || t === 9925 || t === 9934 || t === 9940 || t === 9962 || t === 9970 || t === 9971 || t === 9973 || t === 9978 || t === 9981 || t === 9989 || t === 9994 || t === 9995 || t === 10024 || t === 10060 || t === 10062 || t >= 10067 && t <= 10069 || t === 10071 || t >= 10133 && t <= 10135 || t === 10160 || t === 10175 || t === 11035 || t === 11036 || t === 11088 || t === 11093 || t >= 11904 && t <= 11929 || t >= 11931 && t <= 12019 || t >= 12032 && t <= 12245 || t >= 12272 && t <= 12287 || t >= 12289 && t <= 12350 || t >= 12353 && t <= 12438 || t >= 12441 && t <= 12543 || t >= 12549 && t <= 12591 || t >= 12593 && t <= 12686 || t >= 12688 && t <= 12771 || t >= 12783 && t <= 12830 || t >= 12832 && t <= 12871 || t >= 12880 && t <= 19903 || t >= 19968 && t <= 42124 || t >= 42128 && t <= 42182 || t >= 43360 && t <= 43388 || t >= 44032 && t <= 55203 || t >= 63744 && t <= 64255 || t >= 65040 && t <= 65049 || t >= 65072 && t <= 65106 || t >= 65108 && t <= 65126 || t >= 65128 && t <= 65131 || t >= 94176 && t <= 94180 || t === 94192 || t === 94193 || t >= 94208 && t <= 100343 || t >= 100352 && t <= 101589 || t >= 101632 && t <= 101640 || t >= 110576 && t <= 110579 || t >= 110581 && t <= 110587 || t === 110589 || t === 110590 || t >= 110592 && t <= 110882 || t === 110898 || t >= 110928 && t <= 110930 || t === 110933 || t >= 110948 && t <= 110951 || t >= 110960 && t <= 111355 || t === 126980 || t === 127183 || t === 127374 || t >= 127377 && t <= 127386 || t >= 127488 && t <= 127490 || t >= 127504 && t <= 127547 || t >= 127552 && t <= 127560 || t === 127568 || t === 127569 || t >= 127584 && t <= 127589 || t >= 127744 && t <= 127776 || t >= 127789 && t <= 127797 || t >= 127799 && t <= 127868 || t >= 127870 && t <= 127891 || t >= 127904 && t <= 127946 || t >= 127951 && t <= 127955 || t >= 127968 && t <= 127984 || t === 127988 || t >= 127992 && t <= 128062 || t === 128064 || t >= 128066 && t <= 128252 || t >= 128255 && t <= 128317 || t >= 128331 && t <= 128334 || t >= 128336 && t <= 128359 || t === 128378 || t === 128405 || t === 128406 || t === 128420 || t >= 128507 && t <= 128591 || t >= 128640 && t <= 128709 || t === 128716 || t >= 128720 && t <= 128722 || t >= 128725 && t <= 128727 || t >= 128732 && t <= 128735 || t === 128747 || t === 128748 || t >= 128756 && t <= 128764 || t >= 128992 && t <= 129003 || t === 129008 || t >= 129292 && t <= 129338 || t >= 129340 && t <= 129349 || t >= 129351 && t <= 129535 || t >= 129648 && t <= 129660 || t >= 129664 && t <= 129672 || t >= 129680 && t <= 129725 || t >= 129727 && t <= 129733 || t >= 129742 && t <= 129755 || t >= 129760 && t <= 129768 || t >= 129776 && t <= 129784 || t >= 131072 && t <= 196605 || t >= 196608 && t <= 262141, O = /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/y, y = /[\x00-\x08\x0A-\x1F\x7F-\x9F]{1,1000}/y, M$1 = /\t{1,1000}/y, P = /[\u{1F1E6}-\u{1F1FF}]{2}|\u{1F3F4}[\u{E0061}-\u{E007A}]{2}[\u{E0030}-\u{E0039}\u{E0061}-\u{E007A}]{1,3}\u{E007F}|(?:\p{Emoji}\uFE0F\u20E3?|\p{Emoji_Modifier_Base}\p{Emoji_Modifier}?|\p{Emoji_Presentation})(?:\u200D(?:\p{Emoji_Modifier_Base}\p{Emoji_Modifier}?|\p{Emoji_Presentation}|\p{Emoji}\uFE0F\u20E3?))*/uy, L = /(?:[\x20-\x7E\xA0-\xFF](?!\uFE0F)){1,1000}/y, ct = /\p{M}+/gu, pt$1 = {
|
|
10546
10559
|
limit: Infinity,
|
|
10547
10560
|
ellipsis: ""
|
|
10548
10561
|
}, X = (t, e = {}, s = {}) => {
|
|
@@ -10595,12 +10608,12 @@ const at = (t) => t === 161 || t === 164 || t === 167 || t === 168 || t === 170
|
|
|
10595
10608
|
c += p, C = h, B = o, o = h = M$1.lastIndex;
|
|
10596
10609
|
continue;
|
|
10597
10610
|
}
|
|
10598
|
-
if (P
|
|
10611
|
+
if (P.lastIndex = o, P.test(t)) {
|
|
10599
10612
|
if (c + g > b && (d = Math.min(d, o)), c + g > i) {
|
|
10600
10613
|
F = !0;
|
|
10601
10614
|
break;
|
|
10602
10615
|
}
|
|
10603
|
-
c += g, C = h, B = o, o = h = P
|
|
10616
|
+
c += g, C = h, B = o, o = h = P.lastIndex;
|
|
10604
10617
|
continue;
|
|
10605
10618
|
}
|
|
10606
10619
|
o += 1;
|
|
@@ -11200,7 +11213,7 @@ var $t = class extends x$2 {
|
|
|
11200
11213
|
//#endregion
|
|
11201
11214
|
//#region ../../node_modules/.pnpm/@clack+prompts@1.0.0/node_modules/@clack/prompts/dist/index.mjs
|
|
11202
11215
|
function ht() {
|
|
11203
|
-
return
|
|
11216
|
+
return process$1.platform !== "win32" ? process$1.env.TERM !== "linux" : !!process$1.env.CI || !!process$1.env.WT_SESSION || !!process$1.env.TERMINUS_SUBLIME || process$1.env.ConEmuTask === "{cmd::Cmder}" || process$1.env.TERM_PROGRAM === "Terminus-Sublime" || process$1.env.TERM_PROGRAM === "vscode" || process$1.env.TERM === "xterm-256color" || process$1.env.TERM === "alacritty" || process$1.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
11204
11217
|
}
|
|
11205
11218
|
const ee = ht(), ue = () => process.env.CI === "true", Te = (e) => e.isTTY === !0, w = (e, r) => ee ? e : r, Me = w("◆", "*"), ce = w("■", "x"), de = w("▲", "x"), k = w("◇", "o"), $e = w("┌", "T"), h = w("│", "|"), x$1 = w("└", "—"), Re = w("┐", "T"), Oe = w("┘", "—"), Y = w("●", ">"), K = w("○", " "), te = w("◻", "[•]"), G = w("◼", "[+]"), z = w("◻", "[ ]"), Pe = w("▪", "•"), se = w("─", "-"), he = w("╮", "+"), Ne = w("├", "+"), me = w("╯", "+"), pe = w("╰", "+"), We = w("╭", "+"), ge = w("●", "•"), fe = w("◆", "*"), Fe = w("▲", "!"), ye = w("■", "x"), N = (e) => {
|
|
11206
11219
|
switch (e) {
|
|
@@ -11831,7 +11844,7 @@ ${import_picocolors.default.blue(x$1)}
|
|
|
11831
11844
|
`), o = n.reduce((a, d) => Math.max(M(d), a), 0);
|
|
11832
11845
|
return q(e, r - (n.map(s).reduce((a, d) => Math.max(M(d), a), 0) - o), i);
|
|
11833
11846
|
}, kt = (e = "", r = "", s) => {
|
|
11834
|
-
const i = s?.output ??
|
|
11847
|
+
const i = s?.output ?? process$1.stdout, n = (s?.withGuide ?? _.withGuide) !== !1, o = s?.format ?? jt, u = [
|
|
11835
11848
|
"",
|
|
11836
11849
|
...Vt(e, rt(i) - 6, o).split(`
|
|
11837
11850
|
`).map(o),
|
|
@@ -12389,6 +12402,11 @@ const relative = function(from, to) {
|
|
|
12389
12402
|
}
|
|
12390
12403
|
return [..._from.map(() => ".."), ..._to].join("/");
|
|
12391
12404
|
};
|
|
12405
|
+
const dirname$1 = function(p) {
|
|
12406
|
+
const segments = normalizeWindowsPath(p).replace(/\/$/, "").split("/").slice(0, -1);
|
|
12407
|
+
if (segments.length === 1 && _DRIVE_LETTER_RE.test(segments[0])) segments[0] += "/";
|
|
12408
|
+
return segments.join("/") || (isAbsolute$1(p) ? "/" : ".");
|
|
12409
|
+
};
|
|
12392
12410
|
|
|
12393
12411
|
//#endregion
|
|
12394
12412
|
//#region ../../node_modules/.pnpm/eslint-visitor-keys@4.2.1/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs
|
|
@@ -27228,35 +27246,31 @@ async function prompt(args, cwd = process.cwd()) {
|
|
|
27228
27246
|
}]
|
|
27229
27247
|
});
|
|
27230
27248
|
},
|
|
27231
|
-
|
|
27232
|
-
|
|
27233
|
-
|
|
27234
|
-
if (
|
|
27235
|
-
|
|
27236
|
-
|
|
27237
|
-
|
|
27249
|
+
css: ({ results }) => {
|
|
27250
|
+
const type = results.type || args.type;
|
|
27251
|
+
const platform = results.platform || args.platform;
|
|
27252
|
+
if (args.css) if (type === "vuetify" && args.css.startsWith("unocss")) R.warn(i18n$1.t("prompts.css_framework.status.not_supported", {
|
|
27253
|
+
css: "UnoCSS",
|
|
27254
|
+
vuetify: "Vuetify"
|
|
27255
|
+
}));
|
|
27256
|
+
else return Promise.resolve(args.css);
|
|
27257
|
+
if (!args.interactive) return Promise.resolve("none");
|
|
27258
|
+
if (type === "vuetify" && platform === "nuxt") return qt({
|
|
27259
|
+
message: i18n$1.t("prompts.css_framework.select"),
|
|
27260
|
+
initialValue: "none",
|
|
27238
27261
|
options: [{
|
|
27239
|
-
label:
|
|
27240
|
-
value: "
|
|
27262
|
+
label: "Tailwind CSS",
|
|
27263
|
+
value: "tailwindcss",
|
|
27264
|
+
hint: i18n$1.t("prompts.css_framework.tailwindcss.hint")
|
|
27241
27265
|
}, {
|
|
27242
|
-
label: i18n$1.t("prompts.
|
|
27243
|
-
value: "
|
|
27266
|
+
label: i18n$1.t("prompts.css_framework.none"),
|
|
27267
|
+
value: "none"
|
|
27244
27268
|
}]
|
|
27245
27269
|
});
|
|
27246
|
-
},
|
|
27247
|
-
cssFramework: ({ results }) => {
|
|
27248
|
-
const type = results.type || args.type;
|
|
27249
|
-
if (type !== "vuetify0") return Promise.resolve("none");
|
|
27250
|
-
if (args.css) {
|
|
27251
|
-
if (args.css.includes("unocss")) return Promise.resolve("unocss");
|
|
27252
|
-
if (args.css.includes("tailwindcss")) return Promise.resolve("tailwindcss");
|
|
27253
|
-
return Promise.resolve("none");
|
|
27254
|
-
}
|
|
27255
|
-
if (!args.interactive) return Promise.resolve("none");
|
|
27256
27270
|
return qt({
|
|
27257
27271
|
message: i18n$1.t("prompts.css_framework.select"),
|
|
27258
27272
|
initialValue: type === "vuetify0" ? "unocss" : "none",
|
|
27259
|
-
options: [
|
|
27273
|
+
options: type === "vuetify0" ? [
|
|
27260
27274
|
{
|
|
27261
27275
|
label: "UnoCSS",
|
|
27262
27276
|
value: "unocss",
|
|
@@ -27271,43 +27285,40 @@ async function prompt(args, cwd = process.cwd()) {
|
|
|
27271
27285
|
label: i18n$1.t("prompts.css_framework.none"),
|
|
27272
27286
|
value: "none"
|
|
27273
27287
|
}
|
|
27274
|
-
]
|
|
27275
|
-
});
|
|
27276
|
-
},
|
|
27277
|
-
typescript: ({ results }) => {
|
|
27278
|
-
if ((results.platform || args.platform) === "vue" && args.typescript === void 0) return Mt({
|
|
27279
|
-
message: i18n$1.t("prompts.typescript.use"),
|
|
27280
|
-
initialValue: true
|
|
27281
|
-
});
|
|
27282
|
-
return Promise.resolve(args.typescript ?? true);
|
|
27283
|
-
},
|
|
27284
|
-
router: ({ results }) => {
|
|
27285
|
-
if (args.router) return Promise.resolve(args.router);
|
|
27286
|
-
if ((results.platform || args.platform) !== "vue") return Promise.resolve("none");
|
|
27287
|
-
if (!args.interactive) return Promise.resolve("none");
|
|
27288
|
-
return qt({
|
|
27289
|
-
message: i18n$1.t("prompts.router.select"),
|
|
27290
|
-
initialValue: "router",
|
|
27291
|
-
options: [
|
|
27288
|
+
] : [
|
|
27292
27289
|
{
|
|
27293
|
-
label: i18n$1.t("prompts.
|
|
27290
|
+
label: i18n$1.t("prompts.css_framework.none"),
|
|
27294
27291
|
value: "none"
|
|
27295
27292
|
},
|
|
27296
27293
|
{
|
|
27297
|
-
label:
|
|
27298
|
-
value: "
|
|
27299
|
-
hint: i18n$1.t("prompts.
|
|
27294
|
+
label: "Tailwind CSS",
|
|
27295
|
+
value: "tailwindcss",
|
|
27296
|
+
hint: i18n$1.t("prompts.css_framework.tailwindcss.hint")
|
|
27300
27297
|
},
|
|
27301
27298
|
{
|
|
27302
|
-
label: i18n$1.t("prompts.
|
|
27303
|
-
|
|
27304
|
-
|
|
27299
|
+
label: i18n$1.t("prompts.css_framework.unocss_wind4.label"),
|
|
27300
|
+
disabled: true,
|
|
27301
|
+
value: "unocss-wind4",
|
|
27302
|
+
hint: i18n$1.t("prompts.css_framework.unocss_wind4.hint")
|
|
27303
|
+
},
|
|
27304
|
+
{
|
|
27305
|
+
label: i18n$1.t("prompts.css_framework.unocss_vuetify.label"),
|
|
27306
|
+
disabled: true,
|
|
27307
|
+
value: "unocss-vuetify",
|
|
27308
|
+
hint: i18n$1.t("prompts.css_framework.unocss_vuetify.hint")
|
|
27305
27309
|
}
|
|
27306
27310
|
]
|
|
27307
27311
|
});
|
|
27308
27312
|
},
|
|
27313
|
+
typescript: ({ results }) => {
|
|
27314
|
+
if ((results.platform || args.platform) === "vue" && args.typescript === void 0) return Mt({
|
|
27315
|
+
message: i18n$1.t("prompts.typescript.use"),
|
|
27316
|
+
initialValue: true
|
|
27317
|
+
});
|
|
27318
|
+
return Promise.resolve(args.typescript ?? true);
|
|
27319
|
+
},
|
|
27309
27320
|
features: ({ results }) => {
|
|
27310
|
-
if (args.features) return Promise.resolve(args.features
|
|
27321
|
+
if (args.features) return Promise.resolve(args.features);
|
|
27311
27322
|
if (!args.interactive) return Promise.resolve([]);
|
|
27312
27323
|
const platform = results.platform || args.platform;
|
|
27313
27324
|
const type = results.type || args.type;
|
|
@@ -27319,6 +27330,11 @@ async function prompt(args, cwd = process.cwd()) {
|
|
|
27319
27330
|
value: "eslint",
|
|
27320
27331
|
hint: i18n$1.t("prompts.features.eslint.hint")
|
|
27321
27332
|
},
|
|
27333
|
+
{
|
|
27334
|
+
label: i18n$1.t("prompts.features.router.label"),
|
|
27335
|
+
value: "router",
|
|
27336
|
+
hint: i18n$1.t("prompts.features.router.hint")
|
|
27337
|
+
},
|
|
27322
27338
|
{
|
|
27323
27339
|
label: i18n$1.t("prompts.features.mcp.label"),
|
|
27324
27340
|
value: "mcp",
|
|
@@ -27370,6 +27386,32 @@ async function prompt(args, cwd = process.cwd()) {
|
|
|
27370
27386
|
required: false
|
|
27371
27387
|
});
|
|
27372
27388
|
},
|
|
27389
|
+
router: ({ results }) => {
|
|
27390
|
+
if (args.router) return Promise.resolve(args.router);
|
|
27391
|
+
if ((results.platform || args.platform) !== "vue") return Promise.resolve("none");
|
|
27392
|
+
if (!(results.features || args.features || []).includes("router")) return Promise.resolve("none");
|
|
27393
|
+
if (!args.interactive) return Promise.resolve("router");
|
|
27394
|
+
return qt({
|
|
27395
|
+
message: i18n$1.t("prompts.router.select"),
|
|
27396
|
+
initialValue: "router",
|
|
27397
|
+
options: [
|
|
27398
|
+
{
|
|
27399
|
+
label: i18n$1.t("prompts.router.none"),
|
|
27400
|
+
value: "none"
|
|
27401
|
+
},
|
|
27402
|
+
{
|
|
27403
|
+
label: i18n$1.t("prompts.router.standard.label"),
|
|
27404
|
+
value: "router",
|
|
27405
|
+
hint: i18n$1.t("prompts.router.standard.hint")
|
|
27406
|
+
},
|
|
27407
|
+
{
|
|
27408
|
+
label: i18n$1.t("prompts.router.file.label"),
|
|
27409
|
+
value: "file-router",
|
|
27410
|
+
hint: i18n$1.t("prompts.router.file.hint")
|
|
27411
|
+
}
|
|
27412
|
+
]
|
|
27413
|
+
});
|
|
27414
|
+
},
|
|
27373
27415
|
clientHints: ({ results }) => {
|
|
27374
27416
|
if (args.clientHints !== void 0) return Promise.resolve(args.clientHints);
|
|
27375
27417
|
if (!args.interactive) return Promise.resolve(false);
|
|
@@ -27381,9 +27423,17 @@ async function prompt(args, cwd = process.cwd()) {
|
|
|
27381
27423
|
});
|
|
27382
27424
|
return Promise.resolve(false);
|
|
27383
27425
|
},
|
|
27384
|
-
|
|
27426
|
+
install: () => {
|
|
27427
|
+
if (args.install !== void 0) return Promise.resolve(args.install);
|
|
27428
|
+
if (!args.interactive) return Promise.resolve(false);
|
|
27429
|
+
return Mt({
|
|
27430
|
+
message: i18n$1.t("prompts.install"),
|
|
27431
|
+
initialValue: true
|
|
27432
|
+
});
|
|
27433
|
+
},
|
|
27434
|
+
packageManager: ({ results }) => {
|
|
27385
27435
|
if (args.packageManager) return Promise.resolve(args.packageManager);
|
|
27386
|
-
if (args.install === false) return Promise.resolve("
|
|
27436
|
+
if ((results.install ?? args.install) === false) return Promise.resolve(getUserAgent() ?? "npm");
|
|
27387
27437
|
if (!args.interactive) return Promise.resolve(getUserAgent() ?? "npm");
|
|
27388
27438
|
return qt({
|
|
27389
27439
|
message: i18n$1.t("prompts.package_manager.select"),
|
|
@@ -27408,31 +27458,18 @@ async function prompt(args, cwd = process.cwd()) {
|
|
|
27408
27458
|
{
|
|
27409
27459
|
label: "bun",
|
|
27410
27460
|
value: "bun"
|
|
27411
|
-
},
|
|
27412
|
-
{
|
|
27413
|
-
label: "none",
|
|
27414
|
-
value: "none"
|
|
27415
27461
|
}
|
|
27416
27462
|
]
|
|
27417
27463
|
});
|
|
27418
|
-
},
|
|
27419
|
-
install: ({ results }) => {
|
|
27420
|
-
if (args.install !== void 0) return Promise.resolve(args.install);
|
|
27421
|
-
if (!args.interactive) return Promise.resolve(false);
|
|
27422
|
-
if ((results.packageManager || args.packageManager) === "none") return Promise.resolve(false);
|
|
27423
|
-
return Mt({
|
|
27424
|
-
message: i18n$1.t("prompts.install"),
|
|
27425
|
-
initialValue: true
|
|
27426
|
-
});
|
|
27427
27464
|
}
|
|
27428
27465
|
}, { onCancel: () => {
|
|
27429
27466
|
Pt(i18n$1.t("prompts.cancel"));
|
|
27430
27467
|
process.exit(0);
|
|
27431
27468
|
} });
|
|
27432
27469
|
const features = [
|
|
27433
|
-
...options.features,
|
|
27434
|
-
options.router,
|
|
27435
|
-
options.
|
|
27470
|
+
...(options.features || []).filter((f) => f !== "router"),
|
|
27471
|
+
options.router === "none" ? void 0 : options.router,
|
|
27472
|
+
options.type === "vuetify0" ? options.css === "none" ? "css-none" : options.css : options.css === "none" ? void 0 : options.css
|
|
27436
27473
|
].filter((f) => f && f !== "none");
|
|
27437
27474
|
return {
|
|
27438
27475
|
...options,
|
|
@@ -27655,7 +27692,7 @@ async function downloadTemplate(input, options = {}) {
|
|
|
27655
27692
|
const tarPath = resolve$1$1(resolve$1$1(cacheDirectory(), providerName, template.name), (template.version || template.name) + ".tar.gz");
|
|
27656
27693
|
if (options.preferOffline && existsSync(tarPath)) options.offline = true;
|
|
27657
27694
|
if (!options.offline) {
|
|
27658
|
-
await mkdir(dirname$1(tarPath), { recursive: true });
|
|
27695
|
+
await mkdir(dirname$1$1(tarPath), { recursive: true });
|
|
27659
27696
|
const s = Date.now();
|
|
27660
27697
|
await download(template.tar, tarPath, { headers: {
|
|
27661
27698
|
Authorization: options.auth ? `Bearer ${options.auth}` : void 0,
|
|
@@ -27690,7 +27727,7 @@ async function downloadTemplate(input, options = {}) {
|
|
|
27690
27727
|
debug(`Extracted to ${extractPath} in ${Date.now() - s}ms`);
|
|
27691
27728
|
if (options.install) {
|
|
27692
27729
|
debug("Installing dependencies...");
|
|
27693
|
-
const { installDependencies } = await import("./nypm-
|
|
27730
|
+
const { installDependencies } = await import("./nypm-E8g6UEI5.mjs").then((n) => n.t);
|
|
27694
27731
|
await installDependencies({
|
|
27695
27732
|
cwd: extractPath,
|
|
27696
27733
|
silent: options.silent,
|
|
@@ -27709,8 +27746,8 @@ async function downloadTemplate(input, options = {}) {
|
|
|
27709
27746
|
const cssNone = {
|
|
27710
27747
|
name: "css-none",
|
|
27711
27748
|
apply: async ({ cwd, isNuxt }) => {
|
|
27712
|
-
const
|
|
27713
|
-
if (existsSync(
|
|
27749
|
+
const unocssConfigs = [join$1(cwd, "unocss.config.ts"), join$1(cwd, "uno.config.ts")];
|
|
27750
|
+
for (const configPath of unocssConfigs) if (existsSync(configPath)) rmSync(configPath);
|
|
27714
27751
|
const tailwindCss = isNuxt ? join$1(cwd, "app/assets/css/tailwind.css") : join$1(cwd, "src/tailwind.css");
|
|
27715
27752
|
if (existsSync(tailwindCss)) rmSync(tailwindCss);
|
|
27716
27753
|
}
|
|
@@ -27729,15 +27766,19 @@ var dependencies = {
|
|
|
27729
27766
|
"vue-router": "^4.6.4",
|
|
27730
27767
|
"vue-i18n": "^11.2.7",
|
|
27731
27768
|
"unplugin-vue-router": "^0.19.1",
|
|
27732
|
-
"vite-plugin-vuetify": "^2.1.
|
|
27769
|
+
"vite-plugin-vuetify": "^2.1.3",
|
|
27733
27770
|
"unocss": "^66.5.12",
|
|
27771
|
+
"@unocss/transformer-directives": "^66.6.0",
|
|
27734
27772
|
"@unocss/nuxt": "^66.5.12",
|
|
27773
|
+
"unocss-preset-vuetify": "^0.1.1",
|
|
27735
27774
|
"tailwindcss": "^4.1.18",
|
|
27736
27775
|
"@tailwindcss/vite": "^4.1.18",
|
|
27737
27776
|
"@nuxtjs/tailwindcss": "^7.0.0-beta.1",
|
|
27738
27777
|
"pathe": "^2.0.3",
|
|
27739
27778
|
"@vuetify/loader-shared": "^2.1.1",
|
|
27740
|
-
"@intellectronica/ruler": "^0.3.18"
|
|
27779
|
+
"@intellectronica/ruler": "^0.3.18",
|
|
27780
|
+
"@fontsource/roboto": "^5.2.9",
|
|
27781
|
+
"@fontsource/roboto-mono": "^5.2.8"
|
|
27741
27782
|
};
|
|
27742
27783
|
|
|
27743
27784
|
//#endregion
|
|
@@ -27994,7 +28035,7 @@ export const useAppStore = defineStore('app', {
|
|
|
27994
28035
|
|
|
27995
28036
|
//#endregion
|
|
27996
28037
|
//#region ../shared/package.json
|
|
27997
|
-
var version$1 = "0.
|
|
28038
|
+
var version$1 = "1.0.0";
|
|
27998
28039
|
|
|
27999
28040
|
//#endregion
|
|
28000
28041
|
//#region ../shared/src/utils/getTemplateSource.ts
|
|
@@ -28134,9 +28175,10 @@ export default router
|
|
|
28134
28175
|
//#region ../shared/src/features/tailwindcss.ts
|
|
28135
28176
|
const tailwindcss = {
|
|
28136
28177
|
name: "tailwindcss",
|
|
28137
|
-
apply: async ({ cwd, pkg, isTypescript, isNuxt }) => {
|
|
28138
|
-
|
|
28139
|
-
|
|
28178
|
+
apply: async ({ cwd, pkg, isTypescript, isNuxt, type }) => {
|
|
28179
|
+
if (type === "vuetify" && !isNuxt) return;
|
|
28180
|
+
const unocssConfigs = [join$1(cwd, "unocss.config.ts"), join$1(cwd, "uno.config.ts")];
|
|
28181
|
+
for (const configPath of unocssConfigs) if (existsSync(configPath)) rmSync(configPath);
|
|
28140
28182
|
if (isNuxt) {
|
|
28141
28183
|
pkg.devDependencies = pkg.devDependencies || {};
|
|
28142
28184
|
pkg.devDependencies["tailwindcss"] = dependencies.tailwindcss;
|
|
@@ -28169,40 +28211,57 @@ const tailwindcss = {
|
|
|
28169
28211
|
|
|
28170
28212
|
//#endregion
|
|
28171
28213
|
//#region ../shared/src/features/unocss.ts
|
|
28214
|
+
async function applyUnocssBase({ cwd, pkg, isTypescript, isNuxt }, options = {}) {
|
|
28215
|
+
pkg.devDependencies = pkg.devDependencies || {};
|
|
28216
|
+
pkg.devDependencies["unocss"] = dependencies.unocss;
|
|
28217
|
+
pkg.devDependencies["@unocss/transformer-directives"] = dependencies["@unocss/transformer-directives"];
|
|
28218
|
+
if (options.presetVuetify) pkg.devDependencies["unocss-preset-vuetify"] = dependencies["unocss-preset-vuetify"];
|
|
28219
|
+
const tailwindCss = isNuxt ? join$1(cwd, "app/assets/css/tailwind.css") : join$1(cwd, "src/tailwind.css");
|
|
28220
|
+
if (existsSync(tailwindCss)) rmSync(tailwindCss);
|
|
28221
|
+
if (pkg.devDependencies) {
|
|
28222
|
+
delete pkg.devDependencies["tailwindcss"];
|
|
28223
|
+
delete pkg.devDependencies["@tailwindcss/vite"];
|
|
28224
|
+
delete pkg.devDependencies["@nuxtjs/tailwindcss"];
|
|
28225
|
+
}
|
|
28226
|
+
if (isNuxt) {
|
|
28227
|
+
pkg.devDependencies["@unocss/nuxt"] = dependencies["@unocss/nuxt"];
|
|
28228
|
+
const configPath = join$1(cwd, "nuxt.config.ts");
|
|
28229
|
+
const mod = await loadFile(configPath);
|
|
28230
|
+
addNuxtModule(mod, "@unocss/nuxt");
|
|
28231
|
+
await writeFile(configPath, mod.generate().code);
|
|
28232
|
+
return;
|
|
28233
|
+
}
|
|
28234
|
+
const viteConfigPath = join$1(cwd, `vite.config.m${isTypescript ? "ts" : "js"}`);
|
|
28235
|
+
const mod = await loadFile(viteConfigPath);
|
|
28236
|
+
addVitePlugin(mod, {
|
|
28237
|
+
from: "unocss/vite",
|
|
28238
|
+
constructor: "UnoCSS"
|
|
28239
|
+
});
|
|
28240
|
+
await writeFile(viteConfigPath, mod.generate().code);
|
|
28241
|
+
for (const file of ["src/main.ts", "src/main.js"]) {
|
|
28242
|
+
const filePath = join$1(cwd, file);
|
|
28243
|
+
if (existsSync(filePath)) {
|
|
28244
|
+
await writeFile(filePath, (await readFile(filePath, "utf8")).replace(/\/\/ Styles/g, "// Styles\nimport 'virtual:uno.css'"));
|
|
28245
|
+
break;
|
|
28246
|
+
}
|
|
28247
|
+
}
|
|
28248
|
+
}
|
|
28172
28249
|
const unocss = {
|
|
28173
28250
|
name: "unocss",
|
|
28174
|
-
apply: async (
|
|
28175
|
-
|
|
28176
|
-
|
|
28177
|
-
|
|
28178
|
-
|
|
28179
|
-
|
|
28180
|
-
|
|
28181
|
-
|
|
28182
|
-
|
|
28183
|
-
|
|
28184
|
-
|
|
28185
|
-
|
|
28186
|
-
|
|
28187
|
-
|
|
28188
|
-
addNuxtModule(mod, "@unocss/nuxt");
|
|
28189
|
-
await writeFile(configPath, mod.generate().code);
|
|
28190
|
-
} else {
|
|
28191
|
-
const viteConfigPath = join$1(cwd, `vite.config.m${isTypescript ? "ts" : "js"}`);
|
|
28192
|
-
const mod = await loadFile(viteConfigPath);
|
|
28193
|
-
addVitePlugin(mod, {
|
|
28194
|
-
from: "unocss/vite",
|
|
28195
|
-
constructor: "UnoCSS"
|
|
28196
|
-
});
|
|
28197
|
-
await writeFile(viteConfigPath, mod.generate().code);
|
|
28198
|
-
for (const file of ["src/main.ts", "src/main.js"]) {
|
|
28199
|
-
const filePath = join$1(cwd, file);
|
|
28200
|
-
if (existsSync(filePath)) {
|
|
28201
|
-
await writeFile(filePath, (await readFile(filePath, "utf8")).replace(/\/\/ Styles/g, "// Styles\nimport 'virtual:uno.css'"));
|
|
28202
|
-
break;
|
|
28203
|
-
}
|
|
28204
|
-
}
|
|
28205
|
-
}
|
|
28251
|
+
apply: async (ctx) => {
|
|
28252
|
+
await applyUnocssBase(ctx);
|
|
28253
|
+
}
|
|
28254
|
+
};
|
|
28255
|
+
const unocssWind4 = {
|
|
28256
|
+
name: "unocss-wind4",
|
|
28257
|
+
apply: async (ctx) => {
|
|
28258
|
+
await applyUnocssBase(ctx);
|
|
28259
|
+
}
|
|
28260
|
+
};
|
|
28261
|
+
const unocssVuetify = {
|
|
28262
|
+
name: "unocss-vuetify",
|
|
28263
|
+
apply: async (ctx) => {
|
|
28264
|
+
await applyUnocssBase(ctx, { presetVuetify: true });
|
|
28206
28265
|
}
|
|
28207
28266
|
};
|
|
28208
28267
|
|
|
@@ -28280,6 +28339,8 @@ const features = {
|
|
|
28280
28339
|
"vuetify-nuxt-module": vuetifyNuxtModule,
|
|
28281
28340
|
"vuetify-nuxt-manual": vuetifyNuxtManual,
|
|
28282
28341
|
unocss,
|
|
28342
|
+
"unocss-wind4": unocssWind4,
|
|
28343
|
+
"unocss-vuetify": unocssVuetify,
|
|
28283
28344
|
tailwindcss,
|
|
28284
28345
|
"css-none": cssNone
|
|
28285
28346
|
};
|
|
@@ -28657,8 +28718,59 @@ async function installDependencies(root = process.cwd(), manager = packageManage
|
|
|
28657
28718
|
|
|
28658
28719
|
//#endregion
|
|
28659
28720
|
//#region ../shared/src/functions/scaffold.ts
|
|
28721
|
+
function resolveTemplateName(templates, platform, type, features) {
|
|
28722
|
+
if (platform !== "vue" || type !== "vuetify") return templates[platform][type];
|
|
28723
|
+
if (features.includes("unocss-wind4")) return "vue/unocss-wind4";
|
|
28724
|
+
if (features.includes("unocss-vuetify")) return "vue/unocss-vuetify";
|
|
28725
|
+
if (features.includes("tailwindcss")) return "vue/tailwind";
|
|
28726
|
+
return templates[platform][type];
|
|
28727
|
+
}
|
|
28728
|
+
async function resolveSharedAssetsPath() {
|
|
28729
|
+
const templateName = "shared-assets";
|
|
28730
|
+
const envTemplatesPath = process.env.VUETIFY_CLI_TEMPLATES_PATH;
|
|
28731
|
+
if (envTemplatesPath) {
|
|
28732
|
+
const templatePath = join$1(envTemplatesPath, templateName);
|
|
28733
|
+
if (existsSync(templatePath)) return { path: templatePath };
|
|
28734
|
+
}
|
|
28735
|
+
const tempDir = fs.mkdtempSync(join$1(tmpdir(), "vuetify-cli-assets-"));
|
|
28736
|
+
await downloadTemplate(getTemplateSource(templateName), {
|
|
28737
|
+
dir: tempDir,
|
|
28738
|
+
force: true
|
|
28739
|
+
});
|
|
28740
|
+
return {
|
|
28741
|
+
path: tempDir,
|
|
28742
|
+
cleanup: () => rmSync(tempDir, {
|
|
28743
|
+
recursive: true,
|
|
28744
|
+
force: true
|
|
28745
|
+
})
|
|
28746
|
+
};
|
|
28747
|
+
}
|
|
28748
|
+
function copySharedAsset(sourcePath, targetPath) {
|
|
28749
|
+
if (!existsSync(sourcePath)) return;
|
|
28750
|
+
fs.mkdirSync(dirname$1(targetPath), { recursive: true });
|
|
28751
|
+
fs.copyFileSync(sourcePath, targetPath);
|
|
28752
|
+
}
|
|
28753
|
+
async function applySharedAssets(projectRoot, platform, type) {
|
|
28754
|
+
const needsFavicon = type === "vuetify" && (platform === "vue" || platform === "nuxt");
|
|
28755
|
+
const needsLogo = platform === "vue" || platform === "nuxt";
|
|
28756
|
+
const needsV0Badge = type === "vuetify0";
|
|
28757
|
+
if (!needsFavicon && !needsLogo && !needsV0Badge) return;
|
|
28758
|
+
const assets = await resolveSharedAssetsPath();
|
|
28759
|
+
if (!assets) return;
|
|
28760
|
+
try {
|
|
28761
|
+
if (needsFavicon) copySharedAsset(join$1(assets.path, "favicon.ico"), join$1(projectRoot, "public", "favicon.ico"));
|
|
28762
|
+
if (needsLogo) {
|
|
28763
|
+
const logoRoot = platform === "nuxt" ? join$1(projectRoot, "assets") : join$1(projectRoot, "src", "assets");
|
|
28764
|
+
copySharedAsset(join$1(assets.path, "logo.png"), join$1(logoRoot, "logo.png"));
|
|
28765
|
+
copySharedAsset(join$1(assets.path, "logo.svg"), join$1(logoRoot, "logo.svg"));
|
|
28766
|
+
}
|
|
28767
|
+
if (needsV0Badge) copySharedAsset(join$1(assets.path, "0.png"), join$1(projectRoot, "public", "0.png"));
|
|
28768
|
+
} finally {
|
|
28769
|
+
assets.cleanup?.();
|
|
28770
|
+
}
|
|
28771
|
+
}
|
|
28660
28772
|
async function scaffold(options, callbacks = {}) {
|
|
28661
|
-
const { cwd, name, platform, features, typescript, type,
|
|
28773
|
+
const { cwd, name, platform, features, typescript, type, packageManager, install, force, clientHints, debug: debugFlag } = options;
|
|
28662
28774
|
const debug = (...msg) => debugFlag && console.log("DEBUG:", ...msg);
|
|
28663
28775
|
const projectRoot = join$1(cwd, name);
|
|
28664
28776
|
debug("projectRoot=", projectRoot);
|
|
@@ -28666,16 +28778,16 @@ async function scaffold(options, callbacks = {}) {
|
|
|
28666
28778
|
recursive: true,
|
|
28667
28779
|
force: true
|
|
28668
28780
|
});
|
|
28669
|
-
const templateName = {
|
|
28781
|
+
const templateName = resolveTemplateName({
|
|
28670
28782
|
vue: {
|
|
28671
28783
|
vuetify0: "vuetify0/base",
|
|
28672
28784
|
vuetify: "vue/base"
|
|
28673
28785
|
},
|
|
28674
28786
|
nuxt: {
|
|
28675
28787
|
vuetify0: "vuetify0/nuxt",
|
|
28676
|
-
vuetify: "
|
|
28788
|
+
vuetify: "nuxt/base"
|
|
28677
28789
|
}
|
|
28678
|
-
}
|
|
28790
|
+
}, platform, type, features);
|
|
28679
28791
|
callbacks.onDownloadStart?.(templateName);
|
|
28680
28792
|
if (process.env.VUETIFY_CLI_TEMPLATES_PATH) {
|
|
28681
28793
|
const templatePath = join$1(process.env.VUETIFY_CLI_TEMPLATES_PATH, templateName);
|
|
@@ -28703,9 +28815,9 @@ async function scaffold(options, callbacks = {}) {
|
|
|
28703
28815
|
}
|
|
28704
28816
|
}
|
|
28705
28817
|
callbacks.onDownloadEnd?.();
|
|
28818
|
+
await applySharedAssets(projectRoot, platform, type);
|
|
28706
28819
|
let pkg;
|
|
28707
28820
|
pkg = await readPackageJSON(join$1(projectRoot, "package.json"));
|
|
28708
|
-
if (vuetifyVersion === "4.x" && pkg.dependencies && pkg.dependencies.vuetify) pkg.dependencies.vuetify = "^4.0.0-beta.1";
|
|
28709
28821
|
callbacks.onConfigStart?.();
|
|
28710
28822
|
if (features && features.length > 0) await applyFeatures(projectRoot, features, pkg, !!typescript, platform === "nuxt", clientHints, type);
|
|
28711
28823
|
if (platform === "nuxt" && type !== "vuetify0" && (!features || !features.includes("vuetify-nuxt-module"))) await vuetifyNuxtManual.apply({
|
|
@@ -28779,8 +28891,7 @@ async function createVuetify(options, commandOptions) {
|
|
|
28779
28891
|
platform: rawArgs.platform,
|
|
28780
28892
|
type: rawArgs.type,
|
|
28781
28893
|
css: rawArgs.css,
|
|
28782
|
-
router: rawArgs.router
|
|
28783
|
-
vuetifyVersion: args.vuetifyVersion
|
|
28894
|
+
router: rawArgs.router
|
|
28784
28895
|
}, cwd);
|
|
28785
28896
|
debug("context=", JSON.stringify(context, null, 2));
|
|
28786
28897
|
if (args.interactive && !args.preset) {
|
|
@@ -28828,7 +28939,6 @@ async function createVuetify(options, commandOptions) {
|
|
|
28828
28939
|
name: context.name,
|
|
28829
28940
|
platform: context.platform,
|
|
28830
28941
|
type: context.type,
|
|
28831
|
-
vuetifyVersion: context.vuetifyVersion,
|
|
28832
28942
|
features: context.features,
|
|
28833
28943
|
typescript: !!context.typescript,
|
|
28834
28944
|
packageManager: context.packageManager,
|
|
@@ -28925,7 +29035,7 @@ function isInsideContainer() {
|
|
|
28925
29035
|
//#endregion
|
|
28926
29036
|
//#region ../../node_modules/.pnpm/is-wsl@3.1.0/node_modules/is-wsl/index.js
|
|
28927
29037
|
const isWsl = () => {
|
|
28928
|
-
if (
|
|
29038
|
+
if (process$1.platform !== "linux") return false;
|
|
28929
29039
|
if (os.release().toLowerCase().includes("microsoft")) {
|
|
28930
29040
|
if (isInsideContainer()) return false;
|
|
28931
29041
|
return true;
|
|
@@ -28936,12 +29046,12 @@ const isWsl = () => {
|
|
|
28936
29046
|
return false;
|
|
28937
29047
|
}
|
|
28938
29048
|
};
|
|
28939
|
-
var is_wsl_default =
|
|
29049
|
+
var is_wsl_default = process$1.env.__IS_WSL_TEST__ ? isWsl : isWsl();
|
|
28940
29050
|
|
|
28941
29051
|
//#endregion
|
|
28942
29052
|
//#region ../../node_modules/.pnpm/powershell-utils@0.1.0/node_modules/powershell-utils/index.js
|
|
28943
29053
|
const execFile$2 = promisify(childProcess.execFile);
|
|
28944
|
-
const powerShellPath$1 = () => `${
|
|
29054
|
+
const powerShellPath$1 = () => `${process$1.env.SYSTEMROOT || process$1.env.windir || String.raw`C:\Windows`}\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`;
|
|
28945
29055
|
const executePowerShell = async (command, options = {}) => {
|
|
28946
29056
|
const { powerShellPath: psPath, ...execFileOptions } = options;
|
|
28947
29057
|
const encodedCommand = executePowerShell.encodeCommand(command);
|
|
@@ -29042,7 +29152,7 @@ function defineLazyProperty(object, propertyName, valueGetter) {
|
|
|
29042
29152
|
//#region ../../node_modules/.pnpm/default-browser-id@5.0.0/node_modules/default-browser-id/index.js
|
|
29043
29153
|
const execFileAsync$3 = promisify(execFile);
|
|
29044
29154
|
async function defaultBrowserId() {
|
|
29045
|
-
if (
|
|
29155
|
+
if (process$1.platform !== "darwin") throw new Error("macOS only");
|
|
29046
29156
|
const { stdout } = await execFileAsync$3("defaults", [
|
|
29047
29157
|
"read",
|
|
29048
29158
|
"com.apple.LaunchServices/com.apple.launchservices.secure",
|
|
@@ -29055,7 +29165,7 @@ async function defaultBrowserId() {
|
|
|
29055
29165
|
//#region ../../node_modules/.pnpm/run-applescript@7.1.0/node_modules/run-applescript/index.js
|
|
29056
29166
|
const execFileAsync$2 = promisify(execFile);
|
|
29057
29167
|
async function runAppleScript(script, { humanReadableOutput = true, signal } = {}) {
|
|
29058
|
-
if (
|
|
29168
|
+
if (process$1.platform !== "darwin") throw new Error("macOS only");
|
|
29059
29169
|
const outputArguments = humanReadableOutput ? [] : ["-ss"];
|
|
29060
29170
|
const execOptions = {};
|
|
29061
29171
|
if (signal) execOptions.signal = signal;
|
|
@@ -29164,14 +29274,14 @@ async function defaultBrowser$1(_execFileAsync = execFileAsync$1) {
|
|
|
29164
29274
|
const execFileAsync = promisify(execFile);
|
|
29165
29275
|
const titleize = (string) => string.toLowerCase().replaceAll(/(?:^|\s|-)\S/g, (x) => x.toUpperCase());
|
|
29166
29276
|
async function defaultBrowser() {
|
|
29167
|
-
if (
|
|
29277
|
+
if (process$1.platform === "darwin") {
|
|
29168
29278
|
const id = await defaultBrowserId();
|
|
29169
29279
|
return {
|
|
29170
29280
|
name: await bundleName(id),
|
|
29171
29281
|
id
|
|
29172
29282
|
};
|
|
29173
29283
|
}
|
|
29174
|
-
if (
|
|
29284
|
+
if (process$1.platform === "linux") {
|
|
29175
29285
|
const { stdout } = await execFileAsync("xdg-mime", [
|
|
29176
29286
|
"query",
|
|
29177
29287
|
"default",
|
|
@@ -29183,20 +29293,20 @@ async function defaultBrowser() {
|
|
|
29183
29293
|
id
|
|
29184
29294
|
};
|
|
29185
29295
|
}
|
|
29186
|
-
if (
|
|
29296
|
+
if (process$1.platform === "win32") return defaultBrowser$1();
|
|
29187
29297
|
throw new Error("Only macOS, Linux, and Windows are supported");
|
|
29188
29298
|
}
|
|
29189
29299
|
|
|
29190
29300
|
//#endregion
|
|
29191
29301
|
//#region ../../node_modules/.pnpm/is-in-ssh@1.0.0/node_modules/is-in-ssh/index.js
|
|
29192
|
-
const isInSsh = Boolean(
|
|
29302
|
+
const isInSsh = Boolean(process$1.env.SSH_CONNECTION || process$1.env.SSH_CLIENT || process$1.env.SSH_TTY);
|
|
29193
29303
|
|
|
29194
29304
|
//#endregion
|
|
29195
29305
|
//#region ../../node_modules/.pnpm/open@11.0.0/node_modules/open/index.js
|
|
29196
29306
|
const fallbackAttemptSymbol = Symbol("fallbackAttempt");
|
|
29197
29307
|
const __dirname = import.meta.url ? path.dirname(fileURLToPath(import.meta.url)) : "";
|
|
29198
29308
|
const localXdgOpenPath = path.join(__dirname, "xdg-open");
|
|
29199
|
-
const { platform, arch } =
|
|
29309
|
+
const { platform, arch } = process$1;
|
|
29200
29310
|
const tryEachApp = async (apps, opener) => {
|
|
29201
29311
|
if (apps.length === 0) return;
|
|
29202
29312
|
const errors = [];
|
|
@@ -29309,7 +29419,7 @@ const baseOpen = async (options) => {
|
|
|
29309
29419
|
await fs$1.access(localXdgOpenPath, constants.X_OK);
|
|
29310
29420
|
exeLocalXdgOpen = true;
|
|
29311
29421
|
} catch {}
|
|
29312
|
-
command =
|
|
29422
|
+
command = process$1.versions.electron ?? (platform === "android" || isBundled || !exeLocalXdgOpen) ? "xdg-open" : localXdgOpenPath;
|
|
29313
29423
|
}
|
|
29314
29424
|
if (appArguments.length > 0) cliArguments.push(...appArguments);
|
|
29315
29425
|
if (!options.wait) {
|
|
@@ -29833,19 +29943,19 @@ const encodedSeparatorRegEx = /%2f|%5c/i;
|
|
|
29833
29943
|
const emittedPackageWarnings = /* @__PURE__ */ new Set();
|
|
29834
29944
|
const doubleSlashRegEx = /[/\\]{2}/;
|
|
29835
29945
|
function emitInvalidSegmentDeprecation(target, request, match, packageJsonUrl, internal, base, isTarget) {
|
|
29836
|
-
if (
|
|
29946
|
+
if (process$1.noDeprecation) return;
|
|
29837
29947
|
const pjsonPath = fileURLToPath(packageJsonUrl);
|
|
29838
29948
|
const double = doubleSlashRegEx.exec(isTarget ? target : request) !== null;
|
|
29839
|
-
|
|
29949
|
+
process$1.emitWarning(`Use of deprecated ${double ? "double slash" : "leading or trailing slash matching"} resolving "${target}" for module request "${request}" ${request === match ? "" : `matched to "${match}" `}in the "${internal ? "imports" : "exports"}" field module resolution of the package at ${pjsonPath}${base ? ` imported from ${fileURLToPath(base)}` : ""}.`, "DeprecationWarning", "DEP0166");
|
|
29840
29950
|
}
|
|
29841
29951
|
function emitLegacyIndexDeprecation(url, packageJsonUrl, base, main) {
|
|
29842
|
-
if (
|
|
29952
|
+
if (process$1.noDeprecation) return;
|
|
29843
29953
|
if (defaultGetFormatWithoutErrors(url, { parentURL: base.href }) !== "module") return;
|
|
29844
29954
|
const urlPath = fileURLToPath(url.href);
|
|
29845
29955
|
const packagePath = fileURLToPath(new URL$1(".", packageJsonUrl));
|
|
29846
29956
|
const basePath = fileURLToPath(base);
|
|
29847
|
-
if (!main)
|
|
29848
|
-
else if (path.resolve(packagePath, main) !== urlPath)
|
|
29957
|
+
if (!main) process$1.emitWarning(`No "main" or "exports" field defined in the package.json for ${packagePath} resolving the main entry point "${urlPath.slice(packagePath.length)}", imported from ${basePath}.\nDefault "index" lookups for the main are deprecated for ES modules.`, "DeprecationWarning", "DEP0151");
|
|
29958
|
+
else if (path.resolve(packagePath, main) !== urlPath) process$1.emitWarning(`Package ${packagePath} has a "main" field set to "${main}", excluding the full filename and extension to the resolved file at "${urlPath.slice(packagePath.length)}", imported from ${basePath}.\n Automatic extension resolution of the "main" field is deprecated for ES modules.`, "DeprecationWarning", "DEP0151");
|
|
29849
29959
|
}
|
|
29850
29960
|
function tryStatSync(path$1) {
|
|
29851
29961
|
try {
|
|
@@ -30053,11 +30163,11 @@ function isConditionalExportsMainSugar(exports, packageJsonUrl, base) {
|
|
|
30053
30163
|
return isConditionalSugar;
|
|
30054
30164
|
}
|
|
30055
30165
|
function emitTrailingSlashPatternDeprecation(match, pjsonUrl, base) {
|
|
30056
|
-
if (
|
|
30166
|
+
if (process$1.noDeprecation) return;
|
|
30057
30167
|
const pjsonPath = fileURLToPath(pjsonUrl);
|
|
30058
30168
|
if (emittedPackageWarnings.has(pjsonPath + "|" + match)) return;
|
|
30059
30169
|
emittedPackageWarnings.add(pjsonPath + "|" + match);
|
|
30060
|
-
|
|
30170
|
+
process$1.emitWarning(`Use of deprecated trailing slash pattern mapping "${match}" in the "exports" field module resolution of the package at ${pjsonPath}${base ? ` imported from ${fileURLToPath(base)}` : ""}. Mapping specifiers ending in "/" is no longer supported.`, "DeprecationWarning", "DEP0155");
|
|
30061
30171
|
}
|
|
30062
30172
|
function packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, base, conditions) {
|
|
30063
30173
|
let exports = packageConfig.exports;
|
|
@@ -30923,6 +31033,8 @@ function registerProjectArgsCompletion(completion) {
|
|
|
30923
31033
|
const cssOption = completion.options.get("css");
|
|
30924
31034
|
if (cssOption) cssOption.handler = (complete) => {
|
|
30925
31035
|
complete("unocss", "UnoCSS");
|
|
31036
|
+
complete("unocss-wind4", "UnoCSS (Wind4)");
|
|
31037
|
+
complete("unocss-vuetify", "UnoCSS (Vuetify)");
|
|
30926
31038
|
complete("tailwindcss", "Tailwind CSS");
|
|
30927
31039
|
complete("none", "None");
|
|
30928
31040
|
};
|
|
@@ -30934,7 +31046,7 @@ const blue = ansi256(33);
|
|
|
30934
31046
|
|
|
30935
31047
|
//#endregion
|
|
30936
31048
|
//#region package.json
|
|
30937
|
-
var version = "0.
|
|
31049
|
+
var version = "1.0.0";
|
|
30938
31050
|
|
|
30939
31051
|
//#endregion
|
|
30940
31052
|
//#region src/commands/upgrade.ts
|
|
@@ -293,7 +293,7 @@ var T = h((e, t) => {
|
|
|
293
293
|
let [r, i] = t[0].replace(/#! ?/, ``).split(` `), a = r.split(`/`).pop();
|
|
294
294
|
return a === `env` ? i : i ? `${a} ${i}` : a;
|
|
295
295
|
};
|
|
296
|
-
}), P
|
|
296
|
+
}), P = h((e, t) => {
|
|
297
297
|
let n = v(`fs`), r = N();
|
|
298
298
|
function i(e) {
|
|
299
299
|
let t = Buffer.alloc(150), i;
|
|
@@ -304,7 +304,7 @@ var T = h((e, t) => {
|
|
|
304
304
|
}
|
|
305
305
|
t.exports = i;
|
|
306
306
|
}), F = h((e, t) => {
|
|
307
|
-
let n = v(`path`), r = A(), i = j(), a = P
|
|
307
|
+
let n = v(`path`), r = A(), i = j(), a = P(), o = process.platform === `win32`, s = /\.(?:com|exe)$/i, L = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
|
|
308
308
|
function J(e) {
|
|
309
309
|
e.file = r(e);
|
|
310
310
|
let t = e.file && a(e.file);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-vuetify0",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Create a new Vuetify project",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"nypm": "^0.6.5",
|
|
37
37
|
"pathe": "^2.0.3",
|
|
38
38
|
"tsdown": "^0.20.3",
|
|
39
|
-
"@vuetify/cli-shared": "0.
|
|
39
|
+
"@vuetify/cli-shared": "1.0.0"
|
|
40
40
|
},
|
|
41
41
|
"exports": {
|
|
42
42
|
".": "./dist/index.mjs",
|