Skip to content

Conversation

@artus9033
Copy link
Contributor

@artus9033 artus9033 commented Jan 9, 2026

This PR exposes and abstracts passing in config for the brownfield plugin to allow Rock-agnostic consumption in the standalone CLI of react-native-brownfield for callstack/react-native-brownfield#176

Part of the logic needed to be reorganized to provide an escape hatch allowing to override the cache root path so that the Rock-dependent logic (failing in absence of a Rock config file) can be evaded.

For clarity of source code, the FingerprintSources was renamed to FingerprintOptions since this is the most descriptive name (and most parameter names were already named fingerprintOptions, though of type FingerprintSources). There has also been a new type, actually named FingerprintSources, which provides a subset of props of FingerprintOptions and is used in the config package. The FingerprintOptions consist of FingerprintSources + the (optional) escape hatch for cache root.

The PR carries a minor fix to mergeFrameworks in @rock-js/platform-apple-helpers that adds a missing piece of debug log that seemed incomplete and didn't log details of what is being removed (in case an output artifact already exists).

@vercel
Copy link

vercel bot commented Jan 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Review Updated (UTC)
rock Ignored Ignored Preview Jan 9, 2026 10:46pm

@thymikee thymikee force-pushed the feat/expose-for-brownfield branch from 8a6ed36 to b76604a Compare January 9, 2026 16:18
@artus9033 artus9033 force-pushed the feat/expose-for-brownfield branch from 32db5e5 to 3fb2d47 Compare January 9, 2026 22:46
@artus9033 artus9033 requested a review from thymikee January 9, 2026 23:37
@artus9033 artus9033 marked this pull request as ready for review January 9, 2026 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants