Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lerna/npm-publish

Package Overview
Dependencies
Maintainers
2
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lerna/npm-publish - npm Package Versions

1
79

3.3.0

Diff

Changelog

Source

3.3.0 (2018-09-06)

Bug Fixes

  • describe-ref: Fallback refCount is the number of commits since beginning of repository (6dfea52)
  • Propagate exit codes from failed executions (af9c70b), closes #1374 #1653
  • run-lifecycle: Propagate exit code when execution fails (4763f95), closes #1495

Features

  • deps: Upgrade execa to ^1.0.0 (748ae4e)
  • deps: Upgrade fs-extra to ^7.0.0 (042b1a3)
  • deps: Upgrade get-stream to ^4.0.0 (e280d1d)
  • deps: Upgrade strong-log-transformer to ^2.0.0 (42b18a1)

<a name="3.2.1"></a>

evocateur
published 3.2.0 •

Changelog

Source

3.2.0 (2018-08-28)

Bug Fixes

  • add: Order short flags first in help output, clarify description (8efb549)
  • publish: Call synthetic prepublishOnly lifecycle before packing (dda9812), closes #1169
  • version: Make changes to packages in batched topological order (d799fbf)
  • version: Skip working tree validation when --no-git-tag-version passed (bd948cc), closes #1613

Features

  • add: Add examples to --help output (#1612) (2ab62c1), closes #1608
  • cli: Configure commands in root package, all other bits in cli package (7200fd0), closes #1584
  • npm-publish: Resolve target package to aid chaining (928a707)
  • npm-publish: Store entire tarball metadata object on Package instances (063d743)
  • publish: Support prepack/postpack lifecycle in root manifest (9df88a4)
  • run-lifecycle: Resolve target package to aid chaining (8e0aa96)

<a name="3.1.4"></a>

evocateur
published 3.0.6 •

Changelog

Source

3.0.6 (2018-08-16)

Bug Fixes

  • command: Silence goalpost logging when running a composed command (12b4280)
  • create: Use whatwg-url instead of node 8.x-dependent URL class (8701b79)
  • init: Consume lernaVersion from options, not instance property (89e31d2)
  • npm-publish: Tip-toe around logging when emitting chunk to stdout (c027246)
  • version: Pass --preid to selection prompt (23a30a0), closes #1214
  • version: Prioritize --preid over existing prerelease ID (#1568) (f2c470a)

<a name="3.0.5"></a>

evocateur
published 3.0.4 •

Changelog

Source

3.0.4 (2018-08-14)

Bug Fixes

  • publish: Do not ping third-party registries (42f4fdd), closes #1560
  • publish: Only pass --json to npm pack when npm >= 5.10.0 (71babce), closes #1558
  • publish: Run publish from leaf nodes again (3d348ec), closes #1560

<a name="3.0.3"></a>

evocateur
published 3.0.0 •

Changelog

Source

3.0.0 (2018-08-10)

Bug Fixes

  • add: Always use POSIX paths when computing relative file: specifiers (ffe354f)
  • add: Support explicit & implicit relative file: specifiers (41f231f)
  • create: Use filename without scope when generating imports from test file (acfd48b)
  • publish: Improve npm pack experience (627cfc2)

Features

BREAKING CHANGES

  • changed: The package names emitted to stdout are no longer prefixed by a "- ", and private packages are no longer displayed by default.

  • list: The default output of lerna ls no longer shows version strings or private packages.

  • The new alias lerna la resembles the old output, with the addition of relative path to the package

  • The new alias lerna ll is a shortcut for the new --long option

  • A new --parseable option has been added to aid magical piping incantations

    • --preid now defaults to "alpha" during prereleases:

    The previous default for this option was undefined, which led to an awkward "1.0.1-0" result when passed to semver.inc().

    The new default "alpha" yields a much more useful "1.0.1-alpha.0" result. Any previous prerelease ID will be preserved, just as it was before.

  • --no-verify is no longer passed to git commit by default, but controlled by the new --commit-hooks option:

    The previous behavior was too overzealous, and the new option operates exactly like the corresponding npm version option of the same name.

    As long as your pre-commit hooks are properly scoped to ignore changes in package.json files, this change should not affect you. If that is not the case, you may pass --no-commit-hooks to restore the previous behavior.

<a name="3.0.0-rc.0"></a>

evocateur
published 3.0.0-rc.0 •

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.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>

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc