Skip to content

Commit 68c906f

Browse files
committed
Add clarification on jsonschema
1 parent 76cb7db commit 68c906f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

proposals/0012-introduce-reactNativeMetadata.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ Therefore we believe `align-deps` can benefit from this information and be exten
227227
### React Native CLI support
228228

229229
Ideally the CLI (or any other build tool) should be able to consume the `reactNativeManifest` section and warn at build time if a configuration is invalid (either by having an invalid value or by having a mixture of invalid configurations).
230+
For example, the CLI could use [jsonschema](https://npmjs.com/package/jsonschema) at build time and validate the `package.json` against the schema we provide.
230231

231232
It's outside the scope of this RFC to delve into details of which tool will implement which logic and we defer this to a future discussion.
232233

0 commit comments

Comments
 (0)