Skip to content

Commit

Permalink
Revamp reactNativeManifest proposal
Browse files Browse the repository at this point in the history
  • Loading branch information
cipolleschi committed Oct 6, 2023
2 parents d4cacd6 + 3b38eb4 commit 6e8e885
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion proposals/0012-introduce-reactNativeMetadata.md
Expand Up @@ -25,7 +25,7 @@ This new section will allow developers to follow a declarative approach to expre

## Rationale

The need to specify **capabilities and metadata** for a react-native library is inherent to the React Native ecosystem. This need is so evident that various frameworks provided their own ways to specify those values. Look at `react-native.config.js` for the CLI or `expo.config.js` for Expo.
The need to specify **capabilities and metadata** for a react-native library is inherent to the React Native ecosystem. This need is so evident that various frameworks provided their own ways to specify those values. Look at `react-native.config.js` for the CLI or `app.json` for Expo.

Another issue is that, as of today, there is no simple programmatic way to know if a NPM package is a React Native library.
We have some heuristics, though:
Expand Down Expand Up @@ -388,6 +388,8 @@ Once the v1.0.0 version of the shape is finalised, we can start integrating it a

After adding this first wave of support, and related documentation, we could more broadly communicate to the community and the maintainers how adding this section would benefit them too.

Furthermore, we will provide validation scripts to verify that the new field do respect the schema described by its version.

### Documentation update needed

If we agree on this proposal, we'll have to:
Expand Down

0 comments on commit 6e8e885

Please sign in to comment.