Socket
Socket
Sign inDemoInstall

@lerna/npm-install

Package Overview
Dependencies
7
Maintainers
2
Versions
70
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous123456

3.0.0-rc.0

Diff

Changelog

Source

3.0.0-rc.0 (2018-07-27)

Bug Fixes

  • changed: Clarify early exit log message (b132c3a)
  • cli: Pass global defaults into option factory instead of yargs.config() (cf4008a), closes #1449
  • command: Prevent premature resolution during tests from nested commands (151363f)
  • core/package: Serialize hosted git URLs with original protocol/shorthand (60ff432), closes #1499
  • project: Report syntax errors in root package.json (f674f35), closes #1452
  • publish: Add default description 'npm' for --npm-client (649048c)
  • publish: Avoid fs-extra warning on 32-bit machines (e908d23)
  • publish: Do not leave unstaged changes with --skip-git (2d497ed)
  • publish: Exit early when publishing w/o commits (#1453) (6cbae35), closes #773
  • publish: Pass --repo-version argument through semver.valid() (272e9f1), closes #1483
  • publish: Update lerna.json version after root preversion lifecycle (7b3817c), closes #1495
  • tests: Special handling for Windows CI issues (#1441) (1a01125)

Code Refactoring

  • collect-updates: Make argument signature explicit (e6ba19f)
  • command: Do not store raw packages list as instance property (32a211a)

Features

  • Add description from --help summary [skip ci] (9b65d8e)
  • Count packages affected in command summary logging (5f5e585)
  • publish: Ensure published packages contain a LICENSE file (#1465) (5863564), closes #1213
  • Upgrade to fs-extra 6 (079d873)
  • add: Add --exact option to lerna add (#1478) (346d156), closes #1470
  • cli: Upgrade to Yargs 12 (7899ab8)
  • command: Remove .defaultOptions() from option resolution stack (2b27a54)
  • ls: Log number of packages listed (855fff6)
  • package-graph: Add rawPackageList getter (0ad5faf)
  • project: Move collect-packages into getPackages() method (06b88d4)
  • publish: Add --require-scripts option to opt-in to raw JS lifecycle scripts (054392b)
  • publish: Add --amend flag (#1422) (ef5f0db)
  • run-lifecycle: Encapsulate npm-conf with createRunner() factory (488f98d)

BREAKING CHANGES

  • publish: External $PKGDIR/scripts/{pre,post}publish.js lifecycles are now opt-in instead of automatic. Pass --require-scripts explicitly to restore previous functionality.
  • collect-updates: Instead of an opaque command instance, distinct positional arguments are required.
  • command: this.packages no longer exists in Command subclasses, use this.packageGraph.rawPackageList

<a name="3.0.0-beta.21"></a>

evocateur
published 3.0.0-beta.21 •

Changelog

Source

3.0.0-beta.21 (2018-05-12)

Bug Fixes

  • child-process: Prevent duplicate logs when any package-oriented execution fails (d3a8128)

<a name="3.0.0-beta.20"></a>

evocateur
published 3.0.0-beta.20 •

Changelog

Source

3.0.0-beta.20 (2018-05-07)

Features

<a name="3.0.0-beta.19"></a>

evocateur
published 3.0.0-beta.15 •

Changelog

Source

3.0.0-beta.15 (2018-04-09)

Bug Fixes

  • project: Pin --exact require-from-string v2.0.1 to avoid integrity error with v2.0.2 (32a38ad)
  • publish: Allow tag check to fail with strong warning (#1355) (f5268cd)

Features

  • bootstrap: Use npm ci with --ci option (#1360) (d7e33c6)
  • conventional-commits: Support local file presets (a1bff40)

<a name="3.0.0-beta.14"></a>

evocateur
published 3.0.0-beta.13 •

Changelog

Source

3.0.0-beta.13 (2018-03-31)

Bug Fixes

  • child-process: Do not merge lines of streaming stderr (59dc2d4), closes #994
  • Use ValidationError instead of Error (bea6bc3)
  • run: Exit early when no packages contain the targeted lifecycle (c8a5526)

Features

  • Enable progress bars only when necessary (b766c83)

<a name="3.0.0-beta.12"></a>

evocateur
published 3.0.0-beta.12 •

Changelog

Source

3.0.0-beta.12 (2018-03-30)

Bug Fixes

  • create: Silently ignore missing builtin npmrc (1523520), closes #1353
  • npm-conf: Replace env vars even in config keys (3c9a5de)

Features

  • package: Add serialize() method (fdec3ac)
  • package: Add Map-like get/set methods, remove raw json getter (707d1f0)
  • project: Merge package and packageJson into manifest (9a47ff7)
  • Add --no-prefix for streaming output (#1352) (36c1fad)

BREAKING CHANGES

  • package: The Package class no longer provides direct access to the JSON object used to construct the instance. Map-like get()/set(val) methods are available to modify the internal representation.

<a name="3.0.0-beta.11"></a>

evocateur
published 3.0.0-beta.11 •

Changelog

Source

3.0.0-beta.11 (2018-03-29)

Bug Fixes

  • exec: Clarify --no-bail option (6e4c6fd)
  • publish: Write temporary annotations once, not repeatedly (6abae76)

Features

  • bootstrap: Inherit stdio during root-only install (fd8c391)
  • bootstrap: Short-circuit when local file: specifiers are detected in the root (d8a8f03)
  • child-process: Allow exec() opts.stdio override (fd84013)
  • npm-install: Allow opts.stdio override (4ba5e74)
  • Execute atomic publish lifecycle during lerna publish (#1348) (45efa24)
  • Support optionalDependencies (b73e19d), closes #121
  • npm-run-script: Accept opts.reject (7c5a791)
  • run: Add --no-bail option (893fcc8), closes #1351

<a name="3.0.0-beta.10"></a>

evocateur
published 3.0.0-beta.3 •

Changelog

Source

3.0.0-beta.3 (2018-03-15)

Bug Fixes

  • utils: Use safe relative path when calling git diff (#1323) (619c477)
  • ci option should not be visible in help output (580b2d5)
  • fs-extra dependency is a caret range, not exact (81556d0)

Features

  • Check for upstream changes before attempting to publish (#1317) (cef0a69)
  • cli: Set config.ci from env var (5452293)
  • global-options: Add hidden ci option (86a4d65)
  • Upstream changes warn in CI, throw locally (4de055d), closes #1177 #1317
  • publish: Add logging when --skip-git or --skip-npm are passed (#1319) (8eef9ff)

<a name="3.0.0-beta.2"></a>

evocateur
published 3.0.0-beta.2 •

Changelog

Source

3.0.0-beta.2 (2018-03-10)

Bug Fixes

  • Move @lerna/has-dependency-installed into commands/bootstrap/lib (c09ccbd)

Features

  • Rename @lerna/fs-utils => @lerna/rimraf-dir (30451ed)
  • Replace @lerna/fs-utils dependency with fs-extra (9c35a86)
  • Replace @lerna/match-package-name with multimatch (423f82c)
  • filter-packages: Simplify method signature (47e1c86)

BREAKING CHANGES

  • filter-packages: The parameters to filterPackages() have changed:
    • Two lists (include, exclude) have replaced the destructured config object

<a name="3.0.0-beta.1"></a>

evocateur
published 3.0.0-beta.0 •

Changelog

Source

v3.0.0-beta.0 (2018-03-07)

This is the first lerna release published by lerna itself. :tada:

:boom: Breaking Change
  • #1307 Convert lerna/lerna into a lerna-based monorepo. (@evocateur)

  • Rename lerna publish flag --ignore to --ignore-changes (8c92956)

    This resolves previous ambiguity as to what exactly was intended by the "ignore" config for lerna publish, which was not intended to be identical to the filtering option --ignore.

    The old option will still work when found in lerna.json config, but it is recommended to migrate to the new option name to ensure future compatibility.

:rocket: Enhancement
Committers: 1
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc