build(frontend): exact-pin @vitest/browser-playwright to 4.1.6

Drop the caret so the version cannot float off the patched release.
patches/@vitest+browser-playwright+4.1.6.patch backports vitest PR #10267
(the duplicate-mock-id birpc race, ADR-012) and only applies to 4.1.6; a
caret range could resolve to a version the patch rejects. A top-level
"//" key records the removal condition since package.json forbids
comments. Part of #560.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Marcel
2026-06-02 19:26:35 +02:00
committed by marcel
parent d83707ec3b
commit fab2930ca8
2 changed files with 3 additions and 2 deletions

View File

@@ -32,7 +32,7 @@
"@tailwindcss/vite": "^4.1.17", "@tailwindcss/vite": "^4.1.17",
"@types/diff": "^7.0.2", "@types/diff": "^7.0.2",
"@types/node": "^24", "@types/node": "^24",
"@vitest/browser-playwright": "^4.0.10", "@vitest/browser-playwright": "4.1.6",
"@vitest/coverage-istanbul": "^4.1.0", "@vitest/coverage-istanbul": "^4.1.0",
"@vitest/coverage-v8": "^4.1.0", "@vitest/coverage-v8": "^4.1.0",
"eslint": "^9.39.1", "eslint": "^9.39.1",

View File

@@ -3,6 +3,7 @@
"private": true, "private": true,
"version": "0.0.1", "version": "0.0.1",
"type": "module", "type": "module",
"//@vitest/browser-playwright": "Exact-pinned (no caret) to 4.1.6 so patches/@vitest+browser-playwright+4.1.6.patch (backport of vitest PR #10267, the duplicate-mock-id birpc race) keeps applying. TODO: remove this pin and the patch once @vitest/browser-playwright ships a release containing PR #10267. See docs/adr/012-browser-test-mocking-strategy.md.",
"scripts": { "scripts": {
"dev": "vite dev", "dev": "vite dev",
"build": "vite build", "build": "vite build",
@@ -47,7 +48,7 @@
"@tailwindcss/vite": "^4.1.17", "@tailwindcss/vite": "^4.1.17",
"@types/diff": "^7.0.2", "@types/diff": "^7.0.2",
"@types/node": "^24", "@types/node": "^24",
"@vitest/browser-playwright": "^4.0.10", "@vitest/browser-playwright": "4.1.6",
"@vitest/coverage-istanbul": "^4.1.0", "@vitest/coverage-istanbul": "^4.1.0",
"@vitest/coverage-v8": "^4.1.0", "@vitest/coverage-v8": "^4.1.0",
"eslint": "^9.39.1", "eslint": "^9.39.1",