Using Yarn v4 (install it with corepack enable
)
On main
(or a feature branch):
git pull
yarn install
yarn build
- bump versions in
package.json
of all packages - bump
postcss-preset-infima
version incore
packagedevDependencies
- bump
infima
version inpostcss-preset-infima
packagepeerDependencies
Replace XXXXX
and run:
yarn install # Useful to update the lockfile
git commit -a -m "release: v0.2.0-alpha.XXXXX"
git tag -a "v0.2.0-alpha.XXXXX" -m "release: v0.2.0-alpha.XXXXX"
yarn workspace infima publish
yarn workspace postcss-preset-infima publish
git push && git push --tags
(if needed, run yarn npm login
first)