☂️ React Native Monorepo

This issue has been created 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

cortinico wrote this answer on 2022-10-03

@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?

@gabrieldonadel yes please, you can do so. @rahul3002 is working on another task.
What needs to be done is the following:

  1. Let's rename it to @react-native/hermes-inspector-msggen
  2. Let's make it private as we're not going to publish this
  3. Let's move it to packages/hermes-inspector-msggen
  4. There are some scripts locally that needs to keep on workign once we move the path.
    Let me know if you need further support
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-07
Star Count 105180
Watcher Count 3671
Fork Count 22481
Issue Count 2230

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
Dependency Dashboard 0 2022-02-08 2022-09-11
name[template]: If a `{{ }}` is found in a task name, require it's presence at the end after a sentence explaining the task 1 2022-03-23 2022-10-03
FEATURE: automagically push/update demo to pyfunceble.github.io 1 2021-12-25 2022-07-25
BUG: idna conversion with --adblock 6 2021-12-31 2022-10-03
Bug Report: qv2ray: error while loading shared libraries: libprotobuf.so.26: cannot open shared object file: No such file or directory 2 2021-05-15 2022-05-20
New Feature: Specify a filename in the file dialog path api 0 2021-01-07 2022-07-15
How to get this working with TS and MUI? 1 2022-05-15 2022-10-07
Questions about the metric used: Recall calculation 3 2021-05-26 2022-10-05
Deku performance metrics 3 2022-05-11 2022-09-15
How to compile kill-the-newsletter to exe? 6 2022-06-11 2022-08-19
Scheduled Transaction body differs 4 2021-11-10 2022-10-07
Identical Scheduled Transactions - How to get their ScheduleID 10 2021-11-11 2022-09-11
Inverted logic in loop 0 2021-03-28 2022-09-11
bug: runtime error when executing `set` without args 0 2022-07-11 2022-09-27
why test psnr is nan 5 2021-09-23 2022-08-06
A question about network structure 7 2021-05-24 2022-04-14
How did you get the psnr of ROI in DND 0 2021-12-29 2022-07-16
Why is the process stuck? 2 2022-03-22 2022-04-14
why in linux loss blow up? 1 2022-01-24 2022-08-19
conformance.dashif.org stopped working - server out of space 7 2020-06-29 2022-09-18
Invalid manifest marked as valid 0 2020-08-17 2022-09-18
Unblock button not working 0 2022-03-25 2022-08-08
markdown-it-arc-static-img: don't modify external image paths 0 2022-04-28 2022-09-24
【http is onError】 如果请求成功但是返回此信息,注意检查ApiResult,将里面的结构改成符合自己的项目 0 2021-09-27 2022-09-29
Exit code 2 from CMake 0 2022-07-28 2022-07-29
Supporting RedPanda 2 2022-09-26 2022-09-27
[e2e] specify abstract objects as much as possible cross screen classes 0 2022-09-26 2022-09-27
[e2e] create navigation thru the app using web driver 0 2022-09-26 2022-09-27
Windows crash when using negotiated data channel (2nd connection) 2 2022-04-02 2022-09-28
Ordering for Worker termination and Atomics.waitAsync promises 4 2022-09-08 2022-09-29
[ADD] tracker.encrypted-data.xyz 3 2022-06-25 2022-10-05
Gbitt.info up and running with new code 4 2022-07-21 2022-09-17
Tech debt: Eliminate the "check_consistency" flag in "TemplatedFile.__init__", requires cleaning up hardcoded test data in jinja_test.py 0 2022-03-13 2022-09-03
changes of custom->scss->custom.css are ignored sometimes 1 2021-11-12 2022-10-04
G5.5.5 - editing layout gives "incorrect DATE/TIME value" 7 2021-11-24 2022-09-10
dealing with duplicates across `{insight}` and `{datawizard}` 7 2022-01-22 2022-09-22
What is "Tabby Helper (GPU)" process in macOS? It consumed that big memory 0 2022-01-07 2022-09-20
[Bug]-[200]:Cannot jump to modal from js_object 2 2022-01-31 2022-09-11
Update full bank statement field description 2 2021-11-23 2022-09-24
[CircularProgressIndicator] Lines outside indicator circle 2 2021-08-23 2022-09-22
Does not GraphQLObject support [u8; N] slice? 3 2021-04-17 2022-09-26
`cargo_lock::package::source::GitReference` no longer accessible in `8.0.0` 1 2022-06-13 2022-08-03
Allow @html in attribute tags. 6 2020-01-22 2022-09-16
[ODS] Prefix accessor for optional UnitAttr with 'is' instead of 'get' with kEmitAccessorPrefix_Prefixed 1 2022-04-10 2022-09-16
The angled shape appears. 3 2018-12-21 2022-10-03
rotation not working 20 2021-10-23 2022-09-22
WEB view not scrolling 5 2021-11-13 2022-10-06
There is no valid example 3 2021-10-17 2022-09-22
`wait_for_retry` parameter ignored 4 2019-05-09 2022-09-20
Instructions don't work in the new VS 2022 UI 2 2021-09-10 2022-10-02