{"bugs":{"url":"https://github.com/lerna/lerna/issues"},"dist":{"shasum":"f3c0a2a6011e3b792cd9b5521448a7f5e0613d82","tarball":"https://registry.npmjs.org/@lerna/filter-options/-/filter-options-6.0.0-alpha.2.tgz","fileCount":5,"integrity":"sha512-f+/wYusUdzI7VU4d5bF3g9QqZ1edZ/jvixwCWTTdnPXy3+Z8IE+mqjVP0WxEUxd4uQCVfUsmFEKIL/XAxy6BkQ==","signatures":[{"sig":"MEUCIQDozxT0H/XZUpoFJVS+4/wZiQBvCJDwnX0x6Cb2Y/wOfQIgSnrSHoDXnBfnl1iM7S+eB6oXC+JmIf50am4uqjGIe3M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11404,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjRut1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpR+g//Zp1YSS+eRRnp9OxFgEZZqWiwLbgAuOBGg1Logb6MtEhIeNki\r\noo3V0EVrct2tn+Y9xsVMmjZF1giYqsCt++6SBHTlT1Ciod5y/uA3vb5v7OcE\r\nVH629kJ7cCjDyA8UxhWYbsrhEID/vPcBavSVG8vB9X50xKDqI6Hzepa0cB4q\r\nKHlVPR39CjwzZ6chI24xgpAs2HtwTQ1coUd7N9Zyf9uOD8hbxxA+OivknaLl\r\nXtLt6Un0BmmyFopH2TW0dcmlITPzRBBFDEIZ7bUuPebmQiojvJdSYYSoKpNs\r\nBIi5g5xmvuJaOWduOI7W6KqYOBQzn+YwyuFBGmbSkcOT2UkzRhQbxUCUZ2/H\r\nAny7dTG1T5wuBZRMBmEzyZw98evZp8ww8XKkMD24IybPN4nW7kdqwrgY/17s\r\nxwNKeUIbqYW89aDWkIgMhJPESDKpnsyZucb0IGCnA2L//isqMtr1wlLrLjeV\r\nvp83DcqK+Y4kmGodGogo2XCfTj6wL08nxOIktL2L4x0Xr7gkbgdZKO3zDz9I\r\nP7E0eeeJ0OpFh+g1QY/ccZP9ux7HTtFePpGl3vjwerdeI0GEFTRNQTiC7AYN\r\ngTeEsXjaJcsE9yHrlXNUWljH12UCU+m+WoN2PUk6dfWTVMSMM9gOuUurCw0O\r\nVi4qgG4xUmXZSFeNFFI3379DaUHV1F5F6HU=\r\n=ZpAi\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 changed 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 `main`\n$ lerna run test --since main\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 the default branch as well as feature branches._\n\n### `--exclude-dependents`\n\nExclude all transitive dependents when running a command with `--since`, overriding the default \"changed\" algorithm.\n\nThis flag has no effect without `--since`, and will throw an error in that case.\n\n### `--include-dependents`\n\nInclude all transitive dependents when running a command regardless of `--scope`, `--ignore`, or `--since`.\n\n### `--include-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-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-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\n### `--include-merged-tags`\n\n```sh\n$ lerna exec --since --include-merged-tags -- ls -la\n```\n\nInclude tags from merged branches when running a command with `--since`. This is only useful if you do a lot of publishing from feature branches, which is not generally recommended.\n","engines":{"node":"^14.15.0 || >=16.0.0"},"gitHead":"154b93901308cbfd6b803e1f199e9b6d2e362b6f","license":"MIT","scripts":{"test":"echo \"Run tests from root\" && exit 1"},"_npmUser":{"name":"jameshenry","email":"npm@jameshenry.email"},"homepage":"https://lerna.js.org","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/6.0.0-alpha.2/node@v16.15.0+arm64 (darwin)","description":"Options for lerna sub-commands that need filtering","directories":{},"maintainers":[{"name":"jameshenry","email":"npm@jameshenry.email"},{"name":"nrwlowner","email":"hello@nrwl.io"}],"_nodeVersion":"16.15.0","dependencies":{"dedent":"^0.7.0","npmlog":"^6.0.2","@lerna/collect-updates":"6.0.0-alpha.2","@lerna/filter-packages":"6.0.0-alpha.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/filter-options_6.0.0-alpha.2_1665592181741_0.9724958043360423","host":"s3://npm-registry-packages"},"_id":"@lerna/filter-options@6.0.0-alpha.2","version":"6.0.0-alpha.2"}