@salesforce/plugin-info 3.1.3 → 3.2.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/README.md +2 -2
- package/lib/commands/info/releasenotes/display.d.ts +2 -2
- package/lib/diagnostics.d.ts +2 -2
- package/lib/doctor.d.ts +4 -4
- package/lib/shared/getInfoConfig.d.ts +4 -4
- package/npm-shrinkwrap.json +521 -198
- package/oclif.lock +187 -63
- package/oclif.manifest.json +1 -1
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -125,7 +125,7 @@ EXAMPLES
|
|
|
125
125
|
$ sf doctor --plugin @salesforce/plugin-source
|
|
126
126
|
```
|
|
127
127
|
|
|
128
|
-
_See code: [src/commands/doctor.ts](https://github.com/salesforcecli/plugin-info/blob/3.
|
|
128
|
+
_See code: [src/commands/doctor.ts](https://github.com/salesforcecli/plugin-info/blob/3.2.0/src/commands/doctor.ts)_
|
|
129
129
|
|
|
130
130
|
## `sf info releasenotes display`
|
|
131
131
|
|
|
@@ -165,6 +165,6 @@ EXAMPLES
|
|
|
165
165
|
$ sf info releasenotes display --version latest
|
|
166
166
|
```
|
|
167
167
|
|
|
168
|
-
_See code: [src/commands/info/releasenotes/display.ts](https://github.com/salesforcecli/plugin-info/blob/3.
|
|
168
|
+
_See code: [src/commands/info/releasenotes/display.ts](https://github.com/salesforcecli/plugin-info/blob/3.2.0/src/commands/info/releasenotes/display.ts)_
|
|
169
169
|
|
|
170
170
|
<!-- commandsstop -->
|
package/lib/diagnostics.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Interfaces } from '@oclif/core';
|
|
2
2
|
import { SfDoctor } from './doctor.js';
|
|
3
|
-
export
|
|
3
|
+
export type DiagnosticStatus = {
|
|
4
4
|
testName: string;
|
|
5
5
|
status: 'pass' | 'fail' | 'warn' | 'unknown';
|
|
6
|
-
}
|
|
6
|
+
};
|
|
7
7
|
/**
|
|
8
8
|
* Diagnostics are all the tests that ensure a known, clean CLI configuration
|
|
9
9
|
* and a way to run them asynchronously. Typically this is used only by the
|
package/lib/doctor.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { AnyJson, KeyValue } from '@salesforce/ts-types';
|
|
|
2
2
|
import { Interfaces } from '@oclif/core';
|
|
3
3
|
import { PluginVersionDetail } from '@oclif/core/lib/interfaces';
|
|
4
4
|
import { DiagnosticStatus } from './diagnostics.js';
|
|
5
|
-
export
|
|
5
|
+
export type SfDoctor = {
|
|
6
6
|
addCommandName(commandName: string): void;
|
|
7
7
|
addDiagnosticStatus(status: DiagnosticStatus): void;
|
|
8
8
|
addPluginData(pluginName: string, data: AnyJson): void;
|
|
@@ -18,11 +18,11 @@ export interface SfDoctor {
|
|
|
18
18
|
writeFileSync(filePath: string, contents: string): string;
|
|
19
19
|
writeStderr(contents: string): Promise<boolean>;
|
|
20
20
|
writeStdout(contents: string): Promise<boolean>;
|
|
21
|
-
}
|
|
21
|
+
};
|
|
22
22
|
type CliConfig = Partial<Interfaces.Config> & {
|
|
23
23
|
nodeEngine: string;
|
|
24
24
|
};
|
|
25
|
-
export
|
|
25
|
+
export type SfDoctorDiagnosis = {
|
|
26
26
|
versionDetail: Omit<Interfaces.VersionDetails, 'pluginVersions'> & {
|
|
27
27
|
pluginVersions: string[];
|
|
28
28
|
};
|
|
@@ -37,7 +37,7 @@ export interface SfDoctorDiagnosis {
|
|
|
37
37
|
commandName?: string;
|
|
38
38
|
commandExitCode?: string | number;
|
|
39
39
|
logFilePaths: string[];
|
|
40
|
-
}
|
|
40
|
+
};
|
|
41
41
|
export declare class Doctor implements SfDoctor {
|
|
42
42
|
private static instance;
|
|
43
43
|
readonly id: number;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Interfaces } from '@oclif/core';
|
|
2
|
-
export
|
|
2
|
+
export type PjsonWithInfo = {
|
|
3
3
|
oclif: Interfaces.PJSON['oclif'] & {
|
|
4
4
|
info: InfoConfig;
|
|
5
5
|
};
|
|
6
|
-
}
|
|
7
|
-
export
|
|
6
|
+
} & Interfaces.PJSON;
|
|
7
|
+
export type InfoConfig = {
|
|
8
8
|
releasenotes: {
|
|
9
9
|
distTagUrl: string;
|
|
10
10
|
releaseNotesPath: string;
|
|
11
11
|
releaseNotesFilename: string;
|
|
12
12
|
};
|
|
13
|
-
}
|
|
13
|
+
};
|
|
14
14
|
export declare const getInfoConfig: (path: string) => Promise<InfoConfig>;
|
|
15
15
|
declare const _default: {
|
|
16
16
|
getInfoConfig: (path: string) => Promise<InfoConfig>;
|