MLH-Fellowship / MLH-Fellowship/react-native-tutorial
Research Branching Model: CLI
Offen
@PragatiVerma18 arbeitet bereits daran.
Seit 08.12.2020.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 6
- Forks
- 0
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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?
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.