4 Commits
Author SHA1 Message Date
Dawid Małecki c54d353df9 Rename --check flag to --validate in C++ public API parser (#56253)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56253

Renames flag for verifying that the C++ public API snapshot is with sync with the actual public API surface to match the JS API command.

Changelog:
[Internal]

Reviewed By: huntie

Differential Revision: D98484129

fbshipit-source-id: ec806353f263b00e5060d9e7f0333bcf4cced148
2026-03-31 08:32:57 -07:00
Dawid Małecki 25ef8444ef Add documentation for Cxx API snapshot generation (#56146)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56146

Adds documentation for the cxx-api snapshot generation pipeline, covering usage commands for generating and checking snapshots, and configuration.

It answers:
1. What the script does.
2. What the output looks like.
3. How to use it (generate, check).
4. How it works (Doxygen → parser → .api files).
5. How it can be configured (config.yml).
6. What to do when snapshots differ.

Changelog:
[Internal]

Reviewed By: huntie

Differential Revision: D96316004

fbshipit-source-id: b527606b87efb2af72680b572135a5fc595ab85e
2026-03-19 05:19:51 -07:00
Jakub Piasecki d1fb556968 Remove scripts/cxx-api (#55162)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55162

Changelog: [Internal]

Removes `scripts/cxx-api`, containing the legacy C++ API tracking code.

Reviewed By: cortinico

Differential Revision: D90675176

fbshipit-source-id: ed920f3e19a302f8451bcc0c2a827c99570d6cb8
2026-01-15 00:33:52 -08:00
Alex Hunt 5fe782a800 Move cxx-api scripts under scripts/, add README (#52467)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/52467

Moves the WIP `cxx-public-api` project under `scripts/cxx-api/`, add minimal README docs.

Changelog: [Internal]

Reviewed By: christophpurrer

Differential Revision: D77865490

fbshipit-source-id: ce49845386c468ee7422b864c49f2a8c9eed5a70
2025-07-07 15:04:37 -07:00