This repository is now archived. Feel free to fork it and adopt your own.
Development
- Fork the main repo https://github.com/Teleopti/styleguide.git to <your_github_username>/styleguide
- Clone your repo to local
git clone https://github.com/<your_github_username>/styleguide.git
-
npm ci
ornpm install
to install dependencies -
npm start
to build and watch -
npm run devServer
to mount styleguide on http://localhost:3000 - Make your changes with test covered (important!)
- Copy the generated files to
WFM\node_modules\teleopti-styleguide
and verfiy the changes on WFM (important!) - Submit a pull request from your repo to => Teleopti/styleguide main repo with your improvements.
Sync your repo with latest Teleopti/styleguide
git remote add upstream https://github.com/Teleopti/styleguide.git
-
git fetch upstream
(please make sure you have commit your local changes before running this) git merge upstream/master
git push
Deploy release to npm & github pages
- Bump suitable semver version in package.json
- Preferably submit and merge a pull request with the version change
- Tag the commit
- Tag with
v1.5.0
if the version is1.5.0
- Tag with
- Push the tag to master
git push origin v1.5.0
If you have any mentionable changes then draft a new GitHub release with the same tag and a list of changes.