@lerna-lite/core 1.3.0 → 1.4.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 +13 -12
- package/dist/child-process.d.ts +62 -62
- package/dist/child-process.js +165 -165
- package/dist/command.d.ts +37 -35
- package/dist/command.js +266 -266
- package/dist/command.js.map +1 -1
- package/dist/conventional-commits/constants.d.ts +4 -4
- package/dist/conventional-commits/constants.js +12 -12
- package/dist/conventional-commits/get-changelog-config.d.ts +12 -12
- package/dist/conventional-commits/get-changelog-config.js +98 -98
- package/dist/conventional-commits/index.d.ts +6 -6
- package/dist/conventional-commits/index.js +22 -22
- package/dist/conventional-commits/make-bump-only-filter.d.ts +6 -6
- package/dist/conventional-commits/make-bump-only-filter.js +22 -22
- package/dist/conventional-commits/read-existing-changelog.d.ts +7 -7
- package/dist/conventional-commits/read-existing-changelog.js +32 -32
- package/dist/conventional-commits/recommend-version.d.ts +11 -11
- package/dist/conventional-commits/recommend-version.js +86 -86
- package/dist/conventional-commits/update-changelog.d.ts +11 -11
- package/dist/conventional-commits/update-changelog.js +83 -83
- package/dist/git-clients/GitLabClient.d.ts +8 -8
- package/dist/git-clients/GitLabClient.js +39 -39
- package/dist/git-clients/github-client.d.ts +6 -6
- package/dist/git-clients/github-client.js +40 -40
- package/dist/git-clients/gitlab-client.d.ts +6 -6
- package/dist/git-clients/gitlab-client.js +21 -21
- package/dist/git-clients/index.d.ts +2 -2
- package/dist/git-clients/index.js +18 -18
- package/dist/index.d.ts +12 -12
- package/dist/index.js +30 -30
- package/dist/models/command-options.d.ts +206 -0
- package/dist/models/command-options.js +3 -0
- package/dist/models/command-options.js.map +1 -0
- package/dist/models/index.d.ts +2 -186
- package/dist/models/index.js +18 -2
- package/dist/models/index.js.map +1 -1
- package/dist/models/interfaces.d.ts +201 -0
- package/dist/models/interfaces.js +3 -0
- package/dist/models/interfaces.js.map +1 -0
- package/dist/otplease.d.ts +14 -14
- package/dist/otplease.js +108 -108
- package/dist/package-graph/index.d.ts +2 -2
- package/dist/package-graph/index.js +18 -18
- package/dist/package-graph/lib/cyclic-package-graph-node.d.ts +42 -42
- package/dist/package-graph/lib/cyclic-package-graph-node.js +97 -97
- package/dist/package-graph/lib/index.d.ts +3 -3
- package/dist/package-graph/lib/index.js +19 -19
- package/dist/package-graph/lib/package-graph-node.d.ts +33 -33
- package/dist/package-graph/lib/package-graph-node.js +58 -58
- package/dist/package-graph/lib/report-cycles.d.ts +1 -1
- package/dist/package-graph/lib/report-cycles.js +19 -19
- package/dist/package-graph/package-graph.d.ts +79 -79
- package/dist/package-graph/package-graph.js +276 -276
- package/dist/package.d.ts +91 -85
- package/dist/package.js +282 -276
- package/dist/package.js.map +1 -1
- package/dist/project/index.d.ts +2 -2
- package/dist/project/index.js +18 -18
- package/dist/project/lib/apply-extends.d.ts +10 -10
- package/dist/project/lib/apply-extends.js +37 -37
- package/dist/project/lib/index.d.ts +3 -3
- package/dist/project/lib/index.js +19 -19
- package/dist/project/lib/make-file-finder.d.ts +3 -3
- package/dist/project/lib/make-file-finder.js +71 -71
- package/dist/project/lib/shallow-extend.d.ts +11 -11
- package/dist/project/lib/shallow-extend.js +24 -24
- package/dist/project/project.d.ts +45 -45
- package/dist/project/project.js +195 -195
- package/dist/prompt.d.ts +23 -23
- package/dist/prompt.js +75 -75
- package/dist/utils/check-working-tree.d.ts +8 -8
- package/dist/utils/check-working-tree.js +41 -41
- package/dist/utils/clean-stack.d.ts +5 -5
- package/dist/utils/clean-stack.js +18 -18
- package/dist/utils/collect-uncommitted.d.ts +18 -18
- package/dist/utils/collect-uncommitted.js +40 -40
- package/dist/utils/collect-updates/collect-updates.d.ts +11 -11
- package/dist/utils/collect-updates/collect-updates.js +82 -82
- package/dist/utils/collect-updates/index.d.ts +2 -2
- package/dist/utils/collect-updates/index.js +18 -18
- package/dist/utils/collect-updates/lib/collect-dependents.d.ts +11 -11
- package/dist/utils/collect-updates/lib/collect-dependents.js +45 -45
- package/dist/utils/collect-updates/lib/collect-packages.d.ts +13 -13
- package/dist/utils/collect-updates/lib/collect-packages.js +33 -33
- package/dist/utils/collect-updates/lib/get-packages-for-option.d.ts +5 -5
- package/dist/utils/collect-updates/lib/get-packages-for-option.js +30 -30
- package/dist/utils/collect-updates/lib/has-tags.d.ts +5 -5
- package/dist/utils/collect-updates/lib/has-tags.js +26 -26
- package/dist/utils/collect-updates/lib/index.d.ts +5 -5
- package/dist/utils/collect-updates/lib/index.js +21 -21
- package/dist/utils/collect-updates/lib/make-diff-predicate.d.ts +7 -7
- package/dist/utils/collect-updates/lib/make-diff-predicate.js +64 -64
- package/dist/utils/conf.d.ts +25 -25
- package/dist/utils/conf.js +255 -255
- package/dist/utils/defaults.d.ts +1 -1
- package/dist/utils/defaults.js +182 -182
- package/dist/utils/defaults.js.map +1 -1
- package/dist/utils/describe-ref.d.ts +37 -37
- package/dist/utils/describe-ref.js +80 -80
- package/dist/utils/env-replace.d.ts +1 -1
- package/dist/utils/env-replace.js +22 -22
- package/dist/utils/find-prefix.d.ts +2 -2
- package/dist/utils/find-prefix.js +48 -48
- package/dist/utils/index.d.ts +23 -22
- package/dist/utils/index.js +39 -38
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/log-package-error.d.ts +5 -5
- package/dist/utils/log-package-error.js +35 -35
- package/dist/utils/nerf-dart.d.ts +1 -1
- package/dist/utils/nerf-dart.js +18 -18
- package/dist/utils/npm-conf.d.ts +4 -4
- package/dist/utils/npm-conf.js +55 -55
- package/dist/utils/output.d.ts +1 -1
- package/dist/utils/output.js +13 -13
- package/dist/utils/parse-field.d.ts +1 -1
- package/dist/utils/parse-field.js +65 -65
- package/dist/utils/prerelease-id-from-version.d.ts +5 -5
- package/dist/utils/prerelease-id-from-version.js +15 -15
- package/dist/utils/pulse-till-done.d.ts +1 -1
- package/dist/utils/pulse-till-done.js +40 -40
- package/dist/utils/query-graph.d.ts +36 -36
- package/dist/utils/query-graph.js +77 -77
- package/dist/utils/query-graph.js.map +1 -1
- package/dist/utils/run-lifecycle.d.ts +10 -10
- package/dist/utils/run-lifecycle.js +131 -107
- package/dist/utils/run-lifecycle.js.map +1 -1
- package/dist/utils/run-topologically.d.ts +12 -12
- package/dist/utils/run-topologically.js +36 -36
- package/dist/utils/temp-write.d.ts +13 -0
- package/dist/utils/temp-write.js +50 -0
- package/dist/utils/temp-write.js.map +1 -0
- package/dist/utils/types.d.ts +131 -129
- package/dist/utils/types.js +138 -138
- package/dist/utils/warn-if-hanging.d.ts +1 -1
- package/dist/utils/warn-if-hanging.js +17 -17
- package/dist/utils/write-log-file.d.ts +1 -1
- package/dist/utils/write-log-file.js +32 -32
- package/dist/validation-error.d.ts +4 -4
- package/dist/validation-error.js +18 -18
- package/package.json +14 -10
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare class ValidationError extends Error {
|
|
2
|
-
prefix: string;
|
|
3
|
-
constructor(prefix: string, message: string, ...rest: string[]);
|
|
4
|
-
}
|
|
1
|
+
export declare class ValidationError extends Error {
|
|
2
|
+
prefix: string;
|
|
3
|
+
constructor(prefix: string, message: string, ...rest: string[]);
|
|
4
|
+
}
|
package/dist/validation-error.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ValidationError = void 0;
|
|
7
|
-
const npmlog_1 = __importDefault(require("npmlog"));
|
|
8
|
-
class ValidationError extends Error {
|
|
9
|
-
constructor(prefix, message, ...rest) {
|
|
10
|
-
super(message);
|
|
11
|
-
this.prefix = '';
|
|
12
|
-
this.name = 'ValidationError';
|
|
13
|
-
this.prefix = prefix;
|
|
14
|
-
npmlog_1.default.resume(); // might be paused, noop otherwise
|
|
15
|
-
npmlog_1.default.error(prefix, message, ...rest);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
exports.ValidationError = ValidationError;
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ValidationError = void 0;
|
|
7
|
+
const npmlog_1 = __importDefault(require("npmlog"));
|
|
8
|
+
class ValidationError extends Error {
|
|
9
|
+
constructor(prefix, message, ...rest) {
|
|
10
|
+
super(message);
|
|
11
|
+
this.prefix = '';
|
|
12
|
+
this.name = 'ValidationError';
|
|
13
|
+
this.prefix = prefix;
|
|
14
|
+
npmlog_1.default.resume(); // might be paused, noop otherwise
|
|
15
|
+
npmlog_1.default.error(prefix, message, ...rest);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.ValidationError = ValidationError;
|
|
19
19
|
//# sourceMappingURL=validation-error.js.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lerna-lite/core",
|
|
3
3
|
"description": "Lerna-Lite core implementation module",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.4.0",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"typings": "dist/index.d.ts",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"/dist"
|
|
13
13
|
],
|
|
14
14
|
"scripts": {
|
|
15
|
-
"build": "tsc --project tsconfig.bundle.json",
|
|
15
|
+
"build": "tsc --project tsconfig.bundle.json --newLine LF",
|
|
16
16
|
"pack-tarball": "npm pack"
|
|
17
17
|
},
|
|
18
18
|
"license": "MIT",
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"npm": ">=8.0.0"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
+
"@npmcli/run-script": "^3.0.3",
|
|
34
35
|
"@octokit/plugin-enterprise-rest": "^6.0.1",
|
|
35
36
|
"@octokit/rest": "^18.12.0",
|
|
36
37
|
"async": "^3.2.3",
|
|
@@ -48,16 +49,18 @@
|
|
|
48
49
|
"git-url-parse": "^11.6.0",
|
|
49
50
|
"glob-parent": "^6.0.2",
|
|
50
51
|
"globby": "^11.1.0",
|
|
52
|
+
"graceful-fs": "^4.1.15",
|
|
51
53
|
"inquirer": "^8.2.4",
|
|
52
54
|
"is-ci": "^3.0.1",
|
|
55
|
+
"is-stream": "^2.0.1",
|
|
53
56
|
"libnpmaccess": "^6.0.3",
|
|
54
57
|
"libnpmpublish": "^6.0.4",
|
|
55
58
|
"load-json-file": "^6.2.0",
|
|
56
|
-
"
|
|
59
|
+
"make-dir": "^3.0.0",
|
|
60
|
+
"minimatch": "^5.1.0",
|
|
57
61
|
"node-fetch": "^2.6.7",
|
|
58
|
-
"npm-lifecycle": "^3.1.5",
|
|
59
62
|
"npm-package-arg": "^9.0.2",
|
|
60
|
-
"npm-packlist": "^5.0
|
|
63
|
+
"npm-packlist": "^5.1.0",
|
|
61
64
|
"npm-registry-fetch": "^13.1.1",
|
|
62
65
|
"npmlog": "^6.0.2",
|
|
63
66
|
"os": "^0.1.2",
|
|
@@ -65,20 +68,21 @@
|
|
|
65
68
|
"p-pipe": "^3.1.0",
|
|
66
69
|
"p-queue": "^6.6.2",
|
|
67
70
|
"p-reduce": "^2.1.0",
|
|
68
|
-
"pacote": "^13.
|
|
71
|
+
"pacote": "^13.5.0",
|
|
69
72
|
"path": "^0.12.7",
|
|
70
73
|
"resolve-from": "^5.0.0",
|
|
71
74
|
"semver": "^7.3.7",
|
|
72
75
|
"slash": "^3.0.0",
|
|
73
|
-
"ssri": "^9.0.
|
|
76
|
+
"ssri": "^9.0.1",
|
|
74
77
|
"strong-log-transformer": "^2.1.0",
|
|
75
78
|
"tar": "^6.1.11",
|
|
76
|
-
"temp-
|
|
79
|
+
"temp-dir": "^1.0.0",
|
|
80
|
+
"uuid": "^8.3.2",
|
|
77
81
|
"whatwg-url": "^11.0.0",
|
|
78
82
|
"write-file-atomic": "^4.0.1",
|
|
79
83
|
"write-json-file": "^4.3.0",
|
|
80
84
|
"write-pkg": "^4.0.0",
|
|
81
|
-
"yargs": "^17.
|
|
85
|
+
"yargs": "^17.5.1"
|
|
82
86
|
},
|
|
83
87
|
"devDependencies": {
|
|
84
88
|
"@types/async": "^3.2.13",
|
|
@@ -104,5 +108,5 @@
|
|
|
104
108
|
"type": "ko_fi",
|
|
105
109
|
"url": "https://ko-fi.com/ghiscoding"
|
|
106
110
|
},
|
|
107
|
-
"gitHead": "
|
|
111
|
+
"gitHead": "9eeeb44874b3ccf392f3aeeca2f7e6b70254f104"
|
|
108
112
|
}
|