Skip to content

Add documentation to the SwiftPM structure#51532

Closed
cipolleschi wants to merge 2 commits into
facebook:mainfrom
cipolleschi:export-D75217331
Closed

Add documentation to the SwiftPM structure#51532
cipolleschi wants to merge 2 commits into
facebook:mainfrom
cipolleschi:export-D75217331

Conversation

@cipolleschi
Copy link
Copy Markdown
Contributor

Summary:
This change adds documentation to the SwiftPM structure to simplify changing it, especially if we have to port some changes from the cocoapods infra to the Swift PM implementation.

Changelog:

[Internal] - Add docs

Differential Revision: D75217331

Summary:
To reduce reduntant code by repeating the logging functionality in each JS module, this commit introduces a factory for creating a logger with a given prefix.

- Create factory `createLogger`
- Remove redundant log implementations
- Changed to use factory in hermes.js and ios-prebuild.js

## Changelog:

[IOS] [CHANGED] - simplified logging in prebuild scripts

Pull Request resolved: facebook#51527

Test Plan: No tests so far.

Differential Revision: D75213656
@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 May 22, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

Summary:
Pull Request resolved: facebook#51532

This change adds documentation to the SwiftPM structure to simplify changing it, especially if we have to port some changes from the cocoapods infra to the Swift PM implementation.

## Changelog:
[Internal] - Add docs

Reviewed By: cortinico

Differential Revision: D75217331
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

cipolleschi added a commit to cipolleschi/react-native that referenced this pull request May 22, 2025
Summary:
Pull Request resolved: facebook#51532

This change adds documentation to the SwiftPM structure to simplify changing it, especially if we have to port some changes from the cocoapods infra to the Swift PM implementation.

## Changelog:
[Internal] - Add docs

Differential Revision: D75217331

Reviewed By: cortinico
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label May 22, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in 66ec4b3.

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