@yarnpkg/plugin-pnpm 1.1.2 → 1.1.3
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 +1 -1
- package/lib/PnpmLinker.js +1 -1
- package/package.json +7 -7
package/lib/PnpmLinker.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Descriptor, FetchResult, Installer, InstallPackageExtraApi, Linker, LinkOptions, Locator, LocatorHash, MinimalLinkOptions, Package } from '@yarnpkg/core';
|
|
2
2
|
import { PortablePath } from '@yarnpkg/fslib';
|
|
3
|
-
export
|
|
3
|
+
export type PnpmCustomData = {
|
|
4
4
|
pathByLocator: Map<LocatorHash, PortablePath>;
|
|
5
5
|
locatorByPath: Map<PortablePath, string>;
|
|
6
6
|
};
|
package/lib/PnpmLinker.js
CHANGED
|
@@ -138,7 +138,7 @@ class PnpmInstaller {
|
|
|
138
138
|
// Downgrade virtual workspaces (cf isPnpmVirtualCompatible's documentation)
|
|
139
139
|
let targetDependency = dependency;
|
|
140
140
|
if (!isPnpmVirtualCompatible(dependency, { project: this.opts.project })) {
|
|
141
|
-
this.opts.report.
|
|
141
|
+
this.opts.report.reportWarningOnce(core_1.MessageName.UNNAMED, `The pnpm linker doesn't support providing different versions to workspaces' peer dependencies`);
|
|
142
142
|
targetDependency = core_1.structUtils.devirtualizeLocator(dependency);
|
|
143
143
|
}
|
|
144
144
|
const depSrcPath = this.customData.pathByLocator.get(targetDependency.locatorHash);
|
package/package.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yarnpkg/plugin-pnpm",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"license": "BSD-2-Clause",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@yarnpkg/fslib": "^2.
|
|
8
|
-
"@yarnpkg/plugin-pnp": "^3.2.
|
|
7
|
+
"@yarnpkg/fslib": "^2.10.0",
|
|
8
|
+
"@yarnpkg/plugin-pnp": "^3.2.6",
|
|
9
9
|
"@yarnpkg/plugin-stage": "^3.1.3",
|
|
10
10
|
"clipanion": "3.2.0-rc.4",
|
|
11
11
|
"p-limit": "^2.2.0",
|
|
12
12
|
"tslib": "^1.13.0"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@yarnpkg/cli": "^3.
|
|
16
|
-
"@yarnpkg/core": "^3.
|
|
15
|
+
"@yarnpkg/cli": "^3.3.1",
|
|
16
|
+
"@yarnpkg/core": "^3.3.1"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@yarnpkg/cli": "^3.
|
|
20
|
-
"@yarnpkg/core": "^3.
|
|
19
|
+
"@yarnpkg/cli": "^3.3.1",
|
|
20
|
+
"@yarnpkg/core": "^3.3.1"
|
|
21
21
|
},
|
|
22
22
|
"repository": {
|
|
23
23
|
"type": "git",
|