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>
58 lines
1.4 KiB
JSON
58 lines
1.4 KiB
JSON
{
|
|
"name": "jest-dev-server",
|
|
"description": "Starts a server before your Jest tests and tears it down after.",
|
|
"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/jest-dev-server"
|
|
},
|
|
"homepage": "https://github.com/argos-ci/jest-puppeteer/tree/main/packages/jest-dev-server#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/argos-ci/jest-puppeteer/issues"
|
|
},
|
|
"engines": {
|
|
"node": ">=16"
|
|
},
|
|
"keywords": [
|
|
"jest",
|
|
"jest-environment",
|
|
"server"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"prebuild": "rm -rf dist",
|
|
"build": "rollup -c"
|
|
},
|
|
"devDependencies": {
|
|
"@types/cwd": "^0.10.2",
|
|
"@types/prompts": "^2.4.9",
|
|
"@types/wait-on": "^5.3.4",
|
|
"rollup": "^4.5.0",
|
|
"rollup-plugin-dts": "^6.1.0",
|
|
"rollup-plugin-swc3": "^0.10.4"
|
|
},
|
|
"dependencies": {
|
|
"chalk": "^4.1.2",
|
|
"cwd": "^0.10.0",
|
|
"find-process": "^1.4.7",
|
|
"prompts": "^2.4.2",
|
|
"spawnd": "^9.0.2",
|
|
"tree-kill": "^1.2.2",
|
|
"wait-on": "^7.2.0"
|
|
},
|
|
"gitHead": "648701a447c79e430fb7ad45cacacae25843f01a"
|
|
}
|