The new Hedwig Design System is now stable and can be found here. This repository will be minimally maintained.
git clone https://github.com/bring/hedwig-react-components.git
You need to add an environment variable with your authToken from Font Awesome. For Posten and Bring developers, contact Hedwig contributors. Otherwise, you can get a licence
Add the token to ~/.bashrc
, ~/.zshrc
or equivalent:
export NPM_TOKEN=[FONT-AWESOME-LICENCE-KEY]
[FONT-AWESOME-LICENCE-KEY] needs to be replaced by the real token.
To create a new package in hedwig-react-components run the following command
lerna create <package-name>
Use 'lerna add' to add an external or internal package to another
Add package-1 to package-2
lerna add package-1 --scope package-2
Add package-3 to all packages
lerna add package-3
We use lerna to publish our packages
List all packages that has changes since last release
lerna changed
To bump version numbers and publish packages that have changed since last release
lerna publish