Ushahidi Platform Pattern Library
How to Apply to the Platform
Make changes
After the initial installation and setup follow these instructions:
Test your changes on a local client
- From within your platform-client installation run
npm install ../platform-pattern-library/
- Run
gulp
in your platform-client install - Check the results in the browser
Note: Its not 100% clear if this works as expected now we distribute the PL on npm.
Push changes to NPM
- Assuming you have already committed your changes
- Bump and tag a new version using
npm version prepatch
for a test release ornpm version patch
for a production release - Push the new version to npm using
npm publish
- Finally, push the new tag to git using
git push --tags origin
Note: The pattern library version should stay in sync with the client.