Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 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
2 changes: 1 addition & 1 deletion helpers/mdc-parser.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { parseMarkdown } from '@nuxtjs/mdc/runtime'
import rehypeHighlight from '@nuxtjs/mdc/runtime/highlighter/rehype-nuxt'
import rehypeHighlight from '@nuxtjs/mdc/runtime/highlighter/rehype'
import { createOnigurumaEngine } from 'shiki/engine/oniguruma'
import { createJavaScriptRegexEngine } from 'shiki'

Expand Down
94 changes: 44 additions & 50 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "nuxt.com",
"version": "0.3.11",
"packageManager": "pnpm@10.26.0",
"packageManager": "pnpm@10.29.3",
"type": "module",
"scripts": {
"dev": "nuxt dev --ui-only",
Expand All @@ -16,7 +16,7 @@
"test:unit": "vitest --project unit",
"test:nuxt": "vitest --project nuxt",
"test:browser": "playwright test test/browser",
"test:browser:update": "docker run --rm --network host -v $(pwd):/work/ -v /tmp/playwright-node-modules:/work/node_modules -w /work/ -it mcr.microsoft.com/playwright:v1.57.0-noble bash -c 'corepack enable && pnpm i && pnpm rebuild better-sqlite3 && pnpm playwright test test/browser --update-snapshots'",
"test:browser:update": "docker run --rm --network host -v $(pwd):/work/ -v /tmp/playwright-node-modules:/work/node_modules -w /work/ -it mcr.microsoft.com/playwright:v1.57.0-noble bash -c 'corepack enable && pnpm i && pnpm playwright test test/browser --update-snapshots'",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

# Check the package.json to verify the versions mentioned
# First, let's check the line with the Docker image reference (around line 19)
sed -n '15,25p' package.json

# Then check lines around 78 and 90 for `@playwright/test` and playwright versions
sed -n '75,82p' package.json
sed -n '87,95p' package.json

Repository: nuxt/nuxt.com

Length of output: 1215


🌐 Web query:

playwright docker image v1.58.2-noble mcr.microsoft.com available

💡 Result:

As of the current official Playwright Docker documentation, the published mcr.microsoft.com/playwright tags shown are for v1.57.0 (including v1.57.0-noble and v1.57.0-jammy)—there is no mention/listing of v1.58.2-noble there. [1]

To confirm whether v1.58.2-noble exists on MCR from your environment, try one of:

docker pull mcr.microsoft.com/playwright:v1.58.2-noble
# or
docker manifest inspect mcr.microsoft.com/playwright:v1.58.2-noble

If it’s available, these will succeed; if not, you’ll get a manifest/tag-not-found style error.

Source

  • Official Playwright “Docker” docs showing the currently documented tags (v1.57.0, incl. -noble). [1]

Update Playwright Docker image version to match npm packages.

The test:browser:update script uses mcr.microsoft.com/playwright:v1.57.0-noble, but @playwright/test and playwright are both set to ^1.58.2. Playwright requires matching versions between npm packages and browser binaries—this mismatch will cause test failures or incorrect snapshot results.

However, the v1.58.2-noble Docker image tag does not yet appear in the official Playwright registry. Either wait for the image to be published or downgrade the npm packages to ^1.57.2:

Option A: Downgrade npm packages to 1.57.2 (recommended until v1.58.2 Docker image is available)

Update lines 79 and 91 in package.json to:

"@playwright/test": "^1.57.2",
"playwright": "^1.57.2",
Option B: Update Docker image once v1.58.2 is available
-    "test:browser:update": "docker run --rm --network host -v $(pwd):/work/ -v /tmp/playwright-node-modules:/work/node_modules -w /work/ -it mcr.microsoft.com/playwright:v1.57.0-noble bash -c 'corepack enable && pnpm i && pnpm playwright test test/browser --update-snapshots'",
+    "test:browser:update": "docker run --rm --network host -v $(pwd):/work/ -v /tmp/playwright-node-modules:/work/node_modules -w /work/ -it mcr.microsoft.com/playwright:v1.58.2-noble bash -c 'corepack enable && pnpm i && pnpm playwright test test/browser --update-snapshots'",

Also applies to: 79-79, 91-91

🤖 Prompt for AI Agents
In `@package.json` at line 19, The Playwright Docker image tag in the npm script
"test:browser:update" (mcr.microsoft.com/playwright:v1.57.0-noble) does not
match the installed package versions (`@playwright/test` and playwright at
^1.58.2); either downgrade the package versions to ^1.57.2 (recommended until
the v1.58.2 image is published) or update the docker image tag to v1.58.2-noble
once available — change the versions for "@playwright/test" and "playwright" to
^1.57.2 if choosing the immediate fix, or update the docker tag in the
"test:browser:update" script to v1.58.2-noble when the image is released.

"eval": "evalite",
"eval:ui": "evalite serve",
"db:generate": "nuxt hub database generate",
Expand All @@ -25,84 +25,78 @@
"dependencies": {
"@iconify-json/heroicons": "^1.2.3",
"@iconify-json/logos": "^1.2.10",
"@iconify-json/lucide": "^1.2.81",
"@iconify-json/octicon": "^1.2.19",
"@iconify-json/simple-icons": "^1.2.63",
"@libsql/client": "^0.15.15",
"@iconify-json/lucide": "^1.2.90",
"@iconify-json/octicon": "^1.2.20",
"@iconify-json/simple-icons": "^1.2.70",
"@libsql/client": "^0.17.0",
"@npm/types": "^2.1.0",
"@nuxt/content": "^3.11.0",
"@nuxt/hints": "1.0.0-alpha.3",
"@nuxt/content": "^3.11.2",
"@nuxt/hints": "1.0.0-alpha.6",
"@nuxt/image": "^2.0.0",
"@nuxt/scripts": "^0.13.1",
"@nuxt/ui": "^4.2.1",
"@nuxt/vite-builder": "https://pkg.pr.new/@nuxt/vite-builder@33682",
"@nuxthub/core": "npm:@nuxthub/core-nightly@0.10.0-20251210-113644-c25eff9",
"@nuxt/scripts": "^0.13.2",
"@nuxt/ui": "^4.4.0",
"@nuxthub/core": "^0.10.6",
"@nuxtjs/html-validator": "^2.1.0",
"@nuxtjs/mcp-toolkit": "^0.5.2",
"@nuxtjs/mdc": "^0.19.1",
"@nuxtjs/mcp-toolkit": "^0.6.4",
"@nuxtjs/mdc": "^0.20.1",
"@nuxtjs/plausible": "^2.0.1",
"@vercel/analytics": "^1.6.1",
"@vercel/functions": "^3.3.4",
"@vercel/functions": "^3.4.2",
"@vercel/speed-insights": "^1.3.1",
"@vue/compiler-sfc": "^3.5.25",
"@vueuse/components": "^13.9.0",
"@vueuse/core": "^13.9.0",
"@vueuse/nuxt": "^13.9.0",
"better-sqlite3": "^12.5.0",
"@vue/compiler-sfc": "^3.5.28",
"@vueuse/components": "^14.2.1",
"@vueuse/core": "^14.2.1",
"@vueuse/nuxt": "^14.2.1",
"better-sqlite3": "^12.6.2",
"date-fns": "^4.1.0",
"drizzle-orm": "^0.45.1",
"feed": "^5.1.0",
"feed": "^5.2.0",
"h3": "^1.15.5",
"little-date": "^1.2.1",
"motion-v": "1.7.4",
"motion-v": "1.10.3",
"nuxt": "^4.3.1",
"nuxt-auth-utils": "0.5.26",
"nuxt-charts": "2.0.0",
"nuxt-llms": "^0.1.3",
"nuxt-og-image": "5.1.13",
"nuxt-auth-utils": "^0.5.28",
"nuxt-charts": "^2.1.2",
"nuxt-llms": "^0.2.0",
"nuxt-og-image": "^5.1.13",
"ofetch": "^1.5.1",
"scule": "^1.3.0",
"sitemap": "^9.0.0",
"std-env": "^3.10.0",
"ufo": "^1.6.1",
"ufo": "^1.6.3",
"valibot": "1.2.0"
},
"devDependencies": {
"@ai-sdk/mcp": "^0.0.12",
"@ai-sdk/openai": "3.0.0-beta.101",
"@iconify-json/vscode-icons": "^1.2.37",
"@nuxt/eslint": "^1.12.1",
"@nuxt/modules": "0.6.0-7f4646",
"@ai-sdk/mcp": "^1.0.20",
"@ai-sdk/openai": "^3.0.27",
"@iconify-json/vscode-icons": "^1.2.41",
"@nuxt/devtools": "^3.2.1",
"@nuxt/eslint": "^1.15.1",
"@nuxt/modules": "^0.6.0-7f4646",
"@nuxt/test-utils": "^4.0.0",
"@nuxtjs/turnstile": "^1.1.1",
"@playwright/test": "^1.57.0",
"@playwright/test": "^1.58.2",
"@testing-library/vue": "^8.1.0",
"@types/semver": "^7.7.1",
"@types/youtube": "^0.1.2",
"@vue/test-utils": "^2.4.6",
"ai": "6.0.0-beta.156",
"ai": "^6.0.82",
"capture-website": "^5.1.0",
"drizzle-kit": "^0.31.8",
"drizzle-kit": "^0.31.9",
"eslint": "^9.39.2",
"evalite": "1.0.0-beta.15",
"happy-dom": "^20.0.11",
"nuxt-content-twoslash": "0.1.2",
"playwright": "^1.57.0",
"shiki": "^3.20.0",
"twoslash": "^0.3.4",
"happy-dom": "^20.6.1",
"nuxt-content-twoslash": "^0.1.2",
"playwright": "^1.58.2",
"shiki": "^3.22.0",
"twoslash": "^0.3.6",
"typescript": "^5.9.3",
"vitest": "^4.0.15",
"vue": "^3.5.25",
"vue-tsc": "^3.1.8"
},
"resolutions": {
"chokidar": "3.6.0",
"nitropack": "2.13.0",
"unimport": "4.1.1"
"vitest": "^4.0.18",
"vue": "^3.5.28",
"vue-tsc": "^3.2.4"
},
"pnpm": {
"onlyBuiltDependencies": [
"better-sqlite3",
"esbuild",
"rolldown",
"sharp"
Expand All @@ -113,7 +107,7 @@
"vue-demi"
],
"overrides": {
"vite": "8.0.0-beta.2"
"vite": "8.0.0-beta.14"
}
}
}
Loading
Loading