feat: expose brownfield plugin actions & types #666
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
FingerprintSourceswas renamed toFingerprintOptionssince this is the most descriptive name (and most parameter names were already namedfingerprintOptions, though of typeFingerprintSources). There has also been a new type, actually namedFingerprintSources, which provides a subset of props ofFingerprintOptionsand is used in theconfigpackage. TheFingerprintOptionsconsist ofFingerprintSources+ the (optional) escape hatch for cache root.The PR carries a minor fix to
mergeFrameworksin@rock-js/platform-apple-helpersthat 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).