Skip to content

Commit

Permalink
update publish instructions for Yarn v4
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Jul 1, 2024
1 parent 068a272 commit 576793a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions PUBLISH.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Publish process

Using Yarn v4 (install it with `corepack enable`)

On `main` (or a feature branch):

1. `git pull`
Expand All @@ -17,7 +19,9 @@ 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
yarn workspace infima npm publish
yarn workspace postcss-preset-infima npm publish
git push && git push --tags
```

(if needed, run `yarn npm login` first)

0 comments on commit 576793a

Please sign in to comment.