@yarnpkg/plugin-essentials 4.0.0-rc.37 → 4.0.0-rc.39

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.
@@ -18,5 +18,5 @@ export default class AddCommand extends BaseCommand {
18
18
  mode: InstallMode | undefined;
19
19
  silent: boolean | undefined;
20
20
  packages: string[];
21
- execute(): Promise<1 | 0>;
21
+ execute(): Promise<0 | 1>;
22
22
  }
@@ -6,5 +6,5 @@ export default class BinCommand extends BaseCommand {
6
6
  verbose: boolean;
7
7
  json: boolean;
8
8
  name: string | undefined;
9
- execute(): Promise<1 | 0>;
9
+ execute(): Promise<0 | 1>;
10
10
  }
@@ -5,5 +5,5 @@ export default class CacheCleanCommand extends BaseCommand {
5
5
  static usage: Usage;
6
6
  mirror: boolean;
7
7
  all: boolean;
8
- execute(): Promise<1 | 0>;
8
+ execute(): Promise<0 | 1>;
9
9
  }
@@ -6,5 +6,5 @@ export default class ConfigGetCommand extends BaseCommand {
6
6
  json: boolean;
7
7
  unsafe: boolean;
8
8
  name: string;
9
- execute(): Promise<1 | 0>;
9
+ execute(): Promise<0 | 1>;
10
10
  }
@@ -7,5 +7,5 @@ export default class ConfigSetCommand extends BaseCommand {
7
7
  home: boolean;
8
8
  name: string;
9
9
  value: string;
10
- execute(): Promise<1 | 0>;
10
+ execute(): Promise<0 | 1>;
11
11
  }
@@ -5,5 +5,5 @@ export default class ConfigUnsetCommand extends BaseCommand {
5
5
  static usage: Usage;
6
6
  home: boolean;
7
7
  name: string;
8
- execute(): Promise<1 | 0>;
8
+ execute(): Promise<0 | 1>;
9
9
  }
@@ -6,5 +6,5 @@ export default class ConfigCommand extends BaseCommand {
6
6
  verbose: boolean;
7
7
  why: boolean;
8
8
  json: boolean;
9
- execute(): Promise<1 | 0>;
9
+ execute(): Promise<0 | 1>;
10
10
  }
@@ -22,5 +22,5 @@ export default class DedupeCommand extends BaseCommand {
22
22
  json: boolean;
23
23
  mode: InstallMode | undefined;
24
24
  patterns: string[];
25
- execute(): Promise<1 | 0>;
25
+ execute(): Promise<0 | 1>;
26
26
  }
@@ -6,8 +6,8 @@ export default class ExplainPeerRequirementsCommand extends BaseCommand {
6
6
  static paths: string[][];
7
7
  static usage: import("clipanion").Usage;
8
8
  hash: string | undefined;
9
- execute(): Promise<1 | 0>;
9
+ execute(): Promise<0 | 1>;
10
10
  }
11
11
  export declare function explainPeerRequirements(peerRequirementsHash: string, project: Project, opts: {
12
12
  stdout: Writable;
13
- }): Promise<1 | 0>;
13
+ }): Promise<0 | 1>;
@@ -21,5 +21,5 @@ export default class YarnCommand extends BaseCommand {
21
21
  registry: string | undefined;
22
22
  silent: boolean | undefined;
23
23
  networkTimeout: string | undefined;
24
- execute(): Promise<1 | 0>;
24
+ execute(): Promise<0 | 1>;
25
25
  }
@@ -7,5 +7,5 @@ export default class LinkCommand extends BaseCommand {
7
7
  private: boolean;
8
8
  relative: boolean;
9
9
  destinations: string[];
10
- execute(): Promise<1 | 0>;
10
+ execute(): Promise<0 | 1>;
11
11
  }
@@ -4,5 +4,5 @@ export default class PluginCheckCommand extends BaseCommand {
4
4
  static paths: string[][];
5
5
  static usage: Usage;
6
6
  json: boolean;
7
- execute(): Promise<1 | 0>;
7
+ execute(): Promise<0 | 1>;
8
8
  }
@@ -12,7 +12,7 @@ export default class PluginImportSourcesCommand extends BaseCommand {
12
12
  noMinify: boolean;
13
13
  force: boolean;
14
14
  name: string;
15
- execute(): Promise<1 | 0>;
15
+ execute(): Promise<0 | 1>;
16
16
  }
