mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
27968eaf9f
Summary:
In a pnpm setup, `react-native config` fails to read `react-native/react-native.config.js` because `ws` was not installed:
```
% node --print 'require("react-native/react-native.config.js")'
node:internal/modules/cjs/loader:1137
throw err;
^
Error: Cannot find module 'ws'
```
## Changelog:
[GENERAL] [FIXED] - fix `react-native config` failing in pnpm setups
Pull Request resolved: https://github.com/facebook/react-native/pull/42907
Test Plan: n/a
Reviewed By: cipolleschi
Differential Revision: D53516703
Pulled By: robhogan
fbshipit-source-id: 3aded393187df4ca9a7abb64a2c8e0f2c9a5fcd9
41 lines
1014 B
JSON
41 lines
1014 B
JSON
{
|
|
"name": "@react-native/dev-middleware",
|
|
"version": "0.73.7",
|
|
"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": "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.73.3",
|
|
"chrome-launcher": "^0.15.2",
|
|
"chromium-edge-launcher": "^1.0.0",
|
|
"connect": "^3.6.5",
|
|
"debug": "^2.2.0",
|
|
"node-fetch": "^2.2.0",
|
|
"open": "^7.0.3",
|
|
"serve-static": "^1.13.1",
|
|
"temp-dir": "^2.0.0",
|
|
"ws": "^6.2.2"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
}
|
|
}
|