Skip to content

Commit fb860dc

Browse files
authored
Merge branch 'main' into feat/resolve-40
2 parents bb37228 + 704987b commit fb860dc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+1604
-475
lines changed

.github/workflows/autofix.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
node-version: lts/*
2626

27-
- uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c
27+
- uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c # 1e1c8eafbd745f64b1ef30a7d7ed7965034c486c
2828
name: 🟧 Install pnpm
2929
with:
3030
cache: true
@@ -41,4 +41,4 @@ jobs:
4141
- name: 🔠 Fix lint errors
4242
run: pnpm lint:fix
4343

44-
- uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27
44+
- uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27 # 635ffb0c9798bd160680f18fd73371e355b85f27

.github/workflows/ci.yml

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
with:
3232
node-version: lts/*
3333

34-
- uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c
34+
- uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c # 1e1c8eafbd745f64b1ef30a7d7ed7965034c486c
3535
name: 🟧 Install pnpm
3636
# pnpm cache skipped deliberately as the project is not actually installed here
3737

@@ -49,7 +49,7 @@ jobs:
4949
with:
5050
node-version: lts/*
5151

52-
- uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c
52+
- uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c # 1e1c8eafbd745f64b1ef30a7d7ed7965034c486c
5353
name: 🟧 Install pnpm
5454
with:
5555
cache: true
@@ -71,7 +71,7 @@ jobs:
7171
with:
7272
node-version: lts/*
7373

74-
- uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c
74+
- uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c # 1e1c8eafbd745f64b1ef30a7d7ed7965034c486c
7575
name: 🟧 Install pnpm
7676
with:
7777
cache: true
@@ -80,7 +80,13 @@ jobs:
8080
run: pnpm install
8181

8282
- name: 🧪 Unit tests
83-
run: pnpm test:unit --project unit run --coverage
83+
run: pnpm test:unit run --coverage --reporter=junit --outputFile=test-report.junit.xml
84+
85+
- name: ⬆︎ Upload test results to Codecov
86+
if: ${{ !cancelled() }}
87+
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1
88+
with:
89+
token: ${{ secrets.CODECOV_TOKEN }}
8490

8591
test:
8692
name: 🧪 Component tests
@@ -93,7 +99,7 @@ jobs:
9399
with:
94100
node-version: lts/*
95101

96-
- uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c
102+
- uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c # 1e1c8eafbd745f64b1ef30a7d7ed7965034c486c
97103
name: 🟧 Install pnpm
98104
with:
99105
cache: true
@@ -105,12 +111,18 @@ jobs:
105111
run: pnpm playwright install chromium-headless-shell
106112

107113
- name: 🧪 Component tests
108-
run: pnpm vite test --project nuxt run --coverage
114+
run: pnpm test:nuxt run --coverage --reporter=junit --outputFile=test-report.junit.xml
115+
116+
- name: ⬆︎ Upload test results to Codecov
117+
if: ${{ !cancelled() }}
118+
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1
119+
with:
120+
token: ${{ secrets.CODECOV_TOKEN }}
109121

110-
- name: Upload coverage reports to Codecov
122+
- name: ⬆︎ Upload coverage reports to Codecov
111123
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5
112124
env:
113-
CODECOV_TOKEN: 17b4bed9-d407-4ce2-9c10-2ccd4328a1d9
125+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
114126

115127
browser:
116128
name: 🖥️ Browser tests
@@ -125,7 +137,7 @@ jobs:
125137
with:
126138
node-version: lts/*
127139

128-
- uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c
140+
- uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c # 1e1c8eafbd745f64b1ef30a7d7ed7965034c486c
129141
name: 🟧 Install pnpm
130142
with:
131143
cache: true
@@ -153,7 +165,7 @@ jobs:
153165
with:
154166
node-version: lts/*
155167

156-
- uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c
168+
- uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c # 1e1c8eafbd745f64b1ef30a7d7ed7965034c486c
157169
name: 🟧 Install pnpm
158170
with:
159171
cache: true
@@ -181,7 +193,7 @@ jobs:
181193
with:
182194
node-version: lts/*
183195

184-
- uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c
196+
- uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c # 1e1c8eafbd745f64b1ef30a7d7ed7965034c486c
185197
name: 🟧 Install pnpm
186198
with:
187199
cache: true

.github/workflows/lunaria.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
with:
3333
node-version: lts/*
3434

35-
- uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c
35+
- uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c # 1e1c8eafbd745f64b1ef30a7d7ed7965034c486c
3636
name: 🟧 Install pnpm
3737
with:
3838
cache: true
@@ -41,4 +41,4 @@ jobs:
4141
run: pnpm install
4242

4343
- name: Generate Lunaria Overview
44-
uses: lunariajs/action@v1-prerelease
44+
uses: lunariajs/action@4911ad0736d1e3b20af4cb70f5079aea2327ed8e # v1-prerelease

.github/workflows/semantic-pull-requests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
a11y
2727
deps
2828
docs
29+
cli
2930
i18n
3031
ui
3132
subjectPattern: ^(?![A-Z]).+$

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ What npmx offers:
4444
- **Fast search** – quick package search with instant results
4545
- **Package details** – READMEs, versions, dependencies, and metadata
4646
- **Code viewer** – browse package source code with syntax highlighting and permalink to specific lines
47-
- **Provenance indicators** – verified build badges for packages with npm provenance
47+
- **Provenance indicators** – verified build badges and provenance section below the README
4848
- **Multi-provider repository support** – stars/forks from GitHub, GitLab, Bitbucket, Codeberg, Gitee, Sourcehut, Forgejo, Gitea, Radicle, and Tangled
4949
- **JSR availability** – see if scoped packages are also available on JSR
5050
- **Package badges** – module format (ESM/CJS/dual), TypeScript types (with `@types/*` links), and engine constraints

app/components/Compare/FacetCard.vue

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,13 @@ function getShortName(header: string): string {
7575
<!-- Facet header -->
7676
<div class="flex items-center gap-1.5 px-3 py-2 bg-bg-subtle border-b border-border">
7777
<span class="text-xs text-fg-muted uppercase tracking-wider font-medium">{{ label }}</span>
78-
<span
79-
v-if="description"
80-
class="i-carbon:information w-3 h-3 text-fg-subtle"
81-
:title="description"
82-
aria-hidden="true"
83-
/>
78+
<TooltipApp v-if="description" :text="description" position="top">
79+
<span
80+
class="i-carbon:information w-3 h-3 text-fg-subtle"
81+
:title="description"
82+
aria-hidden="true"
83+
/>
84+
</TooltipApp>
8485
</div>
8586

8687
<!-- Package values -->
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<script setup lang="ts">
2+
import DownloadAnalytics from '../Package/DownloadAnalytics.vue'
3+
4+
const { packages } = defineProps<{
5+
packages: string[]
6+
}>()
7+
</script>
8+
9+
<template>
10+
<div class="font-mono">
11+
<DownloadAnalytics :package-names="packages" :in-modal="false" />
12+
</div>
13+
</template>

app/components/Compare/PackageSelector.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function handleBlur() {
7575
:aria-label="$t('compare.selector.remove_package', { package: pkg })"
7676
@click="removePackage(pkg)"
7777
>
78-
<span class="i-carbon:close w-3.5 h-3.5" aria-hidden="true" />
78+
<span class="i-carbon:close flex items-center w-3.5 h-3.5" aria-hidden="true" />
7979
</button>
8080
</div>
8181
</div>

app/components/Header/AccountMenu.client.vue

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,17 @@ function openAuthModal() {
8787
</span>
8888

8989
<!-- Atmosphere avatar (second/front, overlapping) -->
90+
<img
91+
v-if="atprotoUser?.avatar"
92+
:src="atprotoUser.avatar"
93+
:alt="atprotoUser.handle"
94+
width="24"
95+
height="24"
96+
class="w-6 h-6 rounded-full ring-2 ring-bg"
97+
:class="hasBothConnections ? 'relative z-10' : ''"
98+
/>
9099
<span
91-
v-if="atprotoUser"
100+
v-else-if="atprotoUser"
92101
class="w-6 h-6 rounded-full bg-bg-muted ring-2 ring-bg flex items-center justify-center"
93102
:class="hasBothConnections ? 'relative z-10' : ''"
94103
>
@@ -181,7 +190,18 @@ function openAuthModal() {
181190
class="w-full px-3 py-2.5 flex items-center gap-3 hover:bg-bg-subtle transition-colors text-start"
182191
@click="openAuthModal"
183192
>
184-
<span class="w-8 h-8 rounded-full bg-bg-muted flex items-center justify-center">
193+
<img
194+
v-if="atprotoUser.avatar"
195+
:src="atprotoUser.avatar"
196+
:alt="atprotoUser.handle"
197+
width="32"
198+
height="32"
199+
class="w-8 h-8 rounded-full"
200+
/>
201+
<span
202+
v-else
203+
class="w-8 h-8 rounded-full bg-bg-muted flex items-center justify-center"
204+
>
185205
<span class="i-carbon-cloud w-4 h-4 text-fg-muted" aria-hidden="true" />
186206
</span>
187207
<div class="flex-1 min-w-0">

app/components/OgImage/Default.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ const props = withDefaults(defineProps<Props>(), {
7474
</div>
7575

7676
<div
77-
class="absolute -top-32 -right-32 w-[550px] h-[550px] rounded-full blur-3xl"
77+
class="absolute -top-32 -inset-ie-32 w-[550px] h-[550px] rounded-full blur-3xl"
7878
:style="{ backgroundColor: props.primaryColor + '10' }"
7979
/>
8080
</div>

0 commit comments

Comments
 (0)