17
17
  export type BuildAndSavePluginsSpec = {
18
18
  context: CommandContext;
@@ -7,7 +7,7 @@ export default class PluginImportCommand extends BaseCommand {
7
7
  static usage: Usage;
8
8
  name: string;
9
9
  checksum: boolean;
10
- execute(): Promise<1 | 0>;
10
+ execute(): Promise<0 | 1>;
11
11
  }
12
12
  export declare function savePlugin(pluginSpec: string, pluginBuffer: Buffer, { checksum, project, report }: {
13
13
  checksum?: boolean;
@@ -8,5 +8,5 @@ export default class PluginListCommand extends BaseCommand {
8
8
  static paths: string[][];
9
9
  static usage: Usage;
10
10
  json: boolean;
11
- execute(): Promise<1 | 0>;
11
+ execute(): Promise<0 | 1>;
12
12
  }
@@ -4,5 +4,5 @@ export default class PluginRemoveCommand extends BaseCommand {
4
4
  static paths: string[][];
5
5
  static usage: Usage;
6
6
  name: string;
7
- execute(): Promise<1 | 0>;
7
+ execute(): Promise<0 | 1>;
8
8
  }
@@ -4,5 +4,5 @@ export default class PluginRuntimeCommand extends BaseCommand {
4
4
  static paths: string[][];
5
5
  static usage: Usage;
6
6
  json: boolean;
7
- execute(): Promise<1 | 0>;
7
+ execute(): Promise<0 | 1>;
8
8
  }
@@ -4,5 +4,5 @@ export default class RebuildCommand extends BaseCommand {
4
4
  static paths: string[][];
5
5
  static usage: Usage;
6
6
  idents: string[];
7
- execute(): Promise<1 | 0>;
7
+ execute(): Promise<0 | 1>;
8
8
  }
@@ -7,5 +7,5 @@ export default class RemoveCommand extends BaseCommand {
7
7
  all: boolean;
8
8
  mode: InstallMode | undefined;
9
9
  patterns: string[];
10
- execute(): Promise<1 | 0>;
10
+ execute(): Promise<0 | 1>;
11
11
  }
@@ -1,5 +1,5 @@
1
1
  import { BaseCommand } from '@yarnpkg/cli';
2
2
  export default class RunIndexCommand extends BaseCommand {
3
3
  static paths: string[][];
4
- execute(): Promise<1 | 0>;
4
+ execute(): Promise<0 | 1>;
5
5
  }
@@ -6,5 +6,5 @@ export default class SetResolutionCommand extends BaseCommand {
6
6
  save: boolean;
7
7
  descriptor: string;
8
8
  resolution: string;
9
- execute(): Promise<1 | 0>;
9
+ execute(): Promise<0 | 1>;
10
10
  }
@@ -12,7 +12,7 @@ export default class SetVersionSourcesCommand extends BaseCommand {
12
12
  noMinify: boolean;
13
13
  force: boolean;
14
14
  skipPlugins: boolean;
15
- execute(): Promise<1 | 0>;
15
+ execute(): Promise<0 | 1>;
16
16
  }
17
17
  export declare function runWorkflow(workflow: Array<Array<string>>, { configuration, context, target }: {
18
18
  configuration: Configuration;
@@ -12,7 +12,7 @@ export default class SetVersionCommand extends BaseCommand {
12
12
  useYarnPath: boolean | undefined;
13
13
  onlyIfNeeded: boolean;
14
14
  version: string;
15
- execute(): Promise<1 | 0>;
15
+ execute(): Promise<0 | 1>;
16
16
  }
17
17
  export declare function resolveRange(configuration: Configuration, request: string): Promise<string>;
18
18
  export declare function resolveTag(configuration: Configuration, request: `stable` | `canary`): Promise<string>;
@@ -5,5 +5,5 @@ export default class UnlinkCommand extends BaseCommand {
5
5
  static usage: Usage;
6
6
  all: boolean;
7
7
  leadingArguments: string[];
8
- execute(): Promise<1 | 0>;
8
+ execute(): Promise<0 | 1>;
9
9
  }
@@ -18,7 +18,7 @@ export default class UpCommand extends BaseCommand {
18
18
  }, {
19
19
  [key: string]: unknown;
20
20
  }>[];
21
- execute(): Promise<1 | 0>;
22
- executeUpRecursive(): Promise<1 | 0>;
23
- executeUpClassic(): Promise<1 | 0>;
21
+ execute(): Promise<0 | 1>;
22
+ executeUpRecursive(): Promise<0 | 1>;
23
+ executeUpClassic(): Promise<0 | 1>;
24
24
  }
@@ -8,5 +8,5 @@ export default class WorkspacesListCommand extends BaseCommand {
8
8
  noPrivate: boolean | undefined;
9
9
  verbose: boolean;
10
10
  json: boolean;
11
- execute(): Promise<1 | 0>;
11
+ execute(): Promise<0 | 1>;
12
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yarnpkg/plugin-essentials",
3
- "version": "4.0.0-rc.37",
3
+ "version": "4.0.0-rc.39",
4
4
  "stableVersion": "3.3.0",
5
5
  "license": "BSD-2-Clause",
6
6
  "main": "./lib/index.js",
@@ -9,8 +9,8 @@
9
9
  "./package.json": "./package.json"
10
10
  },
11
11
  "dependencies": {
12
- "@yarnpkg/fslib": "^3.0.0-rc.37",
13
- "@yarnpkg/parsers": "^3.0.0-rc.37",
12
+ "@yarnpkg/fslib": "^3.0.0-rc.39",
13
+ "@yarnpkg/parsers": "^3.0.0-rc.39",
14
14
  "ci-info": "^3.2.0",
15
15
  "clipanion": "^3.2.0-rc.10",
16
16
  "enquirer": "^2.3.6",
@@ -21,17 +21,17 @@
21
21
  "typanion": "^3.3.0"
22
22
  },
23
23
  "peerDependencies": {
24
- "@yarnpkg/cli": "^4.0.0-rc.37",
25
- "@yarnpkg/core": "^4.0.0-rc.37",
26
- "@yarnpkg/plugin-git": "^3.0.0-rc.37"
24
+ "@yarnpkg/cli": "^4.0.0-rc.39",
25
+ "@yarnpkg/core": "^4.0.0-rc.39",
26
+ "@yarnpkg/plugin-git": "^3.0.0-rc.39"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/lodash": "^4.14.136",
30
30
  "@types/micromatch": "^4.0.1",
31
31
  "@types/semver": "^7.1.0",
32
- "@yarnpkg/cli": "^4.0.0-rc.37",
33
- "@yarnpkg/core": "^4.0.0-rc.37",
34
- "@yarnpkg/plugin-git": "^3.0.0-rc.37"
32
+ "@yarnpkg/cli": "^4.0.0-rc.39",
33
+ "@yarnpkg/core": "^4.0.0-rc.39",
34
+ "@yarnpkg/plugin-git": "^3.0.0-rc.39"
35
35
  },
36
36
  "repository": {
37
37
  "type": "git",