Styleguidist playground to see the reusable components for the halft earth project.
yarn github:vizzuality/half-earth-components#versionNumber
import { NoContent, Loading, Table } from 'he-components';
and will be ready to use them!
To launch the playground and see the component list run:
yarn start
When you want to try a component directly in the project run:
yarn link
yarn watch
Go to the project and run yarn link "he-components" to use the local version instead of the github one.
We are using the release package to run automatically this process
To make it easier with our workflow it is using a custom fork where it only takes all of the PR commits to generate the changelog instead of them al
So to make a new release follow the next steps:
- Make sure you want to put in production everything that it is in develop.
- Merge develop to master and sync with origin all of the other branches.
- Run the command
npx release major|minor|patch. - You will be prompted with a list of commits where you select what time of change it includes. Normally
feature/*branches go tominorandfix/*topatches - When finished you will have:
- The new version number.
- The package.json version updated.
- A new tag committed
- Changelog ready to publish.