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>
41 lines
923 B
JSON
41 lines
923 B
JSON
{
|
|
"name": "resolve-bin",
|
|
"version": "0.4.3",
|
|
"description": "Resolves the full path to the bin file of a given package by inspecting the \"bin\" field in its package.json.",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"test": "tap test/*.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/thlorenz/resolve-bin.git"
|
|
},
|
|
"homepage": "https://github.com/thlorenz/resolve-bin",
|
|
"dependencies": {
|
|
"find-parent-dir": "~0.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"dependency-cruiser": "^10.0.1",
|
|
"mocha": "~1.14.0",
|
|
"open-cli": "^6.0.1",
|
|
"tap": "~0.4.3"
|
|
},
|
|
"keywords": [
|
|
"resolve",
|
|
"bin",
|
|
"module"
|
|
],
|
|
"author": {
|
|
"name": "Thorsten Lorenz",
|
|
"email": "thlorenz@gmx.de",
|
|
"url": "http://thlorenz.com"
|
|
},
|
|
"license": {
|
|
"type": "MIT",
|
|
"url": "https://github.com/thlorenz/resolve-bin/blob/master/LICENSE"
|
|
},
|
|
"engine": {
|
|
"node": ">=0.6"
|
|
}
|
|
}
|