Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit d0c00c3

Browse files
committed
chore: update vite-plugin-icons to unplugin-icons
1 parent efddd84 commit d0c00c3

File tree

5 files changed

+120
-29
lines changed

5 files changed

+120
-29
lines changed

website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"typescript": "^4.1.3",
4242
"vite": "^2.4.0",
4343
"unplugin-vue-components": "^0.14.0",
44-
"vite-plugin-icons": "^0.3.3",
44+
"unplugin-icons": "^0.12.0",
4545
"vite-plugin-md": "^0.6.0",
4646
"vite-plugin-mdx-vue": "^1.1.3",
4747
"vite-plugin-pages": "^0.9.2",

website/src/components/home/PilersHero.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@
7575
import { defineComponent } from 'vue'
7676
import { CFlex, CBox } from '@chakra-ui/vue-next'
7777
78-
import IconAccessibilityAlt from '/@vite-icons/carbon/accessibility-alt'
79-
import ColorPalette from '/@vite-icons/carbon/color-palette'
80-
import Cube from '/@vite-icons/carbon/cube'
78+
import IconAccessibilityAlt from '~icons/carbon/accessibility-alt'
79+
import ColorPalette from '~icons/carbon/color-palette'
80+
import Cube from '~icons/carbon/cube'
8181
8282
export default defineComponent({
8383
name: 'PilersHero',

website/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"forceConsistentCasingInFileNames": true,
2121
"types": [
2222
"vite/client",
23-
"vite-plugin-pages/client"
23+
"vite-plugin-pages/client",
24+
"unplugin-icons/types/vue",
2425
],
2526
},
2627
"exclude": ["dist", "node_modules"]

website/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import path from 'path'
33
import Vue from '@vitejs/plugin-vue'
44
import { extractCritical } from '@emotion/server'
55
import Pages from 'vite-plugin-pages'
6-
import Icons from 'vite-plugin-icons'
6+
import Icons from 'unplugin-icons/vite'
77
import Components from 'unplugin-vue-components/vite'
88
import VueMdx from 'vite-plugin-mdx-vue'
99
import { componentResolver } from '@chakra-ui/vue-auto-import'

yarn.lock

Lines changed: 113 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,21 @@
106106
"@algolia/logger-common" "4.8.6"
107107
"@algolia/requester-common" "4.8.6"
108108

109+
"@antfu/install-pkg@^0.1.0":
110+
version "0.1.0"
111+
resolved "https://registry.yarnpkg.com/@antfu/install-pkg/-/install-pkg-0.1.0.tgz#8d8c61820cbc32e5c37d82d515485ad3ee9bd052"
112+
integrity sha512-VaIJd3d1o7irZfK1U0nvBsHMyjkuyMP3HKYVV53z8DKyulkHKmjhhtccXO51WSPeeSHIeoJEoNOKavYpS7jkZw==
113+
dependencies:
114+
execa "^5.1.1"
115+
find-up "^5.0.0"
116+
117+
"@antfu/utils@^0.3.0":
118+
version "0.3.0"
119+
resolved "https://registry.yarnpkg.com/@antfu/utils/-/utils-0.3.0.tgz#6306c43b52a883bd8e973e3ed8dd64248418bcc4"
120+
integrity sha512-UU8TLr/EoXdg7OjMp0h9oDoIAVr+Z/oW9cpOxQQyrsz6Qzd2ms/1CdWx8fl2OQdFpxGmq5Vc4TwfLHId6nAZjA==
121+
dependencies:
122+
"@types/throttle-debounce" "^2.1.0"
123+
109124
"@arr/every@^1.0.0":
110125
version "1.0.1"
111126
resolved "https://registry.npmjs.org/@arr/every/-/every-1.0.1.tgz"
@@ -2251,16 +2266,23 @@
22512266
dependencies:
22522267
"@hapi/hoek" "^9.0.0"
22532268

2254-
"@iconify/json-tools@^1.0.10":
2255-
version "1.0.10"
2256-
resolved "https://registry.npmjs.org/@iconify/json-tools/-/json-tools-1.0.10.tgz"
2257-
integrity sha512-LFelJDOLZ6JHlmlAkgrvmcu4hpNPB91KYcr4f60D/exzU1eNOb4/KCVHIydGHIQFaOacIOD+Xy+B7P1z812cZg==
2258-
22592269
"@iconify/json@^1.1.312":
22602270
version "1.1.326"
22612271
resolved "https://registry.npmjs.org/@iconify/json/-/json-1.1.326.tgz"
22622272
integrity sha512-McRCJ37ZvR9cgof4rS5OI+E4lklCruwkqi6RJmzn7oeJRVAbLS8/qMcQN71dmB9DubGjGajobiE2W6EQVEU6HQ==
22632273

2274+
"@iconify/types@^1.0.10":
2275+
version "1.0.10"
2276+
resolved "https://registry.yarnpkg.com/@iconify/types/-/types-1.0.10.tgz#951122c19d3717e308a3ceac6eaafda27bd9993d"
2277+
integrity sha512-SN3z6einVeUckDQiE8p4POF7X4hk4/y2+a7a4ogJOCxX5XT6z1zXNN8dwS5O1vloXpc6mkHizRZm2qPnhK6NnQ==
2278+
2279+
"@iconify/utils@^1.0.14":
2280+
version "1.0.18"
2281+
resolved "https://registry.yarnpkg.com/@iconify/utils/-/utils-1.0.18.tgz#569737b78218034d19f3f067af9196293a71f145"
2282+
integrity sha512-uCfJ7FdTxDk1DLKsvynTsYX4LnkGIDw+LCpoY0mRdl+NrNPCjYZ8HHYs4xzmo7cryRe0ZT0yuF2f3oipPIHn8w==
2283+
dependencies:
2284+
"@iconify/types" "^1.0.10"
2285+
22642286
"@intlify/[email protected]":
22652287
version "9.1.1"
22662288
resolved "https://registry.npmjs.org/@intlify/core-base/-/core-base-9.1.1.tgz"
@@ -4053,6 +4075,11 @@
40534075
dependencies:
40544076
"@types/jest" "*"
40554077

4078+
"@types/throttle-debounce@^2.1.0":
4079+
version "2.1.0"
4080+
resolved "https://registry.yarnpkg.com/@types/throttle-debounce/-/throttle-debounce-2.1.0.tgz#1c3df624bfc4b62f992d3012b84c56d41eab3776"
4081+
integrity sha512-5eQEtSCoESnh2FsiLTxE121IiE60hnMqcb435fShf4bpLRjEu1Eoekht23y6zXS9Ts3l+Szu3TARnTsA0GkOkQ==
4082+
40564083
"@types/tinycolor2@^1.4.2":
40574084
version "1.4.2"
40584085
resolved "https://registry.npmjs.org/@types/tinycolor2/-/tinycolor2-1.4.2.tgz"
@@ -5876,6 +5903,13 @@ builtins@^1.0.3:
58765903
resolved "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz"
58775904
integrity sha1-y5T662HIaWRR2zZTThQi+U8K7og=
58785905

5906+
builtins@^4.0.0:
5907+
version "4.0.0"
5908+
resolved "https://registry.yarnpkg.com/builtins/-/builtins-4.0.0.tgz#a8345420de82068fdc4d6559d0456403a8fb1905"
5909+
integrity sha512-qC0E2Dxgou1IHhvJSLwGDSTvokbRovU5zZFuDY6oY8Y2lF3nGt5Ad8YZK7GMtqzY84Wu7pXTPeHQeHcXSXsRhw==
5910+
dependencies:
5911+
semver "^7.0.0"
5912+
58795913
byline@^5.0.0:
58805914
version "5.0.0"
58815915
resolved "https://registry.npmjs.org/byline/-/byline-5.0.0.tgz"
@@ -7001,7 +7035,7 @@ cross-spawn@^6.0.0:
70017035
shebang-command "^1.2.0"
70027036
which "^1.2.9"
70037037

7004-
cross-spawn@^7.0.0, cross-spawn@^7.0.1, cross-spawn@^7.0.2:
7038+
cross-spawn@^7.0.0, cross-spawn@^7.0.1, cross-spawn@^7.0.2, cross-spawn@^7.0.3:
70057039
version "7.0.3"
70067040
resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz"
70077041
integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==
@@ -8566,6 +8600,21 @@ execa@^1.0.0:
85668600
signal-exit "^3.0.0"
85678601
strip-eof "^1.0.0"
85688602

8603+
execa@^5.1.1:
8604+
version "5.1.1"
8605+
resolved "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd"
8606+
integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==
8607+
dependencies:
8608+
cross-spawn "^7.0.3"
8609+
get-stream "^6.0.0"
8610+
human-signals "^2.1.0"
8611+
is-stream "^2.0.0"
8612+
merge-stream "^2.0.0"
8613+
npm-run-path "^4.0.1"
8614+
onetime "^5.1.2"
8615+
signal-exit "^3.0.3"
8616+
strip-final-newline "^2.0.0"
8617+
85698618
executable@^4.1.1:
85708619
version "4.1.1"
85718620
resolved "https://registry.npmjs.org/executable/-/executable-4.1.1.tgz"
@@ -9231,6 +9280,11 @@ get-stream@^5.0.0, get-stream@^5.1.0:
92319280
dependencies:
92329281
pump "^3.0.0"
92339282

9283+
get-stream@^6.0.0:
9284+
version "6.0.1"
9285+
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7"
9286+
integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==
9287+
92349288
get-value@^2.0.3, get-value@^2.0.6:
92359289
version "2.0.6"
92369290
resolved "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz"
@@ -9866,6 +9920,11 @@ human-signals@^1.1.1:
98669920
resolved "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz"
98679921
integrity sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==
98689922

9923+
human-signals@^2.1.0:
9924+
version "2.1.0"
9925+
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0"
9926+
integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==
9927+
98699928
humanize-ms@^1.2.1:
98709929
version "1.2.1"
98719930
resolved "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz"
@@ -9989,6 +10048,13 @@ import-local@^3.0.2:
998910048
pkg-dir "^4.2.0"
999010049
resolve-cwd "^3.0.0"
999110050

10051+
import-meta-resolve@^1.1.1:
10052+
version "1.1.1"
10053+
resolved "https://registry.yarnpkg.com/import-meta-resolve/-/import-meta-resolve-1.1.1.tgz#244fd542fd1fae73550d4f8b3cde3bba1d7b2b18"
10054+
integrity sha512-JiTuIvVyPaUg11eTrNDx5bgQ/yMKMZffc7YSjvQeSMXy58DO2SQ8BtAf3xteZvmzvjYh14wnqNjL8XVeDy2o9A==
10055+
dependencies:
10056+
builtins "^4.0.0"
10057+
999210058
imurmurhash@^0.1.4:
999310059
version "0.1.4"
999410060
resolved "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz"
@@ -11390,6 +11456,11 @@ kleur@^3.0.3:
1139011456
resolved "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz"
1139111457
integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==
1139211458

11459+
kolorist@^1.5.0:
11460+
version "1.5.0"
11461+
resolved "https://registry.yarnpkg.com/kolorist/-/kolorist-1.5.0.tgz#a06f7dd11d1b5fdb743d79c8acd4e1ecbcbd89b3"
11462+
integrity sha512-pPobydIHK884YBtkS/tWSZXpSAEpcMbilyun3KL37ot935qL2HNKm/tI45i/Rd+MxdIWEhm7/LmUQzWZYK+Qhg==
11463+
1139311464
last-call-webpack-plugin@^3.0.0:
1139411465
version "3.0.0"
1139511466
resolved "https://registry.yarnpkg.com/last-call-webpack-plugin/-/last-call-webpack-plugin-3.0.0.tgz#9742df0e10e3cf46e5c0381c2de90d3a7a2d7555"
@@ -11639,6 +11710,13 @@ local-cypress@^1.2.1:
1163911710
dependencies:
1164011711
debug "4.3.1"
1164111712

11713+
local-pkg@^0.4.0:
11714+
version "0.4.0"
11715+
resolved "https://registry.yarnpkg.com/local-pkg/-/local-pkg-0.4.0.tgz#e6221171813d5a0812dd84fa80ffb1c8fcc00531"
11716+
integrity sha512-2XBWjO/v63JeR1HPzLJxdTVRQDB84Av2p2KtBA5ahvpyLUPubcAU6iXlAJrONcY7aSqgJhXxElAnKtnYsRolPQ==
11717+
dependencies:
11718+
mlly "^0.2.2"
11719+
1164211720
locate-path@^2.0.0:
1164311721
version "2.0.0"
1164411722
resolved "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz"
@@ -12633,6 +12711,13 @@ mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@^0.5.3, mkdirp@^0.5.4, mkdirp@~0.5.1:
1263312711
dependencies:
1263412712
minimist "^1.2.5"
1263512713

12714+
mlly@^0.2.2:
12715+
version "0.2.10"
12716+
resolved "https://registry.yarnpkg.com/mlly/-/mlly-0.2.10.tgz#645902c9761dc6b5ded174b8e717147fe52e4893"
12717+
integrity sha512-xfyW6c2QBGArtctzNnTV5leOKX8nOMz2simeubtXofdsdSJFSNw+Ncvrs8kxcN3pBrQLXuYBHNFV6NgZ5Ryf4A==
12718+
dependencies:
12719+
import-meta-resolve "^1.1.1"
12720+
1263612721
modify-values@^1.0.0:
1263712722
version "1.0.1"
1263812723
resolved "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz"
@@ -13006,7 +13091,7 @@ npm-run-path@^2.0.0:
1300613091
dependencies:
1300713092
path-key "^2.0.0"
1300813093

13009-
npm-run-path@^4.0.0:
13094+
npm-run-path@^4.0.0, npm-run-path@^4.0.1:
1301013095
version "4.0.1"
1301113096
resolved "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz"
1301213097
integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==
@@ -13166,7 +13251,7 @@ onetime@^2.0.0:
1316613251
dependencies:
1316713252
mimic-fn "^1.0.0"
1316813253

13169-
onetime@^5.1.0:
13254+
onetime@^5.1.0, onetime@^5.1.2:
1317013255
version "5.1.2"
1317113256
resolved "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz"
1317213257
integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==
@@ -15520,7 +15605,7 @@ [email protected]:
1552015605
resolved "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz"
1552115606
integrity sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==
1552215607

15523-
[email protected], [email protected], semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5:
15608+
[email protected], [email protected], semver@^7.0.0, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5:
1552415609
version "7.3.5"
1552515610
resolved "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz"
1552615611
integrity sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==
@@ -15655,6 +15740,11 @@ signal-exit@^3.0.0, signal-exit@^3.0.2:
1565515740
resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz"
1565615741
integrity sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==
1565715742

15743+
signal-exit@^3.0.3:
15744+
version "3.0.5"
15745+
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.5.tgz#9e3e8cc0c75a99472b44321033a7702e7738252f"
15746+
integrity sha512-KWcOiKeQj6ZyXx7zq4YxSMgHRlod4czeBQZrPb8OKcohcqAXShm7E20kEMle9WBt26hFcAf0qLOcp5zmY7kOqQ==
15747+
1565815748
simple-swizzle@^0.2.2:
1565915749
version "0.2.2"
1566015750
resolved "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz"
@@ -17215,6 +17305,19 @@ universalify@^2.0.0:
1721517305
resolved "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz"
1721617306
integrity sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==
1721717307

17308+
unplugin-icons@^0.12.0:
17309+
version "0.12.16"
17310+
resolved "https://registry.yarnpkg.com/unplugin-icons/-/unplugin-icons-0.12.16.tgz#ad52886b77134173b4864c70175add471d603a55"
17311+
integrity sha512-eGxlLrf/aExIgfRTqv9ALFZSyurYUxPHYb7lDFBc1KfhVhnvq7TdLE3d5AUJgiNh7QxcO0ezsBQ8mQNlCH/+Og==
17312+
dependencies:
17313+
"@antfu/install-pkg" "^0.1.0"
17314+
"@antfu/utils" "^0.3.0"
17315+
"@iconify/utils" "^1.0.14"
17316+
debug "^4.3.2"
17317+
kolorist "^1.5.0"
17318+
local-pkg "^0.4.0"
17319+
unplugin "^0.2.16"
17320+
1721817321
unplugin-vue-components@^0.14.0:
1721917322
version "0.14.13"
1722017323
resolved "https://registry.yarnpkg.com/unplugin-vue-components/-/unplugin-vue-components-0.14.13.tgz#b8c7abe76d0f8eb194043aac7b9045eeef173c7e"
@@ -17229,7 +17332,7 @@ unplugin-vue-components@^0.14.0:
1722917332
resolve "^1.20.0"
1723017333
unplugin "^0.2.7"
1723117334

17232-
unplugin@^0.2.7:
17335+
unplugin@^0.2.16, unplugin@^0.2.7:
1723317336
version "0.2.16"
1723417337
resolved "https://registry.yarnpkg.com/unplugin/-/unplugin-0.2.16.tgz#6f34e9f5068ca3ec92a36b016f47b5ad8bb875ca"
1723517338
integrity sha512-KkXatHba0baJszSHW+2e8EQU/5Bz7rYwzYXu8wUeq97tE6K3wvub+7OWSuRv04LttvzNLsJ2jXEyR35gofv74Q==
@@ -17447,14 +17550,6 @@ vite-plugin-components@^0.8.3:
1744717550
fast-glob "^3.2.5"
1744817551
minimatch "^3.0.4"
1744917552

17450-
vite-plugin-icons@^0.3.3:
17451-
version "0.3.3"
17452-
resolved "https://registry.npmjs.org/vite-plugin-icons/-/vite-plugin-icons-0.3.3.tgz"
17453-
integrity sha512-jYIbpb+Y3qh9eTf335o98Y10mQICSNlzrs+VL6z733J9179dC7w4j13NNQgSXEub5WRG+lb1DVURjXVeNhISeA==
17454-
dependencies:
17455-
"@iconify/json-tools" "^1.0.10"
17456-
vue-template-es2015-compiler "^1.9.1"
17457-
1745817553
vite-plugin-md@^0.6.0:
1745917554
version "0.6.3"
1746017555
resolved "https://registry.npmjs.org/vite-plugin-md/-/vite-plugin-md-0.6.3.tgz"
@@ -17696,11 +17791,6 @@ vue-router@^4.0.10, vue-router@^4.0.6:
1769617791
dependencies:
1769717792
"@vue/devtools-api" "^6.0.0-beta.14"
1769817793

17699-
vue-template-es2015-compiler@^1.9.1:
17700-
version "1.9.1"
17701-
resolved "https://registry.npmjs.org/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.9.1.tgz"
17702-
integrity sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==
17703-
1770417794
vue3-perfect-scrollbar@^1.5.5:
1770517795
version "1.5.5"
1770617796
resolved "https://registry.npmjs.org/vue3-perfect-scrollbar/-/vue3-perfect-scrollbar-1.5.5.tgz"

0 commit comments

Comments
 (0)