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>
47 lines
828 B
JSON
47 lines
828 B
JSON
{
|
|
"name": "configstore",
|
|
"version": "5.0.1",
|
|
"description": "Easily load and save config without having to think about where and how",
|
|
"license": "BSD-2-Clause",
|
|
"repository": "yeoman/configstore",
|
|
"author": {
|
|
"name": "Sindre Sorhus",
|
|
"email": "sindresorhus@gmail.com",
|
|
"url": "sindresorhus.com"
|
|
},
|
|
"engines": {
|
|
"node": ">=8"
|
|
},
|
|
"scripts": {
|
|
"test": "xo && ava"
|
|
},
|
|
"files": [
|
|
"index.js"
|
|
],
|
|
"keywords": [
|
|
"config",
|
|
"store",
|
|
"storage",
|
|
"configuration",
|
|
"settings",
|
|
"preferences",
|
|
"json",
|
|
"data",
|
|
"persist",
|
|
"persistent",
|
|
"save"
|
|
],
|
|
"dependencies": {
|
|
"dot-prop": "^5.2.0",
|
|
"graceful-fs": "^4.1.2",
|
|
"make-dir": "^3.0.0",
|
|
"unique-string": "^2.0.0",
|
|
"write-file-atomic": "^3.0.0",
|
|
"xdg-basedir": "^4.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"ava": "^2.1.0",
|
|
"xo": "^0.24.0"
|
|
}
|
|
}
|