{"bugs":{"url":"https://github.com/lerna/lerna/issues"},"dist":{"shasum":"6a2e60708633f54973bf31262b58e53efb537ef2","tarball":"https://registry.npmjs.org/@lerna/filter-options/-/filter-options-3.14.0.tgz","fileCount":6,"integrity":"sha512-ZmNZK9m8evxHc+2ZnDyCm8XFIKVDKpIASG1wtizr3R14t49fuYE7nR+rm4t82u9oSSmER8gb8bGzh0SKZme/jg==","signatures":[{"sig":"MEYCIQDddXM8o/Ca/nUpR9zUTYcCf0tm0qhUtS8CJWWB7N3v+wIhANzndrtA/Fq5Z62Ke9NUnhhkcDgHZ+7NzqY4YwW4TvAt","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12540,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc209OCRA9TVsSAnZWagAA/T8P/j9rCYTqsG3I/zi90QTV\n2Jw5BpNW6j9QLjpgKlASAiAtt53kOtrnJP4r4LYVEBGCZ1ShAE8g//9qHJ1W\nUPM59SzsoGnPw1vDkXQh7aFE1D135vq7zfNJrDZPMuhCI0GJqe/kgdELGuVO\n4yCqeubRIswzSq+x72nadl9FbnKBTvBO6toeKK4dOS5MVlXgMHarnpoTMXMO\noaHTXJTG1lU6tZ3D09cYKrOoQh1UJ/+pyEwEz4dotNzQV7R3+ly3tLDVMgYP\ny5tlzq7Vi+Jh3Pyc/lxWdNuAxBOEt/4QDd7fS1imHmBPeoAMdV7/fjtblS1Z\n0ttlnI3oF7rzyRKq/+JsByfT84wHQQAb0GZLw4QcA3XsYUDprTGjJJSA/sKP\nN0MlsZzLlWLkSrkHyoye2XLeZyqbL/BdgQK7MdopK1RXTq0ushyOqJ8SI3tR\nNbMyy0eaORKUSFfbdfyqZBOq9aTBDDop3ee85TQsJj1w3hZcrWnp5dv0YUn8\ni2MfTMxn1KW9L/hSf2P896xf+m8xvegg0+YgizeMiGnZGdUfrB3cgxBSrP/M\n+IeqMB94HrPLgOXF4DIfKsj93YSl0BBwqQWPz9DZnNxXe9nRw9hQcEclxm5v\nm4mTlo40yOnKMBkqRvgx261NwWJzu56WLmk0o7ROpfxiYJ+eBSOW9sQ572yW\nKD3X\r\n=Wryd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","name":"@lerna/filter-options","author":{"url":"https://github.com/evocateur","name":"Daniel Stockman"},"readme":"# `@lerna/filter-options`\n\n> Options for lerna sub-commands that need filtering\n\nInstall [lerna](https://www.npmjs.com/package/lerna) for access to the `lerna` CLI.\n\n## Options\n\n### `--scope <glob>`\n\nInclude only packages with names matching the given glob.\n\n```sh\n$ lerna exec --scope my-component -- ls -la\n$ lerna run --scope toolbar-* test\n$ lerna run --scope package-1 --scope *-2 lint\n```\n\n**Note:** For certain globs, it may be necessary to quote the option argument to avoid premature shell expansion.\n\n### `--ignore <glob>`\n\nExclude packages with names matching the given glob.\n\n```sh\n$ lerna exec --ignore package-{1,2,5}  -- ls -la\n$ lerna run --ignore package-1  test\n$ lerna run --ignore package-@(1|2) --ignore package-3 lint\n```\n\nMore examples of filtering can be found [here](https://github.com/lerna/lerna/blob/c0a750e0f482c16dda2f922f235861283efbe94d/commands/list/__tests__/list-command.test.js#L305-L356).\n\n### `--no-private`\n\nExclude private packages. They are included by default.\n\n### `--since [ref]`\n\nOnly include packages that have been updated since the specified `ref`. If no ref is passed, it defaults to the most-recent tag.\n\n```sh\n# List the contents of packages that have changed since the latest tag\n$ lerna exec --since -- ls -la\n\n# Run the tests for all packages that have changed since `master`\n$ lerna run test --since master\n\n# List all packages that have changed since `some-branch`\n$ lerna ls --since some-branch\n```\n\n_This can be particularly useful when used in CI, if you can obtain the target branch a PR will be going into, because you can use that as the `ref` to the `--since` option. This works well for PRs going into master as well as feature branches._\n\n### `--include-filtered-dependents`\n\nInclude all transitive dependents when running a command regardless of `--scope`, `--ignore`, or `--since`.\n\n### `--include-filtered-dependencies`\n\nInclude all transitive dependencies when running a command regardless of `--scope`, `--ignore`, or `--since`.\n\nUsed in combination with any command that accepts `--scope` (`bootstrap`, `clean`, `ls`, `run`, `exec`).\nEnsures that all dependencies (and dev dependencies) of any scoped packages (either through `--scope` or `--ignore`) are operated on as well.\n\n> Note: This will override the `--scope` and `--ignore` flags.\n>\n> > i.e. A package matched by the `--ignore` flag will still be bootstrapped if it is depended on by another package that is being bootstrapped.\n\nThis is useful for situations where you want to \"set up\" a single package that relies on other packages being set up.\n\n```sh\n$ lerna bootstrap --scope my-component --include-filtered-dependencies\n# my-component and all of its dependencies will be bootstrapped\n```\n\n```sh\n$ lerna bootstrap --scope \"package-*\" --ignore \"package-util-*\" --include-filtered-dependencies\n# all packages matching \"package-util-*\" will be ignored unless they are\n# depended upon by a package whose name matches \"package-*\"\n```\n","engines":{"node":">= 6.9.0"},"gitHead":"39da145c67ea587457694f318f32f967b9d66ea9","license":"MIT","scripts":{"test":"echo \"Run tests from root\" && exit 1"},"_npmUser":{"name":"evocateur","email":"daniel.stockman@gmail.com"},"homepage":"https://github.com/lerna/lerna/tree/master/core/filter-options#readme","keywords":["lerna","core"],"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/lerna/lerna.git","type":"git","directory":"core/filter-options"},"_npmVersion":"lerna/3.14.0/node@v10.15.3+x64 (darwin)","description":"Options for lerna sub-commands that need filtering","directories":{},"maintainers":[{"name":"evocateur","email":"daniel.stockman@gmail.com"},{"name":"hzoo","email":"hi@henryzoo.com"}],"_nodeVersion":"10.15.3","dependencies":{"dedent":"^0.7.0","@lerna/collect-updates":"3.14.0","@lerna/filter-packages":"3.13.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/filter-options_3.14.0_1557876557896_0.9623257988263922","host":"s3://npm-registry-packages"},"_id":"@lerna/filter-options@3.14.0","version":"3.14.0"}