React Component that Tracks Mount and Rerender
Refer to readme
We use changeset, and (for now) we don't automate the release process, but run it from local machine.
- In your feature branch, commit code, and open a PR
- When you are ready to merge, run from root
pnpm publish-packages:add-changesetand follow the wizard.
This will:- Create a file
.changeset/xxx.mdwith data for the change. - Commit this file in the feature branch.
⚠️ Nothing is released to NPM yet.
- Create a file
- Puh the new commit, and merge the PR
This enure that every md files in.changesetare included in themainbranch now.
⚠️ Nothing is released to NPM yet. - Go to
mainbranch, do agit pull
This will ensure that themainbranch is up-to-date. - From root, run
pnpm publish-packages:release
This will:- run
pnpm changeset version, that:- Read all
.changeset/*.mdfiles and calculate the new versions for all packages. - Bump version in
package.jsonfiles accordingly. - Update
CHANGELOG.mdfor each package. - Delete the
.changeset/*.mdfiles used for this release. - Commit the version bump to
main.
⚠️ Packagege are not released to NPM yet, but package.json are updated.
- Read all
- run
pnpm changeset publish, that:- Publish all packages to NPM ✅ Packages are now released to NPM
- run