Bug Fixes
- filter-options: Move include/exclude validation into
@lerna/filter-packages
(503251d) - git-utils: Remove unused methods, stop mocking tests (3e00d7a)
- publish: Split
--skip-*
properly, leave working tree clean (5b4b2c9)
Features
- command: Remove legacy config handling (d305a38)
- command: Rename
this.repository
->this.project
(43e98a0) - project: Normalize
config.commands
->config.command
(24e55e3) - project: Use
cosmiconfig
to locate and readlerna.json
(b8c2789)
BREAKING CHANGES
-
publish: Previously,
gitHead
annotations were leftover if--skip-npm
was passed, despite no actual requirement for that property when no publishing is going on.Now, all publish-related operations are truly skipped with
--skip-npm
, and all git commit/push-related operations are skipped with--skip-git
.Passing
--skip-npm
will now also always push to remote, which represents a breaking change from 2.x behavior.Thanks @KingScooty for raising the issue!
-
command: lerna.json
bootstrapConfig
andpublishConfig
namespaces are no longer honored.These config blocks should be moved to
command.bootstrap
andcommand.publish
, respectively.