2.0.8 • Published 3 years ago
biologis-react-components v2.0.8
dm-web-client
Local installation:
cd ~/workspace; git clone git@git.bio.logis.de:Development/biologis-react-components.git biologis-react-components
Development
Install dependencies:
npm installThen start the development server for the web client:
npm startBuilding for deployment
npm run buildTesting
We use Jest and Enzyme for testing. You can run the tests by typing:
npm testPublish a new release
To publish a new version the following needs to be done
Major/Minor release
- Create a new release branch
git checkout -b 1.0.x(replace 1.0.x depending on release) - Update package version
npm version minor(bumps minor) ornpm version 1.0.0(set version number) - Push branch and tag to git
git push origin 1.0.x v1.0.0(1.0.x is the branch and 1.0.0 is the tag created by npm version) - Jenkins will run the tests and publish the package to the registry - https://npm.biologis.com
- In all projects this is needed you can upgrade the package now
Patch release
- Checkout the release branch
git checkout 1.0.x(replace 1.0.x depending on release) - Update package version
npm version patch(bumps patch) ornpm version 1.0.1(set version number) - Push branch and tag to git
git push origin 1.0.x v1.0.1(1.0.x is the branch and 1.0.1 is the tag created by npm version) - Jenkins will run the tests and publish the package to the registry - https://npm.biologis.com
- In all projects this is needed you can upgrade the package now
- Merge
1.0.xback intomaster(git checkout master; git pull; git branch -D master_1.0.x; git checkout -b master_1.0.x; git merge 1.0.x && git push origin master_1.0.x)
2.0.8
3 years ago