@salesforce/sf-plugins-core 1.0.2 → 1.1.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/CHANGELOG.md +45 -39
- package/LICENSE.txt +1 -1
- package/lib/sfCommand.d.ts +6 -3
- package/lib/sfCommand.js +7 -5
- package/lib/types/index.d.ts +3 -3
- package/lib/ux.d.ts +30 -0
- package/lib/ux.js +55 -0
- package/package.json +19 -24
package/CHANGELOG.md
CHANGED
|
@@ -2,143 +2,149 @@
|
|
|
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
|
-
|
|
5
|
+
## [1.1.0](https://github.com/salesforcecli/sf-plugins-core/compare/v1.0.5...v1.1.0) (2022-01-03)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
6
8
|
|
|
9
|
+
- add spinner methods ([f209f8f](https://github.com/salesforcecli/sf-plugins-core/commit/f209f8f4e6736b9de91e37f865d66b5356e5abec))
|
|
7
10
|
|
|
8
11
|
### Bug Fixes
|
|
9
12
|
|
|
10
|
-
|
|
13
|
+
- add status method ([9cf2069](https://github.com/salesforcecli/sf-plugins-core/commit/9cf20694d76e2509785b7c8faa4bd63ab190707e))
|
|
14
|
+
- make status a getter/setter ([441c55a](https://github.com/salesforcecli/sf-plugins-core/commit/441c55acd3d811664213e9801a8bcc270e3aca7b))
|
|
11
15
|
|
|
12
|
-
### [1.0.
|
|
16
|
+
### [1.0.5](https://github.com/salesforcecli/sf-plugins-core/compare/v1.0.4...v1.0.5) (2021-12-16)
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
- bump dependencies ([4f78d8c](https://github.com/salesforcecli/sf-plugins-core/commit/4f78d8c940aab41bb406c45a9df98f686e626d28))
|
|
21
|
+
|
|
22
|
+
### [1.0.4](https://github.com/salesforcecli/sf-plugins-core/compare/v1.0.3...v1.0.4) (2021-10-13)
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
- bump module versions ([abdf5e3](https://github.com/salesforcecli/sf-plugins-core/commit/abdf5e37205b464a36393ca1887ce90a7c1ba302))
|
|
27
|
+
|
|
28
|
+
### [1.0.3](https://github.com/salesforcecli/sf-plugins-core/compare/v1.0.2...v1.0.3) (2021-10-12)
|
|
29
|
+
|
|
30
|
+
### [1.0.2](https://github.com/salesforcecli/sf-plugins-core/compare/v1.0.1...v1.0.2) (2021-10-11)
|
|
13
31
|
|
|
32
|
+
### Bug Fixes
|
|
33
|
+
|
|
34
|
+
- bump oclif and sfdx-core versions ([3d38a70](https://github.com/salesforcecli/sf-plugins-core/commit/3d38a70dcad79aa151529bf51d281f68fe92a3ce))
|
|
35
|
+
|
|
36
|
+
### [1.0.1](https://github.com/salesforcecli/sf-plugins-core/compare/v1.0.0...v1.0.1) (2021-10-06)
|
|
14
37
|
|
|
15
38
|
### Bug Fixes
|
|
16
39
|
|
|
17
|
-
|
|
40
|
+
- update inquirer ([067bbfb](https://github.com/salesforcecli/sf-plugins-core/commit/067bbfbbfcd271ae25260e6b83452093b1fe4deb))
|
|
18
41
|
|
|
19
42
|
## [1.0.0](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.28...v1.0.0) (2021-09-29)
|
|
20
43
|
|
|
21
44
|
### [0.0.28](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.27...v0.0.28) (2021-09-29)
|
|
22
45
|
|
|
23
|
-
|
|
24
46
|
### Bug Fixes
|
|
25
47
|
|
|
26
|
-
|
|
48
|
+
- allow empty message in logSensitive ([5b8edf5](https://github.com/salesforcecli/sf-plugins-core/commit/5b8edf509647887500d9e71b506939b3cc6945d9))
|
|
27
49
|
|
|
28
50
|
### [0.0.27](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.26...v0.0.27) (2021-09-29)
|
|
29
51
|
|
|
30
|
-
|
|
31
52
|
### Bug Fixes
|
|
32
53
|
|
|
33
|
-
|
|
54
|
+
- publish messages ([91a6aa6](https://github.com/salesforcecli/sf-plugins-core/commit/91a6aa6c396f9b33049407820d0b8bd9caaa30f4))
|
|
34
55
|
|
|
35
56
|
### [0.0.26](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.25...v0.0.26) (2021-09-29)
|
|
36
57
|
|
|
37
|
-
|
|
38
58
|
### Features
|
|
39
59
|
|
|
40
|
-
|
|
60
|
+
- logSensitive, capture warnings ([a8b3e76](https://github.com/salesforcecli/sf-plugins-core/commit/a8b3e76ff20806b136ee606797b84a70c8f5a528))
|
|
41
61
|
|
|
42
62
|
### [0.0.25](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.24...v0.0.25) (2021-09-21)
|
|
43
63
|
|
|
44
|
-
|
|
45
64
|
### Bug Fixes
|
|
46
65
|
|
|
47
|
-
|
|
66
|
+
- add envirnment type to env list ([8f020df](https://github.com/salesforcecli/sf-plugins-core/commit/8f020dfc8695be19a7fd1f4b811b8c2b8c321418))
|
|
48
67
|
|
|
49
68
|
### [0.0.24](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.23...v0.0.24) (2021-09-16)
|
|
50
69
|
|
|
51
|
-
|
|
52
70
|
### Bug Fixes
|
|
53
71
|
|
|
54
|
-
|
|
72
|
+
- allow null for EnvDisplay ([0868d3f](https://github.com/salesforcecli/sf-plugins-core/commit/0868d3f0ed23e28c53ce11cb447e41b9b0144ac1))
|
|
55
73
|
|
|
56
74
|
### [0.0.23](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.22...v0.0.23) (2021-09-15)
|
|
57
75
|
|
|
58
|
-
|
|
59
76
|
### Bug Fixes
|
|
60
77
|
|
|
61
|
-
|
|
78
|
+
- update to latest oclif/core and enable json flag ([b486ef1](https://github.com/salesforcecli/sf-plugins-core/commit/b486ef173b27ba465cc8fddf53e3a53d339f8734))
|
|
62
79
|
|
|
63
80
|
### [0.0.22](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.21...v0.0.22) (2021-09-15)
|
|
64
81
|
|
|
65
|
-
|
|
66
82
|
### Bug Fixes
|
|
67
83
|
|
|
68
|
-
|
|
84
|
+
- bump oclif/core ([c7a07f7](https://github.com/salesforcecli/sf-plugins-core/commit/c7a07f7671699197f3db93ec750e009eb9dfd56f))
|
|
69
85
|
|
|
70
86
|
### [0.0.21](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.20...v0.0.21) (2021-09-14)
|
|
71
87
|
|
|
72
|
-
|
|
73
88
|
### Bug Fixes
|
|
74
89
|
|
|
75
|
-
|
|
90
|
+
- move sf command to this repo ([968f80f](https://github.com/salesforcecli/sf-plugins-core/commit/968f80f0b8aecd0d47fe8d428c605117828f886f))
|
|
76
91
|
|
|
77
92
|
### [0.0.20](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.19...v0.0.20) (2021-09-14)
|
|
78
93
|
|
|
79
94
|
### [0.0.19](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.18...v0.0.19) (2021-09-13)
|
|
80
95
|
|
|
81
|
-
|
|
82
96
|
### Features
|
|
83
97
|
|
|
84
|
-
|
|
98
|
+
- add logout hook ([4a4d79b](https://github.com/salesforcecli/sf-plugins-core/commit/4a4d79bcd9f2017e70f75967bb0661ae3eb4aa4a))
|
|
85
99
|
|
|
86
100
|
### [0.0.18](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.17...v0.0.18) (2021-09-10)
|
|
87
101
|
|
|
88
|
-
|
|
89
102
|
### Bug Fixes
|
|
90
103
|
|
|
91
|
-
|
|
104
|
+
- missed export ([63086ae](https://github.com/salesforcecli/sf-plugins-core/commit/63086aee3dc26c6f674c0bad8054205ed3992597))
|
|
92
105
|
|
|
93
106
|
### [0.0.17](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.16...v0.0.17) (2021-09-10)
|
|
94
107
|
|
|
95
|
-
|
|
96
108
|
### Features
|
|
97
109
|
|
|
98
|
-
|
|
110
|
+
- add help section helper function ([379d14f](https://github.com/salesforcecli/sf-plugins-core/commit/379d14f45eedc46736f64bb5c37a7f906e235d4c))
|
|
99
111
|
|
|
100
112
|
### [0.0.16](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.15...v0.0.16) (2021-09-08)
|
|
101
113
|
|
|
102
|
-
|
|
103
114
|
### Bug Fixes
|
|
104
115
|
|
|
105
|
-
|
|
116
|
+
- bump oclif/core ([1cd3df6](https://github.com/salesforcecli/sf-plugins-core/commit/1cd3df66dde4d1e5386221e892aa01a7d504261c))
|
|
106
117
|
|
|
107
118
|
### [0.0.15](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.14...v0.0.15) (2021-08-31)
|
|
108
119
|
|
|
109
|
-
|
|
110
120
|
### Bug Fixes
|
|
111
121
|
|
|
112
|
-
|
|
113
|
-
|
|
122
|
+
- improve jsdocs ([e3e3784](https://github.com/salesforcecli/sf-plugins-core/commit/e3e3784954fc2d6b06f96459c824cf77795a9de9))
|
|
123
|
+
- improve jsdocs ([aefdd06](https://github.com/salesforcecli/sf-plugins-core/commit/aefdd06b164d413b3f3c4d51b36dea475efcc3ef))
|
|
114
124
|
|
|
115
125
|
### [0.0.14](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.13...v0.0.14) (2021-08-31)
|
|
116
126
|
|
|
117
|
-
|
|
118
127
|
### Bug Fixes
|
|
119
128
|
|
|
120
|
-
|
|
129
|
+
- improve env types ([e7a7c1d](https://github.com/salesforcecli/sf-plugins-core/commit/e7a7c1df001d02b60c31bcbe5abe4ab31d5faf8d))
|
|
121
130
|
|
|
122
131
|
### [0.0.13](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.12...v0.0.13) (2021-08-30)
|
|
123
132
|
|
|
124
|
-
|
|
125
133
|
### Bug Fixes
|
|
126
134
|
|
|
127
|
-
|
|
135
|
+
- update exports ([548ab46](https://github.com/salesforcecli/sf-plugins-core/commit/548ab4646bd1e2d79dbda0609551e6f805b69d09))
|
|
128
136
|
|
|
129
137
|
### [0.0.12](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.11...v0.0.12) (2021-08-30)
|
|
130
138
|
|
|
131
|
-
|
|
132
139
|
### Features
|
|
133
140
|
|
|
134
|
-
|
|
141
|
+
- support env display ([446af15](https://github.com/salesforcecli/sf-plugins-core/commit/446af15385ed57e7d5ebd40c4a4964b2bf326e16))
|
|
135
142
|
|
|
136
143
|
### [0.0.11](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.10...v0.0.11) (2021-08-30)
|
|
137
144
|
|
|
138
|
-
|
|
139
145
|
### Features
|
|
140
146
|
|
|
141
|
-
|
|
147
|
+
- rename to sf-plugins-core ([e51d6aa](https://github.com/salesforcecli/sf-plugins-core/commit/e51d6aa6879c085ae9efac990d6d406a79615088))
|
|
142
148
|
|
|
143
149
|
### [0.0.10](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.9...v0.0.10) (2021-08-10)
|
|
144
150
|
|
package/LICENSE.txt
CHANGED
package/lib/sfCommand.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { Command, HelpSection, Interfaces } from '@oclif/core';
|
|
1
|
+
import { Command, Config, HelpSection, Interfaces } from '@oclif/core';
|
|
2
|
+
import { Spinner } from './ux';
|
|
2
3
|
export interface SfCommandInterface extends Interfaces.Command {
|
|
3
4
|
configurationVariablesSection?: HelpSection;
|
|
4
5
|
envVariablesSection?: HelpSection;
|
|
@@ -9,15 +10,17 @@ export interface SfCommandInterface extends Interfaces.Command {
|
|
|
9
10
|
* output formatting. Extend this command and set specific properties
|
|
10
11
|
* to add help sections to the command's help output.
|
|
11
12
|
*
|
|
12
|
-
* @extends @oclif/command
|
|
13
|
-
* @see https://github.com/oclif/command
|
|
13
|
+
* @extends @oclif/core/command
|
|
14
|
+
* @see https://github.com/oclif/core/blob/main/src/command.ts
|
|
14
15
|
*/
|
|
15
16
|
export declare abstract class SfCommand<T> extends Command {
|
|
16
17
|
static enableJsonFlag: boolean;
|
|
17
18
|
static configurationVariablesSection?: HelpSection;
|
|
18
19
|
static envVariablesSection?: HelpSection;
|
|
19
20
|
static errorCodes?: HelpSection;
|
|
21
|
+
spinner: Spinner;
|
|
20
22
|
private warnings;
|
|
23
|
+
constructor(argv: string[], config: Config);
|
|
21
24
|
/**
|
|
22
25
|
* Log warning to users. If --json is enabled, then the warning
|
|
23
26
|
* will be added to the json output under the warnings property.
|
package/lib/sfCommand.js
CHANGED
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SfCommand = void 0;
|
|
4
4
|
/*
|
|
5
|
-
* Copyright (c)
|
|
5
|
+
* Copyright (c) 2021, salesforce.com, inc.
|
|
6
6
|
* All rights reserved.
|
|
7
7
|
* Licensed under the BSD 3-Clause license.
|
|
8
8
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
9
9
|
*/
|
|
10
10
|
const core_1 = require("@oclif/core");
|
|
11
11
|
const core_2 = require("@salesforce/core");
|
|
12
|
+
const ux_1 = require("./ux");
|
|
12
13
|
core_2.Messages.importMessagesDirectory(__dirname);
|
|
13
14
|
const messages = core_2.Messages.loadMessages('@salesforce/sf-plugins-core', 'messages');
|
|
14
15
|
/**
|
|
@@ -16,13 +17,14 @@ const messages = core_2.Messages.loadMessages('@salesforce/sf-plugins-core', 'me
|
|
|
16
17
|
* output formatting. Extend this command and set specific properties
|
|
17
18
|
* to add help sections to the command's help output.
|
|
18
19
|
*
|
|
19
|
-
* @extends @oclif/command
|
|
20
|
-
* @see https://github.com/oclif/command
|
|
20
|
+
* @extends @oclif/core/command
|
|
21
|
+
* @see https://github.com/oclif/core/blob/main/src/command.ts
|
|
21
22
|
*/
|
|
22
23
|
class SfCommand extends core_1.Command {
|
|
23
|
-
constructor() {
|
|
24
|
-
super(
|
|
24
|
+
constructor(argv, config) {
|
|
25
|
+
super(argv, config);
|
|
25
26
|
this.warnings = [];
|
|
27
|
+
this.spinner = new ux_1.Spinner(this.jsonEnabled());
|
|
26
28
|
}
|
|
27
29
|
/**
|
|
28
30
|
* Log warning to users. If --json is enabled, then the warning
|
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/lib/ux.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This class is a light wrapper around cli.action that allows us to
|
|
3
|
+
* automatically suppress any actions if `--json` flag is present.
|
|
4
|
+
*/
|
|
5
|
+
export declare class Spinner {
|
|
6
|
+
private jsonEnabled;
|
|
7
|
+
constructor(jsonEnabled: boolean);
|
|
8
|
+
/**
|
|
9
|
+
* Start a spinner on the console.
|
|
10
|
+
*/
|
|
11
|
+
start(action: string, status?: string, opts?: {
|
|
12
|
+
stdout?: boolean;
|
|
13
|
+
}): void;
|
|
14
|
+
/**
|
|
15
|
+
* Stop the spinner on the console.
|
|
16
|
+
*/
|
|
17
|
+
stop(msg?: string): void;
|
|
18
|
+
/**
|
|
19
|
+
* Set the status of the current spinner.
|
|
20
|
+
*/
|
|
21
|
+
set status(status: string | undefined);
|
|
22
|
+
/**
|
|
23
|
+
* Get the status of the current spinner.
|
|
24
|
+
*/
|
|
25
|
+
get status(): string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* Pause the spinner on the console.
|
|
28
|
+
*/
|
|
29
|
+
pause(fn: () => unknown, icon?: string): void;
|
|
30
|
+
}
|
package/lib/ux.js
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2021, salesforce.com, inc.
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Licensed under the BSD 3-Clause license.
|
|
6
|
+
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.Spinner = void 0;
|
|
10
|
+
const cli_ux_1 = require("cli-ux");
|
|
11
|
+
/**
|
|
12
|
+
* This class is a light wrapper around cli.action that allows us to
|
|
13
|
+
* automatically suppress any actions if `--json` flag is present.
|
|
14
|
+
*/
|
|
15
|
+
class Spinner {
|
|
16
|
+
constructor(jsonEnabled) {
|
|
17
|
+
this.jsonEnabled = jsonEnabled;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Start a spinner on the console.
|
|
21
|
+
*/
|
|
22
|
+
start(action, status, opts) {
|
|
23
|
+
if (!this.jsonEnabled)
|
|
24
|
+
cli_ux_1.cli.action.start(action, status, opts);
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Stop the spinner on the console.
|
|
28
|
+
*/
|
|
29
|
+
stop(msg) {
|
|
30
|
+
if (!this.jsonEnabled)
|
|
31
|
+
cli_ux_1.cli.action.stop(msg);
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Set the status of the current spinner.
|
|
35
|
+
*/
|
|
36
|
+
set status(status) {
|
|
37
|
+
if (!this.jsonEnabled)
|
|
38
|
+
cli_ux_1.cli.action.status = status;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Get the status of the current spinner.
|
|
42
|
+
*/
|
|
43
|
+
get status() {
|
|
44
|
+
return cli_ux_1.cli.action.status;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Pause the spinner on the console.
|
|
48
|
+
*/
|
|
49
|
+
pause(fn, icon) {
|
|
50
|
+
if (!this.jsonEnabled)
|
|
51
|
+
cli_ux_1.cli.action.pause(fn, icon);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
exports.Spinner = Spinner;
|
|
55
|
+
//# sourceMappingURL=ux.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/sf-plugins-core",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
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"
|