Hello! Thank you for taking the time to contribute! If you want to join us, please send email to ispong@outlook.com.
- Git 2.22.+
- Node 12.16.+
- Npm 6.13.+
-
Fork Project (https://github.com/isxcode/react-keycap)
-
Clone Project (Branch: latest)
git clone -b latest https://github.com/ispong/react-keycap.git- Build Project
cd react-keycap
npm install && npm run buildNote:
If use npm link in local, you should link your project react and react-dom to react-keycap first
react and react-dom version must be in the same npm link must be run first
cd react-keycap
npm install && npm run local- Install Local
npm link @isxcode/react-keycap- Merge conflict (Branch: latest)
git remote add upstream https://github.com/isxcode/react-keycap.git
git fetch upstream
git merge upstream/latest
git add .
git commit -m ":sparkles: add new features"
git push origin latest- Pull Request
https://github.com/isxcode/react-keycap/compare
Note: ispong/react-keycap/latest ==squash merge==> isxcode/react-keycap/latest
npm i docsify-cli -g
cd react-keycap
docsify serve docsnpm run storybookvim VERSION.md
# -------------- VERSION.md --------------
1.0.0-alpha
# -------------- VERSION.md -------------- vim gradle.properties
# ------------- vim .npmrc -------------
registry=https://registry.npmjs.org/
# ------------- gradle.properties -------------npm login
npm run uploadvim VERSION.md
# -------------- VERSION.md --------------
1.0.0
# -------------- VERSION.md -------------- vim gradle.properties
# ------------- vim .npmrc -------------
registry=https://registry.npmjs.org/
# ------------- gradle.properties -------------npm login
npm run uploadhttps://github.com/isxcode/react-keycap/actions/workflows/release-github.yml
- Fix Pull Request
- Edit VERSION.md version number (
version-alpha) - Edit SECURITY.md version number
- Edit CHANGELOG.md version number (## 0.8.1 (September 03, 2021))
- Submit and Fix GitHub Security
- Check project badge status
- Create GitHub new tag and new branch
- Run GitHub action publish to GitHub repository
- Run GitHub action publish new version docs
- Publish to Sonatype repository