Skip to content

Commit 0e43190

Browse files
committed
refactor(website): don't install unnecssary 'yargs' package
1 parent 4e4ee86 commit 0e43190

File tree

3 files changed

+15
-86
lines changed

3 files changed

+15
-86
lines changed

website/null-package/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
This directory is intentionally empty (except this file).
2+
3+
In package.json, reference this file as "link:./null-package" to prevent Yarn
4+
from installing a package. (Yarn will install this null-package "package"
5+
instead.)

website/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,8 @@
2424
"devDependencies": {
2525
"@colors/colors": "^1.5.0",
2626
"prettier": "2.7.1"
27+
},
28+
"resolutions": {
29+
"yargs": "link:./null-package"
2730
}
2831
}

website/yarn.lock

Lines changed: 7 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,7 @@
112112
resolved "https://registry.yarnpkg.com/@xmldom/xmldom/-/xmldom-0.8.2.tgz#b695ff674e8216efa632a3d36ad51ae9843380c0"
113113
integrity sha512-+R0juSseERyoPvnBQ/cZih6bpF7IpCXlWbHRoCRzYzqpz6gWHOgf8o4MOEf6KBVuOyqU+gCNLkCWVIJAro8XyQ==
114114

115-
ansi-regex@^5.0.1:
116-
version "5.0.1"
117-
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304"
118-
integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==
119-
120-
ansi-styles@^4.0.0, ansi-styles@^4.1.0:
115+
ansi-styles@^4.1.0:
121116
version "4.3.0"
122117
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937"
123118
integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==
@@ -210,15 +205,6 @@ chokidar@^3.5.3:
210205
optionalDependencies:
211206
fsevents "~2.3.2"
212207

213-
cliui@^8.0.1:
214-
version "8.0.1"
215-
resolved "https://registry.yarnpkg.com/cliui/-/cliui-8.0.1.tgz#0c04b075db02cbfe60dc8e6cf2f5486b1a3608aa"
216-
integrity sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==
217-
dependencies:
218-
string-width "^4.2.0"
219-
strip-ansi "^6.0.1"
220-
wrap-ansi "^7.0.0"
221-
222208
clone-buffer@^1.0.0:
223209
version "1.0.0"
224210
resolved "https://registry.yarnpkg.com/clone-buffer/-/clone-buffer-1.0.0.tgz#e3e25b207ac4e701af721e2cb5a16792cac3dc58"
@@ -384,11 +370,6 @@ [email protected]:
384370
dependencies:
385371
jake "^10.8.5"
386372

387-
emoji-regex@^8.0.0:
388-
version "8.0.0"
389-
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37"
390-
integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==
391-
392373
393374
version "2.0.0"
394375
resolved "https://registry.yarnpkg.com/enabled/-/enabled-2.0.0.tgz#f9dd92ec2d6f4bbc0d5d1e64e21d61cd4665e7c2"
@@ -414,11 +395,6 @@ [email protected]:
414395
resolved "https://registry.yarnpkg.com/esbuild-wasm/-/esbuild-wasm-0.15.10.tgz#9ab5ba7b1cb6389c669bc04e62a0ab985ccfa4f1"
415396
integrity sha512-FqZ/Gmja4La52IMfmIexResqA5xtU9tV8QFevDuYX38Aw8pNwxKeMu1chjhfPa2teVhhVjpoRcI5ADmUQkSm8g==
416397

417-
escalade@^3.1.1:
418-
version "3.1.1"
419-
resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40"
420-
integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==
421-
422398
fast-fifo@^1.0.0:
423399
version "1.1.0"
424400
resolved "https://registry.yarnpkg.com/fast-fifo/-/fast-fifo-1.1.0.tgz#17d1a3646880b9891dfa0c54e69c5fef33cad779"
@@ -458,11 +434,6 @@ fsevents@~2.3.2:
458434
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a"
459435
integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==
460436

461-
get-caller-file@^2.0.5:
462-
version "2.0.5"
463-
resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e"
464-
integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==
465-
466437
glob-parent@~5.1.2:
467438
version "5.1.2"
468439
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4"
@@ -529,11 +500,6 @@ is-extglob@^2.1.1:
529500
resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"
530501
integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==
531502

