@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
|
|
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
|
|
22
|
+
export type PrepareSpec = {
|
|
23
23
|
branch: string;
|
|
24
24
|
context: CommandContext;
|
|
25
25
|
force: boolean;
|
package/lib/dedupeUtils.d.ts
CHANGED
|
@@ -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
|
|
3
|
+
export type PackageUpdate = {
|
|
4
4
|
descriptor: Descriptor;
|
|
5
5
|
currentPackage: Package;
|
|
6
6
|
updatedPackage: Package;
|
|
7
7
|
resolvedPackage: Package;
|
|
8
8
|
};
|
|
9
|
-
export
|
|
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
|
|
26
|
+
export type DedupeOptions = {
|
|
27
27
|
strategy: Strategy;
|
|
28
28
|
patterns: Array<string>;
|
|
29
29
|
cache: Cache;
|
package/lib/suggestUtils.d.ts
CHANGED
|
@@ -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
|
|
3
|
+
export type Suggestion = {
|
|
4
4
|
descriptor: Descriptor;
|
|
5
5
|
name: string;
|
|
6
6
|
reason: string;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type NullableSuggestion = {
|
|
9
9
|
descriptor: Descriptor | null;
|
|
10
10
|
name: string;
|
|
11
11
|
reason: string;
|
|
12
12
|
};
|
|
13
|
-
export
|
|
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
|
|
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.
|
|
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.
|
|
12
|
-
"@yarnpkg/parsers": "^3.0.0-rc.
|
|
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.
|
|
24
|
-
"@yarnpkg/core": "^4.0.0-rc.
|
|
25
|
-
"@yarnpkg/plugin-git": "^3.0.0-rc.
|
|
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.
|
|
32
|
-
"@yarnpkg/core": "^4.0.0-rc.
|
|
33
|
-
"@yarnpkg/plugin-git": "^3.0.0-rc.
|
|
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",
|