mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
c9f2055097
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/51246 Changelog: [General][Fixed] Fix generated types in react-native/virtualized-lists being used without opt-in D71969602 introduces `exports` field to `package.json` files in `react-native` and `virtualized-lists`. In that diff, the `types` in `virtualized-lists` by default pointed to the new generated types without requiring the opt-in. This fixes that by requiring the opt-in before using the generated types. Reviewed By: huntie Differential Revision: D74573321 fbshipit-source-id: fe05b0204a7200c1c91aac2614aa786bbbced2a5
64 lines
1.4 KiB
JSON
64 lines
1.4 KiB
JSON
{
|
|
"name": "@react-native/virtualized-lists",
|
|
"version": "0.80.0-main",
|
|
"description": "Virtualized lists for React Native.",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+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"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"react-native-strict-api": "./types_generated/index.d.ts",
|
|
"types": "./index.d.ts",
|
|
"default": "./index.js"
|
|
},
|
|
"./*": {
|
|
"types": null,
|
|
"default": "./*.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"files": [
|
|
"index.js",
|
|
"index.d.ts",
|
|
"Lists",
|
|
"README.md",
|
|
"types_generated",
|
|
"Utilities",
|
|
"!**/__docs__/**",
|
|
"!**/__fixtures__/**",
|
|
"!**/__mocks__/**",
|
|
"!**/__tests__/**"
|
|
],
|
|
"dependencies": {
|
|
"invariant": "^2.2.4",
|
|
"nullthrows": "^1.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"react-test-renderer": "19.1.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@types/react": "^19.0.0",
|
|
"react": "*",
|
|
"react-native": "*"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@types/react": {
|
|
"optional": true
|
|
}
|
|
}
|
|
}
|