@salesforce/sf-plugins-core 1.13.0 → 1.13.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 +6 -0
- package/lib/deployer.d.ts +4 -1
- package/lib/exported.d.ts +5 -2
- package/package.json +6 -6
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.13.1](https://github.com/salesforcecli/sf-plugins-core/compare/v1.13.0...v1.13.1) (2022-08-03)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- add number to deploy function return type ([ac9457b](https://github.com/salesforcecli/sf-plugins-core/commit/ac9457b78ab1242090fc4322ec266e8d0157cb6f))
|
|
10
|
+
|
|
5
11
|
## [1.13.0](https://github.com/salesforcecli/sf-plugins-core/compare/v1.12.3...v1.13.0) (2022-06-09)
|
|
6
12
|
|
|
7
13
|
### Features
|
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,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
export { toHelpSection } from './util';
|
|
3
|
-
export { Deployable, Deployer } from './deployer';
|
|
3
|
+
export { Deployable, Deployer, DeployerResult } from './deployer';
|
|
4
4
|
export { Deauthorizer } from './deauthorizer';
|
|
5
5
|
export { Progress, Prompter, generateTableChoices } from './ux';
|
|
6
6
|
export { SfHook } from './hooks';
|
|
@@ -15,7 +15,10 @@ export declare const Flags: {
|
|
|
15
15
|
file: (opts?: ({
|
|
16
16
|
exists?: boolean | undefined;
|
|
17
17
|
} & Partial<import("@oclif/core/lib/interfaces").OptionFlag<string>>) | undefined) => import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
18
|
-
integer:
|
|
18
|
+
integer: (opts?: ({
|
|
19
|
+
min?: number | undefined;
|
|
20
|
+
max?: number | undefined;
|
|
21
|
+
} & Partial<import("@oclif/core/lib/interfaces").OptionFlag<number>>) | undefined) => import("@oclif/core/lib/interfaces").OptionFlag<number | undefined>;
|
|
19
22
|
string: import("@oclif/core/lib/interfaces").Definition<string>;
|
|
20
23
|
url: import("@oclif/core/lib/interfaces").Definition<import("url").URL>;
|
|
21
24
|
duration: (durationConfig: import("./flags/duration").DurationFlagConfig) => import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/kit").Duration | undefined>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/sf-plugins-core",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.1",
|
|
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.
|
|
36
|
-
"@salesforce/core": "^3.
|
|
37
|
-
"@salesforce/kit": "^1.5.
|
|
35
|
+
"@oclif/core": "^1.13.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": "^
|
|
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": "^
|
|
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",
|