@salesforce/sf-plugins-core 1.13.0 → 1.14.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/lib/deployer.d.ts CHANGED
@@ -2,6 +2,9 @@
2
2
  import { EventEmitter } from 'events';
3
3
  import { AnyJson, JsonMap } from '@salesforce/ts-types';
4
4
  import { QuestionCollection } from 'inquirer';
5
+ export declare type DeployerResult = {
6
+ exitCode: number;
7
+ };
5
8
  export declare abstract class Deployable {
6
9
  abstract getName(): string;
7
10
  abstract getType(): string;
@@ -51,7 +54,7 @@ export declare abstract class Deployer extends EventEmitter {
51
54
  /**
52
55
  * Deploy the app.
53
56
  */
54
- abstract deploy(): Promise<void>;
57
+ abstract deploy<R extends DeployerResult>(): Promise<void | R>;
55
58
  }
56
59
  export declare namespace Deployer {
57
60
  type Flags = {
package/lib/exported.d.ts CHANGED
@@ -1,28 +1,32 @@
1
1
  /// <reference types="node" />
2
+ import { Flags as OclifFlags } from '@oclif/core';
2
3
  export { toHelpSection } from './util';
3
- export { Deployable, Deployer } from './deployer';
4
+ export { Deployable, Deployer, DeployerResult } from './deployer';
4
5
  export { Deauthorizer } from './deauthorizer';
5
6
  export { Progress, Prompter, generateTableChoices } from './ux';
6
7
  export { SfHook } from './hooks';
7
8
  export * from './types';
8
9
  export { SfCommand, SfCommandInterface, StandardColors } from './sfCommand';
9
10
  export declare const Flags: {
10
- boolean: typeof import("@oclif/core/lib/parser/flags").boolean;
11
- directory: (opts?: ({
11
+ boolean: typeof OclifFlags.boolean;
12
+ directory: import("@oclif/core/lib/interfaces").Definition<string, {
12
13
  exists?: boolean | undefined;
13
- } & Partial<import("@oclif/core/lib/interfaces").OptionFlag<string>>) | undefined) => import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
14
- enum: <T = string>(opts: import("@oclif/core/lib/interfaces").EnumFlagOptions<T>) => import("@oclif/core/lib/interfaces").OptionFlag<T>;
15
- file: (opts?: ({
14
+ }>;
15
+ enum: typeof OclifFlags._enum;
16
+ file: import("@oclif/core/lib/interfaces").Definition<string, {
16
17
  exists?: boolean | undefined;
17
- } & Partial<import("@oclif/core/lib/interfaces").OptionFlag<string>>) | undefined) => import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
18
- integer: import("@oclif/core/lib/interfaces").Definition<number>;
19
- string: import("@oclif/core/lib/interfaces").Definition<string>;
20
- url: import("@oclif/core/lib/interfaces").Definition<import("url").URL>;
21
- duration: (durationConfig: import("./flags/duration").DurationFlagConfig) => import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/kit").Duration | undefined>;
22
- salesforceId: (inputs?: import("./flags/salesforceId").IdFlagConfig) => import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
23
- orgApiVersion: import("@oclif/core/lib/interfaces").Definition<string>;
24
- requiredOrg: import("@oclif/core/lib/interfaces").Definition<import("@salesforce/core").Org>;
25
- requiredHub: import("@oclif/core/lib/interfaces").Definition<import("@salesforce/core").Org>;
26
- optionalOrg: import("@oclif/core/lib/interfaces").Definition<import("@salesforce/core").Org | undefined>;
18
+ }>;
19
+ integer: import("@oclif/core/lib/interfaces").Definition<number, {
20
+ min?: number | undefined;
21
+ max?: number | undefined;
22
+ }>;
23
+ string: import("@oclif/core/lib/interfaces").Definition<string, Record<string, unknown>>;
24
+ url: import("@oclif/core/lib/interfaces").Definition<import("url").URL, Record<string, unknown>>;
25
+ duration: import("@oclif/core/lib/interfaces").Definition<import("@salesforce/kit").Duration, import("./flags/duration").DurationFlagConfig>;
26
+ salesforceId: import("@oclif/core/lib/interfaces").Definition<string, import("./flags/salesforceId").IdFlagConfig>;
27
+ orgApiVersion: import("@oclif/core/lib/interfaces").Definition<string, Record<string, unknown>>;
28
+ requiredOrg: import("@oclif/core/lib/interfaces").Definition<import("@salesforce/core").Org, Record<string, unknown>>;
29
+ requiredHub: import("@oclif/core/lib/interfaces").Definition<import("@salesforce/core").Org, Record<string, unknown>>;
30
+ optionalOrg: import("@oclif/core/lib/interfaces").Definition<import("@salesforce/core").Org | undefined, Record<string, unknown>>;
27
31
  };
28
32
  //# sourceMappingURL=exported.d.ts.map
@@ -1,12 +1,11 @@
1
- import { Interfaces } from '@oclif/core';
2
1
  import { Duration } from '@salesforce/kit';
3
2
  declare type DurationUnit = Lowercase<keyof typeof Duration.Unit>;
4
- export interface DurationFlagConfig extends Partial<Interfaces.OptionFlag<Duration>> {
3
+ export declare type DurationFlagConfig = {
5
4
  unit: Required<DurationUnit>;
6
5
  defaultValue?: number;
7
6
  min?: number;
8
7
  max?: number;
9
- }
8
+ };
10
9
  /**
11
10
  * Duration flag with built-in default and min/max validation
12
11
  * You must specify a unit
@@ -24,6 +23,6 @@ export interface DurationFlagConfig extends Partial<Interfaces.OptionFlag<Durati
24
23
  * }),
25
24
  * }
26
25
  */
27
- export declare const durationFlag: (durationConfig: DurationFlagConfig) => Interfaces.OptionFlag<Duration | undefined>;
26
+ export declare const durationFlag: import("@oclif/core/lib/interfaces").Definition<Duration, DurationFlagConfig>;
28
27
  export {};
29
28
  //# sourceMappingURL=duration.d.ts.map
@@ -29,15 +29,12 @@ const messages = core_2.Messages.loadMessages('@salesforce/sf-plugins-core', 'me
29
29
  * }),
30
30
  * }
31
31
  */
32
- const durationFlag = (durationConfig) => {
33
- const { defaultValue, min, max, unit, ...baseProps } = durationConfig;
34
- return core_1.Flags.build({
35
- ...baseProps,
36
- parse: async (input) => validate(input, { min, max, unit }),
37
- default: defaultValue ? async () => toDuration(defaultValue, unit) : undefined,
38
- })();
39
- };
40
- exports.durationFlag = durationFlag;
32
+ exports.durationFlag = core_1.Flags.custom({
33
+ parse: async (input, _, opts) => validate(input, opts),
34
+ default: async (context) => {
35
+ return context.options.defaultValue ? toDuration(context.options.defaultValue, context.options.unit) : undefined;
36
+ },
37
+ });
41
38
  const validate = (input, config) => {
42
39
  const { min, max, unit } = config || {};
43
40
  let parsedInput;
@@ -9,5 +9,5 @@ export declare const maxDeprecatedUrl = "https://help.salesforce.com/s/articleVi
9
9
  * CAVEAT: unlike the apiversion flag on sfdxCommand, this does not set the version on the org/connection
10
10
  * We leave this up to the plugins to implement
11
11
  */
12
- export declare const orgApiVersionFlag: import("@oclif/core/lib/interfaces").Definition<string>;
12
+ export declare const orgApiVersionFlag: import("@oclif/core/lib/interfaces").Definition<string, Record<string, unknown>>;
13
13
  //# sourceMappingURL=orgApiVersion.d.ts.map
@@ -24,7 +24,7 @@ exports.maxDeprecatedUrl = 'https://help.salesforce.com/s/articleView?id=0003544
24
24
  * CAVEAT: unlike the apiversion flag on sfdxCommand, this does not set the version on the org/connection
25
25
  * We leave this up to the plugins to implement
26
26
  */
27
- exports.orgApiVersionFlag = core_1.Flags.build({
27
+ exports.orgApiVersionFlag = core_1.Flags.custom({
28
28
  parse: async (input) => validate(input),
29
29
  default: async () => await getDefaultFromConfig(),
30
30
  description: messages.getMessage('flags.apiVersion.description'),
@@ -16,7 +16,7 @@ import { Org } from '@salesforce/core';
16
16
  * }),
17
17
  * }
18
18
  */
19
- export declare const optionalOrgFlag: import("@oclif/core/lib/interfaces").Definition<Org | undefined>;
19
+ export declare const optionalOrgFlag: import("@oclif/core/lib/interfaces").Definition<Org | undefined, Record<string, unknown>>;
20
20
  /**
21
21
  * A required org, specified by username or alias
22
22
  * Will throw if the specified org default do not exist
@@ -36,7 +36,7 @@ export declare const optionalOrgFlag: import("@oclif/core/lib/interfaces").Defin
36
36
  * }),
37
37
  * }
38
38
  */
39
- export declare const requiredOrgFlag: import("@oclif/core/lib/interfaces").Definition<Org>;
39
+ export declare const requiredOrgFlag: import("@oclif/core/lib/interfaces").Definition<Org, Record<string, unknown>>;
40
40
  /**
41
41
  * A required org that is a devHub
42
42
  * Will throw if the specified org does not exist
@@ -56,5 +56,5 @@ export declare const requiredOrgFlag: import("@oclif/core/lib/interfaces").Defin
56
56
  * }),
57
57
  * }
58
58
  */
59
- export declare const requiredHubFlag: import("@oclif/core/lib/interfaces").Definition<Org>;
59
+ export declare const requiredHubFlag: import("@oclif/core/lib/interfaces").Definition<Org, Record<string, unknown>>;
60
60
  //# sourceMappingURL=orgFlags.d.ts.map
@@ -64,7 +64,7 @@ const getHubOrThrow = async (aliasOrUsername) => {
64
64
  * }),
65
65
  * }
66
66
  */
67
- exports.optionalOrgFlag = core_1.Flags.build({
67
+ exports.optionalOrgFlag = core_1.Flags.custom({
68
68
  char: 'e',
69
69
  parse: async (input) => await maybeGetOrg(input),
70
70
  default: async () => await maybeGetOrg(),
@@ -89,7 +89,7 @@ exports.optionalOrgFlag = core_1.Flags.build({
89
89
  * }),
90
90
  * }
91
91
  */
92
- exports.requiredOrgFlag = core_1.Flags.build({
92
+ exports.requiredOrgFlag = core_1.Flags.custom({
93
93
  char: 'e',
94
94
  parse: async (input) => await getOrgOrThrow(input),
95
95
  default: async () => await getOrgOrThrow(),
@@ -114,7 +114,7 @@ exports.requiredOrgFlag = core_1.Flags.build({
114
114
  * }),
115
115
  * }
116
116
  */
117
- exports.requiredHubFlag = core_1.Flags.build({
117
+ exports.requiredHubFlag = core_1.Flags.custom({
118
118
  char: 'v',
119
119
  parse: async (input) => await getHubOrThrow(input),
120
120
  default: async () => await getHubOrThrow(),
@@ -1,5 +1,4 @@
1
- import { Interfaces } from '@oclif/core';
2
- export interface IdFlagConfig extends Partial<Interfaces.OptionFlag<string>> {
1
+ export declare type IdFlagConfig = {
3
2
  /**
4
3
  * Can specify if the version must be 15 or 18 characters long. Leave blank to allow either 15 or 18.
5
4
  */
@@ -8,7 +7,7 @@ export interface IdFlagConfig extends Partial<Interfaces.OptionFlag<string>> {
8
7
  * If the ID belongs to a certain sobject type, specify the 3 character prefix.
9
8
  */
10
9
  startsWith?: string;
11
- }
10
+ };
12
11
  /**
13
12
  * Id flag with built-in validation. Short character is `i`
14
13
  *
@@ -28,5 +27,5 @@ export interface IdFlagConfig extends Partial<Interfaces.OptionFlag<string>> {
28
27
  * }),
29
28
  * }
30
29
  */
31
- export declare const salesforceIdFlag: (inputs?: IdFlagConfig) => Interfaces.OptionFlag<string | undefined>;
30
+ export declare const salesforceIdFlag: import("@oclif/core/lib/interfaces").Definition<string, IdFlagConfig>;
32
31
  //# sourceMappingURL=salesforceId.d.ts.map
@@ -30,15 +30,10 @@ const messages = core_2.Messages.loadMessages('@salesforce/sf-plugins-core', 'me
30
30
  * }),
31
31
  * }
32
32
  */
33
- const salesforceIdFlag = (inputs = {}) => {
34
- const { length, startsWith, ...baseProps } = inputs;
35
- return core_1.Flags.build({
36
- char: 'i',
37
- ...baseProps,
38
- parse: async (input) => validate(input, { length, startsWith }),
39
- })();
40
- };
41
- exports.salesforceIdFlag = salesforceIdFlag;
33
+ exports.salesforceIdFlag = core_1.Flags.custom({
34
+ parse: async (input, _ctx, opts) => validate(input, opts),
35
+ char: 'i',
36
+ });
42
37
  const validate = (input, config) => {
43
38
  const { length, startsWith } = config || {};
44
39
  if (length && input.length !== length) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/sf-plugins-core",
3
- "version": "1.13.0",
3
+ "version": "1.14.0",
4
4
  "description": "Utils for writing deploy and retrieve plugins",
5
5
  "main": "lib/exported",
6
6
  "types": "lib/exported.d.ts",
@@ -32,9 +32,9 @@
32
32
  "/messages"
33
33
  ],
34
34
  "dependencies": {
35
- "@oclif/core": "^1.9.0",
36
- "@salesforce/core": "^3.19.2",
37
- "@salesforce/kit": "^1.5.41",
35
+ "@oclif/core": "^1.15.0",
36
+ "@salesforce/core": "^3.25.0",
37
+ "@salesforce/kit": "^1.5.44",
38
38
  "@salesforce/ts-types": "^1.5.20",
39
39
  "chalk": "^4",
40
40
  "inquirer": "^8.2.0"
@@ -49,14 +49,14 @@
49
49
  "@typescript-eslint/eslint-plugin": "^4.33.0",
50
50
  "@typescript-eslint/parser": "^4.33.0",
51
51
  "chai": "^4.3.6",
52
- "eslint": "^6.8.0",
52
+ "eslint": "^7.32.0",
53
53
  "eslint-config-prettier": "^6.15.0",
54
54
  "eslint-config-salesforce": "^0.1.6",
55
55
  "eslint-config-salesforce-license": "^0.1.6",
56
56
  "eslint-config-salesforce-typescript": "^0.2.8",
57
57
  "eslint-plugin-header": "^3.1.1",
58
58
  "eslint-plugin-import": "^2.25.4",
59
- "eslint-plugin-jsdoc": "^27.1.2",
59
+ "eslint-plugin-jsdoc": "^35.1.2",
60
60
  "eslint-plugin-prettier": "^3.4.1",
61
61
  "husky": "^7.0.4",
62
62
  "mocha": "^8.4.0",
package/CHANGELOG.md DELETED
@@ -1,380 +0,0 @@
1
- # Changelog
2
-
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
-
5
- ## [1.13.0](https://github.com/salesforcecli/sf-plugins-core/compare/v1.12.3...v1.13.0) (2022-06-09)
6
-
7
- ### Features
8
-
9
- - catch method supports base and SfError ([2b9a038](https://github.com/salesforcecli/sf-plugins-core/commit/2b9a038713c77e1230e21f5cc6f8ae2a6aaab5be))
10
-
11
- ### Bug Fixes
12
-
13
- - error can't be spread ([30930b7](https://github.com/salesforcecli/sf-plugins-core/commit/30930b74ff5e6b59116228d547362a284ad98388))
14
-
15
- ### [1.12.3](https://github.com/salesforcecli/sf-plugins-core/compare/v1.12.2...v1.12.3) (2022-05-04)
16
-
17
- ### Bug Fixes
18
-
19
- - prevent multiple starts of progress bar ([8ec788c](https://github.com/salesforcecli/sf-plugins-core/commit/8ec788cfda452d2c227631fde64e01786f6f6a49))
20
- - stop using once ([970fb80](https://github.com/salesforcecli/sf-plugins-core/commit/970fb808ad14a8d8bce0daabd78854c4a046e621))
21
-
22
- ### [1.12.2](https://github.com/salesforcecli/sf-plugins-core/compare/v1.12.1...v1.12.2) (2022-05-03)
23
-
24
- ### Bug Fixes
25
-
26
- - update error message ([182cfa3](https://github.com/salesforcecli/sf-plugins-core/commit/182cfa30beb4e7fe052a0453d141e19ba7129647))
27
-
28
- ### [1.12.1](https://github.com/salesforcecli/sf-plugins-core/compare/v1.12.0...v1.12.1) (2022-04-20)
29
-
30
- ### Bug Fixes
31
-
32
- - update config vars ([0c557b5](https://github.com/salesforcecli/sf-plugins-core/commit/0c557b59f6b833a6fe2812d9a765a2f006f57b01))
33
-
34
- ## [1.12.0](https://github.com/salesforcecli/sf-plugins-core/compare/v1.11.3...v1.12.0) (2022-04-18)
35
-
36
- ### Features
37
-
38
- - adjusting message colors for accessibility ([6f873da](https://github.com/salesforcecli/sf-plugins-core/commit/6f873daf2e05c2ec0b52b357b15333a3b68e106e))
39
-
40
- ### [1.11.3](https://github.com/salesforcecli/sf-plugins-core/compare/v1.11.2...v1.11.3) (2022-04-12)
41
-
42
- ### Bug Fixes
43
-
44
- - need await in order for the catch to be effective ([2805578](https://github.com/salesforcecli/sf-plugins-core/commit/28055783503177667620528b6246b252ff10cb7f))
45
-
46
- ### [1.11.2](https://github.com/salesforcecli/sf-plugins-core/compare/v1.11.1...v1.11.2) (2022-04-11)
47
-
48
- ### Bug Fixes
49
-
50
- - optional orgs can be undefined ([412629d](https://github.com/salesforcecli/sf-plugins-core/commit/412629de689d7d73b7c2b0673b8e9b373cc957bc))
51
- - throw if input provided but no org found ([10be468](https://github.com/salesforcecli/sf-plugins-core/commit/10be468c0c3e164fed171c947dbe437b2325605c))
52
-
53
- ### [1.11.1](https://github.com/salesforcecli/sf-plugins-core/compare/v1.11.0...v1.11.1) (2022-04-07)
54
-
55
- ### Bug Fixes
56
-
57
- - adjust message formats ([5b62ced](https://github.com/salesforcecli/sf-plugins-core/commit/5b62cedeb522c08dcce01159a22060be72c1bf62))
58
-
59
- ## [1.11.0](https://github.com/salesforcecli/sf-plugins-core/compare/v1.10.0...v1.11.0) (2022-03-31)
60
-
61
- ### Features
62
-
63
- - support error codes help section ([4852a4f](https://github.com/salesforcecli/sf-plugins-core/commit/4852a4f75bcc744febf276293ed5bf45080436e6))
64
-
65
- ## [1.10.0](https://github.com/salesforcecli/sf-plugins-core/compare/v1.9.0...v1.10.0) (2022-03-31)
66
-
67
- ### Features
68
-
69
- - warn users when using a beta command ([2cf26f2](https://github.com/salesforcecli/sf-plugins-core/commit/2cf26f2d363a40b0739f082bfe4aedd62fd4531f))
70
-
71
- ## [1.9.0](https://github.com/salesforcecli/sf-plugins-core/compare/v1.8.1...v1.9.0) (2022-03-24)
72
-
73
- ### Features
74
-
75
- - explain what a valid api version looks like ([4c5669a](https://github.com/salesforcecli/sf-plugins-core/commit/4c5669a969ef79eae1d4aec76f6cb20df92aae5e))
76
-
77
- ### [1.8.1](https://github.com/salesforcecli/sf-plugins-core/compare/v1.8.0...v1.8.1) (2022-03-24)
78
-
79
- ### Bug Fixes
80
-
81
- - log errors to stderr ([9958d8e](https://github.com/salesforcecli/sf-plugins-core/commit/9958d8e49cf1fbe514026491d8d095651d1cb88b))
82
-
83
- ## [1.8.0](https://github.com/salesforcecli/sf-plugins-core/compare/v1.7.2...v1.8.0) (2022-03-17)
84
-
85
- ### Features
86
-
87
- - confirms are timed ([9c89ee9](https://github.com/salesforcecli/sf-plugins-core/commit/9c89ee99901c7abefc11a811e8e4dda0c704ed1c))
88
- - simplified confirm prompts ([ddf1364](https://github.com/salesforcecli/sf-plugins-core/commit/ddf1364a48fb384bd0ad66bc310a35abcef20d68))
89
-
90
- ### Bug Fixes
91
-
92
- - better checking of hub ([8c92bfe](https://github.com/salesforcecli/sf-plugins-core/commit/8c92bfed8f0600ff03489abbb253b5b95c95128a))
93
- - no unused, respects timeout ([c41c43e](https://github.com/salesforcecli/sf-plugins-core/commit/c41c43e5c480dc1dd914a86ec8c97a8af41369a1))
94
- - use OptionFlag interface so that exactlyOne can be used ([0e65453](https://github.com/salesforcecli/sf-plugins-core/commit/0e65453dacb68a90f4af2387e571edbd4077ba1b))
95
-
96
- ### [1.7.2](https://github.com/salesforcecli/sf-plugins-core/compare/v1.7.1...v1.7.2) (2022-03-15)
97
-
98
- ### Bug Fixes
99
-
100
- - need to pass ms to timedPrompt function ([f285e07](https://github.com/salesforcecli/sf-plugins-core/commit/f285e07525937798d0251da69c86c05cc683edfd))
101
-
102
- ### [1.7.1](https://github.com/salesforcecli/sf-plugins-core/compare/v1.7.0...v1.7.1) (2022-03-11)
103
-
104
- ### Bug Fixes
105
-
106
- - add oclif enum to exports ([71ee6ac](https://github.com/salesforcecli/sf-plugins-core/commit/71ee6ac7942790ffc519512ade67330614ada51b))
107
- - expose timed prompt in command class ([3b056c6](https://github.com/salesforcecli/sf-plugins-core/commit/3b056c668d3379ada6f85e2e5b5f6da76c1a3223))
108
-
109
- ## [1.7.0](https://github.com/salesforcecli/sf-plugins-core/compare/v1.6.1...v1.7.0) (2022-03-11)
110
-
111
- ### Features
112
-
113
- - suppress progress bar output with env vars ([d2e8a84](https://github.com/salesforcecli/sf-plugins-core/commit/d2e8a849d7ca93b3dba538a26ce5f9ab7f858984))
114
-
115
- ### [1.6.1](https://github.com/salesforcecli/sf-plugins-core/compare/v1.6.0...v1.6.1) (2022-03-09)
116
-
117
- ### Bug Fixes
118
-
119
- - erturn error - dont throw ([0ea70bc](https://github.com/salesforcecli/sf-plugins-core/commit/0ea70bc12cecd380a907323eba84ddb9d5a44e08))
120
-
121
- ## [1.6.0](https://github.com/salesforcecli/sf-plugins-core/compare/v1.5.3...v1.6.0) (2022-03-08)
122
-
123
- ### Features
124
-
125
- - add timedPrompt method ([ea9e98c](https://github.com/salesforcecli/sf-plugins-core/commit/ea9e98c5bffdfc1e917d61006a91f4dba1f808f3))
126
-
127
- ### [1.5.3](https://github.com/salesforcecli/sf-plugins-core/compare/v1.5.2...v1.5.3) (2022-03-08)
128
-
129
- ### Bug Fixes
130
-
131
- - expose styledHeader as func in sf command ([fd2dc48](https://github.com/salesforcecli/sf-plugins-core/commit/fd2dc48444be224a884c3b56d5604f4b854f1c0e))
132
-
133
- ### [1.5.2](https://github.com/salesforcecli/sf-plugins-core/compare/v1.5.1...v1.5.2) (2022-03-07)
134
-
135
- ### Bug Fixes
136
-
137
- - add styled header function to sf command ([5cc0e8b](https://github.com/salesforcecli/sf-plugins-core/commit/5cc0e8bf60774918c2ebaf2ba5b465f3dd6caf15))
138
- - retrhow ([eaebd44](https://github.com/salesforcecli/sf-plugins-core/commit/eaebd44d0028cedab92173ed30050757602d2c28))
139
-
140
- ### [1.5.1](https://github.com/salesforcecli/sf-plugins-core/compare/v1.5.0...v1.5.1) (2022-03-07)
141
-
142
- ## [1.5.0](https://github.com/salesforcecli/sf-plugins-core/compare/v1.4.1...v1.5.0) (2022-03-03)
143
-
144
- ### Features
145
-
146
- - friendly default help for org flags ([f4d55b3](https://github.com/salesforcecli/sf-plugins-core/commit/f4d55b30c08e988c0231b97acce8ba2bc9733a06))
147
-
148
- ### [1.4.1](https://github.com/salesforcecli/sf-plugins-core/compare/v1.4.0...v1.4.1) (2022-03-02)
149
-
150
- ### Bug Fixes
151
-
152
- - make toHelpSection types more friendly ([add364b](https://github.com/salesforcecli/sf-plugins-core/commit/add364b6be532dae6fb49f62164dad486b186347))
153
-
154
- ## [1.4.0](https://github.com/salesforcecli/sf-plugins-core/compare/v1.3.0...v1.4.0) (2022-03-02)
155
-
156
- ### Features
157
-
158
- - common salesforce flags ([00ab4fc](https://github.com/salesforcecli/sf-plugins-core/commit/00ab4fc94d268b44dccb6a2de02fe4f720ff0fc0))
159
- - debugging ([cc3fd1e](https://github.com/salesforcecli/sf-plugins-core/commit/cc3fd1e46134c08a4d76e79c74605e90e09abbb3))
160
- - duration flag ([b11eaab](https://github.com/salesforcecli/sf-plugins-core/commit/b11eaabb0050961094f412d85c2bbbf4b183cd40))
161
-
162
- ### Bug Fixes
163
-
164
- - error keys support createError ([f094c49](https://github.com/salesforcecli/sf-plugins-core/commit/f094c49f1ec1063fb05cdc74e1aab88e7ceb7f13))
165
- - error message doesn't take params ([5d917bf](https://github.com/salesforcecli/sf-plugins-core/commit/5d917bf100d41077d2eaabcd89c41fa049ef6f21))
166
- - wrong error name ([1b3bbbe](https://github.com/salesforcecli/sf-plugins-core/commit/1b3bbbeae9f3e888faf438fe8d1f4bfd6bdac2c9))
167
-
168
- ## [1.3.0](https://github.com/salesforcecli/sf-plugins-core/compare/v1.2.1...v1.3.0) (2022-02-23)
169
-
170
- ### Features
171
-
172
- - add requiresProject property ([5ff0cf3](https://github.com/salesforcecli/sf-plugins-core/commit/5ff0cf34fffe896e1ed312585705ff13436e58cf))
173
-
174
- ### [1.2.1](https://github.com/salesforcecli/sf-plugins-core/compare/v1.2.0...v1.2.1) (2022-01-27)
175
-
176
- ### Bug Fixes
177
-
178
- - protect against non-existent bar ([2d0dc37](https://github.com/salesforcecli/sf-plugins-core/commit/2d0dc37ce7fedfee4413ae91299de11c8cd9db93))
179
-
180
- ## [1.2.0](https://github.com/salesforcecli/sf-plugins-core/compare/v1.1.0...v1.2.0) (2022-01-27)
181
-
182
- ### Features
183
-
184
- - expose ux methods in SfCommand ([8e58a93](https://github.com/salesforcecli/sf-plugins-core/commit/8e58a93a942d5a0305a77a82e938f778c59fcd16))
185
-
186
- ## [1.1.0](https://github.com/salesforcecli/sf-plugins-core/compare/v1.0.5...v1.1.0) (2022-01-03)
187
-
188
- ### Features
189
-
190
- - add spinner methods ([f209f8f](https://github.com/salesforcecli/sf-plugins-core/commit/f209f8f4e6736b9de91e37f865d66b5356e5abec))
191
-
192
- ### Bug Fixes
193
-
194
- - add status method ([9cf2069](https://github.com/salesforcecli/sf-plugins-core/commit/9cf20694d76e2509785b7c8faa4bd63ab190707e))
195
- - make status a getter/setter ([441c55a](https://github.com/salesforcecli/sf-plugins-core/commit/441c55acd3d811664213e9801a8bcc270e3aca7b))
196
-
197
- ### [1.0.5](https://github.com/salesforcecli/sf-plugins-core/compare/v1.0.4...v1.0.5) (2021-12-16)
198
-
199
- ### Bug Fixes
200
-
201
- - bump dependencies ([4f78d8c](https://github.com/salesforcecli/sf-plugins-core/commit/4f78d8c940aab41bb406c45a9df98f686e626d28))
202
-
203
- ### [1.0.4](https://github.com/salesforcecli/sf-plugins-core/compare/v1.0.3...v1.0.4) (2021-10-13)
204
-
205
- ### Bug Fixes
206
-
207
- - bump module versions ([abdf5e3](https://github.com/salesforcecli/sf-plugins-core/commit/abdf5e37205b464a36393ca1887ce90a7c1ba302))
208
-
209
- ### [1.0.3](https://github.com/salesforcecli/sf-plugins-core/compare/v1.0.2...v1.0.3) (2021-10-12)
210
-
211
- ### [1.0.2](https://github.com/salesforcecli/sf-plugins-core/compare/v1.0.1...v1.0.2) (2021-10-11)
212
-
213
- ### Bug Fixes
214
-
215
- - bump oclif and sfdx-core versions ([3d38a70](https://github.com/salesforcecli/sf-plugins-core/commit/3d38a70dcad79aa151529bf51d281f68fe92a3ce))
216
-
217
- ### [1.0.1](https://github.com/salesforcecli/sf-plugins-core/compare/v1.0.0...v1.0.1) (2021-10-06)
218
-
219
- ### Bug Fixes
220
-
221
- - update inquirer ([067bbfb](https://github.com/salesforcecli/sf-plugins-core/commit/067bbfbbfcd271ae25260e6b83452093b1fe4deb))
222
-
223
- ## [1.0.0](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.28...v1.0.0) (2021-09-29)
224
-
225
- ### [0.0.28](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.27...v0.0.28) (2021-09-29)
226
-
227
- ### Bug Fixes
228
-
229
- - allow empty message in logSensitive ([5b8edf5](https://github.com/salesforcecli/sf-plugins-core/commit/5b8edf509647887500d9e71b506939b3cc6945d9))
230
-
231
- ### [0.0.27](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.26...v0.0.27) (2021-09-29)
232
-
233
- ### Bug Fixes
234
-
235
- - publish messages ([91a6aa6](https://github.com/salesforcecli/sf-plugins-core/commit/91a6aa6c396f9b33049407820d0b8bd9caaa30f4))
236
-
237
- ### [0.0.26](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.25...v0.0.26) (2021-09-29)
238
-
239
- ### Features
240
-
241
- - logSensitive, capture warnings ([a8b3e76](https://github.com/salesforcecli/sf-plugins-core/commit/a8b3e76ff20806b136ee606797b84a70c8f5a528))
242
-
243
- ### [0.0.25](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.24...v0.0.25) (2021-09-21)
244
-
245
- ### Bug Fixes
246
-
247
- - add envirnment type to env list ([8f020df](https://github.com/salesforcecli/sf-plugins-core/commit/8f020dfc8695be19a7fd1f4b811b8c2b8c321418))
248
-
249
- ### [0.0.24](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.23...v0.0.24) (2021-09-16)
250
-
251
- ### Bug Fixes
252
-
253
- - allow null for EnvDisplay ([0868d3f](https://github.com/salesforcecli/sf-plugins-core/commit/0868d3f0ed23e28c53ce11cb447e41b9b0144ac1))
254
-
255
- ### [0.0.23](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.22...v0.0.23) (2021-09-15)
256
-
257
- ### Bug Fixes
258
-
259
- - update to latest oclif/core and enable json flag ([b486ef1](https://github.com/salesforcecli/sf-plugins-core/commit/b486ef173b27ba465cc8fddf53e3a53d339f8734))
260
-
261
- ### [0.0.22](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.21...v0.0.22) (2021-09-15)
262
-
263
- ### Bug Fixes
264
-
265
- - bump oclif/core ([c7a07f7](https://github.com/salesforcecli/sf-plugins-core/commit/c7a07f7671699197f3db93ec750e009eb9dfd56f))
266
-
267
- ### [0.0.21](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.20...v0.0.21) (2021-09-14)
268
-
269
- ### Bug Fixes
270
-
271
- - move sf command to this repo ([968f80f](https://github.com/salesforcecli/sf-plugins-core/commit/968f80f0b8aecd0d47fe8d428c605117828f886f))
272
-
273
- ### [0.0.20](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.19...v0.0.20) (2021-09-14)
274
-
275
- ### [0.0.19](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.18...v0.0.19) (2021-09-13)
276
-
277
- ### Features
278
-
279
- - add logout hook ([4a4d79b](https://github.com/salesforcecli/sf-plugins-core/commit/4a4d79bcd9f2017e70f75967bb0661ae3eb4aa4a))
280
-
281
- ### [0.0.18](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.17...v0.0.18) (2021-09-10)
282
-
283
- ### Bug Fixes
284
-
285
- - missed export ([63086ae](https://github.com/salesforcecli/sf-plugins-core/commit/63086aee3dc26c6f674c0bad8054205ed3992597))
286
-
287
- ### [0.0.17](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.16...v0.0.17) (2021-09-10)
288
-
289
- ### Features
290
-
291
- - add help section helper function ([379d14f](https://github.com/salesforcecli/sf-plugins-core/commit/379d14f45eedc46736f64bb5c37a7f906e235d4c))
292
-
293
- ### [0.0.16](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.15...v0.0.16) (2021-09-08)
294
-
295
- ### Bug Fixes
296
-
297
- - bump oclif/core ([1cd3df6](https://github.com/salesforcecli/sf-plugins-core/commit/1cd3df66dde4d1e5386221e892aa01a7d504261c))
298
-
299
- ### [0.0.15](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.14...v0.0.15) (2021-08-31)
300
-
301
- ### Bug Fixes
302
-
303
- - improve jsdocs ([e3e3784](https://github.com/salesforcecli/sf-plugins-core/commit/e3e3784954fc2d6b06f96459c824cf77795a9de9))
304
- - improve jsdocs ([aefdd06](https://github.com/salesforcecli/sf-plugins-core/commit/aefdd06b164d413b3f3c4d51b36dea475efcc3ef))
305
-
306
- ### [0.0.14](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.13...v0.0.14) (2021-08-31)
307
-
308
- ### Bug Fixes
309
-
310
- - improve env types ([e7a7c1d](https://github.com/salesforcecli/sf-plugins-core/commit/e7a7c1df001d02b60c31bcbe5abe4ab31d5faf8d))
311
-
312
- ### [0.0.13](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.12...v0.0.13) (2021-08-30)
313
-
314
- ### Bug Fixes
315
-
316
- - update exports ([548ab46](https://github.com/salesforcecli/sf-plugins-core/commit/548ab4646bd1e2d79dbda0609551e6f805b69d09))
317
-
318
- ### [0.0.12](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.11...v0.0.12) (2021-08-30)
319
-
320
- ### Features
321
-
322
- - support env display ([446af15](https://github.com/salesforcecli/sf-plugins-core/commit/446af15385ed57e7d5ebd40c4a4964b2bf326e16))
323
-
324
- ### [0.0.11](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.10...v0.0.11) (2021-08-30)
325
-
326
- ### Features
327
-
328
- - rename to sf-plugins-core ([e51d6aa](https://github.com/salesforcecli/sf-plugins-core/commit/e51d6aa6879c085ae9efac990d6d406a79615088))
329
-
330
- ### [0.0.10](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.9...v0.0.10) (2021-08-10)
331
-
332
- ### Bug Fixes
333
-
334
- - correct header to data column alignment ([a6d1baf](https://github.com/salesforcecli/sf-plugins-core/commit/a6d1bafd098443dcb4381f03fd7283594d263c8d))
335
-
336
- ### [0.0.9](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.8...v0.0.9) (2021-07-15)
337
-
338
- ### Bug Fixes
339
-
340
- - rename ProjectDeployOptions to DeployOptions ([eafefcf](https://github.com/salesforcecli/sf-plugins-core/commit/eafefcfb55f73e96e2b0b08bb3129b6aa0fb6571))
341
-
342
- ### [0.0.8](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.7...v0.0.8) (2021-07-15)
343
-
344
- ### [0.0.7](https://github.com/salesforcecli/plugin-project-utils/compare/v0.0.6...v0.0.7) (2021-07-01)
345
-
346
- ### Features
347
-
348
- - support deploy file ([99b4a81](https://github.com/salesforcecli/plugin-project-utils/commit/99b4a81b1a844714233a30679ae267c6866ba4a2))
349
-
350
- ### [0.0.6](https://github.com/salesforcecli/plugin-project-utils/compare/v0.0.5...v0.0.6) (2021-06-28)
351
-
352
- ### Bug Fixes
353
-
354
- - allow empty log message ([1272215](https://github.com/salesforcecli/plugin-project-utils/commit/1272215b62a35e89072df2f02c1bab6c2999e056))
355
-
356
- ### [0.0.5](https://github.com/salesforcecli/plugin-project-utils/compare/v0.0.4...v0.0.5) (2021-06-28)
357
-
358
- ### Features
359
-
360
- - add Prompter class ([7f7861f](https://github.com/salesforcecli/plugin-project-utils/commit/7f7861f68dc74d815a1bf2d668edd719496524ff))
361
-
362
- ### [0.0.4](https://github.com/salesforcecli/plugin-project-utils/compare/v0.0.3...v0.0.4) (2021-06-28)
363
-
364
- ### Bug Fixes
365
-
366
- - update Options type ([f24a800](https://github.com/salesforcecli/plugin-project-utils/commit/f24a800409e026605f08717cd572e89afcdf35d0))
367
-
368
- ### [0.0.3](https://github.com/salesforcecli/plugin-project-utils/compare/v0.0.2...v0.0.3) (2021-06-28)
369
-
370
- ### Features
371
-
372
- - add Deployables class ([0405a6b](https://github.com/salesforcecli/plugin-project-utils/commit/0405a6bdc78cf44237e1bd51efb2199c275678ca))
373
-
374
- ### [0.0.2](https://github.com/salesforcecli/plugin-project-utils/compare/v0.0.1...v0.0.2) (2021-06-24)
375
-
376
- ### 0.0.1 (2021-06-24)
377
-
378
- ### Features
379
-
380
- - deployer interface ([fbfee1e](https://github.com/salesforcecli/plugin-project-utils/commit/fbfee1eb223c67ead31dfd6da65ed6d55c83015d))