File tree Expand file tree Collapse file tree 13 files changed +160
-1090
lines changed
Expand file tree Collapse file tree 13 files changed +160
-1090
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ permissions:
1515jobs :
1616 code :
1717 name : 🤖 Autofix code
18- runs-on : ubuntu-latest
18+ runs-on : ubuntu-24.04-arm
1919
2020 steps :
2121 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ permissions:
2222jobs :
2323 lint :
2424 name : 🔠 Lint project
25- runs-on : ubuntu-latest
25+ runs-on : ubuntu-24.04-arm
2626
2727 steps :
2828 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
4040
4141 types :
4242 name : 💪 Type check
43- runs-on : ubuntu-latest
43+ runs-on : ubuntu-24.04-arm
4444
4545 steps :
4646 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
6262
6363 unit :
6464 name : 🧪 Unit tests
65- runs-on : ubuntu-latest
65+ runs-on : ubuntu-24.04-arm
6666
6767 steps :
6868 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
8484
8585 test :
8686 name : 🧪 Component tests
87- runs-on : ubuntu-latest
87+ runs-on : ubuntu-24.04-arm
8888
8989 steps :
9090 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
@@ -114,7 +114,7 @@ jobs:
114114
115115 browser :
116116 name : 🖥️ Browser tests
117- runs-on : ubuntu-latest
117+ runs-on : ubuntu-24.04-arm
118118 container :
119119 image : mcr.microsoft.com/playwright:v1.58.0-noble
120120
@@ -141,7 +141,7 @@ jobs:
141141
142142 a11y :
143143 name : ♿ Accessibility audit
144- runs-on : ubuntu-latest
144+ runs-on : ubuntu-latest # See https://github.com/GoogleChrome/lighthouse/discussions/16834
145145 strategy :
146146 matrix :
147147 mode : [dark, light]
@@ -172,7 +172,7 @@ jobs:
172172
173173 knip :
174174 name : 🧹 Unused code check
175- runs-on : ubuntu-latest
175+ runs-on : ubuntu-24.04-arm
176176
177177 steps :
178178 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ permissions:
1818jobs :
1919 lunaria-overview :
2020 name : 🌝 Generate Lunaria Overview
21- runs-on : ubuntu-latest
21+ runs-on : ubuntu-24.04-arm
2222
2323 steps :
2424 - name : Checkout
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ const pkgDescription = useMarkdown(() => ({
4848 :prefetch-on =" prefetch ? 'visibility' : 'interaction'"
4949 class =" decoration-none scroll-mt-48 scroll-mb-6 after:content-[''] after:absolute after:inset-0"
5050 :data-result-index =" index"
51+ aria-hidden =" true"
5152 >{{ result.package.name }}</NuxtLink
5253 >
5354 <span
@@ -160,18 +161,19 @@ const pkgDescription = useMarkdown(() => ({
160161 <div
161162 v-if =" result.package.keywords?.length"
162163 :aria-label =" $t('package.card.keywords')"
163- class =" relative z-10 flex flex-wrap gap-1.5 mt-3 pt-3 border-t border-border list-none m-0 p-0 pointer-events-none items-center "
164+ class =" relative z-10 flex flex-wrap gap-1.5 mt-3 pt-3 border-t border-border list-none m-0 p-0 pointer-events-none"
164165 >
165- <TagButton
166+ <TagClickable
166167 v-for =" keyword in result.package.keywords.slice(0, 5)"
167- class =" pointer-events-auto"
168168 :key =" keyword"
169- :pressed =" props.filters?.keywords.includes(keyword)"
169+ type =" button"
170+ class =" pointer-events-auto"
171+ :status =" props.filters?.keywords.includes(keyword) ? 'active' : 'default'"
170172 :title =" `Filter by ${keyword}`"
171173 @click.stop =" emit('clickKeyword', keyword)"
172174 >
173175 {{ keyword }}
174- </TagButton >
176+ </TagClickable >
175177 <span
176178 v-if =" result.package.keywords.length > 5"
177179 class =" text-fg-subtle text-xs pointer-events-auto"
Original file line number Diff line number Diff line change 99 getVersionGroupLabel ,
1010 isSameVersionGroup ,
1111} from ' ~/utils/versions'
12- import { fetchAllPackageVersions } from ' ~/utils/npm/api '
12+ import { fetchAllPackageVersions } from ' ~/composables/useNpmRegistry '
1313
1414const props = defineProps <{
1515 packageName: string
@@ -546,7 +546,7 @@ watch(
546546 <span
547547 v-else
548548 class =" w-3 h-3 transition-transform duration-200 rtl-flip"
549- :class =" group.isExpanded ? 'i- carbon:chevron-down' : 'i-carbon:chevron-right'"
549+ :class =" group.isExpanded ? 'i: carbon:chevron-down' : 'i-carbon:chevron-right'"
550550 aria-hidden =" true"
551551 />
552552 </button >
You can’t perform that action at this time.
0 commit comments