Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement version parsing and connect to RNTester #39502

Closed
wants to merge 3 commits into from

Conversation

cipolleschi
Copy link
Contributor

Summary:
This diff adds the parsing of the package.json to retrieve the version of react native and it matches it against a regex to decide whether to enable or not the New Architecture.

This change depends on this CLI's PR.

Changelog:

[Android][Added] - Parse RN Version to decide whether to enable the New Arch or not.

Reviewed By: cortinico

Differential Revision: D49270012

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Sep 18, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D49270012

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D49270012

cipolleschi added a commit to cipolleschi/react-native that referenced this pull request Sep 18, 2023
Summary:
Pull Request resolved: facebook#39502

This diff adds the parsing of the package.json to retrieve the version of react native and it matches it against a regex to decide whether to enable or not the New Architecture.

This change depends on [this CLI's PR](react-native-community/cli#2076).

## Changelog:
[Android][Added] - Parse RN Version to decide whether to enable the New Arch or not.

Reviewed By: cortinico

Differential Revision: D49270012

fbshipit-source-id: 55f324ac4dec0e23af8b231bb85703d9e53d95e0
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D49270012

cipolleschi added a commit to cipolleschi/react-native that referenced this pull request Sep 18, 2023
Summary:
Pull Request resolved: facebook#39502

This diff adds the parsing of the package.json to retrieve the version of react native and it matches it against a regex to decide whether to enable or not the New Architecture.

This change depends on [this CLI's PR](react-native-community/cli#2076).

## Changelog:
[Android][Added] - Parse RN Version to decide whether to enable the New Arch or not.

Reviewed By: cortinico

Differential Revision: D49270012

fbshipit-source-id: 010c735b77c6bcbff5b442d1a454571209738c5d
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D49270012

cipolleschi added a commit to cipolleschi/react-native that referenced this pull request Sep 18, 2023
Summary:
Pull Request resolved: facebook#39502

This diff adds the parsing of the package.json to retrieve the version of react native and it matches it against a regex to decide whether to enable or not the New Architecture.

This change depends on [this CLI's PR](react-native-community/cli#2076).

## Changelog:
[Android][Added] - Parse RN Version to decide whether to enable the New Arch or not.

Reviewed By: cortinico

Differential Revision: D49270012

fbshipit-source-id: 0a829d3aa75ecd7fb45c1f40b03f5a959744f92e
@analysis-bot
Copy link

analysis-bot commented Sep 18, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,341,527 -103
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 9,580,806 +14
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: 47de1f6
Branch: main

Riccardo Cipolleschi and others added 3 commits September 18, 2023 06:10
Summary:
When working on RNTeaster, we discovered that the Kotlin migration. broke something.

This diff make sure we can test RNTester

## Changelog:
[Internal] - Make RNTester's New Architecture Example execute again

Differential Revision: https://internalfb.com/D49154282

fbshipit-source-id: c73430dcdb54a5e7f5381a22af0387a982c03510
Summary:
Pull Request resolved: facebook#39501

This change introduce a new model to parse the React Native package.json.
The objects are not connected but they will be used in the next diff

## Changelog:
[Android][Added] - Add a couple of types in the RNGP for json parsing.

Differential Revision: https://internalfb.com/D49270044

fbshipit-source-id: 65ffcab8671c38b4a1e9f1c63d441660b9b8869b
Summary:
Pull Request resolved: facebook#39502

This diff adds the parsing of the package.json to retrieve the version of react native and it matches it against a regex to decide whether to enable or not the New Architecture.

This change depends on [this CLI's PR](react-native-community/cli#2076).

## Changelog:
[Android][Added] - Parse RN Version to decide whether to enable the New Arch or not.

Reviewed By: cortinico

Differential Revision: D49270012

fbshipit-source-id: 1dca14650a2a4de5b7d7caaa4043bb80845436d5
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D49270012

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Sep 18, 2023
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 29adb8d.

@github-actions
Copy link

github-actions bot commented Sep 18, 2023

Warnings
⚠️ One hour and a half have passed and the E2E jobs haven't finished yet.

Generated by 🚫 dangerJS against d91e42d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants