2.0.8 • Published 1 year ago

biologis-react-components v2.0.8

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

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 install

Then start the development server for the web client:

npm start

Building for deployment

npm run build

Testing

We use Jest and Enzyme for testing. You can run the tests by typing:

npm test

Publish 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) or npm 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) or npm 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.x back into master (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)