@salesforce/sf-plugins-core 1.5.1 → 1.5.2
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/CHANGELOG.md +7 -0
- package/lib/sfCommand.js +1 -1
- package/lib/ux/ux.d.ts +1 -0
- package/lib/ux/ux.js +3 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [1.5.2](https://github.com/salesforcecli/sf-plugins-core/compare/v1.5.1...v1.5.2) (2022-03-07)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- add styled header function to sf command ([5cc0e8b](https://github.com/salesforcecli/sf-plugins-core/commit/5cc0e8bf60774918c2ebaf2ba5b465f3dd6caf15))
|
|
10
|
+
- retrhow ([eaebd44](https://github.com/salesforcecli/sf-plugins-core/commit/eaebd44d0028cedab92173ed30050757602d2c28))
|
|
11
|
+
|
|
5
12
|
### [1.5.1](https://github.com/salesforcecli/sf-plugins-core/compare/v1.5.0...v1.5.1) (2022-03-07)
|
|
6
13
|
|
|
7
14
|
## [1.5.0](https://github.com/salesforcecli/sf-plugins-core/compare/v1.4.1...v1.5.0) (2022-03-03)
|
package/lib/sfCommand.js
CHANGED
|
@@ -158,7 +158,7 @@ class SfCommand extends core_1.Command {
|
|
|
158
158
|
if (this.jsonEnabled()) {
|
|
159
159
|
core_1.CliUx.ux.styledJSON(this.toErrorJson(error));
|
|
160
160
|
}
|
|
161
|
-
|
|
161
|
+
throw error;
|
|
162
162
|
}
|
|
163
163
|
/**
|
|
164
164
|
* Format errors and actions for human consumption. Adds 'Error:',
|
package/lib/ux/ux.d.ts
CHANGED
package/lib/ux/ux.js
CHANGED
|
@@ -25,6 +25,9 @@ class Ux extends base_1.UxBase {
|
|
|
25
25
|
styledObject(obj) {
|
|
26
26
|
this.maybeNoop(() => core_1.CliUx.ux.styledObject(obj));
|
|
27
27
|
}
|
|
28
|
+
styledHeader(text) {
|
|
29
|
+
this.maybeNoop(() => core_1.CliUx.ux.styledHeader(text));
|
|
30
|
+
}
|
|
28
31
|
}
|
|
29
32
|
exports.Ux = Ux;
|
|
30
33
|
//# sourceMappingURL=ux.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/sf-plugins-core",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.2",
|
|
4
4
|
"description": "Utils for writing deploy and retrieve plugins",
|
|
5
5
|
"main": "lib/exported",
|
|
6
6
|
"types": "lib/exported.d.ts",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"/messages"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@oclif/core": "^1.5.
|
|
36
|
-
"@salesforce/core": "^3.7.
|
|
35
|
+
"@oclif/core": "^1.5.2",
|
|
36
|
+
"@salesforce/core": "^3.7.9",
|
|
37
37
|
"@salesforce/kit": "^1.5.34",
|
|
38
38
|
"@salesforce/ts-types": "^1.5.20",
|
|
39
39
|
"chalk": "^2.4.2",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"shelljs": "0.8.5",
|
|
67
67
|
"sinon": "10.0.1",
|
|
68
68
|
"strip-ansi": "6.0.1",
|
|
69
|
-
"ts-node": "^10.
|
|
69
|
+
"ts-node": "^10.7.0",
|
|
70
70
|
"typescript": "^4.5.5"
|
|
71
71
|
},
|
|
72
72
|
"publishConfig": {
|