@salesforce/sf-plugins-core 1.4.0 → 1.4.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/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
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.4.1](https://github.com/salesforcecli/sf-plugins-core/compare/v1.4.0...v1.4.1) (2022-03-02)
6
+
7
+ ### Bug Fixes
8
+
9
+ - make toHelpSection types more friendly ([add364b](https://github.com/salesforcecli/sf-plugins-core/commit/add364b6be532dae6fb49f62164dad486b186347))
10
+
5
11
  ## [1.4.0](https://github.com/salesforcecli/sf-plugins-core/compare/v1.3.0...v1.4.0) (2022-03-02)
6
12
 
7
13
  ### Features
package/lib/util.d.ts CHANGED
@@ -1,5 +1,11 @@
1
- import { HelpSection } from '@oclif/core';
2
- import { OrgConfigProperties, SfdxPropertyKeys, EnvironmentVariable } from '@salesforce/core';
1
+ import { EnvironmentVariable, OrgConfigProperties, SfdxPropertyKeys } from '@salesforce/core';
2
+ export declare type HelpSection = {
3
+ header: string;
4
+ body: Array<{
5
+ name: string;
6
+ description: string;
7
+ } | undefined>;
8
+ };
3
9
  /**
4
10
  * Function to build a help section for command help.
5
11
  * Takes a string to be used as section header text and an array of enums
@@ -9,5 +15,5 @@ import { OrgConfigProperties, SfdxPropertyKeys, EnvironmentVariable } from '@sal
9
15
  * @param header
10
16
  * @param vars
11
17
  */
12
- export declare function toHelpSection(header: string, ...vars: Array<OrgConfigProperties | SfdxPropertyKeys | EnvironmentVariable>): HelpSection;
18
+ export declare function toHelpSection(header: string, ...vars: Array<OrgConfigProperties | SfdxPropertyKeys | EnvironmentVariable | string>): HelpSection;
13
19
  //# sourceMappingURL=util.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/sf-plugins-core",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "Utils for writing deploy and retrieve plugins",
5
5
  "main": "lib/exported",
6
6
  "types": "lib/exported.d.ts",
@@ -33,7 +33,7 @@
33
33
  ],
34
34
  "dependencies": {
35
35
  "@oclif/core": "^1.5.0",
36
- "@salesforce/core": "^3.7.6",
36
+ "@salesforce/core": "^3.7.7",
37
37
  "@salesforce/kit": "^1.5.17",
38
38
  "@salesforce/ts-types": "^1.5.20",
39
39
  "inquirer": "^8.2.0"