@depup/lerna 9.0.5-depup.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +88 -0
- package/dist/cli.js +50 -0
- package/dist/commands/changed/command.js +5806 -0
- package/dist/commands/changed/index.js +5195 -0
- package/dist/commands/clean/command.js +6271 -0
- package/dist/commands/clean/index.js +6157 -0
- package/dist/commands/diff/command.js +5313 -0
- package/dist/commands/diff/index.js +4742 -0
- package/dist/commands/diff/lib/get-last-commit.js +4240 -0
- package/dist/commands/diff/lib/has-commit.js +4233 -0
- package/dist/commands/exec/command.js +6010 -0
- package/dist/commands/exec/index.js +5337 -0
- package/dist/commands/import/command.js +5500 -0
- package/dist/commands/import/index.js +4931 -0
- package/dist/commands/info/command.js +5229 -0
- package/dist/commands/info/index.js +4685 -0
- package/dist/commands/init/command.js +5440 -0
- package/dist/commands/init/index.js +4872 -0
- package/dist/commands/list/command.js +5974 -0
- package/dist/commands/list/index.js +5309 -0
- package/dist/commands/publish/command.js +9271 -0
- package/dist/commands/publish/index.js +8771 -0
- package/dist/commands/publish/lib/create-temp-licenses.js +64 -0
- package/dist/commands/publish/lib/fetch-config.js +4763 -0
- package/dist/commands/publish/lib/get-current-sha.js +4764 -0
- package/dist/commands/publish/lib/get-current-tags.js +4776 -0
- package/dist/commands/publish/lib/get-npm-username.js +4886 -0
- package/dist/commands/publish/lib/get-packages-without-license.js +53 -0
- package/dist/commands/publish/lib/get-profile-data.js +4802 -0
- package/dist/commands/publish/lib/get-two-factor-auth-required.js +4855 -0
- package/dist/commands/publish/lib/get-whoami.js +4798 -0
- package/dist/commands/publish/lib/git-checkout.js +4761 -0
- package/dist/commands/publish/lib/remove-temp-licenses.js +54 -0
- package/dist/commands/publish/lib/verify-npm-package-access.js +4848 -0
- package/dist/commands/run/command.js +6229 -0
- package/dist/commands/run/index.js +5534 -0
- package/dist/commands/version/command.js +7415 -0
- package/dist/commands/version/index.js +7100 -0
- package/dist/commands/version/lib/create-release.js +4892 -0
- package/dist/commands/version/lib/get-current-branch.js +4764 -0
- package/dist/commands/version/lib/git-add.js +4817 -0
- package/dist/commands/version/lib/git-commit.js +4788 -0
- package/dist/commands/version/lib/git-push.js +4769 -0
- package/dist/commands/version/lib/git-tag.js +4771 -0
- package/dist/commands/version/lib/is-anything-committed.js +4765 -0
- package/dist/commands/version/lib/is-behind-upstream.js +4780 -0
- package/dist/commands/version/lib/is-breaking-change.js +61 -0
- package/dist/commands/version/lib/prompt-version.js +4833 -0
- package/dist/commands/version/lib/remote-branch-exists.js +4768 -0
- package/dist/commands/version/lib/update-lockfile-version.js +4791 -0
- package/dist/index.js +13093 -0
- package/dist/libs/child-process/src/forked-strong-log-transformer.d.ts +19 -0
- package/dist/libs/child-process/src/index.d.ts +46 -0
- package/dist/libs/child-process/src/set-exit-code.d.ts +1 -0
- package/dist/libs/commands/changed/src/command.d.ts +6 -0
- package/dist/libs/commands/changed/src/index.d.ts +15 -0
- package/dist/libs/commands/clean/src/command.d.ts +6 -0
- package/dist/libs/commands/diff/src/command.d.ts +6 -0
- package/dist/libs/commands/diff/src/index.d.ts +12 -0
- package/dist/libs/commands/diff/src/lib/get-last-commit.d.ts +7 -0
- package/dist/libs/commands/diff/src/lib/has-commit.d.ts +7 -0
- package/dist/libs/commands/exec/src/command.d.ts +6 -0
- package/dist/libs/commands/exec/src/index.d.ts +35 -0
- package/dist/libs/commands/import/src/command.d.ts +6 -0
- package/dist/libs/commands/import/src/index.d.ts +36 -0
- package/dist/libs/commands/info/src/command.d.ts +6 -0
- package/dist/libs/commands/info/src/index.d.ts +6 -0
- package/dist/libs/commands/init/src/command.d.ts +6 -0
- package/dist/libs/commands/init/src/index.d.ts +37 -0
- package/dist/libs/commands/list/src/command.d.ts +6 -0
- package/dist/libs/commands/list/src/index.d.ts +8 -0
- package/dist/libs/commands/publish/src/command.d.ts +6 -0
- package/dist/libs/commands/run/src/command.d.ts +7 -0
- package/dist/libs/commands/run/src/index.d.ts +39 -0
- package/dist/libs/commands/version/src/command.d.ts +6 -0
- package/dist/libs/core/src/index.d.ts +46 -0
- package/dist/libs/core/src/lib/add-dependencies.d.ts +2 -0
- package/dist/libs/core/src/lib/add-dependents.d.ts +2 -0
- package/dist/libs/core/src/lib/check-working-tree.d.ts +12 -0
- package/dist/libs/core/src/lib/cli.d.ts +14 -0
- package/dist/libs/core/src/lib/collect-uncommitted.d.ts +12 -0
- package/dist/libs/core/src/lib/collect-updates/collect-project-updates.d.ts +29 -0
- package/dist/libs/core/src/lib/collect-updates/has-tags.d.ts +6 -0
- package/dist/libs/core/src/lib/collect-updates/index.d.ts +1 -0
- package/dist/libs/core/src/lib/collect-updates/make-diff-predicate.d.ts +3 -0
- package/dist/libs/core/src/lib/command/clean-stack.d.ts +1 -0
- package/dist/libs/core/src/lib/command/create-project-graph-with-packages.d.ts +5 -0
- package/dist/libs/core/src/lib/command/default-options.d.ts +2 -0
- package/dist/libs/core/src/lib/command/detect-projects.d.ts +6 -0
- package/dist/libs/core/src/lib/command/index.d.ts +80 -0
- package/dist/libs/core/src/lib/command/is-git-initialized.d.ts +1 -0
- package/dist/libs/core/src/lib/command/log-package-error.d.ts +1 -0
- package/dist/libs/core/src/lib/command/warn-if-hanging.d.ts +1 -0
- package/dist/libs/core/src/lib/conventional-commits/apply-build-metadata.d.ts +4 -0
- package/dist/libs/core/src/lib/conventional-commits/constants.d.ts +17 -0
- package/dist/libs/core/src/lib/conventional-commits/get-changelog-config.d.ts +2 -0
- package/dist/libs/core/src/lib/conventional-commits/index.d.ts +3 -0
- package/dist/libs/core/src/lib/conventional-commits/make-bump-only-filter.d.ts +2 -0
- package/dist/libs/core/src/lib/conventional-commits/read-existing-changelog.d.ts +6 -0
- package/dist/libs/core/src/lib/conventional-commits/recommend-version.d.ts +6 -0
- package/dist/libs/core/src/lib/conventional-commits/update-changelog.d.ts +8 -0
- package/dist/libs/core/src/lib/corepack/exec-package-manager.d.ts +4 -0
- package/dist/libs/core/src/lib/corepack/index.d.ts +1 -0
- package/dist/libs/core/src/lib/corepack/is-corepack-enabled.d.ts +1 -0
- package/dist/libs/core/src/lib/cycles/get-cycles.d.ts +6 -0
- package/dist/libs/core/src/lib/cycles/index.d.ts +3 -0
- package/dist/libs/core/src/lib/cycles/merge-overlapping-cycles.d.ts +6 -0
- package/dist/libs/core/src/lib/cycles/report-cycles.d.ts +1 -0
- package/dist/libs/core/src/lib/describe-ref.d.ts +17 -0
- package/dist/libs/core/src/lib/filter-options.d.ts +15 -0
- package/dist/libs/core/src/lib/filter-projects.d.ts +4 -0
- package/dist/libs/core/src/lib/get-npm-exec-opts.d.ts +11 -0
- package/dist/libs/core/src/lib/get-package-manifest-path.d.ts +2 -0
- package/dist/libs/core/src/lib/get-packages-for-option.d.ts +4 -0
- package/dist/libs/core/src/lib/get-packed.d.ts +1 -0
- package/dist/libs/core/src/lib/git-checkout.d.ts +7 -0
- package/dist/libs/core/src/lib/has-npm-version.d.ts +1 -0
- package/dist/libs/core/src/lib/listable-format-projects.d.ts +24 -0
- package/dist/libs/core/src/lib/listable-options.d.ts +54 -0
- package/dist/libs/core/src/lib/log-packed.d.ts +14 -0
- package/dist/libs/core/src/lib/npm-conf/conf.d.ts +22 -0
- package/dist/libs/core/src/lib/npm-conf/env-replace.d.ts +1 -0
- package/dist/libs/core/src/lib/npm-conf/find-prefix.d.ts +1 -0
- package/dist/libs/core/src/lib/npm-conf/nerf-dart.d.ts +1 -0
- package/dist/libs/core/src/lib/npm-conf/parse-field.d.ts +1 -0
- package/dist/libs/core/src/lib/npm-install.d.ts +2 -0
- package/dist/libs/core/src/lib/npm-publish.d.ts +20 -0
- package/dist/libs/core/src/lib/npm-run-script.d.ts +2 -0
- package/dist/libs/core/src/lib/npmlog/are-we-there-yet/tracker-base.d.ts +6 -0
- package/dist/libs/core/src/lib/npmlog/are-we-there-yet/tracker-group.d.ts +21 -0
- package/dist/libs/core/src/lib/npmlog/are-we-there-yet/tracker-stream.d.ts +14 -0
- package/dist/libs/core/src/lib/npmlog/are-we-there-yet/tracker.d.ts +10 -0
- package/dist/libs/core/src/lib/npmlog/gauge/index.d.ts +43 -0
- package/dist/libs/core/src/lib/npmlog/index.d.ts +76 -0
- package/dist/libs/core/src/lib/oidc.d.ts +25 -0
- package/dist/libs/core/src/lib/otplease.d.ts +15 -0
- package/dist/libs/core/src/lib/output.d.ts +1 -0
- package/dist/libs/core/src/lib/pack-directory.d.ts +30 -0
- package/dist/libs/core/src/lib/package.d.ts +128 -0
- package/dist/libs/core/src/lib/prerelease-id-from-version.d.ts +1 -0
- package/dist/libs/core/src/lib/profiler.d.ts +20 -0
- package/dist/libs/core/src/lib/project/apply-extends.d.ts +4 -0
- package/dist/libs/core/src/lib/project/index.d.ts +82 -0
- package/dist/libs/core/src/lib/project/make-file-finder.d.ts +2 -0
- package/dist/libs/core/src/lib/project/shallow-extend.d.ts +1 -0
- package/dist/libs/core/src/lib/project-graph-with-packages.d.ts +23 -0
- package/dist/libs/core/src/lib/prompt.d.ts +19 -0
- package/dist/libs/core/src/lib/pulse-till-done.d.ts +2 -0
- package/dist/libs/core/src/lib/rimraf-dir.d.ts +1 -0
- package/dist/libs/core/src/lib/run-lifecycle.d.ts +21 -0
- package/dist/libs/core/src/lib/run-projects-topologically.d.ts +10 -0
- package/dist/libs/core/src/lib/scm-clients/github/create-github-client.d.ts +4 -0
- package/dist/libs/core/src/lib/scm-clients/gitlab/create-gitlab-client.d.ts +11 -0
- package/dist/libs/core/src/lib/scm-clients/gitlab/gitlab-client.d.ts +13 -0
- package/dist/libs/core/src/lib/scm-clients/index.d.ts +2 -0
- package/dist/libs/core/src/lib/temp-write.d.ts +5 -0
- package/dist/libs/core/src/lib/timer.d.ts +1 -0
- package/dist/libs/core/src/lib/toposort-projects.d.ts +2 -0
- package/dist/libs/core/src/lib/validation-error.d.ts +4 -0
- package/dist/libs/core/src/lib/write-log-file.d.ts +1 -0
- package/dist/libs/legacy-core/src/index.d.ts +10 -0
- package/dist/libs/legacy-core/src/lib/collect-updates/collect-dependents.d.ts +5 -0
- package/dist/libs/legacy-core/src/lib/collect-updates/collect-packages.d.ts +10 -0
- package/dist/libs/legacy-core/src/lib/collect-updates/has-tags.d.ts +5 -0
- package/dist/libs/legacy-core/src/lib/collect-updates/index.d.ts +19 -0
- package/dist/libs/legacy-core/src/lib/collect-updates/make-diff-predicate.d.ts +7 -0
- package/dist/libs/legacy-core/src/lib/command/clean-stack.d.ts +1 -0
- package/dist/libs/legacy-core/src/lib/command/default-options.d.ts +2 -0
- package/dist/libs/legacy-core/src/lib/command/index.d.ts +40 -0
- package/dist/libs/legacy-core/src/lib/command/log-package-error.d.ts +1 -0
- package/dist/libs/legacy-core/src/lib/command/warn-if-hanging.d.ts +1 -0
- package/dist/libs/legacy-core/src/lib/create-symlink.d.ts +4 -0
- package/dist/libs/legacy-core/src/lib/filter-packages.d.ts +13 -0
- package/dist/libs/legacy-core/src/lib/get-filtered-packages.d.ts +7 -0
- package/dist/libs/legacy-core/src/lib/listable-format.d.ts +8 -0
- package/dist/libs/legacy-core/src/lib/package-graph/cyclic-package-graph-node.d.ts +37 -0
- package/dist/libs/legacy-core/src/lib/package-graph/index.d.ts +74 -0
- package/dist/libs/legacy-core/src/lib/package-graph/package-graph-node.d.ts +32 -0
- package/dist/libs/legacy-core/src/lib/package-graph/report-cycles.d.ts +1 -0
- package/dist/libs/legacy-core/src/lib/query-graph.d.ts +27 -0
- package/dist/libs/legacy-core/src/lib/resolve-symlink.d.ts +1 -0
- package/dist/libs/legacy-core/src/lib/run-topologically.d.ts +16 -0
- package/dist/libs/legacy-core/src/lib/symlink-binary/index.d.ts +5 -0
- package/dist/libs/legacy-core/src/lib/symlink-dependencies.d.ts +9 -0
- package/dist/libs/legacy-core/src/lib/write-log-file.d.ts +1 -0
- package/dist/migrations/add-schema-config/add-schema-config.js +34 -0
- package/dist/migrations/remove-invalid-init-config/remove-invalid-init-config.js +34 -0
- package/dist/migrations/remove-invalid-lerna-config/remove-invalid-lerna-config.js +34 -0
- package/dist/migrations/remove-invalid-use-workspaces/remove-invalid-use-workspaces.js +34 -0
- package/dist/migrations/remove-unnecessary-use-nx/remove-unnecessary-use-nx.js +34 -0
- package/dist/migrations/update-options-from-legacy-deprecate-config/update-options-from-legacy-deprecate-config.js +96 -0
- package/dist/packages/lerna/src/commands/add-caching/command.d.ts +6 -0
- package/dist/packages/lerna/src/commands/add-caching/index.d.ts +1 -0
- package/dist/packages/lerna/src/commands/changed/command.d.ts +1 -0
- package/dist/packages/lerna/src/commands/changed/index.d.ts +1 -0
- package/dist/packages/lerna/src/commands/clean/command.d.ts +0 -0
- package/dist/packages/lerna/src/commands/clean/index.d.ts +1 -0
- package/dist/packages/lerna/src/commands/diff/command.d.ts +1 -0
- package/dist/packages/lerna/src/commands/diff/index.d.ts +1 -0
- package/dist/packages/lerna/src/commands/diff/lib/get-last-commit.d.ts +1 -0
- package/dist/packages/lerna/src/commands/diff/lib/has-commit.d.ts +1 -0
- package/dist/packages/lerna/src/commands/exec/command.d.ts +1 -0
- package/dist/packages/lerna/src/commands/exec/index.d.ts +1 -0
- package/dist/packages/lerna/src/commands/import/command.d.ts +1 -0
- package/dist/packages/lerna/src/commands/import/index.d.ts +1 -0
- package/dist/packages/lerna/src/commands/info/command.d.ts +1 -0
- package/dist/packages/lerna/src/commands/info/index.d.ts +1 -0
- package/dist/packages/lerna/src/commands/init/command.d.ts +1 -0
- package/dist/packages/lerna/src/commands/init/index.d.ts +1 -0
- package/dist/packages/lerna/src/commands/list/command.d.ts +1 -0
- package/dist/packages/lerna/src/commands/list/index.d.ts +1 -0
- package/dist/packages/lerna/src/commands/publish/command.d.ts +0 -0
- package/dist/packages/lerna/src/commands/publish/index.d.ts +1 -0
- package/dist/packages/lerna/src/commands/publish/lib/create-temp-licenses.d.ts +0 -0
- package/dist/packages/lerna/src/commands/publish/lib/fetch-config.d.ts +0 -0
- package/dist/packages/lerna/src/commands/publish/lib/get-current-sha.d.ts +0 -0
- package/dist/packages/lerna/src/commands/publish/lib/get-current-tags.d.ts +0 -0
- package/dist/packages/lerna/src/commands/publish/lib/get-npm-username.d.ts +0 -0
- package/dist/packages/lerna/src/commands/publish/lib/get-packages-without-license.d.ts +0 -0
- package/dist/packages/lerna/src/commands/publish/lib/get-profile-data.d.ts +0 -0
- package/dist/packages/lerna/src/commands/publish/lib/get-two-factor-auth-required.d.ts +0 -0
- package/dist/packages/lerna/src/commands/publish/lib/get-whoami.d.ts +0 -0
- package/dist/packages/lerna/src/commands/publish/lib/git-checkout.d.ts +0 -0
- package/dist/packages/lerna/src/commands/publish/lib/remove-temp-licenses.d.ts +0 -0
- package/dist/packages/lerna/src/commands/publish/lib/verify-npm-package-access.d.ts +0 -0
- package/dist/packages/lerna/src/commands/repair/command.d.ts +6 -0
- package/dist/packages/lerna/src/commands/repair/index.d.ts +1 -0
- package/dist/packages/lerna/src/commands/run/command.d.ts +1 -0
- package/dist/packages/lerna/src/commands/run/index.d.ts +1 -0
- package/dist/packages/lerna/src/commands/version/command.d.ts +0 -0
- package/dist/packages/lerna/src/commands/version/index.d.ts +1 -0
- package/dist/packages/lerna/src/commands/version/lib/create-release.d.ts +0 -0
- package/dist/packages/lerna/src/commands/version/lib/get-current-branch.d.ts +0 -0
- package/dist/packages/lerna/src/commands/version/lib/git-add.d.ts +0 -0
- package/dist/packages/lerna/src/commands/version/lib/git-commit.d.ts +0 -0
- package/dist/packages/lerna/src/commands/version/lib/git-push.d.ts +0 -0
- package/dist/packages/lerna/src/commands/version/lib/git-tag.d.ts +0 -0
- package/dist/packages/lerna/src/commands/version/lib/is-anything-committed.d.ts +0 -0
- package/dist/packages/lerna/src/commands/version/lib/is-behind-upstream.d.ts +0 -0
- package/dist/packages/lerna/src/commands/version/lib/is-breaking-change.d.ts +0 -0
- package/dist/packages/lerna/src/commands/version/lib/prompt-version.d.ts +0 -0
- package/dist/packages/lerna/src/commands/version/lib/remote-branch-exists.d.ts +0 -0
- package/dist/packages/lerna/src/commands/version/lib/update-lockfile-version.d.ts +0 -0
- package/dist/packages/lerna/src/commands/watch/command.d.ts +6 -0
- package/dist/packages/lerna/src/commands/watch/index.d.ts +1 -0
- package/dist/packages/lerna/src/index.d.ts +1 -0
- package/dist/packages/lerna/src/migrations/add-schema-config/add-schema-config.d.ts +2 -0
- package/dist/packages/lerna/src/migrations/remove-invalid-init-config/remove-invalid-init-config.d.ts +2 -0
- package/dist/packages/lerna/src/migrations/remove-invalid-lerna-config/remove-invalid-lerna-config.d.ts +2 -0
- package/dist/packages/lerna/src/migrations/remove-invalid-use-workspaces/remove-invalid-use-workspaces.d.ts +2 -0
- package/dist/packages/lerna/src/migrations/remove-unnecessary-use-nx/remove-unnecessary-use-nx.d.ts +2 -0
- package/dist/packages/lerna/src/migrations/update-options-from-legacy-deprecate-config/update-options-from-legacy-deprecate-config.d.ts +9 -0
- package/dist/packages/lerna/src/utils/detect-projects.d.ts +4 -0
- package/dist/packages/lerna/src/utils/index.d.ts +1 -0
- package/dist/utils/index.js +4362 -0
- package/migrations.json +40 -0
- package/package.json +376 -0
- package/schemas/lerna-schema.json +1855 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { Package } from "@lerna/core";
|
|
2
|
+
import { CyclicPackageGraphNode } from "./cyclic-package-graph-node";
|
|
3
|
+
import { PackageGraphNode } from "./package-graph-node";
|
|
4
|
+
/**
|
|
5
|
+
* A graph of packages in the current project.
|
|
6
|
+
*/
|
|
7
|
+
export declare class PackageGraph extends Map<string, PackageGraphNode> {
|
|
8
|
+
/**
|
|
9
|
+
* @param {import("@lerna/package").Package[]} packages An array of Packages to build the graph out of.
|
|
10
|
+
* @param {'allDependencies'|'dependencies'} [graphType]
|
|
11
|
+
* Pass "dependencies" to create a graph of only dependencies,
|
|
12
|
+
* excluding the devDependencies that would normally be included.
|
|
13
|
+
* @param {boolean} [forceLocal] Force all local dependencies to be linked.
|
|
14
|
+
*/
|
|
15
|
+
constructor(packages: Package[], graphType?: "allDependencies" | "dependencies", forceLocal?: boolean);
|
|
16
|
+
get rawPackageList(): Package[];
|
|
17
|
+
/**
|
|
18
|
+
* Takes a list of Packages and returns a list of those same Packages with any Packages
|
|
19
|
+
* they depend on. i.e if packageA depended on packageB `graph.addDependencies([packageA])`
|
|
20
|
+
* would return [packageA, packageB].
|
|
21
|
+
*
|
|
22
|
+
* @param filteredPackages The packages to include dependencies for.
|
|
23
|
+
*/
|
|
24
|
+
addDependencies(filteredPackages: Package[]): Package[];
|
|
25
|
+
/**
|
|
26
|
+
* Takes a list of Packages and returns a list of those same Packages with any Packages
|
|
27
|
+
* that depend on them. i.e if packageC depended on packageD `graph.addDependents([packageD])`
|
|
28
|
+
* would return [packageD, packageC].
|
|
29
|
+
*
|
|
30
|
+
* @param filteredPackages The packages to include dependents for.
|
|
31
|
+
*/
|
|
32
|
+
addDependents(filteredPackages: Package[]): Package[];
|
|
33
|
+
/**
|
|
34
|
+
* Extends a list of packages by traversing on a given property, which must refer to a
|
|
35
|
+
* `PackageGraphNode` property that is a collection of `PackageGraphNode`s.
|
|
36
|
+
* Returns input packages with any additional packages found by traversing `nodeProp`.
|
|
37
|
+
*
|
|
38
|
+
* @param packageList The list of packages to extend
|
|
39
|
+
* @param nodeProp The property on `PackageGraphNode` used to traverse
|
|
40
|
+
*/
|
|
41
|
+
extendList(packageList: Package[], nodeProp: "localDependencies" | "localDependents"): Package[];
|
|
42
|
+
/**
|
|
43
|
+
* Return a tuple of cycle paths and nodes.
|
|
44
|
+
*
|
|
45
|
+
* @deprecated Use collapseCycles instead.
|
|
46
|
+
*
|
|
47
|
+
* @param rejectCycles Whether or not to reject cycles
|
|
48
|
+
*/
|
|
49
|
+
partitionCycles(rejectCycles: boolean): [Set<string[]>, Set<PackageGraphNode>];
|
|
50
|
+
/**
|
|
51
|
+
* Returns the cycles of this graph. If two cycles share some elements, they will
|
|
52
|
+
* be returned as a single cycle.
|
|
53
|
+
*
|
|
54
|
+
* @param {boolean} rejectCycles Whether or not to reject cycles
|
|
55
|
+
* @returns {Set<CyclicPackageGraphNode>}
|
|
56
|
+
*/
|
|
57
|
+
collapseCycles(rejectCycles?: boolean): Set<CyclicPackageGraphNode>;
|
|
58
|
+
/**
|
|
59
|
+
* Remove cycle nodes.
|
|
60
|
+
*
|
|
61
|
+
* @deprecated Spread set into prune() instead.
|
|
62
|
+
*/
|
|
63
|
+
pruneCycleNodes(cycleNodes: Set<PackageGraphNode>): void;
|
|
64
|
+
/**
|
|
65
|
+
* Remove all candidate nodes.
|
|
66
|
+
*/
|
|
67
|
+
prune(...candidates: PackageGraphNode[]): void;
|
|
68
|
+
/**
|
|
69
|
+
* Delete by value (instead of key), as well as removing pointers
|
|
70
|
+
* to itself in the other node's internal collections.
|
|
71
|
+
* @param candidateNode instance to remove
|
|
72
|
+
*/
|
|
73
|
+
remove(candidateNode: PackageGraphNode): void;
|
|
74
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ExtendedNpaResult, Package } from "@lerna/core";
|
|
2
|
+
import { Result } from "npm-package-arg";
|
|
3
|
+
declare const PKG: unique symbol;
|
|
4
|
+
/**
|
|
5
|
+
* A node in a PackageGraph.
|
|
6
|
+
*/
|
|
7
|
+
export declare class PackageGraphNode {
|
|
8
|
+
name: string;
|
|
9
|
+
externalDependencies: Map<string, Result>;
|
|
10
|
+
localDependencies: Map<string, ExtendedNpaResult>;
|
|
11
|
+
localDependents: Map<string, PackageGraphNode>;
|
|
12
|
+
[PKG]: Package;
|
|
13
|
+
constructor(pkg: Package);
|
|
14
|
+
get location(): string;
|
|
15
|
+
get pkg(): Package;
|
|
16
|
+
get prereleaseId(): string | undefined;
|
|
17
|
+
get version(): string;
|
|
18
|
+
/**
|
|
19
|
+
* Determine if the Node satisfies a resolved semver range.
|
|
20
|
+
* @see https://github.com/npm/npm-package-arg#result-object
|
|
21
|
+
*
|
|
22
|
+
* @param {!Result} resolved npm-package-arg Result object
|
|
23
|
+
*/
|
|
24
|
+
satisfies({ gitCommittish, gitRange, fetchSpec }: any): boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Returns a string representation of this node (its name)
|
|
27
|
+
*
|
|
28
|
+
* @returns {String}
|
|
29
|
+
*/
|
|
30
|
+
toString(): string;
|
|
31
|
+
}
|
|
32
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function reportCycles(paths: string[], rejectCycles?: boolean): void;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Package } from "@lerna/core";
|
|
2
|
+
import { PackageGraph } from "./package-graph";
|
|
3
|
+
import { CyclicPackageGraphNode } from "./package-graph/cyclic-package-graph-node";
|
|
4
|
+
import { PackageGraphNode } from "./package-graph/package-graph-node";
|
|
5
|
+
export interface QueryGraphConfig {
|
|
6
|
+
graphType?: "allDependencies" | "dependencies";
|
|
7
|
+
rejectCycles?: boolean;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* A mutable PackageGraph used to query for next available packages.
|
|
11
|
+
*/
|
|
12
|
+
export declare class QueryGraph {
|
|
13
|
+
graph: PackageGraph;
|
|
14
|
+
cycles: Set<CyclicPackageGraphNode>;
|
|
15
|
+
/**
|
|
16
|
+
* Sort a list of Packages topologically.
|
|
17
|
+
* @returns A list of Package instances in topological order
|
|
18
|
+
*/
|
|
19
|
+
static toposort(packages: Package[], options?: QueryGraphConfig): Package[];
|
|
20
|
+
constructor(packages: Package[], { graphType, rejectCycles }?: QueryGraphConfig);
|
|
21
|
+
_getNextLeaf(): PackageGraphNode[];
|
|
22
|
+
_getNextCycle(): PackageGraphNode[];
|
|
23
|
+
getAvailablePackages(): PackageGraphNode[];
|
|
24
|
+
markAsTaken(name: string): void;
|
|
25
|
+
markAsDone(candidateNode: PackageGraphNode): void;
|
|
26
|
+
}
|
|
27
|
+
export declare const toposort: typeof QueryGraph.toposort;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function resolveSymlink(filePath: string): string | boolean;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Package } from "@lerna/core";
|
|
2
|
+
import { QueryGraphConfig } from "./query-graph";
|
|
3
|
+
interface TopologicalConfig extends QueryGraphConfig {
|
|
4
|
+
concurrency?: number;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Run callback in maximally-saturated topological order.
|
|
8
|
+
*
|
|
9
|
+
* @template T
|
|
10
|
+
* @param {import("@lerna/package").Package[]} packages List of `Package` instances
|
|
11
|
+
* @param {(pkg: import("@lerna/package").Package) => Promise<T>} runner Callback to map each `Package` with
|
|
12
|
+
* @param {TopologicalConfig} [options]
|
|
13
|
+
* @returns {Promise<T[]>} when all executions complete
|
|
14
|
+
*/
|
|
15
|
+
export declare function runTopologically<T>(packages: Package[], runner: (pkg: Package) => Promise<T>, { concurrency, graphType, rejectCycles }?: TopologicalConfig): Promise<T[]>;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Package, RawManifest } from "@lerna/core";
|
|
2
|
+
/**
|
|
3
|
+
* Symlink bins of srcPackage to node_modules/.bin in destPackage
|
|
4
|
+
*/
|
|
5
|
+
export declare function symlinkBinary(srcPackageRef: string | Package | RawManifest, destPackageRef: string | Package | RawManifest): Promise<[Package, Package]>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Package } from "@lerna/core";
|
|
2
|
+
import { PackageGraph } from "./package-graph";
|
|
3
|
+
type Tracker = any;
|
|
4
|
+
/**
|
|
5
|
+
* Symlink all packages to the packages/node_modules directory
|
|
6
|
+
* Symlink package binaries to dependent packages' node_modules/.bin directory
|
|
7
|
+
*/
|
|
8
|
+
export declare function symlinkDependencies(packages: Package[], packageGraph: PackageGraph | undefined, tracker: Tracker): Promise<unknown>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function writeLogFile(cwd: string): void;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// packages/lerna/src/migrations/add-schema-config/add-schema-config.ts
|
|
21
|
+
var add_schema_config_exports = {};
|
|
22
|
+
__export(add_schema_config_exports, {
|
|
23
|
+
default: () => generator
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(add_schema_config_exports);
|
|
26
|
+
var import_devkit = require("@nx/devkit");
|
|
27
|
+
async function generator(tree) {
|
|
28
|
+
const lernaJson = (0, import_devkit.readJson)(tree, "lerna.json");
|
|
29
|
+
if (!lernaJson.$schema) {
|
|
30
|
+
lernaJson.$schema = "node_modules/lerna/schemas/lerna-schema.json";
|
|
31
|
+
(0, import_devkit.writeJson)(tree, "lerna.json", lernaJson);
|
|
32
|
+
}
|
|
33
|
+
await (0, import_devkit.formatFiles)(tree);
|
|
34
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// packages/lerna/src/migrations/remove-invalid-init-config/remove-invalid-init-config.ts
|
|
21
|
+
var remove_invalid_init_config_exports = {};
|
|
22
|
+
__export(remove_invalid_init_config_exports, {
|
|
23
|
+
default: () => generator
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(remove_invalid_init_config_exports);
|
|
26
|
+
var import_devkit = require("@nx/devkit");
|
|
27
|
+
async function generator(tree) {
|
|
28
|
+
const lernaJson = (0, import_devkit.readJson)(tree, "lerna.json");
|
|
29
|
+
if (lernaJson.init !== void 0) {
|
|
30
|
+
delete lernaJson.init;
|
|
31
|
+
(0, import_devkit.writeJson)(tree, "lerna.json", lernaJson);
|
|
32
|
+
}
|
|
33
|
+
await (0, import_devkit.formatFiles)(tree);
|
|
34
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// packages/lerna/src/migrations/remove-invalid-lerna-config/remove-invalid-lerna-config.ts
|
|
21
|
+
var remove_invalid_lerna_config_exports = {};
|
|
22
|
+
__export(remove_invalid_lerna_config_exports, {
|
|
23
|
+
default: () => generator
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(remove_invalid_lerna_config_exports);
|
|
26
|
+
var import_devkit = require("@nx/devkit");
|
|
27
|
+
async function generator(tree) {
|
|
28
|
+
const lernaJson = (0, import_devkit.readJson)(tree, "lerna.json");
|
|
29
|
+
if (lernaJson.lerna !== void 0) {
|
|
30
|
+
delete lernaJson.lerna;
|
|
31
|
+
(0, import_devkit.writeJson)(tree, "lerna.json", lernaJson);
|
|
32
|
+
}
|
|
33
|
+
await (0, import_devkit.formatFiles)(tree);
|
|
34
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// packages/lerna/src/migrations/remove-invalid-use-workspaces/remove-invalid-use-workspaces.ts
|
|
21
|
+
var remove_invalid_use_workspaces_exports = {};
|
|
22
|
+
__export(remove_invalid_use_workspaces_exports, {
|
|
23
|
+
default: () => generator
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(remove_invalid_use_workspaces_exports);
|
|
26
|
+
var import_devkit = require("@nx/devkit");
|
|
27
|
+
async function generator(tree) {
|
|
28
|
+
const lernaJson = (0, import_devkit.readJson)(tree, "lerna.json");
|
|
29
|
+
if (lernaJson.useWorkspaces !== void 0) {
|
|
30
|
+
delete lernaJson.useWorkspaces;
|
|
31
|
+
(0, import_devkit.writeJson)(tree, "lerna.json", lernaJson);
|
|
32
|
+
}
|
|
33
|
+
await (0, import_devkit.formatFiles)(tree);
|
|
34
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// packages/lerna/src/migrations/remove-unnecessary-use-nx/remove-unnecessary-use-nx.ts
|
|
21
|
+
var remove_unnecessary_use_nx_exports = {};
|
|
22
|
+
__export(remove_unnecessary_use_nx_exports, {
|
|
23
|
+
default: () => generator
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(remove_unnecessary_use_nx_exports);
|
|
26
|
+
var import_devkit = require("@nx/devkit");
|
|
27
|
+
async function generator(tree) {
|
|
28
|
+
const lernaJson = (0, import_devkit.readJson)(tree, "lerna.json");
|
|
29
|
+
if (lernaJson.useNx) {
|
|
30
|
+
delete lernaJson.useNx;
|
|
31
|
+
(0, import_devkit.writeJson)(tree, "lerna.json", lernaJson);
|
|
32
|
+
}
|
|
33
|
+
await (0, import_devkit.formatFiles)(tree);
|
|
34
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// packages/lerna/src/migrations/update-options-from-legacy-deprecate-config/update-options-from-legacy-deprecate-config.ts
|
|
21
|
+
var update_options_from_legacy_deprecate_config_exports = {};
|
|
22
|
+
__export(update_options_from_legacy_deprecate_config_exports, {
|
|
23
|
+
default: () => generator
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(update_options_from_legacy_deprecate_config_exports);
|
|
26
|
+
var import_devkit = require("@nx/devkit");
|
|
27
|
+
async function generator(tree) {
|
|
28
|
+
const lernaJson = (0, import_devkit.readJson)(tree, "lerna.json");
|
|
29
|
+
if (lernaJson.commands) {
|
|
30
|
+
lernaJson.command = {
|
|
31
|
+
...lernaJson.commands,
|
|
32
|
+
// Prefer already correctly named config when merging
|
|
33
|
+
...lernaJson.command
|
|
34
|
+
};
|
|
35
|
+
delete lernaJson.commands;
|
|
36
|
+
}
|
|
37
|
+
updateIncludeFilteredDependencies(lernaJson);
|
|
38
|
+
updateIncludeFilteredDependents(lernaJson);
|
|
39
|
+
updateGithubRelease(lernaJson);
|
|
40
|
+
updateLegacyVersionOptions(lernaJson);
|
|
41
|
+
(0, import_devkit.writeJson)(tree, "lerna.json", lernaJson);
|
|
42
|
+
await (0, import_devkit.formatFiles)(tree);
|
|
43
|
+
}
|
|
44
|
+
function updateIncludeFilteredDependencies(json) {
|
|
45
|
+
const commandsToCheck = ["add", "bootstrap", "clean", "list", "run", "exec"];
|
|
46
|
+
for (const command of commandsToCheck) {
|
|
47
|
+
if (json.command?.[command]?.["includeFilteredDependencies"] !== void 0) {
|
|
48
|
+
json.command[command]["includeDependencies"] = json.command?.[command]?.["includeFilteredDependencies"];
|
|
49
|
+
delete json.command[command]["includeFilteredDependencies"];
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
function updateIncludeFilteredDependents(json) {
|
|
54
|
+
const commandsToCheck = ["add", "bootstrap", "clean", "list", "run", "exec"];
|
|
55
|
+
for (const command of commandsToCheck) {
|
|
56
|
+
if (json.command?.[command]?.["includeFilteredDependents"] !== void 0) {
|
|
57
|
+
json.command[command]["includeDependents"] = json.command?.[command]?.["includeFilteredDependents"];
|
|
58
|
+
delete json.command[command]["includeFilteredDependents"];
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
function updateGithubRelease(json) {
|
|
63
|
+
const commandsToCheck = ["version", "publish"];
|
|
64
|
+
for (const command of commandsToCheck) {
|
|
65
|
+
if (json.command?.[command]?.["githubRelease"] === true) {
|
|
66
|
+
json.command[command]["createRelease"] = "github";
|
|
67
|
+
}
|
|
68
|
+
delete json.command?.[command]?.["githubRelease"];
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
function updateLegacyVersionOptions(json) {
|
|
72
|
+
const commandsToCheck = ["version", "publish"];
|
|
73
|
+
for (const command of commandsToCheck) {
|
|
74
|
+
if (json.command?.[command]?.["skipGit"] === true) {
|
|
75
|
+
json.command[command]["push"] = false;
|
|
76
|
+
json.command[command]["gitTagVersion"] = false;
|
|
77
|
+
}
|
|
78
|
+
delete json.command?.[command]?.["skipGit"];
|
|
79
|
+
if (json.command?.[command]?.["repoVersion"]) {
|
|
80
|
+
json.command[command]["bump"] = json.command[command]["repoVersion"];
|
|
81
|
+
}
|
|
82
|
+
delete json.command?.[command]?.["repoVersion"];
|
|
83
|
+
if (json.command?.[command]?.["cdVersion"]) {
|
|
84
|
+
json.command[command]["bump"] = json.command[command]["cdVersion"];
|
|
85
|
+
}
|
|
86
|
+
delete json.command?.[command]?.["cdVersion"];
|
|
87
|
+
if (json.command?.[command]?.["npmTag"]) {
|
|
88
|
+
json.command[command]["distTag"] = json.command[command]["npmTag"];
|
|
89
|
+
}
|
|
90
|
+
delete json.command?.[command]?.["npmTag"];
|
|
91
|
+
if (json.command?.[command]?.["ignore"]) {
|
|
92
|
+
json.command[command]["ignoreChanges"] = json.command[command]["ignore"];
|
|
93
|
+
}
|
|
94
|
+
delete json.command?.[command]?.["ignore"];
|
|
95
|
+
}
|
|
96
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@lerna/commands/changed";
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare const cleanIndex: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@lerna/commands/diff";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@lerna/commands/diff/lib/get-last-commit";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@lerna/commands/diff/lib/has-commit";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@lerna/commands/exec";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@lerna/commands/import";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@lerna/commands/info";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@lerna/commands/init";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@lerna/commands/list";
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare const publishIndex: any;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@lerna/commands/run";
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare const versionIndex: any;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|