novu icon indicating copy to clipboard operation
novu copied to clipboard

chore: Upgrade to pnpm 9, add conventional commit PR title linting

Open rifont opened this issue 3 months ago • 2 comments

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.
  • 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. image

Bad Conventional Commit types image

Bad Conventional Commit Scope image

Expand for optional sections

Related enterprise PR

Special notes for your reviewer

rifont avatar May 18 '24 02:05 rifont