@yarnpkg/plugin-essentials 4.0.0-rc.20 → 4.0.0-rc.22

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.
@@ -14,7 +14,7 @@ export default class PluginImportSourcesCommand extends BaseCommand {
14
14
  name: string;
15
15
  execute(): Promise<1 | 0>;
16
16
  }
17
- export declare type BuildAndSavePluginsSpec = {
17
+ export type BuildAndSavePluginsSpec = {
18
18
  context: CommandContext;
19
19
  noMinify: boolean;
20
20
  };
@@ -19,7 +19,7 @@ export declare function runWorkflow(workflow: Array<Array<string>>, { configurat
19
19
  context: CommandContext;
20
20
  target: PortablePath;
21
21
  }): Promise<void>;
22
- export declare type PrepareSpec = {
22
+ export type PrepareSpec = {
23
23
  branch: string;
24
24
  context: CommandContext;
25
25
  force: boolean;
@@ -2,7 +2,7 @@
2
2
  import { BaseCommand } from '@yarnpkg/cli';
3
3
  import { Configuration, Report } from '@yarnpkg/core';
4
4
  import { Usage } from 'clipanion';
5
- export declare type Tags = {
5
+ export type Tags = {
6
6
  latest: Record<string, string>;
7
7
  tags: Array<string>;
8
8
  };
@@ -1,12 +1,12 @@
1
1
  import { Project, ResolveOptions, Resolver, Descriptor, Package, Report, Cache } from '@yarnpkg/core';
2
2
  import { Fetcher, FetchOptions } from '@yarnpkg/core';
3
- export declare type PackageUpdate = {
3
+ export type PackageUpdate = {
4
4
  descriptor: Descriptor;
5
5
  currentPackage: Package;
6
6
  updatedPackage: Package;
7
7
  resolvedPackage: Package;
8
8
  };
9
- export declare type Algorithm = (project: Project, patterns: Array<string>, opts: {
9
+ export type Algorithm = (project: Project, patterns: Array<string>, opts: {
10
10
  resolver: Resolver;
11
11
  resolveOptions: ResolveOptions;
12
12
  fetcher: Fetcher;
@@ -23,7 +23,7 @@ export declare enum Strategy {
23
23
  HIGHEST = "highest"
24
24
  }
25
25
  export declare const acceptedStrategies: Set<Strategy.HIGHEST>;
26
- export declare type DedupeOptions = {
26
+ export type DedupeOptions = {
27
27
  strategy: Strategy;
28
28
  patterns: Array<string>;
29
29
  cache: Cache;
@@ -1,16 +1,16 @@
1
1
  import { Cache, DescriptorHash, Descriptor, Ident, Locator, Project, Workspace } from '@yarnpkg/core';
2
2
  import { PortablePath } from '@yarnpkg/fslib';
3
- export declare type Suggestion = {
3
+ export type Suggestion = {
4
4
  descriptor: Descriptor;
5
5
  name: string;
6
6
  reason: string;
7
7
  };
8
- export declare type NullableSuggestion = {
8
+ export type NullableSuggestion = {
9
9
  descriptor: Descriptor | null;
10
10
  name: string;
11
11
  reason: string;
12
12
  };
13
- export declare type Results = {
13
+ export type Results = {
14
14
  suggestions: Array<NullableSuggestion>;
15
15
  rejections: Array<Error>;
16
16
  };
@@ -88,7 +88,7 @@ export declare function getSuggestedDescriptors(request: Descriptor, { project,
88
88
  strategies: Array<Strategy>;
89
89
  maxResults?: number;
90
90
  }): Promise<Results>;
91
- export declare type FetchDescriptorFromOptions = {
91
+ export type FetchDescriptorFromOptions = {
92
92
  project: Project;
93
93
  cache: Cache;
94
94
  workspace: Workspace;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yarnpkg/plugin-essentials",
3
- "version": "4.0.0-rc.20",
3
+ "version": "4.0.0-rc.22",
4
4
  "license": "BSD-2-Clause",
5
5
  "main": "./lib/index.js",
6
6
  "exports": {
@@ -8,8 +8,8 @@
8
8
  "./package.json": "./package.json"
9
9
  },
10
10
  "dependencies": {
11
- "@yarnpkg/fslib": "^3.0.0-rc.20",
12
- "@yarnpkg/parsers": "^3.0.0-rc.20",
11
+ "@yarnpkg/fslib": "^3.0.0-rc.22",
12
+ "@yarnpkg/parsers": "^3.0.0-rc.22",
13
13
  "ci-info": "^3.2.0",
14
14
  "clipanion": "^3.2.0-rc.10",
15
15
  "enquirer": "^2.3.6",
@@ -20,17 +20,17 @@
20
20
  "typanion": "^3.3.0"
21
21
  },
22
22
  "peerDependencies": {
23
- "@yarnpkg/cli": "^4.0.0-rc.20",
24
- "@yarnpkg/core": "^4.0.0-rc.20",
25
- "@yarnpkg/plugin-git": "^3.0.0-rc.20"
23
+ "@yarnpkg/cli": "^4.0.0-rc.22",
24
+ "@yarnpkg/core": "^4.0.0-rc.22",
25
+ "@yarnpkg/plugin-git": "^3.0.0-rc.22"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/lodash": "^4.14.136",
29
29
  "@types/micromatch": "^4.0.1",
30
30
  "@types/semver": "^7.1.0",
31
- "@yarnpkg/cli": "^4.0.0-rc.20",
32
- "@yarnpkg/core": "^4.0.0-rc.20",
33
- "@yarnpkg/plugin-git": "^3.0.0-rc.20"
31
+ "@yarnpkg/cli": "^4.0.0-rc.22",
32
+ "@yarnpkg/core": "^4.0.0-rc.22",
33
+ "@yarnpkg/plugin-git": "^3.0.0-rc.22"
34
34
  },
35
35
  "repository": {
36
36
  "type": "git",