novu
novu copied to clipboard
chore: Upgrade to pnpm 9, add conventional commit PR title linting
What changed? Why was the change needed?
- Upgrade to pnpm 9
- replace all hardcoded versions of local packages with the
workspace:
directive, a requirement of PNPM v9. This has the benefit of ensuring we only depend on local packages, avoiding difficult-to-debug versioning mismatch issues.
- replace all hardcoded versions of local packages with the
- add conventional commit PR title linting
- update publish script to use
nx release version
, which updates the workspace: directive for packages to an actual version. These actual version changes should be reverted after publishing to NPM.
Screenshots
Add NX Version release to publish script (dry-run publish)
NB: we should look at upgrading to NX v19 to take advantage of their advanced release script capability.
Bad Conventional Commit types
Bad Conventional Commit Scope