Skip to content

v1.2.0 - support of yarn/pnpm `workspace:` protocol

Compare
Choose a tag to compare
@ghiscoding ghiscoding released this 11 May 00:02
· 1375 commits to main since this release

1.2.0 (2022-05-11)

📢 Great news, Lerna-Lite now support yarn/pnpm workspace: protocol

This is a new Lerna feature which is only available in Lerna-Lite, the original Lerna doesn't currently have this feature. I'm also running a small poll survey to see who's using this new feature and with which package manager yarn or pnpm?

Please takes 30sec to fill the poll survey. thanks 😃

This new workspace protocol feature was tested by forking a small boilerplate ts-pnpm-monorepo, I changed a few dependencies to use a few flavor of workspace: protocol and then published new versions under lerna-ws-test org and everything seems to be in order. Give it a try.

NOTE a newer release of Lerna-Lite 1.3.0 addresses some small issues found with workspace: protocol, so it's preferable to upgrade.

Bug Fixes

  • run: display pkg name only when not streaming, fixes #149 (bf60bf0)
  • url: deprecation notice of git.io (816b7cb)
  • version: include the updated root package-lock.json file in commits (d6dbc9a)

Features

  • core: add version/publish workspace: protocol (ee57dfb)
  • core: Support the workspace: protocol (67d8ba1)
  • run: add LERNA_PACKAGE_NAME env var to run command (ae88a0a),