@salesforce/sf-plugins-core 1.0.1 → 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 +39 -37
- 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 +19 -24
package/CHANGELOG.md
CHANGED
|
@@ -2,136 +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
|
|
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)
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
- bump module versions ([abdf5e3](https://github.com/salesforcecli/sf-plugins-core/commit/abdf5e37205b464a36393ca1887ce90a7c1ba302))
|
|
6
16
|
|
|
17
|
+
### [1.0.3](https://github.com/salesforcecli/sf-plugins-core/compare/v1.0.2...v1.0.3) (2021-10-12)
|
|
18
|
+
|
|
19
|
+
### [1.0.2](https://github.com/salesforcecli/sf-plugins-core/compare/v1.0.1...v1.0.2) (2021-10-11)
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
- bump oclif and sfdx-core versions ([3d38a70](https://github.com/salesforcecli/sf-plugins-core/commit/3d38a70dcad79aa151529bf51d281f68fe92a3ce))
|
|
24
|
+
|
|
25
|
+
### [1.0.1](https://github.com/salesforcecli/sf-plugins-core/compare/v1.0.0...v1.0.1) (2021-10-06)
|
|
7
26
|
|
|
8
27
|
### Bug Fixes
|
|
9
28
|
|
|
10
|
-
|
|
29
|
+
- update inquirer ([067bbfb](https://github.com/salesforcecli/sf-plugins-core/commit/067bbfbbfcd271ae25260e6b83452093b1fe4deb))
|
|
11
30
|
|
|
12
31
|
## [1.0.0](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.28...v1.0.0) (2021-09-29)
|
|
13
32
|
|
|
14
33
|
### [0.0.28](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.27...v0.0.28) (2021-09-29)
|
|
15
34
|
|
|
16
|
-
|
|
17
35
|
### Bug Fixes
|
|
18
36
|
|
|
19
|
-
|
|
37
|
+
- allow empty message in logSensitive ([5b8edf5](https://github.com/salesforcecli/sf-plugins-core/commit/5b8edf509647887500d9e71b506939b3cc6945d9))
|
|
20
38
|
|
|
21
39
|
### [0.0.27](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.26...v0.0.27) (2021-09-29)
|
|
22
40
|
|
|
23
|
-
|
|
24
41
|
### Bug Fixes
|
|
25
42
|
|
|
26
|
-
|
|
43
|
+
- publish messages ([91a6aa6](https://github.com/salesforcecli/sf-plugins-core/commit/91a6aa6c396f9b33049407820d0b8bd9caaa30f4))
|
|
27
44
|
|
|
28
45
|
### [0.0.26](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.25...v0.0.26) (2021-09-29)
|
|
29
46
|
|
|
30
|
-
|
|
31
47
|
### Features
|
|
32
48
|
|
|
33
|
-
|
|
49
|
+
- logSensitive, capture warnings ([a8b3e76](https://github.com/salesforcecli/sf-plugins-core/commit/a8b3e76ff20806b136ee606797b84a70c8f5a528))
|
|
34
50
|
|
|
35
51
|
### [0.0.25](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.24...v0.0.25) (2021-09-21)
|
|
36
52
|
|
|
37
|
-
|
|
38
53
|
### Bug Fixes
|
|
39
54
|
|
|
40
|
-
|
|
55
|
+
- add envirnment type to env list ([8f020df](https://github.com/salesforcecli/sf-plugins-core/commit/8f020dfc8695be19a7fd1f4b811b8c2b8c321418))
|
|
41
56
|
|
|
42
57
|
### [0.0.24](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.23...v0.0.24) (2021-09-16)
|
|
43
58
|
|
|
44
|
-
|
|
45
59
|
### Bug Fixes
|
|
46
60
|
|
|
47
|
-
|
|
61
|
+
- allow null for EnvDisplay ([0868d3f](https://github.com/salesforcecli/sf-plugins-core/commit/0868d3f0ed23e28c53ce11cb447e41b9b0144ac1))
|
|
48
62
|
|
|
49
63
|
### [0.0.23](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.22...v0.0.23) (2021-09-15)
|
|
50
64
|
|
|
51
|
-
|
|
52
65
|
### Bug Fixes
|
|
53
66
|
|
|
54
|
-
|
|
67
|
+
- update to latest oclif/core and enable json flag ([b486ef1](https://github.com/salesforcecli/sf-plugins-core/commit/b486ef173b27ba465cc8fddf53e3a53d339f8734))
|
|
55
68
|
|
|
56
69
|
### [0.0.22](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.21...v0.0.22) (2021-09-15)
|
|
57
70
|
|
|
58
|
-
|
|
59
71
|
### Bug Fixes
|
|
60
72
|
|
|
61
|
-
|
|
73
|
+
- bump oclif/core ([c7a07f7](https://github.com/salesforcecli/sf-plugins-core/commit/c7a07f7671699197f3db93ec750e009eb9dfd56f))
|
|
62
74
|
|
|
63
75
|
### [0.0.21](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.20...v0.0.21) (2021-09-14)
|
|
64
76
|
|
|
65
|
-
|
|
66
77
|
### Bug Fixes
|
|
67
78
|
|
|
68
|
-
|
|
79
|
+
- move sf command to this repo ([968f80f](https://github.com/salesforcecli/sf-plugins-core/commit/968f80f0b8aecd0d47fe8d428c605117828f886f))
|
|
69
80
|
|
|
70
81
|
### [0.0.20](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.19...v0.0.20) (2021-09-14)
|
|
71
82
|
|
|
72
83
|
### [0.0.19](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.18...v0.0.19) (2021-09-13)
|
|
73
84
|
|
|
74
|
-
|
|
75
85
|
### Features
|
|
76
86
|
|
|
77
|
-
|
|
87
|
+
- add logout hook ([4a4d79b](https://github.com/salesforcecli/sf-plugins-core/commit/4a4d79bcd9f2017e70f75967bb0661ae3eb4aa4a))
|
|
78
88
|
|
|
79
89
|
### [0.0.18](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.17...v0.0.18) (2021-09-10)
|
|
80
90
|
|
|
81
|
-
|
|
82
91
|
### Bug Fixes
|
|
83
92
|
|
|
84
|
-
|
|
93
|
+
- missed export ([63086ae](https://github.com/salesforcecli/sf-plugins-core/commit/63086aee3dc26c6f674c0bad8054205ed3992597))
|
|
85
94
|
|
|
86
95
|
### [0.0.17](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.16...v0.0.17) (2021-09-10)
|
|
87
96
|
|
|
88
|
-
|
|
89
97
|
### Features
|
|
90
98
|
|
|
91
|
-
|
|
99
|
+
- add help section helper function ([379d14f](https://github.com/salesforcecli/sf-plugins-core/commit/379d14f45eedc46736f64bb5c37a7f906e235d4c))
|
|
92
100
|
|
|
93
101
|
### [0.0.16](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.15...v0.0.16) (2021-09-08)
|
|
94
102
|
|
|
95
|
-
|
|
96
103
|
### Bug Fixes
|
|
97
104
|
|
|
98
|
-
|
|
105
|
+
- bump oclif/core ([1cd3df6](https://github.com/salesforcecli/sf-plugins-core/commit/1cd3df66dde4d1e5386221e892aa01a7d504261c))
|
|
99
106
|
|
|
100
107
|
### [0.0.15](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.14...v0.0.15) (2021-08-31)
|
|
101
108
|
|
|
102
|
-
|
|
103
109
|
### Bug Fixes
|
|
104
110
|
|
|
105
|
-
|
|
106
|
-
|
|
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))
|
|
107
113
|
|
|
108
114
|
### [0.0.14](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.13...v0.0.14) (2021-08-31)
|
|
109
115
|
|
|
110
|
-
|
|
111
116
|
### Bug Fixes
|
|
112
117
|
|
|
113
|
-
|
|
118
|
+
- improve env types ([e7a7c1d](https://github.com/salesforcecli/sf-plugins-core/commit/e7a7c1df001d02b60c31bcbe5abe4ab31d5faf8d))
|
|
114
119
|
|
|
115
120
|
### [0.0.13](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.12...v0.0.13) (2021-08-30)
|
|
116
121
|
|
|
117
|
-
|
|
118
122
|
### Bug Fixes
|
|
119
123
|
|
|
120
|
-
|
|
124
|
+
- update exports ([548ab46](https://github.com/salesforcecli/sf-plugins-core/commit/548ab4646bd1e2d79dbda0609551e6f805b69d09))
|
|
121
125
|
|
|
122
126
|
### [0.0.12](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.11...v0.0.12) (2021-08-30)
|
|
123
127
|
|
|
124
|
-
|
|
125
128
|
### Features
|
|
126
129
|
|
|
127
|
-
|
|
130
|
+
- support env display ([446af15](https://github.com/salesforcecli/sf-plugins-core/commit/446af15385ed57e7d5ebd40c4a4964b2bf326e16))
|
|
128
131
|
|
|
129
132
|
### [0.0.11](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.10...v0.0.11) (2021-08-30)
|
|
130
133
|
|
|
131
|
-
|
|
132
134
|
### Features
|
|
133
135
|
|
|
134
|
-
|
|
136
|
+
- rename to sf-plugins-core ([e51d6aa](https://github.com/salesforcecli/sf-plugins-core/commit/e51d6aa6879c085ae9efac990d6d406a79615088))
|
|
135
137
|
|
|
136
138
|
### [0.0.10](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.9...v0.0.10) (2021-08-10)
|
|
137
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.
|
|
42
|
-
"@salesforce/core": "
|
|
35
|
+
"@oclif/core": "^1.0.10",
|
|
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"
|