@oclif/core 3.0.0 → 3.0.2

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.
@@ -527,6 +527,13 @@ class Config {
527
527
  const command = await c.load();
528
528
  await this.runHook('prerun', { Command: command, argv });
529
529
  const result = (await command.run(argv, this));
530
+ // If plugins:uninstall was run, we need to remove all the uninstalled plugins
531
+ // from this.plugins so that the postrun hook doesn't attempt to run any
532
+ // hooks that might have existed in the uninstalled plugins.
533
+ if (c.id === 'plugins:uninstall') {
534
+ for (const arg of argv)
535
+ this.plugins.delete(arg);
536
+ }
530
537
  await this.runHook('postrun', { Command: command, argv, result });
531
538
  marker?.addDetails({ command: id, plugin: c.pluginName });
532
539
  marker?.stop();
@@ -36,6 +36,10 @@ export declare namespace PJSON {
36
36
  [name: string]: string | string[];
37
37
  };
38
38
  jitPlugins?: Record<string, string>;
39
+ macos?: {
40
+ identifier?: string;
41
+ sign?: string;
42
+ };
39
43
  plugins?: string[];
40
44
  repositoryPrefix?: string;
41
45
  schema?: number;
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": "3.0.0",
4
+ "version": "3.0.2",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/core/issues",
7
7
  "dependencies": {