Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
b2805fc
feat(ui): add svelte 10th anniversary noodle (#3448)
outslept Nov 15, 2026
0f123da
chore(deps): update devdependency knip to v6.45.1 (#3418)
renovate[bot] Nov 16, 2026
c00b27d
fix: end download charts on the latest day npm has published (#3455)
benjamincanac Nov 20, 2026
86c41a1
fix(ui): render badge-only descriptions left as bare brackets as empt…
btea Nov 20, 2026
bd39ba3
chore(deps): update devdependency knip to v6.47.0 (#3459)
renovate[bot] Nov 23, 2026
d75a5ca
chore(deps): upgrade to nuxt v4.7 (#3463)
danielroe Nov 24, 2026
cc115f2
fix: fix some layout shifts + add cls regression test (#3464)
danielroe Nov 24, 2026
d840350
ci: update setup-vp to v1.22.0 and run codecov uploads sequentially (…
trueberryless Nov 25, 2026
d85d400
fix: cache fonts and prevent font swap layout shift (#3375)
aurorascharff Nov 25, 2026
8dbc05d
chore(deps): upgrade nuxt-og-image to v7 (#3468)
danielroe Nov 25, 2026
cbbcb66
fix: prevent blog embeds + images from causing layout shift (#3467)
danielroe Nov 25, 2026
24cc551
chore(deps): upgrade `@nuxt/fonts` + drop patches (#3483)
danielroe Nov 26, 2026
78d51cb
fix: chunk OSV batch queries and follow pagination tokens (#3470)
danielroe Nov 26, 2026
4b53239
perf: serve code and docs pages from static client-only shell (#3479)
danielroe Nov 26, 2026
4a757a4
perf: serve changelogs from a static client-only shell (#3480)
danielroe Nov 26, 2026
d94bd36
perf: skip `/api/auth/session` for anonymous visitors (#3472)
danielroe Nov 26, 2026
df23abf
perf: cache public like counts + skip per-user status for anonymous v…
danielroe Nov 26, 2026
a92c555
fix: prevent some layout shift on blog pages (#3484)
danielroe Nov 27, 2026
44864cb
perf: fix some client-side nav layout shift (#3469)
danielroe Nov 27, 2026
fd08abd
fix: prevent layout shift on short package lists + blog media (#3485)
danielroe Nov 27, 2026
7ef17ba
feat: blog prism forge (#3471)
trueberryless Nov 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# secure password, can use `openssl rand -hex 32`
NUXT_SESSION_PASSWORD=""

# HMAC secret for image-proxy and OG image URL signing, can use `openssl rand -hex 32`
# HMAC secret for image-proxy, can use `openssl rand -hex 32`
NUXT_IMAGE_PROXY_SECRET=""

# root of Nuxt-derived secrets such as OG image URL signing (at least 32 characters), can use `openssl rand -hex 32`
NUXT_APP_SECRET=""
2 changes: 1 addition & 1 deletion .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
persist-credentials: false
fetch-depth: 0

- uses: voidzero-dev/setup-vp@313600b80b104eadebb9111787d37a2e83e014ca # v1.17.0
- uses: voidzero-dev/setup-vp@cab1ab9eaff52d4857875f4f2c016e36af8f2c76 # v1.22.0
with:
node-version-file: .node-version
cache: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
persist-credentials: false

- uses: voidzero-dev/setup-vp@313600b80b104eadebb9111787d37a2e83e014ca # v1.17.0
- uses: voidzero-dev/setup-vp@cab1ab9eaff52d4857875f4f2c016e36af8f2c76 # v1.22.0
with:
node-version-file: .node-version
cache: true
Expand Down
100 changes: 49 additions & 51 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
with:
persist-credentials: false

- uses: voidzero-dev/setup-vp@313600b80b104eadebb9111787d37a2e83e014ca # v1.17.0
- uses: voidzero-dev/setup-vp@cab1ab9eaff52d4857875f4f2c016e36af8f2c76 # v1.22.0
with:
node-version-file: .node-version
sfw: true
Expand All @@ -50,7 +50,7 @@ jobs:
with:
persist-credentials: false

- uses: voidzero-dev/setup-vp@313600b80b104eadebb9111787d37a2e83e014ca # v1.17.0
- uses: voidzero-dev/setup-vp@cab1ab9eaff52d4857875f4f2c016e36af8f2c76 # v1.22.0
with:
node-version-file: .node-version
cache: true
Expand All @@ -68,7 +68,7 @@ jobs:
with:
persist-credentials: false

- uses: voidzero-dev/setup-vp@313600b80b104eadebb9111787d37a2e83e014ca # v1.17.0
- uses: voidzero-dev/setup-vp@cab1ab9eaff52d4857875f4f2c016e36af8f2c76 # v1.22.0
with:
node-version-file: .node-version
cache: true
Expand All @@ -77,27 +77,26 @@ jobs:
- name: 🧪 Unit tests
run: vp test --project unit --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml

- parallel:
- name: ⬆︎ Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with:
disable_search: true
files: test-report.junit.xml
flags: unit
report_type: test_results
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: ⬆︎ Upload coverage reports to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with:
disable_search: true
files: coverage/clover.xml
flags: unit
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: ⬆︎ Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with:
disable_search: true
files: test-report.junit.xml
flags: unit
report_type: test_results
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: ⬆︎ Upload coverage reports to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with:
disable_search: true
files: coverage/clover.xml
flags: unit
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

test:
name: 🧪 Component tests
Expand All @@ -108,7 +107,7 @@ jobs:
with:
persist-credentials: false

- uses: voidzero-dev/setup-vp@313600b80b104eadebb9111787d37a2e83e014ca # v1.17.0
- uses: voidzero-dev/setup-vp@cab1ab9eaff52d4857875f4f2c016e36af8f2c76 # v1.22.0
with:
node-version-file: .node-version
cache: true
Expand All @@ -120,33 +119,32 @@ jobs:
- name: 🧪 Component tests
run: vp test --project nuxt --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml

- parallel:
- name: ⬆︎ Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with:
disable_search: true
files: test-report.junit.xml
flags: component
report_type: test_results
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: ⬆︎ Upload coverage reports to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with:
disable_search: true
files: coverage/clover.xml
flags: component
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: ⬆︎ Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with:
disable_search: true
files: test-report.junit.xml
flags: component
report_type: test_results
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: ⬆︎ Upload coverage reports to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with:
disable_search: true
files: coverage/clover.xml
flags: component
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

browser:
name: 🖥️ Browser tests
runs-on: ubuntu-26.04-arm
container:
image: mcr.microsoft.com/playwright:v1.62.1-noble@sha256:dcc5531e97840b9b5e794f2814476b21571c5124a3fca2267d73041f56e7580e
image: mcr.microsoft.com/playwright:v1.64.1-noble@sha256:47b510dd9230bf0b9bfc9b20102241e577ea7a99334ab4c3ca19f19770e9b8ea

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand All @@ -163,7 +161,7 @@ jobs:
run: apt-get update && apt-get install --yes build-essential
shell: bash

- uses: voidzero-dev/setup-vp@313600b80b104eadebb9111787d37a2e83e014ca # v1.17.0
- uses: voidzero-dev/setup-vp@cab1ab9eaff52d4857875f4f2c016e36af8f2c76 # v1.22.0
with:
node-version-file: .node-version
cache: true
Expand Down Expand Up @@ -201,7 +199,7 @@ jobs:
with:
persist-credentials: false

- uses: voidzero-dev/setup-vp@313600b80b104eadebb9111787d37a2e83e014ca # v1.17.0
- uses: voidzero-dev/setup-vp@cab1ab9eaff52d4857875f4f2c016e36af8f2c76 # v1.22.0
with:
node-version-file: .node-version
cache: true
Expand All @@ -225,7 +223,7 @@ jobs:
with:
persist-credentials: false

- uses: voidzero-dev/setup-vp@313600b80b104eadebb9111787d37a2e83e014ca # v1.17.0
- uses: voidzero-dev/setup-vp@cab1ab9eaff52d4857875f4f2c016e36af8f2c76 # v1.22.0
with:
node-version-file: .node-version
cache: true
Expand All @@ -243,7 +241,7 @@ jobs:
with:
persist-credentials: false

- uses: voidzero-dev/setup-vp@313600b80b104eadebb9111787d37a2e83e014ca # v1.17.0
- uses: voidzero-dev/setup-vp@cab1ab9eaff52d4857875f4f2c016e36af8f2c76 # v1.22.0
with:
node-version-file: .node-version
sfw: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
persist-credentials: false
fetch-depth: 0

- uses: voidzero-dev/setup-vp@313600b80b104eadebb9111787d37a2e83e014ca # v1.17.0
- uses: voidzero-dev/setup-vp@cab1ab9eaff52d4857875f4f2c016e36af8f2c76 # v1.22.0
with:
node-version-file: .node-version
run-install: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lunaria.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
fetch-depth: 0
persist-credentials: false

- uses: voidzero-dev/setup-vp@313600b80b104eadebb9111787d37a2e83e014ca # v1.17.0
- uses: voidzero-dev/setup-vp@cab1ab9eaff52d4857875f4f2c016e36af8f2c76 # v1.22.0
with:
node-version-file: .node-version
cache: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
fetch-depth: 0
persist-credentials: false

- uses: voidzero-dev/setup-vp@313600b80b104eadebb9111787d37a2e83e014ca # v1.17.0
- uses: voidzero-dev/setup-vp@cab1ab9eaff52d4857875f4f2c016e36af8f2c76 # v1.22.0
with:
node-version-file: .node-version
run-install: false
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
fetch-depth: 0
persist-credentials: true

- uses: voidzero-dev/setup-vp@313600b80b104eadebb9111787d37a2e83e014ca # v1.17.0
- uses: voidzero-dev/setup-vp@cab1ab9eaff52d4857875f4f2c016e36af8f2c76 # v1.22.0
with:
node-version-file: .node-version
run-install: false
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:

- name: 📦 Install dependencies
if: steps.check.outputs.skip == 'false'
uses: voidzero-dev/setup-vp@313600b80b104eadebb9111787d37a2e83e014ca # v1.17.0
uses: voidzero-dev/setup-vp@cab1ab9eaff52d4857875f4f2c016e36af8f2c76 # v1.22.0
with:
sfw: true
run-install: |
Expand Down Expand Up @@ -106,14 +106,14 @@ jobs:
ref: release
persist-credentials: false

- uses: voidzero-dev/setup-vp@313600b80b104eadebb9111787d37a2e83e014ca # v1.17.0
- uses: voidzero-dev/setup-vp@cab1ab9eaff52d4857875f4f2c016e36af8f2c76 # v1.22.0
with:
node-version-file: .node-version
registry-url: https://registry.npmjs.org
run-install: false

- name: 📦 Install dependencies
uses: voidzero-dev/setup-vp@313600b80b104eadebb9111787d37a2e83e014ca # v1.17.0
uses: voidzero-dev/setup-vp@cab1ab9eaff52d4857875f4f2c016e36af8f2c76 # v1.22.0
with:
sfw: true
run-install: |
Expand Down
2 changes: 1 addition & 1 deletion .nuxtrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
setups.@nuxt/test-utils="4.1.0"
setups.@nuxt/test-utils="4.4.0"
6 changes: 5 additions & 1 deletion .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ const config = {
name: '@storybook-vue/nuxt',
options: { docgen: { plugin: 'vue-component-meta', tsconfig: '.nuxt/tsconfig.app.json' } },
},
staticDirs: ['./.public', { from: '../public', to: '/' }],
staticDirs: [
'./.public',
{ from: '../public', to: '/' },
{ from: '../assets/fonts', to: '/fonts' },
],
features: {
backgrounds: false,
},
Expand Down
55 changes: 16 additions & 39 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,52 +3,17 @@
which is disabled in Storybook at this time) */
@font-face {
font-family: 'Geist';
font-weight: 400;
font-weight: 100 900;
font-style: normal;
font-display: swap;
src: url('/fonts/Geist-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Geist';
font-weight: 500;
font-style: normal;
font-display: swap;
src: url('/fonts/Geist-Medium.ttf') format('truetype');
}
@font-face {
font-family: 'Geist';
font-weight: 600;
font-style: normal;
font-display: swap;
src: url('/fonts/Geist-SemiBold.ttf') format('truetype');
}
@font-face {
font-family: 'Geist';
font-weight: 700;
font-style: normal;
font-display: swap;
src: url('/fonts/Geist-Bold.ttf') format('truetype');
}
@font-face {
font-family: 'Geist Mono';
font-weight: 400;
font-style: normal;
font-display: swap;
src: url('/fonts/GeistMono-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Geist Mono';
font-weight: 500;
font-style: normal;
font-display: swap;
src: url('/fonts/GeistMono-Medium.ttf') format('truetype');
src: url('/fonts/Geist-Variable.woff2') format('woff2');
}
@font-face {
font-family: 'Geist Mono';
font-weight: 700;
font-weight: 100 900;
font-style: normal;
font-display: swap;
src: url('/fonts/GeistMono-Bold.ttf') format('truetype');
src: url('/fonts/GeistMono-Variable.woff2') format('woff2');
}
html {
-webkit-font-smoothing: antialiased;
Expand All @@ -61,6 +26,18 @@
background-color: var(--bg, oklch(0.171 0 0)) !important;
}
</style>
<script>
// Nuxt 4.7 reads `window.__NUXT__.config.app` from the generated paths module while the preview
// bundle is importing, and the addon only writes that payload when a story renders. The shape
// matches `createNuxtPayload()` in @storybook-vue/nuxt, so its `window.__NUXT__ ||=` keeps this value
// until a story replaces it with the real runtime config.
window.__NUXT__ ??= {
config: { app: { baseURL: '/' }, public: {} },
data: {},
serverRendered: false,
state: {},
}
</script>
<script>
// related: https://github.com/npmx-dev/npmx.dev/blob/1431d24be555bca5e1ae6264434d49ca15173c43/test/nuxt/setup.ts#L12-L26
// Stub Nuxt specific globals
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ docker run --rm \
-e NODE_OPTIONS="--max-old-space-size=4096" \
-v $(pwd):/work \
-w /work \
mcr.microsoft.com/playwright:v1.62.1-noble \
mcr.microsoft.com/playwright:v1.64.1-noble \
sh -c "npm install -g pnpm && pnpm install && pnpm vp run build:test && pnpm vp run test:browser:prebuilt --update-snapshots"
```

Expand Down
Loading
Loading