@salesforce/sf-plugins-core 1.0.4 → 1.0.5
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 +27 -41
- package/LICENSE.txt +1 -1
- package/lib/sfCommand.d.ts +2 -2
- package/lib/sfCommand.js +2 -2
- package/lib/types/index.d.ts +3 -3
- package/package.json +18 -23
package/CHANGELOG.md
CHANGED
|
@@ -2,152 +2,138 @@
|
|
|
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.0.
|
|
5
|
+
### [1.0.5](https://github.com/salesforcecli/sf-plugins-core/compare/v1.0.4...v1.0.5) (2021-12-16)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
6
8
|
|
|
9
|
+
- bump dependencies ([4f78d8c](https://github.com/salesforcecli/sf-plugins-core/commit/4f78d8c940aab41bb406c45a9df98f686e626d28))
|
|
10
|
+
|
|
11
|
+
### [1.0.4](https://github.com/salesforcecli/sf-plugins-core/compare/v1.0.3...v1.0.4) (2021-10-13)
|
|
7
12
|
|
|
8
13
|
### Bug Fixes
|
|
9
14
|
|
|
10
|
-
|
|
15
|
+
- bump module versions ([abdf5e3](https://github.com/salesforcecli/sf-plugins-core/commit/abdf5e37205b464a36393ca1887ce90a7c1ba302))
|
|
11
16
|
|
|
12
17
|
### [1.0.3](https://github.com/salesforcecli/sf-plugins-core/compare/v1.0.2...v1.0.3) (2021-10-12)
|
|
13
18
|
|
|
14
19
|
### [1.0.2](https://github.com/salesforcecli/sf-plugins-core/compare/v1.0.1...v1.0.2) (2021-10-11)
|
|
15
20
|
|
|
16
|
-
|
|
17
21
|
### Bug Fixes
|
|
18
22
|
|
|
19
|
-
|
|
23
|
+
- bump oclif and sfdx-core versions ([3d38a70](https://github.com/salesforcecli/sf-plugins-core/commit/3d38a70dcad79aa151529bf51d281f68fe92a3ce))
|
|
20
24
|
|
|
21
25
|
### [1.0.1](https://github.com/salesforcecli/sf-plugins-core/compare/v1.0.0...v1.0.1) (2021-10-06)
|
|
22
26
|
|
|
23
|
-
|
|
24
27
|
### Bug Fixes
|
|
25
28
|
|
|
26
|
-
|
|
29
|
+
- update inquirer ([067bbfb](https://github.com/salesforcecli/sf-plugins-core/commit/067bbfbbfcd271ae25260e6b83452093b1fe4deb))
|
|
27
30
|
|
|
28
31
|
## [1.0.0](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.28...v1.0.0) (2021-09-29)
|
|
29
32
|
|
|
30
33
|
### [0.0.28](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.27...v0.0.28) (2021-09-29)
|
|
31
34
|
|
|
32
|
-
|
|
33
35
|
### Bug Fixes
|
|
34
36
|
|
|
35
|
-
|
|
37
|
+
- allow empty message in logSensitive ([5b8edf5](https://github.com/salesforcecli/sf-plugins-core/commit/5b8edf509647887500d9e71b506939b3cc6945d9))
|
|
36
38
|
|
|
37
39
|
### [0.0.27](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.26...v0.0.27) (2021-09-29)
|
|
38
40
|
|
|
39
|
-
|
|
40
41
|
### Bug Fixes
|
|
41
42
|
|
|
42
|
-
|
|
43
|
+
- publish messages ([91a6aa6](https://github.com/salesforcecli/sf-plugins-core/commit/91a6aa6c396f9b33049407820d0b8bd9caaa30f4))
|
|
43
44
|
|
|
44
45
|
### [0.0.26](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.25...v0.0.26) (2021-09-29)
|
|
45
46
|
|
|
46
|
-
|
|
47
47
|
### Features
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
- logSensitive, capture warnings ([a8b3e76](https://github.com/salesforcecli/sf-plugins-core/commit/a8b3e76ff20806b136ee606797b84a70c8f5a528))
|
|
50
50
|
|
|
51
51
|
### [0.0.25](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.24...v0.0.25) (2021-09-21)
|
|
52
52
|
|
|
53
|
-
|
|
54
53
|
### Bug Fixes
|
|
55
54
|
|
|
56
|
-
|
|
55
|
+
- add envirnment type to env list ([8f020df](https://github.com/salesforcecli/sf-plugins-core/commit/8f020dfc8695be19a7fd1f4b811b8c2b8c321418))
|
|
57
56
|
|
|
58
57
|
### [0.0.24](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.23...v0.0.24) (2021-09-16)
|
|
59
58
|
|
|
60
|
-
|
|
61
59
|
### Bug Fixes
|
|
62
60
|
|
|
63
|
-
|
|
61
|
+
- allow null for EnvDisplay ([0868d3f](https://github.com/salesforcecli/sf-plugins-core/commit/0868d3f0ed23e28c53ce11cb447e41b9b0144ac1))
|
|
64
62
|
|
|
65
63
|
### [0.0.23](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.22...v0.0.23) (2021-09-15)
|
|
66
64
|
|
|
67
|
-
|
|
68
65
|
### Bug Fixes
|
|
69
66
|
|
|
70
|
-
|
|
67
|
+
- update to latest oclif/core and enable json flag ([b486ef1](https://github.com/salesforcecli/sf-plugins-core/commit/b486ef173b27ba465cc8fddf53e3a53d339f8734))
|
|
71
68
|
|
|
72
69
|
### [0.0.22](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.21...v0.0.22) (2021-09-15)
|
|
73
70
|
|
|
74
|
-
|
|
75
71
|
### Bug Fixes
|
|
76
72
|
|
|
77
|
-
|
|
73
|
+
- bump oclif/core ([c7a07f7](https://github.com/salesforcecli/sf-plugins-core/commit/c7a07f7671699197f3db93ec750e009eb9dfd56f))
|
|
78
74
|
|
|
79
75
|
### [0.0.21](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.20...v0.0.21) (2021-09-14)
|
|
80
76
|
|
|
81
|
-
|
|
82
77
|
### Bug Fixes
|
|
83
78
|
|
|
84
|
-
|
|
79
|
+
- move sf command to this repo ([968f80f](https://github.com/salesforcecli/sf-plugins-core/commit/968f80f0b8aecd0d47fe8d428c605117828f886f))
|
|
85
80
|
|
|
86
81
|
### [0.0.20](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.19...v0.0.20) (2021-09-14)
|
|
87
82
|
|
|
88
83
|
### [0.0.19](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.18...v0.0.19) (2021-09-13)
|
|
89
84
|
|
|
90
|
-
|
|
91
85
|
### Features
|
|
92
86
|
|
|
93
|
-
|
|
87
|
+
- add logout hook ([4a4d79b](https://github.com/salesforcecli/sf-plugins-core/commit/4a4d79bcd9f2017e70f75967bb0661ae3eb4aa4a))
|
|
94
88
|
|
|
95
89
|
### [0.0.18](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.17...v0.0.18) (2021-09-10)
|
|
96
90
|
|
|
97
|
-
|
|
98
91
|
### Bug Fixes
|
|
99
92
|
|
|
100
|
-
|
|
93
|
+
- missed export ([63086ae](https://github.com/salesforcecli/sf-plugins-core/commit/63086aee3dc26c6f674c0bad8054205ed3992597))
|
|
101
94
|
|
|
102
95
|
### [0.0.17](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.16...v0.0.17) (2021-09-10)
|
|
103
96
|
|
|
104
|
-
|
|
105
97
|
### Features
|
|
106
98
|
|
|
107
|
-
|
|
99
|
+
- add help section helper function ([379d14f](https://github.com/salesforcecli/sf-plugins-core/commit/379d14f45eedc46736f64bb5c37a7f906e235d4c))
|
|
108
100
|
|
|
109
101
|
### [0.0.16](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.15...v0.0.16) (2021-09-08)
|
|
110
102
|
|
|
111
|
-
|
|
112
103
|
### Bug Fixes
|
|
113
104
|
|
|
114
|
-
|
|
105
|
+
- bump oclif/core ([1cd3df6](https://github.com/salesforcecli/sf-plugins-core/commit/1cd3df66dde4d1e5386221e892aa01a7d504261c))
|
|
115
106
|
|
|
116
107
|
### [0.0.15](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.14...v0.0.15) (2021-08-31)
|
|
117
108
|
|
|
118
|
-
|
|
119
109
|
### Bug Fixes
|
|
120
110
|
|
|
121
|
-
|
|
122
|
-
|
|
111
|
+
- improve jsdocs ([e3e3784](https://github.com/salesforcecli/sf-plugins-core/commit/e3e3784954fc2d6b06f96459c824cf77795a9de9))
|
|
112
|
+
- improve jsdocs ([aefdd06](https://github.com/salesforcecli/sf-plugins-core/commit/aefdd06b164d413b3f3c4d51b36dea475efcc3ef))
|
|
123
113
|
|
|
124
114
|
### [0.0.14](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.13...v0.0.14) (2021-08-31)
|
|
125
115
|
|
|
126
|
-
|
|
127
116
|
### Bug Fixes
|
|
128
117
|
|
|
129
|
-
|
|
118
|
+
- improve env types ([e7a7c1d](https://github.com/salesforcecli/sf-plugins-core/commit/e7a7c1df001d02b60c31bcbe5abe4ab31d5faf8d))
|
|
130
119
|
|
|
131
120
|
### [0.0.13](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.12...v0.0.13) (2021-08-30)
|
|
132
121
|
|
|
133
|
-
|
|
134
122
|
### Bug Fixes
|
|
135
123
|
|
|
136
|
-
|
|
124
|
+
- update exports ([548ab46](https://github.com/salesforcecli/sf-plugins-core/commit/548ab4646bd1e2d79dbda0609551e6f805b69d09))
|
|
137
125
|
|
|
138
126
|
### [0.0.12](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.11...v0.0.12) (2021-08-30)
|
|
139
127
|
|
|
140
|
-
|
|
141
128
|
### Features
|
|
142
129
|
|
|
143
|
-
|
|
130
|
+
- support env display ([446af15](https://github.com/salesforcecli/sf-plugins-core/commit/446af15385ed57e7d5ebd40c4a4964b2bf326e16))
|
|
144
131
|
|
|
145
132
|
### [0.0.11](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.10...v0.0.11) (2021-08-30)
|
|
146
133
|
|
|
147
|
-
|
|
148
134
|
### Features
|
|
149
135
|
|
|
150
|
-
|
|
136
|
+
- rename to sf-plugins-core ([e51d6aa](https://github.com/salesforcecli/sf-plugins-core/commit/e51d6aa6879c085ae9efac990d6d406a79615088))
|
|
151
137
|
|
|
152
138
|
### [0.0.10](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.9...v0.0.10) (2021-08-10)
|
|
153
139
|
|
package/LICENSE.txt
CHANGED
package/lib/sfCommand.d.ts
CHANGED
|
@@ -9,8 +9,8 @@ export interface SfCommandInterface extends Interfaces.Command {
|
|
|
9
9
|
* output formatting. Extend this command and set specific properties
|
|
10
10
|
* to add help sections to the command's help output.
|
|
11
11
|
*
|
|
12
|
-
* @extends @oclif/command
|
|
13
|
-
* @see https://github.com/oclif/command
|
|
12
|
+
* @extends @oclif/core/command
|
|
13
|
+
* @see https://github.com/oclif/core/blob/main/src/command.ts
|
|
14
14
|
*/
|
|
15
15
|
export declare abstract class SfCommand<T> extends Command {
|
|
16
16
|
static enableJsonFlag: boolean;
|
package/lib/sfCommand.js
CHANGED
|
@@ -16,8 +16,8 @@ const messages = core_2.Messages.loadMessages('@salesforce/sf-plugins-core', 'me
|
|
|
16
16
|
* output formatting. Extend this command and set specific properties
|
|
17
17
|
* to add help sections to the command's help output.
|
|
18
18
|
*
|
|
19
|
-
* @extends @oclif/command
|
|
20
|
-
* @see https://github.com/oclif/command
|
|
19
|
+
* @extends @oclif/core/command
|
|
20
|
+
* @see https://github.com/oclif/core/blob/main/src/command.ts
|
|
21
21
|
*/
|
|
22
22
|
class SfCommand extends core_1.Command {
|
|
23
23
|
constructor() {
|
package/lib/types/index.d.ts
CHANGED
|
@@ -95,19 +95,19 @@ export declare namespace EnvList {
|
|
|
95
95
|
}
|
|
96
96
|
export declare namespace Deploy {
|
|
97
97
|
type HookMeta<T extends Deployer> = {
|
|
98
|
-
options:
|
|
98
|
+
options: Record<string, unknown>;
|
|
99
99
|
return: T[];
|
|
100
100
|
};
|
|
101
101
|
}
|
|
102
102
|
export declare namespace Login {
|
|
103
103
|
type HookMeta = {
|
|
104
|
-
options:
|
|
104
|
+
options: Record<string, unknown>;
|
|
105
105
|
return: void;
|
|
106
106
|
};
|
|
107
107
|
}
|
|
108
108
|
export declare namespace Logout {
|
|
109
109
|
type HookMeta<T extends Deauthorizer> = {
|
|
110
|
-
options:
|
|
110
|
+
options: Record<string, unknown>;
|
|
111
111
|
return: T;
|
|
112
112
|
};
|
|
113
113
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/sf-plugins-core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "Utils for writing deploy and retrieve plugins",
|
|
5
5
|
"main": "lib/exported",
|
|
6
6
|
"types": "lib/exported.d.ts",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"build": "sf-build",
|
|
10
10
|
"ci-docs": "yarn sf-ci-docs",
|
|
11
11
|
"clean": "sf-clean",
|
|
12
|
-
"clean-all": "sf
|
|
12
|
+
"clean-all": "sf-clean all",
|
|
13
13
|
"compile": "sf-compile",
|
|
14
14
|
"docs": "sf-docs",
|
|
15
15
|
"format": "sf-format",
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"lint-fix": "yarn sf-lint --fix",
|
|
18
18
|
"postcompile": "tsc -p test",
|
|
19
19
|
"prepack": "sf-prepack",
|
|
20
|
+
"prepare": "sf-install",
|
|
20
21
|
"pretest": "sf-compile-test",
|
|
21
22
|
"test": "sf-test"
|
|
22
23
|
},
|
|
@@ -30,48 +31,42 @@
|
|
|
30
31
|
"!lib/**/*.map",
|
|
31
32
|
"/messages"
|
|
32
33
|
],
|
|
33
|
-
"husky": {
|
|
34
|
-
"hooks": {
|
|
35
|
-
"commit-msg": "sf-husky-commit-msg",
|
|
36
|
-
"pre-commit": "sf-husky-pre-commit",
|
|
37
|
-
"pre-push": "sf-husky-pre-push"
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
34
|
"dependencies": {
|
|
41
|
-
"@oclif/core": "^1.0.
|
|
35
|
+
"@oclif/core": "^1.0.10",
|
|
42
36
|
"@salesforce/core": "3.6.6",
|
|
43
37
|
"@salesforce/kit": "^1.5.17",
|
|
44
38
|
"@salesforce/ts-types": "^1.5.20",
|
|
45
|
-
"cli-ux": "^
|
|
39
|
+
"cli-ux": "^6.0.6",
|
|
46
40
|
"inquirer": "^8.2.0"
|
|
47
41
|
},
|
|
48
42
|
"devDependencies": {
|
|
49
43
|
"@salesforce/dev-config": "^2.1.2",
|
|
50
|
-
"@salesforce/dev-scripts": "^0.
|
|
44
|
+
"@salesforce/dev-scripts": "^1.0.2",
|
|
51
45
|
"@salesforce/prettier-config": "^0.0.2",
|
|
52
46
|
"@salesforce/ts-sinon": "^1.2.3",
|
|
53
47
|
"@types/inquirer": "^8.1.3",
|
|
54
|
-
"@typescript-eslint/eslint-plugin": "^2.
|
|
55
|
-
"@typescript-eslint/parser": "^2.
|
|
48
|
+
"@typescript-eslint/eslint-plugin": "^4.2.0",
|
|
49
|
+
"@typescript-eslint/parser": "^4.2.0",
|
|
50
|
+
"chai": "^4.2.0",
|
|
56
51
|
"eslint": "^6.8.0",
|
|
57
52
|
"eslint-config-prettier": "^6.11.0",
|
|
58
|
-
"eslint-config-salesforce": "^0.1.
|
|
59
|
-
"eslint-config-salesforce-license": "^0.1.
|
|
60
|
-
"eslint-config-salesforce-typescript": "^0.
|
|
53
|
+
"eslint-config-salesforce": "^0.1.6",
|
|
54
|
+
"eslint-config-salesforce-license": "^0.1.6",
|
|
55
|
+
"eslint-config-salesforce-typescript": "^0.2.7",
|
|
61
56
|
"eslint-plugin-header": "^3.0.0",
|
|
62
57
|
"eslint-plugin-import": "^2.20.2",
|
|
63
58
|
"eslint-plugin-jsdoc": "^27.0.3",
|
|
64
59
|
"eslint-plugin-prettier": "^3.1.3",
|
|
65
|
-
"husky": "^
|
|
66
|
-
"mocha": "^
|
|
60
|
+
"husky": "^7.0.4",
|
|
61
|
+
"mocha": "^8.4.0",
|
|
67
62
|
"nyc": "^15.1.0",
|
|
68
63
|
"prettier": "^2.0.5",
|
|
69
|
-
"pretty-quick": "^
|
|
64
|
+
"pretty-quick": "^3.1.0",
|
|
70
65
|
"shelljs": "0.8.1",
|
|
71
|
-
"sinon": "
|
|
66
|
+
"sinon": "10.0.0",
|
|
72
67
|
"strip-ansi": "6.0.0",
|
|
73
|
-
"ts-node": "^
|
|
74
|
-
"typescript": "^4"
|
|
68
|
+
"ts-node": "^10.4.0",
|
|
69
|
+
"typescript": "^4.1.3"
|
|
75
70
|
},
|
|
76
71
|
"publishConfig": {
|
|
77
72
|
"access": "public"
|