mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
62c15bacaa
Summary: In setups with `pnpm` `react-native/virtualized-lists` gets bundled incorrectly because of the following error: `Module not found: Error: Can't resolve 'react'` As 'react' is used inside of the package, it should declared explicitly, instead of being a phantom dependency. ## Changelog: [GENERAL] [FIXED] - Declare missing peer dependency `react` Pull Request resolved: https://github.com/facebook/react-native/pull/42947 Test Plan: not needed Reviewed By: NickGerleman Differential Revision: D53617462 Pulled By: cortinico fbshipit-source-id: 19a8fed94263646b0af93339d5c014e629dfa6b1
34 lines
809 B
JSON
34 lines
809 B
JSON
{
|
|
"name": "@react-native/virtualized-lists",
|
|
"version": "0.74.0",
|
|
"description": "Virtualized lists for React Native.",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/facebook/react-native.git",
|
|
"directory": "packages/virtualized-lists"
|
|
},
|
|
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/virtualized-lists#readme",
|
|
"keywords": [
|
|
"lists",
|
|
"virtualized-lists",
|
|
"section-lists",
|
|
"react-native"
|
|
],
|
|
"bugs": "https://github.com/facebook/react-native/issues",
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"dependencies": {
|
|
"invariant": "^2.2.4",
|
|
"nullthrows": "^1.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"react-test-renderer": "18.2.0"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "*",
|
|
"react-native": "*"
|
|
}
|
|
}
|