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>
50 lines
1.1 KiB
JSON
50 lines
1.1 KiB
JSON
{
|
|
"name": "collect-v8-coverage",
|
|
"version": "1.0.3",
|
|
"main": "index.js",
|
|
"types": "index.d.ts",
|
|
"repository": "SimenB/collect-v8-coverage",
|
|
"files": [
|
|
"CHANGELOG.md",
|
|
"index.js",
|
|
"index.d.ts"
|
|
],
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^19.0.0",
|
|
"@commitlint/config-conventional": "^19.0.0",
|
|
"@semantic-release/changelog": "^6.0.0",
|
|
"@semantic-release/git": "^10.0.0",
|
|
"husky": "^9.0.0",
|
|
"lint-staged": "^15.0.0",
|
|
"prettier": "^3.0.0",
|
|
"semantic-release": "^25.0.0"
|
|
},
|
|
"prettier": {
|
|
"singleQuote": true,
|
|
"trailingComma": "all"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts,md,json}": "prettier --write"
|
|
},
|
|
"commitlint": {
|
|
"extends": [
|
|
"@commitlint/config-conventional"
|
|
]
|
|
},
|
|
"release": {
|
|
"plugins": [
|
|
"@semantic-release/commit-analyzer",
|
|
"@semantic-release/release-notes-generator",
|
|
"@semantic-release/changelog",
|
|
"@semantic-release/npm",
|
|
"@semantic-release/git",
|
|
"@semantic-release/github"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"prepare": "husky"
|
|
},
|
|
"packageManager": "yarn@4.10.3"
|
|
}
|