{"name":"@lerna-lite/core","version":"0.3.2","author":{"name":"Ghislain B."},"license":"MIT","_id":"@lerna-lite/core@0.3.2","homepage":"https://github.com/ghiscoding/lerna-lite","bugs":{"url":"https://github.com/ghiscoding/lerna-lite/issues"},"dist":{"shasum":"894d80bcd9cf942a54ede999d586fb5604b382fe","tarball":"http://registry-npm.ywwl.com/@lerna-lite/core/download/@lerna-lite/core-0.3.2.tgz","fileCount":186,"integrity":"sha512-B5ncKqZP+gMeOX5IwEMEuI4Imzu/lXutoAKozwyjEaw3GOrg/JjODTEKP3pKLqF/cBt/x/g3rAc7LOa38Trz1w==","signatures":[{"sig":"MEUCIQCz8f+hQeSy7ScVoUcZFY+4KUc5RZDmLfTpLL8GVtmzEwIgHgjkIOQCpuBeBXdtIBKT7GLJMoMb2TNoPXsOOyIvJ/Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":319185,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFGtTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmojcA/9GL2mk7W/ob1ppwNNEG+tkrjvSuIh1CEVkRxKiAF7w+DWIxuj\r\n0rwE045xsn/g4DN35tvWISjvhkySVa9WApaRqP9qHuY+4GIlQSdH/tdSm6Np\r\nfZgJHUVTONBiXU9H8bK74bdRJBWAqfOypFkcBC54eiIkn3E8vWL+kTgfUR0u\r\naZo+aPEK4mrTtqRfoWA3xWDumWSBtHHCLF581JBh7KI3ng6kbUAbUoJoLeL1\r\nmO/QpbWKuYogO1xXWQURKOTopL8djUPq6XMJJjMJn5kGREhFDPizskOgdqr1\r\ngSVUo/GoaZBpXPocYxRE8WUlWkDHlq4IggQ+XM61KNeGzqY11ZFU7825O/SB\r\nqZwSzsbBVMdZCQVpkgeK96egy9bwEwSPyxAnV40ubgvvhIbIeylWsW/DMi81\r\nOgfKO5bclXkaJd8I7SexNSXzptfW0M1L7so6wrhDUX2EGAZ5umFrkhQQ5Xd3\r\njG5FPN4JMNr5rC307t/GInx97DHh/LzUCU0OyJrj1qJGrjbwMi6cWHkGNkCg\r\nJCKvYLp7LRYWwBeCJKYdbBzMNLPxaCTT0zF/LTo8N5zHlXlInxWM0HdCh4Nf\r\n1MY6Kdfs4KuWKbMr3/KzJQjjSZZqZMPhI9DMYKxTmt/tDb+kh2rzusxuCrqw\r\nphQFLUwxFicRTL2SmeaZEuKgxczqABfwjM0=\r\n=ddwK\r\n-----END PGP SIGNATURE-----\r\n","size":77741,"noattachment":false,"key":"/@lerna-lite/core/-/@lerna-lite/core-0.3.2.tgz"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"npm":">=8.0.0","node":">=16.11.0"},"funding":{"url":"https://ko-fi.com/N4N679OT","type":"ko_fi"},"gitHead":"4e2aa22fe7b9e323724dbb5812b59d3c256a13a6","scripts":{"build":"tsc --project tsconfig.bundle.json","pack-tarball":"npm pack"},"typings":"dist/index.d.ts","_npmUser":{"name":"ghiscoding","email":"gbeaulac@gmail.com"},"repository":{"url":"git+https://github.com/ghiscoding/lerna-lite.git","type":"git","directory":"packages/core"},"_npmVersion":"lerna/undefined/node@v16.13.1+x64 (win32)","description":"Lerna-Lite core implementation module","directories":{},"_nodeVersion":"16.13.1","dependencies":{"os":"^0.1.2","tar":"^6.1.11","path":"^0.12.7","ssri":"^8.0.1","async":"^3.2.3","chalk":"^4.1.2","execa":"^5.1.1","is-ci":"^3.0.1","p-map":"^4.0.0","slash":"^3.0.0","yargs":"^17.3.1","dedent":"^0.7.0","globby":"^11.1.0","npmlog":"^6.0.0","p-pipe":"^3.1.0","pacote":"^12.0.2","semver":"^7.3.5","p-queue":"^6.6.2","ts-node":"^10.4.0","fs-extra":"^10.0.0","inquirer":"^8.2.0","p-reduce":"^2.1.0","minimatch":"^3.0.4","write-pkg":"^4.0.0","clone-deep":"^4.0.1","get-stream":"^6.0.1","node-fetch":"^2.6.6","temp-write":"^4.0.0","whatwg-url":"^11.0.0","cosmiconfig":"^7.0.1","glob-parent":"^6.0.2","config-chain":"^1.1.13","libnpmaccess":"^5.0.0","npm-packlist":"^3.0.0","resolve-from":"^5.0.0","@octokit/rest":"^18.12.0","git-url-parse":"^11.6.0","libnpmpublish":"^5.0.0","npm-lifecycle":"^3.1.5","load-json-file":"^6.2.0","npm-package-arg":"^8.1.5","write-json-file":"^4.3.0","write-file-atomic":"^4.0.0","npm-registry-fetch":"^12.0.0","strong-log-transformer":"^2.1.0","conventional-changelog-core":"^4.2.4","conventional-recommended-bump":"^6.1.0","conventional-changelog-angular":"^5.0.13","@octokit/plugin-enterprise-rest":"^6.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^17.0.8","@types/async":"^3.2.12","@types/execa":"^2.0.0","@types/p-map":"^2.0.0","@types/yargs":"^17.0.8","@types/dedent":"^0.7.0","@types/npmlog":"^4.1.4","@types/semver":"^7.3.9","@types/fs-extra":"^9.0.13","@types/inquirer":"^8.2.0","@types/write-pkg":"^4.0.0","@types/clone-deep":"^4.0.1","@types/glob-parent":"^5.1.1","@types/git-url-parse":"^9.0.1","@types/load-json-file":"^5.1.0","@types/npm-package-arg":"^6.1.1","@types/write-json-file":"^3.2.1","@types/write-file-atomic":"^4.0.0","@types/strong-log-transformer":"^1.0.0","@types/conventional-changelog-core":"^4.2.1","@types/conventional-recommended-bump":"^6.1.0"},"_npmOperationalInternal":{"tmp":"tmp/core_0.3.2_1645505363593_0.08227999582334156","host":"s3://npm-registry-packages"},"readme":"[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![npm](https://img.shields.io/npm/dy/@lerna-lite/core?color=forest)](https://www.npmjs.com/package/@lerna-lite/core)\n[![npm](https://img.shields.io/npm/v/@lerna-lite/core.svg?logo=npm&logoColor=fff&label=npm)](https://www.npmjs.com/package/@lerna-lite/core)\n\n## Lerna-Lite Core\n\n#### @lerna-lite/core\n\nThe Lerna-Lite core & utils, basically the shared code used by all commands.\n\n### Installation\n\nFollow the instruction provided in the main [README](https://github.com/lerna-lite/lerna-lite#installation) page.\n\n\n> Options for lerna sub-commands that need filtering\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### **Running with `npx`**\n\nWhen running `lerna` with `npx`, it is necessary to use an explicit \"=\" when passing glob arguments. This is to prevent `npx` from prematurely expanding the arguments.\n\nFor example:\n\n```sh\n$ npx lerna run --scope=\"toolbar-*\" test\n$ npx lerna run --scope=\"package-{1,2,5}\" test\n```\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```sh\n# example with lerna watch\n$ lerna watch --scope=my-package-1 --include-dependents -- lerna run build --stream --scope=\\$LERNA_PACKAGE_NAME --include-dependents\n```\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` (`ls`, `run`, `exec`, `watch`).\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\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# example with lerna watch, watch only package \"package-4\" and its dependencies and run the test script for the package that changed\n$ lerna watch --scope=\"package-4\" --include-dependencies -- lerna run test --scope=\\$LERNA_PACKAGE_NAME\n```\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","publish_time":1645505363761,"maintainers":[{"name":"ghiscoding","email":"gbeaulac@gmail.com"}],"_cnpm_publish_time":1645505363761,"dist-tags":{"latest":"5.7.0"}}