532-
is-fullwidth-code-point@^3.0.0:
533-
version "3.0.0"
534-
resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d"
535-
integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==
536-
537503
is-glob@^4.0.1, is-glob@~4.0.1:
538504
version "4.0.3"
539505
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084"
@@ -810,11 +776,6 @@ replace-ext@^2.0.0:
810776
resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-2.0.0.tgz#9471c213d22e1bcc26717cd6e50881d88f812b06"
811777
integrity sha512-UszKE5KVK6JvyD92nzMn9cDapSk6w/CaFZ96CnmDMUqH9oowfxF/ZjRITD25H4DnOQClLA4/j7jLGXXLVKxAug==
812778

813-
require-directory@^2.1.1:
814-
version "2.1.1"
815-
resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42"
816-
integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==
817-
818779
safe-buffer@~5.1.0, safe-buffer@~5.1.1:
819780
version "5.1.2"
820781
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d"
@@ -860,15 +821,6 @@ streamx@^2.12.5:
860821
fast-fifo "^1.0.0"
861822
queue-tick "^1.0.0"
862823

863-
string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
864-
version "4.2.3"
865-
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
866-
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
867-
dependencies:
868-
emoji-regex "^8.0.0"
869-
is-fullwidth-code-point "^3.0.0"
870-
strip-ansi "^6.0.1"
871-
872824
string_decoder@^1.1.1:
873825
version "1.3.0"
874826
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e"
@@ -883,13 +835,6 @@ string_decoder@~1.1.1:
883835
dependencies:
884836
safe-buffer "~5.1.0"
885837

886-
strip-ansi@^6.0.0, strip-ansi@^6.0.1:
887-
version "6.0.1"
888-
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
889-
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
890-
dependencies:
891-
ansi-regex "^5.0.1"
892-
893838
supports-color@^7.1.0:
894839
version "7.2.0"
895840
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da"
@@ -1023,15 +968,6 @@ winston@^3.8.2:
1023968
triple-beam "^1.3.0"
1024969
winston-transport "^4.5.0"
1025970

1026-
wrap-ansi@^7.0.0:
1027-
version "7.0.0"
1028-
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
1029-
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
1030-
dependencies:
1031-
ansi-styles "^4.0.0"
1032-
string-width "^4.1.0"
1033-
strip-ansi "^6.0.0"
1034-
1035971
wrappy@1:
1036972
version "1.0.2"
1037973
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
@@ -1042,25 +978,10 @@ xpath@^0.0.32:
1042978
resolved "https://registry.yarnpkg.com/xpath/-/xpath-0.0.32.tgz#1b73d3351af736e17ec078d6da4b8175405c48af"
1043979
integrity sha512-rxMJhSIoiO8vXcWvSifKqhvV96GjiD5wYb8/QHdoRyQvraTpp4IEv944nhGausZZ3u7dhQXteZuZbaqfpB7uYw==
1044980

1045-
y18n@^5.0.5:
1046-
version "5.0.8"
1047-
resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55"
1048-
integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==
1049-
1050-
yargs-parser@^21.0.0:
1051-
version "21.1.1"
1052-
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35"
1053-
integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==
1054-
1055981
yargs@^17.5.1:
1056-
version "17.6.0"
1057-
resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.6.0.tgz#e134900fc1f218bc230192bdec06a0a5f973e46c"
1058-
integrity sha512-8H/wTDqlSwoSnScvV2N/JHfLWOKuh5MVla9hqLjK3nsfyy6Y4kDSYSvkU5YCUEPOSnRXfIyx3Sq+B/IWudTo4g==
1059-
dependencies:
1060-
cliui "^8.0.1"
1061-
escalade "^3.1.1"
1062-
get-caller-file "^2.0.5"
1063-
require-directory "^2.1.1"
1064-
string-width "^4.2.3"
1065-
y18n "^5.0.5"
1066-
yargs-parser "^21.0.0"
982+
version "0.0.0"
983+
uid ""
984+
985+
"yargs@link:./null-package":
986+
version "0.0.0"
987+
uid ""

0 commit comments

Comments
 (0)