@yarnpkg/plugin-pnpm 1.1.0-rc.9 → 1.1.2

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.
Files changed (2) hide show
  1. package/lib/PnpmLinker.js +4 -3
  2. package/package.json +9 -10
package/lib/PnpmLinker.js CHANGED
@@ -223,9 +223,10 @@ class PnpmInstaller {
223
223
  await Promise.all(removals);
224
224
  }
225
225
  // Wait for the package installs to catch up
226
- await this.asyncActions.wait(),
227
- await removeIfEmpty(storeLocation);
228
- await removeIfEmpty(getNodeModulesLocation(this.opts.project));
226
+ await this.asyncActions.wait();
227
+ await removeIfEmpty(storeLocation);
228
+ if (this.opts.project.configuration.get(`nodeLinker`) !== `node-modules`)
229
+ await removeIfEmpty(getNodeModulesLocation(this.opts.project));
229
230
  return {
230
231
  customData: this.customData,
231
232
  };
package/package.json CHANGED
@@ -1,23 +1,23 @@
1
1
  {
2
2
  "name": "@yarnpkg/plugin-pnpm",
3
- "version": "1.1.0-rc.9",
3
+ "version": "1.1.2",
4
4
  "license": "BSD-2-Clause",
5
5
  "main": "./lib/index.js",
6
6
  "dependencies": {
7
- "@yarnpkg/fslib": "^2.6.1-rc.6",
8
- "@yarnpkg/plugin-pnp": "^3.2.0-rc.1",
9
- "@yarnpkg/plugin-stage": "^3.1.1",
10
- "clipanion": "^3.2.0-rc.4",
7
+ "@yarnpkg/fslib": "^2.7.1",
8
+ "@yarnpkg/plugin-pnp": "^3.2.3",
9
+ "@yarnpkg/plugin-stage": "^3.1.3",
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.2.0-rc.11",
16
- "@yarnpkg/core": "^3.2.0-rc.11"
15
+ "@yarnpkg/cli": "^3.2.3",
16
+ "@yarnpkg/core": "^3.2.4"
17
17
  },
18
18
  "devDependencies": {
19
- "@yarnpkg/cli": "^3.2.0-rc.11",
20
- "@yarnpkg/core": "^3.2.0-rc.11"
19
+ "@yarnpkg/cli": "^3.2.3",
20
+ "@yarnpkg/core": "^3.2.4"
21
21
  },
22
22
  "repository": {
23
23
  "type": "git",
@@ -38,6 +38,5 @@
38
38
  "engines": {
39
39
  "node": ">=12 <14 || 14.2 - 14.9 || >14.10.0"
40
40
  },
41
- "stableVersion": "1.0.1",
42
41
  "typings": "./lib/index.d.ts"
43
42
  }