@yarnpkg/plugin-pnp 3.2.5 → 3.2.7
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/PnpLinker.js +1 -7
- package/lib/commands/unplug.js +1 -1
- package/package.json +7 -7
package/lib/PnpLinker.js
CHANGED
|
@@ -11,13 +11,6 @@ const index_1 = require("./index");
|
|
|
11
11
|
const jsInstallUtils = tslib_1.__importStar(require("./jsInstallUtils"));
|
|
12
12
|
const pnpUtils = tslib_1.__importStar(require("./pnpUtils"));
|
|
13
13
|
const FORCED_UNPLUG_PACKAGES = new Set([
|
|
14
|
-
// Some packages do weird stuff and MUST be unplugged. I don't like them.
|
|
15
|
-
core_1.structUtils.makeIdent(null, `nan`).identHash,
|
|
16
|
-
core_1.structUtils.makeIdent(null, `node-gyp`).identHash,
|
|
17
|
-
core_1.structUtils.makeIdent(null, `node-pre-gyp`).identHash,
|
|
18
|
-
core_1.structUtils.makeIdent(null, `node-addon-api`).identHash,
|
|
19
|
-
// Those ones contain native builds (*.node), and Node loads them through dlopen
|
|
20
|
-
core_1.structUtils.makeIdent(null, `fsevents`).identHash,
|
|
21
14
|
// Contains native binaries
|
|
22
15
|
core_1.structUtils.makeIdent(null, `open`).identHash,
|
|
23
16
|
core_1.structUtils.makeIdent(null, `opn`).identHash,
|
|
@@ -199,6 +192,7 @@ class PnpInstaller {
|
|
|
199
192
|
await fslib_1.xfs.removePromise(pnpPath.cjs);
|
|
200
193
|
await fslib_1.xfs.removePromise(this.opts.project.configuration.get(`pnpDataPath`));
|
|
201
194
|
await fslib_1.xfs.removePromise(pnpPath.esmLoader);
|
|
195
|
+
await fslib_1.xfs.removePromise(this.opts.project.configuration.get(`pnpUnpluggedFolder`));
|
|
202
196
|
return undefined;
|
|
203
197
|
}
|
|
204
198
|
for (const { locator, location } of this.virtualTemplates.values()) {
|
package/lib/commands/unplug.js
CHANGED
|
@@ -136,7 +136,6 @@ class UnplugCommand extends cli_1.BaseCommand {
|
|
|
136
136
|
return report.exitCode();
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
-
exports.default = UnplugCommand;
|
|
140
139
|
UnplugCommand.paths = [
|
|
141
140
|
[`unplug`],
|
|
142
141
|
];
|
|
@@ -176,3 +175,4 @@ UnplugCommand.usage = clipanion_1.Command.Usage({
|
|
|
176
175
|
`yarn unplug -R '*'`,
|
|
177
176
|
]],
|
|
178
177
|
});
|
|
178
|
+
exports.default = UnplugCommand;
|
package/package.json
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yarnpkg/plugin-pnp",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.7",
|
|
4
4
|
"license": "BSD-2-Clause",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@types/semver": "^7.1.0",
|
|
8
|
-
"@yarnpkg/fslib": "^2.
|
|
8
|
+
"@yarnpkg/fslib": "^2.10.1",
|
|
9
9
|
"@yarnpkg/plugin-stage": "^3.1.3",
|
|
10
|
-
"@yarnpkg/pnp": "^3.
|
|
10
|
+
"@yarnpkg/pnp": "^3.3.0",
|
|
11
11
|
"clipanion": "3.2.0-rc.4",
|
|
12
12
|
"micromatch": "^4.0.2",
|
|
13
13
|
"semver": "^7.1.2",
|
|
14
14
|
"tslib": "^1.13.0"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"@yarnpkg/cli": "^3.
|
|
18
|
-
"@yarnpkg/core": "^3.
|
|
17
|
+
"@yarnpkg/cli": "^3.4.0",
|
|
18
|
+
"@yarnpkg/core": "^3.4.0"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@types/micromatch": "^4.0.1",
|
|
22
|
-
"@yarnpkg/cli": "^3.
|
|
23
|
-
"@yarnpkg/core": "^3.
|
|
22
|
+
"@yarnpkg/cli": "^3.4.0",
|
|
23
|
+
"@yarnpkg/core": "^3.4.0"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|