@proprioo/salatim
v35.6.0
Published
Proprioo component library
Downloads
1,537
Readme
Salatim
Salatim is our component library, made with 🥑 and ❤️.
Please have a look on its storybook for each components.
Before
Don't forget to add an empty NPM_TOKEN in your bash_profile, zsh, etc.. and reload it.
export NPM_TOKEN=''
Status
| Branches | Functions | Lines | Statements | | :-------------------------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------- | :-------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------ | | | | | |
Pages
How to dev ?
Use yarn dev
How to build ?
Use yarn build
Update version
Before each change, please update CHANGELOG.md
with a new version using the following template:
**major.minor.patch**
* Commit message
OR
**BREAKING CHANGE** Commit message
- Fix: patch
- Component / Feature: minor
- Everything which can bring changes in the different projects: major
When changelog is updated, don't forget to bump the package.json
version with:
$ yarn version --major | --minor | --patch
Release new version
Pushing a new version in the master
branch automatically trigger a new release of the NPM package.
Backport a fix
If you have to backport something to an old version of salatim :
- go to the old version's branch (for example:
v15
before the rebranding) - add your commit(s), and don't forget to bump the version in
package.json
andCHANGELOG.md
(if you fix something and the previous version was15.2.3
, bump to15.2.4
) - push the branch, don't forget it!
- run
yarn clean && yarn build
locally to make the package ready to be published - run
yarn publish --access=public --non-interactive --tag 15.2.4
locally. Don't forget the--tag
argument to prevent overriding the latest version.
You can then bump your project with this new version of salatim. ;)