-
Notifications
You must be signed in to change notification settings - Fork 204
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(crnl): store metadata with new projects (#551)
### Summary We need a way to track the project information since we are going to introduce a library upgrade helper. With this PR, when you create a new library using `create-react-native-library`, it will automatically save; 1. Version of `create-react-native-library` used to create the project 2. The library type (native module, native view, etc.) 3. The languages used (Kotlin, objective-c, etc.) into `create-react-native-library.json` file at the root. ### Test plan <!-- List the steps with which we can test this change. Provide screenshots if this changes anything visual. --> 1. Build and run `create-react-native-library` 2. Note down the options you have picked 3. Make sure the `create-react-native-library.json` file has been generated at the root of your library 4. Check the version, library type, and languages fields and make sure they are using correct data. --------- Co-authored-by: Satyajit Sahoo <[email protected]>
- Loading branch information
Showing
2 changed files
with
91 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters