☂️ React Native Monorepo

This issue has been tracked since 2022-09-14.

Hey all,
I'm opening this task to keep track of the effort to implement the React Native Monorepo RFC:

In this first phase of the work, we're looking into only:

  • Renaming the packages under packages/ (i.e. updating the name field) to follow the naming convention suggested in the RFC (@react-native/...)
  • Updating the version to be 0.71.0
    And the necessary related infra.

At this stage we're not looking into renaming the folders of such packages.

Here the list of tasks that needs to be handled:

  • Setup Verdaccio for local E2E testing of the template.
  • Bump @react-native/babel-plugin-codegen to 0.71.x
  • Bump @react-native/eslint-plugin-specs to 0.71.x
  • Rename @react-native-community/eslint-config to @react-native/eslint-config and bump to 0.71.x
  • Rename @react-native-community/eslint-plugin to @react-native/eslint-plugin and bump to 0.71.x
  • Rename @react-native/polyfills to @react-native/js-polyfills and bump to 0.71.x
  • Rename @react-native/normalize-color to @react-native/normalize-colors and bump to 0.71.x
  • Rename @react-native/assets to @react-native/assets-registry and bump to 0.71.x
  • Rename react-native-codegen to @react-native/codegen. No bump needed.
  • Rename react-native-gradle-plugin to @react-native/gradle-plugin. No bump needed.
  • Move ReactCommon/hermes/inspector/tools/msggen/package.json inside packages or remove it.

All the related PRs/Issues for this effort are labelled as Tech: Monorepo.

When doing one of those tasks, first let's make sure the CI is green first (specifically the test_js task). Once your PR is green, we're going to import it internally, and expect some turnaround time as those changes are going to require internal changes on our end as well.

Please comment below if you're willing to take the stance on any of those task and wait for a confirmation before start working on it.

rahul3002 wrote this answer on 2022-09-18

i would like to work on this issue

cortinico wrote this answer on 2022-09-18

i would like to work on this issue

The item Rename react-native-gradle-plugin to @react-native/gradle-plugin. No bump needed. is up for grab @rahul3002 👍

rahul3002 wrote this answer on 2022-09-18

I will grab it

rahul3002 wrote this answer on 2022-09-19

hello @cortinico Im getting confused u have assigned some of task so , should I work on them are or they are working

cortinico wrote this answer on 2022-09-20

hello @cortinico Im getting confused u have assigned some of task so , should I work on them are or they are working

I've assigned it to you 👍

cortinico wrote this answer on 2022-09-22

Hey all,
Just a heads up that we merged the change that introduces Verdaccio in our OSS infra (kudos to @fortmarek here #34577).

Can I ask you all to rebase your PRs and drive them forward. You should all have a pending comments be me to follow up 👍

gabrieldonadel wrote this answer on 2022-09-29

@cortinico I would like to help with the Move ReactCommon/hermes/inspector/tools/msggen/package.json inside packages or remove it. task. Would you mind elaborating a little bit more on what's expected? In the case of moving this to the packages folder, should this be renamed to @react-native/msggen or something like that?

rahul3002 wrote this answer on 2022-09-29

noo I'm working on it , kindly find other issue

More Details About Repo
Owner Name facebook
Repo Name react-native
Full Name facebook/react-native
Language JavaScript
Created Date 2015-01-09
Updated Date 2022-10-05
Star Count 105157
Watcher Count 3670
Fork Count 22478
Issue Count 2227

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date