Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
20 changes: 10 additions & 10 deletions .github/workflows/bundle-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,17 @@ jobs:
cache-dependency-path: .bundle-base/pnpm-lock.yaml
working-directory: .bundle-base
runtime: node@24
- name: Prepare the layer
- name: Prepare the apps
working-directory: .bundle-base
run: pnpm exec nuxt prepare layer
# The CLI keeps only the last `--extends`, so both layers go through `~/.nuxtrc`.
# `projectRoot` keeps `layer/` module ids identical between the base and PR checkouts.
run: pnpm run dev:prepare
- name: Configure the analyzer
run: |
{
echo "extends[]=../layer"
echo "extends[]=$GITHUB_WORKSPACE/scripts/bundle-size/nuxt-layer"
echo "build.analyze.template=raw-data"
echo "build.analyze.filename=$GITHUB_WORKSPACE/.bundle-base/docs/.nuxt/analyze/{name}.json"
echo "build.analyze.projectRoot=$GITHUB_WORKSPACE/.bundle-base/"
} >> ~/.nuxtrc
} >> .bundle-base/docs/.nuxtrc
- name: Analyze the base bundle
working-directory: .bundle-base/docs
run: >-
Expand Down Expand Up @@ -88,15 +87,16 @@ jobs:
cache: true
cache-dependency-path: pnpm-lock.yaml
runtime: node@24
- name: Prepare the layer
run: pnpm exec nuxt prepare layer
- name: Prepare the apps
run: pnpm run dev:prepare
- name: Configure the analyzer
run: |
{
echo "extends[]=../layer"
echo "extends[]=$GITHUB_WORKSPACE/scripts/bundle-size/nuxt-layer"
echo "build.analyze.template=raw-data"
echo "build.analyze.filename=$GITHUB_WORKSPACE/docs/.nuxt/analyze/{name}.json"
echo "build.analyze.projectRoot=$GITHUB_WORKSPACE/"
} >> ~/.nuxtrc
} >> docs/.nuxtrc
- name: Analyze the PR bundle
working-directory: docs
run: >-
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@vercel/analytics": "^2.0.1",
"@vercel/speed-insights": "^2.0.0",
"docus": "workspace:*",
"nuxt": "4.5.2",
"nuxt": "4.6.0",
"nuxt-studio": "https://pkg.pr.new/nuxt-studio@37bffdb",
"tailwindcss": "^4.3.3"
},
Expand Down
2 changes: 1 addition & 1 deletion layer/app/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface DocusSeoOrganization {
contactPoint?: Record<string, unknown> | Record<string, unknown>[]
}

declare module 'nuxt/schema' {
declare module '@nuxt/schema' {
interface AppConfig {
docus: {
locale: string
Expand Down
2 changes: 1 addition & 1 deletion layer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@iconify-json/vscode-icons": "^1.2.85",
"@nuxt/content": "^3.16.1",
"@nuxt/image": "^2.1.0",
"@nuxt/kit": "^4.5.2",
"@nuxt/kit": "^4.6.0",
"@nuxt/ui": "^4.11.3",
"@nuxtjs/i18n": "^10.6.0",
"@nuxtjs/mcp-toolkit": "^0.23.0",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@release-it/bumper": "^8.0.1",
"@release-it/conventional-changelog": "^12.0.2",
"eslint": "^10.12.0",
"nuxt": "4.5.2",
"nuxt": "4.6.0",
"release-it": "^21.1.0",
"typescript": "^6.0.3",
"vitest": "^5.0.3",
Expand Down
4 changes: 2 additions & 2 deletions playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"build": "nuxt build --extends docus"
},
"dependencies": {
"docus": "workspace:*",
"@ai-sdk/mistral": "^4.0.33",
"ai": "^7.0.77",
"better-sqlite3": "^12.5.0",
"nuxt": "^4.3.1"
"docus": "workspace:*",
"nuxt": "^4.6.0"
}
}
3,495 changes: 2,354 additions & 1,141 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions scripts/bundle-size/nuxt-layer/nuxt.config.ts

This file was deleted.

Loading