Skip to content

Commit 4a06fc6

Browse files
committed
Add implemented solution to RFC 508
1 parent 8ab0043 commit 4a06fc6

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

proposals/0000-out-of-npm-artifacts.md proposals/0508-out-of-npm-artifacts.md

+17-4
Original file line numberDiff line numberDiff line change
@@ -341,10 +341,23 @@ We could extend on Github Releases as we’re doing today for the Hermes iOS tar
341341
* Will create a lot of noise in the release space (i.e. we need to create a GIthub release for every nightly).
342342
* Practically unusable for commitlies and release testing (as the release is ‘not there yet’).
343343

344-
## Preferred solution
344+
## Implemented solution
345345

346-
We've investigated prototype for both the OCI and the Maven solution.
346+
After having investigated both the OCI and the Maven solution, we decided to move on with the **Dedicated Maven Repository** solution.
347347

348-
At this stage the preferred solution is Maven, due to the list of PROs. This solution will make consuming artifacts easier for users and will reduce the maintainance costs on core contributors and release managers.
348+
Starting from React Native 0.71.x we'll be shipping the following changes:
349349

350-
As this change is going to affect contributors, library authors, and developers of tools on top of React Native, we're sharing this RFC publicly to collect consensus and feedback.
350+
- We'll now distribute **prebuilts** for:
351+
- React Native Android - Coordinates `com.facebook.react:react-android`
352+
- Please note that the previous coordinates `com.facebook.react:react-native` have been voided due to [#35210](https://github.com/facebook/react-native/issues/35210)
353+
- Hermes Engine Android - Coordinates `com.facebook.react:hermes-android`
354+
- Please note that the previous coordinates `com.facebook.react:hermes-engine` have been voided due to [#35210](https://github.com/facebook/react-native/issues/35210)
355+
- Hermes Runtime for iOS - Coordinates `com.facebook.react:react-native-artifacts`
356+
357+
Prebuilts will be available on
358+
- For **Stable** versions, on Maven Central ([browsable here](https://repo1.maven.org/maven2/com/facebook/react/))
359+
- For **Nightly** versions,on Sonatype's Snapshot Repository ([browsable here](https://oss.sonatype.org/content/repositories/snapshots/com/facebook/react/))
360+
361+
This solution is flexible enough that will allow us to relocate our artifacts to other Maven repositories in the future, if needed.
362+
363+
The templates for both Android & iOS have been updated to consume the proper prebuilt from the correct URL.

0 commit comments

Comments
 (0)