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

@lerna/filter-options

Package Overview
Dependencies
Maintainers
2
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lerna/filter-options - npm Package Versions

1
67

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

Changelog

Source

3.1.2 (2018-08-20)

Bug Fixes

  • Setup instance.filteredPackages explicitly (32357f8)
  • Use packageGraph.rawPackageList instead of misleading instance.filteredPackages (2e2abdc)
  • bootstrap: Remove redundant duplicate name check (c2405a1)
  • command: Remove redundant filteredPackages calculation (e0a361f)
  • filter-options: Move filterPackages logic into named export (e863c28)
  • package-graph: Throw errors when package names are not unique (387df2b)
  • publish: Allow composed version command to decide when to verify working tree (e61aa67)

<a name="3.1.1"></a>

evocateur
published 3.0.5 •

Changelog

Source

3.0.5 (2018-08-15)

Bug Fixes

  • collect-updates: Remove period from committish log message (a97262c)
  • filter-options: Allow --private to be configured from file (21e134c)
  • global-options: Allow --sort to be configured from file (f4aed75)
  • help: Insert line break before describing boolean negations (da2f886)
  • options: Provide -y alias for --yes (3ea460c)
  • publish: Add confirmation prompt before execution (47766e5), closes #1566
  • publish: Get tagged packages from merge commit (#1567) (fc771d9)
  • version: Log skipped publish when composed (89645b7)

<a name="3.0.4"></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.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.9 •

Changelog

Source

3.0.0-beta.9 (2018-03-24)

Bug Fixes

  • filter-options: Move include/exclude validation into filter-packages (503251d)
  • git-utils: Remove unused methods, stop mocking tests (3e00d7a)
  • publish: Split --skip-* properly, leave working tree clean (5b4b2c9)

Features

  • command: Remove legacy config handling (d305a38)
  • command: Rename this.repository -> this.project (43e98a0)
  • project: Normalize config.commands -> config.command (24e55e3)
  • project: Use cosmiconfig to locate and read lerna.json (b8c2789)

BREAKING CHANGES

  • publish: Previously, gitHead annotations were leftover if --skip-npm was passed, despite no actual requirement for that property when no publishing is going on.

Now, all publish-related operations are truly skipped with --skip-npm, and all git commit/push-related operations are skipped with --skip-git. Passing --skip-npm will now also always push to remote, which represents a breaking change from 2.x behavior.

Thanks @KingScooty for raising the issue!

  • command: lerna.json bootstrapConfig and publishConfig namespaces are no longer honored. These config blocks should be moved to command.bootstrap and command.publish, respectively.

<a name="3.0.0-beta.8"></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.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
67
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