mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
ab1af2844b
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/53435 Changelog: [Internal] Support setting `enableStandaloneFuseboxShell: true` in OSS with no custom `BrowserLauncher` Makes it possible for frameworks to enable the React Native DevTools standalone shell in open source by passing `unstable_experiments: {enableStandaloneFuseboxShell: true}` to `createDevMiddleware()`. When this experiment is enabled: * The RNDT shell binary will be prefetched in the background as soon as the dev server starts (into a local cache managed by [DotSlash](https://dotslash-cli.com/)). * If prefetching is successful, then "Open DevTools" actions will be handled by launching the RNDT frontend in the standalone shell, instead of in Chrome/Edge. * If prefetching is not successful, then we'll notify the user about the error, and "Open DevTools" will continue to be handled by Chrome/Edge, as before. * If the user attempts to open DevTools more than once for the same app, the standalone shell will reuse the existing window (as opposed to the current behaviour of always creating a new Chrome/Edge window). * The appropriate DevTools window will automatically foreground itself upon pausing on a breakpoint. Reviewed By: huntie Differential Revision: D78351937 fbshipit-source-id: 6d5baa8fa866760f1d527108cd3c42bcab68cf57
48 lines
1.2 KiB
JSON
48 lines
1.2 KiB
JSON
{
|
|
"name": "@react-native/dev-middleware",
|
|
"version": "0.82.0-main",
|
|
"description": "Dev server middleware for React Native",
|
|
"keywords": [
|
|
"react-native",
|
|
"tools"
|
|
],
|
|
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/dev-middleware#readme",
|
|
"bugs": "https://github.com/facebook/react-native/issues",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/facebook/react-native.git",
|
|
"directory": "packages/dev-middleware"
|
|
},
|
|
"license": "MIT",
|
|
"exports": {
|
|
".": "./src/index.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"dependencies": {
|
|
"@isaacs/ttlcache": "^1.4.1",
|
|
"@react-native/debugger-frontend": "0.82.0-main",
|
|
"@react-native/debugger-shell": "0.82.0-main",
|
|
"chrome-launcher": "^0.15.2",
|
|
"chromium-edge-launcher": "^0.2.0",
|
|
"connect": "^3.6.5",
|
|
"debug": "^4.4.0",
|
|
"invariant": "^2.2.4",
|
|
"nullthrows": "^1.1.1",
|
|
"open": "^7.0.3",
|
|
"serve-static": "^1.16.2",
|
|
"ws": "^6.2.3"
|
|
},
|
|
"engines": {
|
|
"node": ">= 20.19.4"
|
|
},
|
|
"devDependencies": {
|
|
"@react-native/debugger-shell": "0.82.0-main",
|
|
"selfsigned": "^2.4.1",
|
|
"undici": "^5.29.0",
|
|
"wait-for-expect": "^3.0.2"
|
|
}
|
|
}
|