Skip to content

Commit

Permalink
Slightly update Readme (#362)
Browse files Browse the repository at this point in the history
* Add the missing bracket in README

* Add direct links to the Flags section

“See below” confused me when I was reading the Readme. Haven’t figured “below” corresponds to the “Flags” section until I scrolled to the end.
  • Loading branch information
iamakulov authored and jamiebuilds committed Oct 7, 2016
1 parent 494de9d commit 89d5256
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ This is the mode that [Babel](https://github.com/babel/babel) is currently using

Independent mode Lerna projects allows maintainers to increment package versions independently of each other. Each time you publish, you will get a prompt for each package that has changed to specify if it's a patch, minor, major or custom change.

Independent mode allows you to more specifically update versions for each package and makes sense for a group of components. Combining this mode with something like [semantic-release](https://github.com/semantic-release/semantic-release) would make it less painful. (There is work on this already at [atlassian/lerna-semantic-release](https://github.com/atlassian/lerna-semantic-release).
Independent mode allows you to more specifically update versions for each package and makes sense for a group of components. Combining this mode with something like [semantic-release](https://github.com/semantic-release/semantic-release) would make it less painful. (There is work on this already at [atlassian/lerna-semantic-release](https://github.com/atlassian/lerna-semantic-release)).

> The `version` key in `lerna.json` is ignored in independent mode.
Expand Down Expand Up @@ -156,7 +156,7 @@ When run, this command will:
2. Symlink together all Lerna `packages` that are dependencies of each other.
3. `npm prepublish` all bootstrapped packages.

`lerna bootstrap` respects the `--ignore` flag (see below).
`lerna bootstrap` respects the `--ignore` flag (see [Flags](#flags)).

#### How `bootstrap` works

Expand Down Expand Up @@ -352,9 +352,9 @@ $ lerna run build

Run an [npm script](https://docs.npmjs.com/misc/scripts) in each package that contains that script.

`lerna run` respects the `--concurrency` flag (see below).
`lerna run` respects the `--concurrency` flag (see [Flags](#flags)).

`lerna run` respects the `--scope` flag (see below).
`lerna run` respects the `--scope` flag (see [Flags](#flags)).

```sh
$ lerna run --scope my-component test
Expand All @@ -370,9 +370,9 @@ $ lerna exec -- protractor conf.js

Run an arbitrary command in each package.

`lerna exec` respects the `--concurrency` flag (see below).
`lerna exec` respects the `--concurrency` flag (see [Flags](#flags)).

`lerna exec` respects the `--scope` flag (see below).
`lerna exec` respects the `--scope` flag (see [Flags](#flags)).

```sh
$ lerna exec --scope my-component -- ls -la
Expand Down

0 comments on commit 89d5256

Please sign in to comment.