Add coexistence checks to all enqueue methods to prevent loading both React and Grid.js assets simultaneously. Changes: - ReactAdmin.php: Only enqueue React assets when ?react=1 - Init.php: Skip Grid.js when React active on admin pages - Form.php, Coupon.php, Access.php: Restore classic assets when ?react=0 - Customer.php, Product.php, License.php: Add coexistence checks Now the toggle between Classic and React versions works correctly. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
51 lines
1.3 KiB
JSON
51 lines
1.3 KiB
JSON
{
|
|
"name": "eslint-plugin-playwright",
|
|
"description": "ESLint plugin for Playwright testing.",
|
|
"version": "0.15.3",
|
|
"packageManager": "pnpm@8.4.0",
|
|
"main": "lib/index.js",
|
|
"repository": "https://github.com/playwright-community/eslint-plugin-playwright",
|
|
"author": "Mark Skelton <mark@mskelton.dev>",
|
|
"contributors": [
|
|
"Max Schmitt <max@schmitt.mx>"
|
|
],
|
|
"license": "MIT",
|
|
"files": [
|
|
"lib",
|
|
"!lib/**/*.spec.js"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc --project tsconfig.build.json",
|
|
"lint": "eslint .",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check .",
|
|
"test": "jest",
|
|
"ts": "tsc"
|
|
},
|
|
"devDependencies": {
|
|
"@mskelton/eslint-config": "^8.0.0",
|
|
"@types/dedent": "^0.7.0",
|
|
"@types/eslint": "^8.40.2",
|
|
"@types/estree": "^1.0.1",
|
|
"@typescript-eslint/eslint-plugin": "^5.59.11",
|
|
"@typescript-eslint/parser": "^5.59.11",
|
|
"dedent": "^0.7.0",
|
|
"eslint": "^8.43.0",
|
|
"eslint-plugin-sort": "^2.10.0",
|
|
"jest": "^29.5.0",
|
|
"prettier": "^2.8.8",
|
|
"semantic-release": "^21.0.5",
|
|
"ts-jest": "^29.1.0",
|
|
"typescript": "^5.1.3"
|
|
},
|
|
"peerDependencies": {
|
|
"eslint": ">=7",
|
|
"eslint-plugin-jest": ">=25"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"eslint-plugin-jest": {
|
|
"optional": true
|
|
}
|
|
}
|
|
}
|