react-native
react-native copied to clipboard
RNGP - Setup the RunAutolinkingConfigTask to run the config command
Summary: This diff is part of RFC0759 https://github.com/react-native-community/discussions-and-proposals/pull/759
Here I'm creating the runAutolinkingConfig
task.
This task is responsible of either:
- Invoking the
npx react-native-community/cli config
command (or the one specified by the user) - Copying the config output file specified by the user (if any).
The task re-executes only if any of the lockfile are actually changed otherwise it just returns as "UP-TO-DATE"
This allows us to
Changelog: [Internal] [Changed] - RNGP - Setup the RunAutolinkingConfigTask to run the config command
Differential Revision: D55475596
Platform | Engine | Arch | Size (bytes) | Diff |
---|---|---|---|---|
android | hermes | arm64-v8a | 19,461,305 | +6 |
android | hermes | armeabi-v7a | n/a | -- |
android | hermes | x86 | n/a | -- |
android | hermes | x86_64 | n/a | -- |
android | jsc | arm64-v8a | 22,834,090 | +2 |
android | jsc | armeabi-v7a | n/a | -- |
android | jsc | x86 | n/a | -- |
android | jsc | x86_64 | n/a | -- |
Base commit: 1f087995608fd016a8a3dd84c0ca88a9239d96b9 Branch: main
1df15708108b8625875f25480781ad650ccd2174