@yarnpkg/plugin-pnpm 1.1.0 → 2.0.0-rc.1
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.js +4 -3
- package/package.json +11 -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
|
-
|
|
228
|
-
|
|
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": "
|
|
3
|
+
"version": "2.0.0-rc.1",
|
|
4
4
|
"license": "BSD-2-Clause",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@yarnpkg/fslib": "^
|
|
8
|
-
"@yarnpkg/plugin-pnp": "^
|
|
9
|
-
"@yarnpkg/plugin-stage": "^
|
|
10
|
-
"clipanion": "^3.2.0-rc.
|
|
7
|
+
"@yarnpkg/fslib": "^3.0.0-rc.1",
|
|
8
|
+
"@yarnpkg/plugin-pnp": "^4.0.0-rc.1",
|
|
9
|
+
"@yarnpkg/plugin-stage": "^4.0.0-rc.1",
|
|
10
|
+
"clipanion": "^3.2.0-rc.10",
|
|
11
11
|
"p-limit": "^2.2.0",
|
|
12
12
|
"tslib": "^1.13.0"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@yarnpkg/cli": "^
|
|
16
|
-
"@yarnpkg/core": "^
|
|
15
|
+
"@yarnpkg/cli": "^4.0.0-rc.1",
|
|
16
|
+
"@yarnpkg/core": "^4.0.0-rc.1"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@yarnpkg/cli": "^
|
|
20
|
-
"@yarnpkg/core": "^
|
|
19
|
+
"@yarnpkg/cli": "^4.0.0-rc.1",
|
|
20
|
+
"@yarnpkg/core": "^4.0.0-rc.1"
|
|
21
21
|
},
|
|
22
22
|
"repository": {
|
|
23
23
|
"type": "git",
|
|
@@ -36,7 +36,8 @@
|
|
|
36
36
|
"/lib/**/*"
|
|
37
37
|
],
|
|
38
38
|
"engines": {
|
|
39
|
-
"node": ">=
|
|
39
|
+
"node": ">=14.15.0"
|
|
40
40
|
},
|
|
41
|
+
"stableVersion": "1.1.0",
|
|
41
42
|
"typings": "./lib/index.d.ts"
|
|
42
43
|
}
|