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>
56 lines
1.2 KiB
JSON
56 lines
1.2 KiB
JSON
{
|
|
"name": "spawnd",
|
|
"description": "Spawn a dependent child process.",
|
|
"version": "9.0.2",
|
|
"type": "commonjs",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/argos-ci/jest-puppeteer.git",
|
|
"directory": "packages/spawnd"
|
|
},
|
|
"homepage": "https://github.com/argos-ci/jest-puppeteer/tree/main/packages/spawnd#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/argos-ci/jest-puppeteer/issues"
|
|
},
|
|
"engines": {
|
|
"node": ">=16"
|
|
},
|
|
"keywords": [
|
|
"spawn",
|
|
"exec",
|
|
"process",
|
|
"child_process",
|
|
"dependent",
|
|
"exit",
|
|
"child"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"prebuild": "rm -rf dist",
|
|
"build": "rollup -c"
|
|
},
|
|
"devDependencies": {
|
|
"@types/exit": "^0.1.33",
|
|
"@types/signal-exit": "^3.0.4",
|
|
"rollup": "^4.5.0",
|
|
"rollup-plugin-dts": "^6.1.0",
|
|
"rollup-plugin-swc3": "^0.10.4"
|
|
},
|
|
"dependencies": {
|
|
"signal-exit": "^4.1.0",
|
|
"tree-kill": "^1.2.2"
|
|
},
|
|
"gitHead": "648701a447c79e430fb7ad45cacacae25843f01a"
|
|
}
|