Skip to content

Commit fbbff33

Browse files
authored
Merge branch 'npmx-dev:main' into feat/changelog-1
2 parents 1a8c342 + 4e6e168 commit fbbff33

Some content is hidden

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

74 files changed

+4574
-2282
lines changed

.github/workflows/autofix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-24.04-arm
1919

2020
steps:
21-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
21+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222

2323
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
2424
with:

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-24.04-arm
2626

2727
steps:
28-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
28+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2929

3030
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
3131
with:
@@ -47,7 +47,7 @@ jobs:
4747
runs-on: ubuntu-24.04-arm
4848

4949
steps:
50-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
50+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5151

5252
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
5353
with:
@@ -69,7 +69,7 @@ jobs:
6969
runs-on: ubuntu-24.04-arm
7070

7171
steps:
72-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
72+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7373

7474
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
7575
with:
@@ -97,7 +97,7 @@ jobs:
9797
runs-on: ubuntu-24.04-arm
9898

9999
steps:
100-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
100+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
101101

102102
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
103103
with:
@@ -133,10 +133,10 @@ jobs:
133133
name: 🖥️ Browser tests
134134
runs-on: ubuntu-24.04-arm
135135
container:
136-
image: mcr.microsoft.com/playwright:v1.58.0-noble
136+
image: mcr.microsoft.com/playwright:v1.58.2-noble
137137

138138
steps:
139-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
139+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
140140

141141
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
142142
with:
@@ -166,7 +166,7 @@ jobs:
166166
mode: [dark, light]
167167

168168
steps:
169-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
169+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
170170

171171
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
172172
with:
@@ -194,7 +194,7 @@ jobs:
194194
runs-on: ubuntu-24.04-arm
195195

196196
steps:
197-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
197+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
198198

199199
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
200200
with:
@@ -219,7 +219,7 @@ jobs:
219219
runs-on: ubuntu-24.04-arm
220220

221221
steps:
222-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
222+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
223223

224224
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
225225
with:

.github/workflows/lunaria.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
25+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2626
with:
2727
# Necessary for Lunaria to work properly
2828
# Makes the action clone the entire git history

.github/workflows/mirror-tangled.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-24.04-arm
1818

1919
steps:
20-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
20+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2121
with:
2222
fetch-depth: 0
2323

.github/workflows/provenance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
name: 🔒 Check provenance downgrades
2424
runs-on: ubuntu-slim
2525
steps:
26-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
26+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2727
with:
2828
fetch-depth: 0
2929

CONTRIBUTING.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -289,18 +289,6 @@ import { hasProtocol } from 'ufo'
289289
| Constants | SCREAMING_SNAKE_CASE | `NPM_REGISTRY`, `ALLOWED_TAGS` |
290290
| Types/Interfaces | PascalCase | `NpmSearchResponse` |
291291

292-
> [!TIP]
293-
> Exports in `app/composables/`, `app/utils/`, and `server/utils/` are auto-imported by Nuxt. To prevent [knip](https://knip.dev/) from flagging them as unused, add a `@public` JSDoc annotation:
294-
>
295-
> ```typescript
296-
> /**
297-
> * @public
298-
> */
299-
> export function myAutoImportedFunction() {
300-
> // ...
301-
> }
302-
> ```
303-
304292
### Vue components
305293

306294
- Use Composition API with `<script setup lang="ts">`

app/components/Button/Group.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const props = defineProps<{
77
<template>
88
<component
99
:is="props.as || 'div'"
10-
class="flex items-center shrink-0 ms-auto [&>*:not(:first-child)]:rounded-s-none [&>*:not(:first-child)]:border-s-0 [&>*:not(:last-child)]:rounded-e-none"
10+
class="flex items-center shrink-0 [&>*:not(:first-child)]:rounded-s-none [&>*:not(:first-child)]:border-s-0 [&>*:not(:last-child)]:rounded-e-none"
1111
>
1212
<slot />
1313
</component>

app/components/Compare/PackageSelector.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ function handleFocus() {
307307
v-if="result.description"
308308
class="text-xs text-fg-muted truncate mt-0.5 w-full block"
309309
>
310-
{{ result.description }}
310+
{{ decodeHtmlEntities(result.description) }}
311311
</span>
312312
</ButtonBase>
313313
</div>

app/components/Header/SearchBox.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const showSearchBar = computed(() => {
1616
return route.name !== 'index'
1717
})
1818
19-
const { model: searchQuery, flushUpdateUrlQuery } = useGlobalSearch()
19+
const { model: searchQuery, flushUpdateUrlQuery } = useGlobalSearch('header')
2020
2121
function handleSubmit() {
2222
flushUpdateUrlQuery()

app/components/Link/Base.vue

Lines changed: 26 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -3,41 +3,39 @@ import type { NuxtLinkProps } from '#app'
33
import type { IconClass } from '~/types'
44
55
const props = withDefaults(
6-
defineProps<
7-
{
8-
/** Disabled links will be displayed as plain text */
9-
disabled?: boolean
10-
/**
11-
* `type` should never be used, because this will always be a link.
12-
* */
13-
type?: never
14-
variant?: 'button-primary' | 'button-secondary' | 'link'
15-
size?: 'small' | 'medium'
16-
block?: boolean
6+
defineProps<{
7+
/** Disabled links will be displayed as plain text */
8+
disabled?: boolean
9+
/**
10+
* `type` should never be used, because this will always be a link.
11+
* */
12+
type?: never
13+
variant?: 'button-primary' | 'button-secondary' | 'link'
14+
size?: 'small' | 'medium'
15+
block?: boolean
1716
18-
ariaKeyshortcuts?: string
17+
ariaKeyshortcuts?: string
1918
20-
/**
21-
* Don't use this directly. This will automatically be set to `_blank` for external links passed via `to`.
22-
*/
23-
target?: never
19+
/**
20+
* Don't use this directly. This will automatically be set to `_blank` for external links passed via `to`.
21+
*/
22+
target?: never
2423
25-
/**
26-
* Don't use this directly. This will automatically be set for external links passed via `to`.
27-
*/
28-
rel?: never
24+
/**
25+
* Don't use this directly. This will automatically be set for external links passed via `to`.
26+
*/
27+
rel?: never
2928
30-
classicon?: IconClass
29+
classicon?: IconClass
3130
32-
to?: NuxtLinkProps['to']
31+
to?: NuxtLinkProps['to']
3332
34-
/** always use `to` instead of `href` */
35-
href?: never
33+
/** always use `to` instead of `href` */
34+
href?: never
3635
37-
/** should only be used for links where the context makes it very clear they are clickable. Don't just use this, because you don't like underlines. */
38-
noUnderline?: boolean
39-
} & NuxtLinkProps
40-
>(),
36+
/** should only be used for links where the context makes it very clear they are clickable. Don't just use this, because you don't like underlines. */
37+
noUnderline?: boolean
38+
}>(),
4139
{ variant: 'link', size: 'medium' },
4240
)
4341

0 commit comments

Comments
 (0)