@salesforce/sf-plugins-core 1.18.0 → 1.18.1
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/lib/compatibility.js +1 -1
- package/lib/flags/orgFlags.js +2 -0
- package/messages/messages.md +8 -0
- package/package.json +2 -2
package/lib/compatibility.js
CHANGED
|
@@ -67,7 +67,7 @@ exports.requiredOrgFlagWithDeprecations = (0, orgFlags_1.requiredOrgFlag)({
|
|
|
67
67
|
* @deprecated
|
|
68
68
|
*/
|
|
69
69
|
exports.requiredHubFlagWithDeprecations = (0, orgFlags_1.requiredHubFlag)({
|
|
70
|
-
aliases: ['targetdevhubusername'
|
|
70
|
+
aliases: ['targetdevhubusername'],
|
|
71
71
|
deprecateAliases: true,
|
|
72
72
|
});
|
|
73
73
|
//# sourceMappingURL=compatibility.js.map
|
package/lib/flags/orgFlags.js
CHANGED
|
@@ -96,6 +96,7 @@ exports.optionalOrgFlag = core_1.Flags.custom({
|
|
|
96
96
|
*/
|
|
97
97
|
exports.requiredOrgFlag = core_1.Flags.custom({
|
|
98
98
|
char: 'o',
|
|
99
|
+
summary: messages.getMessage('flags.targetOrg.summary'),
|
|
99
100
|
parse: async (input) => getOrgOrThrow(input),
|
|
100
101
|
default: async () => getOrgOrThrow(),
|
|
101
102
|
defaultHelp: async () => (await getOrgOrThrow())?.getUsername(),
|
|
@@ -124,6 +125,7 @@ exports.requiredOrgFlag = core_1.Flags.custom({
|
|
|
124
125
|
*/
|
|
125
126
|
exports.requiredHubFlag = core_1.Flags.custom({
|
|
126
127
|
char: 'v',
|
|
128
|
+
summary: messages.getMessage('flags.targetDevHubOrg.summary'),
|
|
127
129
|
parse: async (input) => getHubOrThrow(input),
|
|
128
130
|
default: async () => getHubOrThrow(),
|
|
129
131
|
defaultHelp: async () => (await getHubOrThrow())?.getUsername(),
|
package/messages/messages.md
CHANGED
|
@@ -34,6 +34,14 @@ No default dev hub found. Use -v or --target-dev-hub to specify an environment.
|
|
|
34
34
|
|
|
35
35
|
The specified org %s is not a Dev Hub.
|
|
36
36
|
|
|
37
|
+
# flags.targetOrg.summary
|
|
38
|
+
|
|
39
|
+
Username or alias of the target org.
|
|
40
|
+
|
|
41
|
+
# flags.targetDevHubOrg.summary
|
|
42
|
+
|
|
43
|
+
Username or alias of the Dev Hub org.
|
|
44
|
+
|
|
37
45
|
# flags.apiVersion.description
|
|
38
46
|
|
|
39
47
|
Override the api version used for api requests made by this command
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/sf-plugins-core",
|
|
3
|
-
"version": "1.18.
|
|
3
|
+
"version": "1.18.1",
|
|
4
4
|
"description": "Utils for writing deploy and retrieve plugins",
|
|
5
5
|
"main": "lib/exported",
|
|
6
6
|
"types": "lib/exported.d.ts",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@salesforce/prettier-config": "^0.0.2",
|
|
47
47
|
"@salesforce/ts-sinon": "^1.4.2",
|
|
48
48
|
"@types/inquirer": "^8.2.3",
|
|
49
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
49
|
+
"@typescript-eslint/eslint-plugin": "^5.42.1",
|
|
50
50
|
"@typescript-eslint/parser": "^5.42.0",
|
|
51
51
|
"chai": "^4.3.6",
|
|
52
52
|
"eslint": "^8.26.0",
|