Base configurations for plutot.cool projects.
| name | description |
|---|---|
| @plutotcool/typescript-config | Typescript configuration. |
| @plutotcool/prettier-config | Prettier configurations. |
We are using changelogen to version our packages. Each package is versioned independently from the conventional commits landed since its last release tag (@plutotcool/<package>@<version>).
- Create a separate branch for your changes.
- Push your branch and open a PR, using conventional commit messages (
feat:,fix:, …) — they end up in the changelog. - Once merged, run the Release workflow from the GitHub UI, pick the package to release and, optionally, force a release type (otherwise it is inferred from the commits).
The workflow bumps the version, updates the package changelog, commits, tags, pushes, creates the GitHub release and publishes to both npm and GitHub Packages.
To release from your machine instead:
pnpm release --dir packages/<package> --from "@plutotcool/<package>@<last-version>"