@yarnpkg/plugin-pnpm 2.0.0-rc.46 → 2.0.0-rc.48
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.
- package/lib/PnpmLinker.d.ts +3 -6
- package/lib/PnpmLinker.js +3 -3
- package/package.json +9 -9
package/lib/PnpmLinker.d.ts
CHANGED
|
@@ -24,18 +24,15 @@ declare class PnpmInstaller implements Installer {
|
|
|
24
24
|
attachCustomData(customData: any): void;
|
|
25
25
|
installPackage(pkg: Package, fetchResult: FetchResult, api: InstallPackageExtraApi): Promise<{
|
|
26
26
|
packageLocation: PortablePath;
|
|
27
|
-
|
|
28
|
-
} | {
|
|
29
|
-
packageLocation: PortablePath;
|
|
30
|
-
buildDirective: import("@yarnpkg/core").BuildDirective[];
|
|
27
|
+
buildRequest: import("@yarnpkg/core").BuildRequest | null;
|
|
31
28
|
}>;
|
|
32
29
|
installPackageSoft(pkg: Package, fetchResult: FetchResult, api: InstallPackageExtraApi): Promise<{
|
|
33
30
|
packageLocation: PortablePath;
|
|
34
|
-
|
|
31
|
+
buildRequest: null;
|
|
35
32
|
}>;
|
|
36
33
|
installPackageHard(pkg: Package, fetchResult: FetchResult, api: InstallPackageExtraApi): Promise<{
|
|
37
34
|
packageLocation: PortablePath;
|
|
38
|
-
|
|
35
|
+
buildRequest: import("@yarnpkg/core").BuildRequest | null;
|
|
39
36
|
}>;
|
|
40
37
|
attachInternalDependencies(locator: Locator, dependencies: Array<[Descriptor, Locator]>): Promise<void>;
|
|
41
38
|
attachExternalDependents(locator: Locator, dependentPaths: Array<PortablePath>): Promise<void>;
|
package/lib/PnpmLinker.js
CHANGED
|
@@ -95,7 +95,7 @@ class PnpmInstaller {
|
|
|
95
95
|
});
|
|
96
96
|
return {
|
|
97
97
|
packageLocation,
|
|
98
|
-
|
|
98
|
+
buildRequest: null,
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
101
|
async installPackageHard(pkg, fetchResult, api) {
|
|
@@ -127,10 +127,10 @@ class PnpmInstaller {
|
|
|
127
127
|
},
|
|
128
128
|
};
|
|
129
129
|
const dependencyMeta = this.opts.project.getDependencyMeta(devirtualizedLocator, pkg.version);
|
|
130
|
-
const
|
|
130
|
+
const buildRequest = plugin_pnp_1.jsInstallUtils.extractBuildRequest(pkg, buildConfig, dependencyMeta, { configuration: this.opts.project.configuration });
|
|
131
131
|
return {
|
|
132
132
|
packageLocation,
|
|
133
|
-
|
|
133
|
+
buildRequest,
|
|
134
134
|
};
|
|
135
135
|
}
|
|
136
136
|
async attachInternalDependencies(locator, dependencies) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yarnpkg/plugin-pnpm",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.48",
|
|
4
4
|
"license": "BSD-2-Clause",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -8,20 +8,20 @@
|
|
|
8
8
|
"./package.json": "./package.json"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@yarnpkg/fslib": "^3.0.0-rc.
|
|
12
|
-
"@yarnpkg/plugin-pnp": "^4.0.0-rc.
|
|
13
|
-
"@yarnpkg/plugin-stage": "^4.0.0-rc.
|
|
11
|
+
"@yarnpkg/fslib": "^3.0.0-rc.48",
|
|
12
|
+
"@yarnpkg/plugin-pnp": "^4.0.0-rc.48",
|
|
13
|
+
"@yarnpkg/plugin-stage": "^4.0.0-rc.48",
|
|
14
14
|
"clipanion": "^3.2.1",
|
|
15
15
|
"p-limit": "^2.2.0",
|
|
16
16
|
"tslib": "^2.4.0"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@yarnpkg/cli": "^4.0.0-rc.
|
|
20
|
-
"@yarnpkg/core": "^4.0.0-rc.
|
|
19
|
+
"@yarnpkg/cli": "^4.0.0-rc.48",
|
|
20
|
+
"@yarnpkg/core": "^4.0.0-rc.48"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@yarnpkg/cli": "^4.0.0-rc.
|
|
24
|
-
"@yarnpkg/core": "^4.0.0-rc.
|
|
23
|
+
"@yarnpkg/cli": "^4.0.0-rc.48",
|
|
24
|
+
"@yarnpkg/core": "^4.0.0-rc.48"
|
|
25
25
|
},
|
|
26
26
|
"repository": {
|
|
27
27
|
"type": "git",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"/lib/**/*"
|
|
44
44
|
],
|
|
45
45
|
"engines": {
|
|
46
|
-
"node": ">=
|
|
46
|
+
"node": ">=18.12.0"
|
|
47
47
|
},
|
|
48
48
|
"stableVersion": "1.1.3"
|
|
49
49
|
}
|