mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
b5e08e80d9
Summary: See https://github.com/facebook/react-native/issues/41929 for an issue on multiple monorepo packages being installed. The reason is that `*` resolves to whatever is tagged `latest` on npm. We still need to fix the fact that our monorepo publish script will update the latest tag everytime we publish. For now, we should remove these from `main` and we will also update this in the 0.73 release branch. I've left the two peer dependencies on `react-native` to keep at `*`. ``` virtualized-lists/package.json 30: "react-native": "*" rn-tester/package.json 32: "react-native": "*" ``` As a peer-dependency this won't be a problem in terms of installing a second `react-native`. I thought about updating these to `nightly`, but that would install multiple nightly react-natives as the tag will be updated with each nightly release. I think for now this is fine and something we can revisit. Things left to do [ ] Fix monorepo publish script to not update `--latest` [ ] Remove ^ dependencies on monorepo packages: https://github.com/facebook/react-native/pull/41958 [ ] Re-evaluate how we bump and align monorepo packages when we cut a release branch. I forget if we manually update this when we cut or if there is a script. We may want to change the script and have `main` dependencies point to some fake version like `1000.0.0` and only update these on nightly publishes. Regardless, this will need some discussion. ## Changelog: [GENERAL] [CHANGED] - Be explicit about what monorepo versions we are using Pull Request resolved: https://github.com/facebook/react-native/pull/42081 Test Plan: N/A Reviewed By: cortinico, cipolleschi Differential Revision: D52435234 Pulled By: lunaleaps fbshipit-source-id: 67da029d2b637e3997c12c21fe2a9ab9bc344399
34 lines
825 B
JSON
34 lines
825 B
JSON
{
|
|
"name": "@react-native/babel-plugin-codegen",
|
|
"version": "0.74.0",
|
|
"description": "Babel plugin to generate native module and view manager code for React Native.",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/facebook/react-native.git",
|
|
"directory": "packages/babel-plugin-codegen"
|
|
},
|
|
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/babel-plugin-codegen#readme",
|
|
"keywords": [
|
|
"babel",
|
|
"plugin",
|
|
"codegen",
|
|
"react-native",
|
|
"native-modules",
|
|
"view-manager"
|
|
],
|
|
"bugs": "https://github.com/facebook/react-native/issues",
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"files": [
|
|
"index.js"
|
|
],
|
|
"dependencies": {
|
|
"@react-native/codegen": "0.74.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.20.0"
|
|
}
|
|
}
|