fix(lint): let lint-playwright resolve specs that use @axe-core/playwright

lint-playwright lists every spec against the root node_modules, which lacked @axe-core/playwright although the e2e runtime installs it from axe_version, so a role spec using axe failed with Cannot find module at load time. The root devDependencies now carry it like @playwright/test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
kevinveenbirkenbachandClaude Opus 5.5 committed 2026-10-31 17:10:38 +01:00
1 parent 89f4ed9a06
commit 1c5e5a4fe1
2 files changed
+28

No files matched your search

+27
View File
@@ -8,6 +8,7 @@
"name": "infinito-nexus-js-lint",
"version": "0.0.0",
"devDependencies": {
"@axe-core/playwright": "^4.14.0",
"@eslint/js": "^10.0.1",
"@playwright/test": "^1.64.1",
"eslint": "^10.13.0",
@@ -16,6 +17,22 @@
"stylelint": "^17.16.0"
}
},
"node_modules/@axe-core/playwright": {
"version": "4.14.0",
"resolved": "https://registry.npmjs.org/@axe-core/playwright/-/playwright-4.14.0.tgz",
"integrity": "sha512-SGUhG5PIHd2eMdpgBF2PyQLOhX+qyDR2PT4cmoS4Qk2ak+jX/rrSvst9l0PGv5WTHolKpUMvVmoHpr4cZgf1RQ==",
"dev": true,
"license": "MPL-2.0",
"dependencies": {
"axe-core": "~4.14.0"
},
"engines": {
"node": ">=22.12.0"
},
"peerDependencies": {
"playwright-core": ">= 1.0.0"
}
},
"node_modules/@babel/code-frame": {
"version": "7.29.7",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz",
@@ -616,6 +633,16 @@
"node": ">=8"
}
},
"node_modules/axe-core": {
"version": "4.14.0",
"resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.14.0.tgz",
"integrity": "sha512-9WTZxEjsZ7b13TH8JPmbV2z8CHbl80/2hm3XPEG4JgNdQLK81IBRXmSxHfMAOkSqQeRxT/0dwNDz2GOm3zzpcQ==",
"dev": true,
"license": "MPL-2.0",
"engines": {
"node": ">=4"
}
},
"node_modules/balanced-match": {
"version": "4.0.4",
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz",
+1
View File
@@ -8,6 +8,7 @@
"lint:fix": "eslint --fix"
},
"devDependencies": {
"@axe-core/playwright": "^4.14.0",
"@eslint/js": "^10.0.1",
"@playwright/test": "^1.64.1",
"eslint": "^10.13.0",