- Fork it!
- Create a remote link with main repository:
git remote add upstream git@github.com:fdaciuk/react-ff.git; - Update your local repository:
git fetch upstream; - Create your feature branch based on
main:git checkout -b my-new-feature;
Install local modules:
yarnThen, you can start the webserver with the following command:
yarn devWhen you're ready, continue with next steps:
- Make sure the code has no lint or type errors;
- If some error is displayed, execute
yarn lint:fixto fix it; - Add your changes:
git add .; - Commit your changes:
git commit -m 'Add some feature'; - Push to the branch:
git push origin my-new-feature; - Submit a pull request for
mainbranch, and summon@fdaciuk:D
- Send only one feature for Pull Request;
- Send small Pull Requests.
If you are sending a pull request, you shouldn't run this commands.
With the latest code version on main branch, execute the following steps:
On main branch, just run this command:
npm version <version>When <version> may be patch, minor ou major.
Send tags and commit to main branch:
git push origin mainThen, create a new release from GitHub.
And done ;)