v1.5.0
1.5.0 (2022-06-08)
New --sync-workspace-lock
flag added to help version
command updating lock file 🔒 🚀
We added a new flag called --sync-workspace-lock
to help updating your lock file by directly leveraging your favorite package manager client (that is npm
, pnpm
or yarn
... just make sure you have it set in your npmClient of lerna.json
) when calling the Version command and since it uses your client, instead of relying on Lerna-Lite to do the work, it is much more future proof and reliable since we never know when the lock file structure might change. So we strongly recommend using this new flag (even more so when using the workspace:
protocol) and you can see much more info and important notes to read in the Version wiki link --sync-workspace-lock
Improved publish --git-dry-run
logs
There's also improvements in the publish
command when run with --git-dry-run
, it now shows more info about the Tarball, basically it's temp location, so you can inspect its content, and also all its dependencies/devDependencies versions to help figuring out what could be published. This change was actually introduced to help troubleshooting an actual bug and was implemented in PR #201 (the PR name is for another bug, however the log improvements were really made as part of that PR)
Features
- lock: feat(lock): add version
--sync-workspace-lock
flag to update lock file (200e385)
Bug Fixes
- correctly add npm package lock to git add list (281586f)
- deps: update all non-major dependencies (c87e937)
- deps: update dependency @npmcli/run-script to v4 (29a09a9)
- version: improve default git publish message, closes #185 (735fbe6)
- version: keep semver range operator in
workspace:
protocol, fixes #198 (1794ccd)
Chore
- version: chore(build): add Prettier to the project (ee1a964)