@polestardev/polestar-ui v0.1.9
Polestar UI
Collection of React components specific to Polestar brand.
This library is based on:
We contribute to and use Atoms from VCC-UI Library as much as possible and reasonable. This way we help building simple, brand agnostic components for the whole Volvo Group.
At the same we are aware, that multiple other components are specific only to Polestar. That's why we keep them here.
Releasing
To release, you must have access to the @polestardev team on npm.
Note: If you are not sure about something, remember to ask as releasing with issues can affect many projects.
Get latest version of master
git checkout master
git pull
Create release branch and push it
As master is protected, you will need a branch.
The release assumes the branch exits on github, so remember to push otherwise the release will throw and error.
git checkout -b release/x.x.x
git push -u origin release/x.x.x
Bundle the code
This should be done when the code is written, but its worth regenerating to avoid a broken release.
yarn bundle
Login to npm
npm login
Enter username, password and email when prompted
Note: It is also possible to do
yarn login
, but remember to change the release command toyarn release
Release!
You can now run the actual release command. npm run release
will give you an interactive selector, or you can use the commands for shorthand.
npm run release // or release:major / release:minor / release:patch
We are using release-it, so you can pass further arguments by using npm run release -- -args
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago