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>
55 lines
1.0 KiB
JSON
55 lines
1.0 KiB
JSON
{
|
|
"name": "glob-parent",
|
|
"version": "6.0.2",
|
|
"description": "Extract the non-magic parent path from a glob string.",
|
|
"author": "Gulp Team <team@gulpjs.com> (https://gulpjs.com/)",
|
|
"contributors": [
|
|
"Elan Shanker (https://github.com/es128)",
|
|
"Blaine Bublitz <blaine.bublitz@gmail.com>"
|
|
],
|
|
"repository": "gulpjs/glob-parent",
|
|
"license": "ISC",
|
|
"engines": {
|
|
"node": ">=10.13.0"
|
|
},
|
|
"main": "index.js",
|
|
"files": [
|
|
"LICENSE",
|
|
"index.js"
|
|
],
|
|
"scripts": {
|
|
"lint": "eslint .",
|
|
"pretest": "npm run lint",
|
|
"test": "nyc mocha --async-only"
|
|
},
|
|
"dependencies": {
|
|
"is-glob": "^4.0.3"
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "^7.0.0",
|
|
"eslint-config-gulp": "^5.0.0",
|
|
"expect": "^26.0.1",
|
|
"mocha": "^7.1.2",
|
|
"nyc": "^15.0.1"
|
|
},
|
|
"nyc": {
|
|
"reporter": [
|
|
"lcov",
|
|
"text-summary"
|
|
]
|
|
},
|
|
"prettier": {
|
|
"singleQuote": true
|
|
},
|
|
"keywords": [
|
|
"glob",
|
|
"parent",
|
|
"strip",
|
|
"path",
|
|
"dirname",
|
|
"directory",
|
|
"base",
|
|
"wildcard"
|
|
]
|
|
}
|