Hello! Thank you for taking the time to contribute! If you want to join us, please send email to [email protected].
- 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 build
Note:
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 docs
npm run storybook
vim 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 upload
vim 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 upload
https://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