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>
71 lines
1.7 KiB
JSON
71 lines
1.7 KiB
JSON
{
|
|
"name": "@wordpress/eslint-plugin",
|
|
"version": "18.1.0",
|
|
"description": "ESLint plugin for WordPress development.",
|
|
"author": "The WordPress Contributors",
|
|
"license": "GPL-2.0-or-later",
|
|
"keywords": [
|
|
"wordpress",
|
|
"gutenberg",
|
|
"eslint",
|
|
"plugin"
|
|
],
|
|
"homepage": "https://github.com/WordPress/gutenberg/tree/HEAD/packages/eslint-plugin/README.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/WordPress/gutenberg.git",
|
|
"directory": "packages/eslint-plugin"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/WordPress/gutenberg/issues"
|
|
},
|
|
"engines": {
|
|
"node": ">=14",
|
|
"npm": ">=6.14.4"
|
|
},
|
|
"files": [
|
|
"configs",
|
|
"rules",
|
|
"utils",
|
|
"index.js"
|
|
],
|
|
"main": "index.js",
|
|
"dependencies": {
|
|
"@babel/eslint-parser": "^7.16.0",
|
|
"@typescript-eslint/eslint-plugin": "^6.4.1",
|
|
"@typescript-eslint/parser": "^6.4.1",
|
|
"@wordpress/babel-preset-default": "^7.42.0",
|
|
"@wordpress/prettier-config": "^3.15.0",
|
|
"cosmiconfig": "^7.0.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-import": "^2.25.2",
|
|
"eslint-plugin-jest": "^27.2.3",
|
|
"eslint-plugin-jsdoc": "^46.4.6",
|
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
"eslint-plugin-playwright": "^0.15.3",
|
|
"eslint-plugin-prettier": "^5.0.0",
|
|
"eslint-plugin-react": "^7.27.0",
|
|
"eslint-plugin-react-hooks": "^4.3.0",
|
|
"globals": "^13.12.0",
|
|
"requireindex": "^1.2.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@babel/core": ">=7",
|
|
"eslint": ">=8",
|
|
"prettier": ">=3",
|
|
"typescript": ">=4"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"prettier": {
|
|
"optional": true
|
|
},
|
|
"typescript": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"gitHead": "42f38f287506a6b3ed8ccba839b18ad066821044"
|
|
}
|