create-plugin-config
- Automatically generates the Manifest configuration of a given React Native plugin
ern create-plugin-config <plugin>
Arguments
<plugin>
- The npm package name of the React Native plugin for which to generate configuration. If no version is specified, latest will be considered.
ern create-plugin-config react-native-example-plugin
Creates a plugin configuration for
react-native-example-plugin
latest versionern create-plugin-config [email protected]
Creates a plugin configuration for
react-native-example-plugin
version 1.2.0
- This command needs to be run from the root of a cloned Manifest repository
- This command only creates the configuration in the manifest locally. You will need to manually review/test and then git add/commit/push the changes to the Manifest repository.
- This command will fail in case it detects that the plugin should be configurable as it doesn't support Configurable Plugin config generation.
Last modified 3yr ago