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

Move utilities out of react_native_pods - Part 2 #33982

Closed
wants to merge 2 commits into from

Conversation

cipolleschi
Copy link
Contributor

Summary:
This Diff moves another part of the utilities from the react_native_pods file to a specific utils.rb file.

It adds tests for these utils and improve our test mocks.

The goal is to simplify the react_native_pods.rb so it's easier to work with it.

I decided to split this diff in 2 because it was becoming quite big.

Changelog

[iOS][Changed] - Refactoring part of the react_native_pods.rb script

Differential Revision: D37006265

Riccardo Cipolleschi added 2 commits June 9, 2022 06:56
Summary:
Pull Request resolved: facebook#33978

This Diff moves part of the utilities from the `react_native_pods` file to a specific `utils.rb` file.

It adds tests for these utils and improve our test mocks.

The goal is to simplify the `react_native_pods.rb` so it's easier to work with it.

I decided to split this diff in 2 because it was becoming quite big.

## Changelog

[iOS][Changed] - Refactoring part of the react_native_pods.rb script

Differential Revision: D37004347

fbshipit-source-id: ecc1b1cb0825440e9e5ae5a92846bc8fe8602d99
Summary:
This Diff moves another part of the utilities from the `react_native_pods` file to a specific `utils.rb` file.

It adds tests for these utils and improve our test mocks.

The goal is to simplify the `react_native_pods.rb` so it's easier to work with it.

I decided to split this diff in 2 because it was becoming quite big.

## Changelog

[iOS][Changed] - Refactoring part of the react_native_pods.rb script

Differential Revision: D37006265

fbshipit-source-id: 580152f6f3bc97c78e23d1004695c60a718c875c
@cipolleschi cipolleschi requested a review from hramos as a code owner June 9, 2022 13:58
@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 fb-exported labels Jun 9, 2022
@facebook-github-bot
Copy link
Contributor

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

@pull-bot
Copy link

pull-bot commented Jun 9, 2022

Warnings
⚠️ 🔒 package.json - Changes were made to package.json. This will require a manual import by a Facebook employee.

Generated by 🚫 dangerJS against 41534d8

@react-native-bot react-native-bot added the Platform: iOS iOS applications. label Jun 9, 2022
@analysis-bot
Copy link

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 7,782,640 +0
android hermes armeabi-v7a 7,172,350 +0
android hermes x86 8,093,283 +0
android hermes x86_64 8,069,317 +0
android jsc arm64-v8a 9,649,489 +0
android jsc armeabi-v7a 8,408,181 +0
android jsc x86 9,600,998 +0
android jsc x86_64 10,194,061 +0

Base commit: a0e6ffe
Branch: main

@analysis-bot
Copy link

Platform Engine Arch Size (bytes) Diff
ios - universal n/a --

Base commit: a0e6ffe
Branch: main

cipolleschi pushed a commit to cipolleschi/react-native that referenced this pull request Jun 10, 2022
Summary:
Pull Request resolved: facebook#33982

This Diff moves another part of the utilities from the `react_native_pods` file to a specific `utils.rb` file.

It adds tests for these utils and improve our test mocks.

The goal is to simplify the `react_native_pods.rb` so it's easier to work with it.

I decided to split this diff in 2 because it was becoming quite big.

## Changelog

[iOS][Changed] - Refactoring part of the react_native_pods.rb script

Differential Revision: https://www.internalfb.com/diff/D37006265?entry_point=27

fbshipit-source-id: 204470a68d5a5da137c1f698f413fd9c66618076
@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @cipolleschi in 4f732ba.

When will my fix make it into a release? | Upcoming Releases

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 Platform: iOS iOS applications.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants