mirror of
https://github.com/react/react-native.git
synced 2026-09-28 13:23:09 +08:00
Summary: Pull Request resolved: https://github.com/react/react-native/pull/57630 **Motivation** - Flagged as a papercut by Expo: `chrome-launcher` (and `chromium-edge-launcher`) constitute duplicate code (vs Expo's vendored version), and we can lighten our core package by dropping these dependencies. - `launchDebuggerAppWindow` is now a fallback (since the rollout of the RNDT desktop shell), and we can reasonably delegate more rigorous browser detection to frameworks. **This diff** Remove both `chrome-launcher` dependencies and their usages in the `launchDebuggerAppWindow` code path. In their place, use `open` (bumped to 8.x)'s `openApp` API for Chrome only. Changelog: [General][Changed] - **React Native DevTools**: When using the fallback flow for launching DevTools (desktop app fails to launch), Microsoft Edge will not be attempted. DevTools will open as a standard window in the default browser. Reviewed By: robhogan Differential Revision: D113055240 fbshipit-source-id: e3dfb7df58160eae0ec13ae7403d3d7c7dc2a84b
55 lines
1.4 KiB
JSON
55 lines
1.4 KiB
JSON
{
|
|
"name": "@react-native/dev-middleware",
|
|
"version": "0.87.0-main",
|
|
"description": "Dev server middleware for React Native",
|
|
"keywords": [
|
|
"react-native",
|
|
"tools"
|
|
],
|
|
"homepage": "https://github.com/react/react-native/tree/HEAD/packages/dev-middleware#readme",
|
|
"bugs": "https://github.com/react/react-native/issues",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/react/react-native.git",
|
|
"directory": "packages/dev-middleware"
|
|
},
|
|
"license": "MIT",
|
|
"exports": {
|
|
".": "./src/index.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"publishConfig": {
|
|
"exports": {
|
|
".": "./dist/index.js",
|
|
"./package.json": "./package.json"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"prepack": "node ../../scripts/build/prepack.js"
|
|
},
|
|
"dependencies": {
|
|
"@isaacs/ttlcache": "^1.4.1",
|
|
"@react-native/debugger-frontend": "0.87.0-main",
|
|
"@react-native/debugger-shell": "0.87.0-main",
|
|
"connect": "^3.6.5",
|
|
"debug": "^4.4.0",
|
|
"invariant": "^2.2.4",
|
|
"nullthrows": "^1.1.1",
|
|
"open": "^8.4.2",
|
|
"serve-static": "^1.16.2",
|
|
"ws": "^7.5.10"
|
|
},
|
|
"devDependencies": {
|
|
"@react-native/debugger-shell": "0.87.0-main",
|
|
"selfsigned": "^5.5.0",
|
|
"undici": "^6.23.0",
|
|
"wait-for-expect": "^3.0.2"
|
|
},
|
|
"engines": {
|
|
"node": "^22.13.0 || ^24.3.0 || >= 26.0.0"
|
|
}
|
|
}
|