MLH-Fellowship / MLH-Fellowship/react-native-tutorial
Research Branching Model: CLI
Open
@PragatiVerma18 is already working on this.
Since Dec 8, 2020.
- Dominant language
- JavaScript
- Stars
- 6
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Requirements:
Allow the user to switch to various branches of the tutorial, with each branch representing it's own step/part of the tutorial. Do this smoothly, so that a hot reload of the app will immediately show the changes in the app.
Idea:
- make a react-native tutorial CLI in node.js/javascript that can switch the github branch of the current repo to various steps of the project.
Concerns
- Each step will have different dependencies, when switching branches, we must insure that npm install is called
- Must build a cross-platform compatible cli
Libraries that may assist
- React Native cli: https://github.com/react-native-community/cli/tree/master/packages/cli - can take inspiration from this project
- Commander: https://github.com/tj/commander.js/ - node.js cli tool
- Inquirer.js: https://github.com/SBoudrias/Inquirer.js/ - node.js cli user interface
- Chalk: https://www.npmjs.com/package/chalk - used to colourize output
- Simple Git: https://github.com/steveukx/git-js - lightweight git commands in node.js
Branch
https://github.com/MLH-Fellowship/react-native-tutorial/tree/setup-branch-cli
Screenshots


questions
Should we directly implement this into the react-native cli?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.