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

@lerna/package-graph

Package Overview
Dependencies
Maintainers
4
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lerna/package-graph - npm Package Versions

1
56

3.0.0

Diff

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

Changelog

Source

3.0.0-beta.18 (2018-04-24)

Bug Fixes

  • cli: Exit immediately when error is caught (5b01599), closes #1384
  • diff: Diff since last release in branch, not most recent global tag (9879fef)
  • git-utils: Pass --no-verify to git push (#1376) (0b88ffb), closes #1366
  • git-utils: Pass --follow-tags to git push (6907e90)

Features

  • collect-updates: Copy remaining git utilities into module (cb9c19d)
  • command: Move GitUtilities.isInitialized into class method (abecfcc)
  • diff: Move diff-only git utilities (47dc0e2)
  • Remove core/git-utils package (48096c4)
  • filters: Add --include-filtered-dependents flag (#1393) (2838260)
  • git-utils: Devolve getCurrentSHA() to consumers (ecbc1d3)
  • git-utils: Devolve getShortSHA() to consumers (95d179d)
  • import: Inline GitUtilities.getWorkspaceRoot() (925080e)
  • init: Inline GitUtilities.init() (6e401e1)
  • publish: Move publish-only git utilities (5594749)

BREAKING CHANGES

  • cli: Previously, lerna would accept --scope and --ignore options where they were not intended, despite logging the unexpected arguments correctly. This would result in the commands continuing to run with unexpected configuration.

Going forward, lerna will exit non-zero immediately upon encountering these errors.

  • @lerna/git-utils is gone. Don't use it.
  • collect-updates: GitUtilities is going away soon.
  • diff: Don't use GitUtilities.
  • git-utils: Don't use GitUtilities!
  • git-utils: Don't use GitUtilities.
  • import: GitUtilities.getWorkspaceRoot no longer exists. You shouldn't be using GitUtilities.
  • init: GitUtilities.init() no longer exists. You shouldn't be using GitUtilities.
  • command: GitUtilities.isInitialized no longer exists. You shouldn't be using GitUtilities.
  • publish: Many named exports of GitUtilities are no longer provided. Don't use GitUtilities, it's a bad pattern.

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

evocateur
published 3.0.0-beta.14 •

Changelog

Source

3.0.0-beta.14 (2018-04-03)

Bug Fixes

  • create: Actually publish the module data helper (4775cc4)
  • logging: Log failures from package scripts once, not twice (436cfe1)
  • publish: Ensure optionalDependencies are updated during publish to registry (559b731)

<a name="3.0.0-beta.13"></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.1 •

Changelog

Source

3.0.0-beta.1 (2018-03-09)

Bug Fixes

  • conventional-commits: output version bump message closer to version heading (64916d6)
  • filter-options: require a git repo when using --since (d21b66e), closes #822
  • init: lerna init does not, in fact, require git (d1d69c7)
  • publish: Checkout manifest changes serially (ce4a4b1)
  • publish: default root manifest name when missing (a504d7e), closes #1305
  • publish: guard against undefined tag (d8ce253), closes #1311
  • publish: Respect pkg.publishConfig.tag (04b256a), closes #1311
  • publish: work around yarn "link:" intransigency (ddfb517)

Features

  • collect-packages: simplify signature (39170cf)
  • diff: filter diff output with --ignore-changes (c27c2e0)
  • filter-options: Exclude private packages with --no-private (6674d18)

BREAKING CHANGES

  • collect-packages: Formerly a config object, it is now two parameters, only the first of which (rootPath) is required. The second parameter is a list of package location globs, defaulting to lerna's default of ["packages/*"].
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
1
56
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