@oclif/core 2.11.8 → 2.11.10

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.
@@ -104,6 +104,7 @@ export declare class Config implements IConfig {
104
104
  get versionDetails(): VersionDetails;
105
105
  s3Key(type: keyof PJSON.S3.Templates, ext?: '.tar.gz' | '.tar.xz' | IConfig.s3Key.Options, options?: IConfig.s3Key.Options): string;
106
106
  s3Url(key: string): string;
107
+ getPluginsList(): IPlugin[];
107
108
  protected dir(category: 'cache' | 'data' | 'config'): string;
108
109
  protected windowsHome(): string | undefined;
109
110
  protected windowsHomedriveHome(): string | undefined;
@@ -460,6 +460,9 @@ class Config {
460
460
  url.pathname = path.join(url.pathname, key);
461
461
  return url.toString();
462
462
  }
463
+ getPluginsList() {
464
+ return this.plugins;
465
+ }
463
466
  dir(category) {
464
467
  const base = process.env[`XDG_${category.toUpperCase()}_HOME`] ||
465
468
  (this.windows && process.env.LOCALAPPDATA) ||
@@ -135,6 +135,7 @@ export interface Config {
135
135
  s3Url(key: string): string;
136
136
  s3Key(type: 'versioned' | 'unversioned', ext: '.tar.gz' | '.tar.xz', options?: Config.s3Key.Options): string;
137
137
  s3Key(type: keyof PJSON.S3.Templates, options?: Config.s3Key.Options): string;
138
+ getPluginsList(): Plugin[];
138
139
  }
139
140
  export declare namespace Config {
140
141
  namespace s3Key {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oclif/core",
3
3
  "description": "base library for oclif CLIs",
4
- "version": "2.11.8",
4
+ "version": "2.11.10",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/core/issues",
7
7
  "dependencies": {