Releases: lerna/lerna
v2.0.0-beta.24
v2.0.0-beta.23
v2.0.0-beta.22
New Feature
@gigabo Adds an awesome feature to help users transition their repos into a monorepo and being able to basically move the contents of another repo into the lerna repo (including the git history)!
$ lerna import <path-to-external-repository>
Import the package at <path-to-external-repository>
, with commit history, into packages/<directory-name>
. Original commit authors, dates and messages are preserved. Commits are applied to the current branch.
This is useful for gathering pre-existing standalone packages into a Lerna repo. Each commit is modified to make changes relative to the package directory. So, for example, the commit that added package.json
will instead add packages/<directory-name>/package.json
.
Misc
v2.0.0-beta.21
beta.22 reverts the change below, but adding for information
- Fix bootstrap install to use quotes around versions (#235) …
v2.0.0-beta.20
New Feature
--ignore [glob]
Excludes a subset of packages when running a command.
$ lerna bootstrap --ignore component-*
The ignore
flag, when used with the bootstrap
command, can also be set in lerna.json
under the bootstrapConfig
key. The command-line flag will take precendence over this option.
Example
{
"lerna": "2.0.0-beta.16",
"version": "0.0.0",
"bootstrapConfig": {
"ignore": "component-*"
}
}
Bug Fix
v2.0.0-beta.19
v2.0.0-beta.18
New Feature
$ lerna publish --skip-npm
This will not actually publish packages to npm.
Shorthand for rm -rf packages/*/node_modules
Polish
Makes subsequent lerna bootstrap
much faster!
v2.0.0-beta.17
New Feature
Add lerna exec
which allows you to run any script on all packages.
Add support for --scope
to only run commands on certain matched packages
v2.0.0-beta.16
New Feature
--repo-version
: Adds optional argument to specify fixed repo version when publishing (#84) @dijs- to bypass user input and good for automation/CI.
lerna publish --repo-version 1.0.1
--concurrency
: Adds optional argument to specify the level of concurrency when running tasks (default is still 4) @jpnelson @joscha
Bug Fix
- [Breaking Change]: Use
alpha
as the version namespace instead ofcanary
(#172) @hzoo- ex:
1.0.0-canary.81e3b443
->1.0.0-alpha.81e3b443
. - This is done because of how semver precedence works. The previous implementation prevented users from using beta + canary in the correct order.
- ex:
Docs
- Misc docs updates #177 469c199, 7f6aa4b @kaicataldo @hzoo
v2.0.0-beta.15
New Feature
- Add
--yes
flag for auto confirmation when publishing (useful for CI)