@yarnpkg/plugin-pnp 4.0.0-rc.18 → 4.0.0-rc.20

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/index.d.ts CHANGED
@@ -1,8 +1,10 @@
1
1
  import { Hooks as CoreHooks, Plugin, Project } from '@yarnpkg/core';
2
2
  import { PortablePath } from '@yarnpkg/fslib';
3
3
  import { Hooks as StageHooks } from '@yarnpkg/plugin-stage';
4
+ import UnplugCommand from './commands/unplug';
4
5
  import * as jsInstallUtils from './jsInstallUtils';
5
6
  import * as pnpUtils from './pnpUtils';
7
+ export { UnplugCommand };
6
8
  export { jsInstallUtils };
7
9
  export { pnpUtils };
8
10
  export declare const getPnpPath: (project: Project) => {
package/lib/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PnpLinker = exports.PnpInstaller = exports.quotePathIfNeeded = exports.getPnpPath = exports.pnpUtils = exports.jsInstallUtils = void 0;
3
+ exports.PnpLinker = exports.PnpInstaller = exports.quotePathIfNeeded = exports.getPnpPath = exports.pnpUtils = exports.jsInstallUtils = exports.UnplugCommand = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const core_1 = require("@yarnpkg/core");
6
6
  const fslib_1 = require("@yarnpkg/fslib");
@@ -8,6 +8,7 @@ const semver_1 = tslib_1.__importDefault(require("semver"));
8
8
  const url_1 = require("url");
9
9
  const PnpLinker_1 = require("./PnpLinker");
10
10
  const unplug_1 = tslib_1.__importDefault(require("./commands/unplug"));
11
+ exports.UnplugCommand = unplug_1.default;
11
12
  const jsInstallUtils = tslib_1.__importStar(require("./jsInstallUtils"));
12
13
  exports.jsInstallUtils = jsInstallUtils;
13
14
  const pnpUtils = tslib_1.__importStar(require("./pnpUtils"));
package/package.json CHANGED
@@ -1,27 +1,31 @@
1
1
  {
2
2
  "name": "@yarnpkg/plugin-pnp",
3
- "version": "4.0.0-rc.18",
3
+ "version": "4.0.0-rc.20",
4
4
  "stableVersion": "3.2.2",
5
5
  "license": "BSD-2-Clause",
6
6
  "main": "./lib/index.js",
7
+ "exports": {
8
+ ".": "./lib/index.js",
9
+ "./package.json": "./package.json"
10
+ },
7
11
  "dependencies": {
8
12
  "@types/semver": "^7.1.0",
9
- "@yarnpkg/fslib": "^3.0.0-rc.18",
10
- "@yarnpkg/plugin-stage": "^4.0.0-rc.18",
11
- "@yarnpkg/pnp": "^4.0.0-rc.18",
13
+ "@yarnpkg/fslib": "^3.0.0-rc.20",
14
+ "@yarnpkg/plugin-stage": "^4.0.0-rc.20",
15
+ "@yarnpkg/pnp": "^4.0.0-rc.20",
12
16
  "clipanion": "^3.2.0-rc.10",
13
17
  "micromatch": "^4.0.2",
14
18
  "semver": "^7.1.2",
15
19
  "tslib": "^2.4.0"
16
20
  },
17
21
  "peerDependencies": {
18
- "@yarnpkg/cli": "^4.0.0-rc.18",
19
- "@yarnpkg/core": "^4.0.0-rc.18"
22
+ "@yarnpkg/cli": "^4.0.0-rc.20",
23
+ "@yarnpkg/core": "^4.0.0-rc.20"
20
24
  },
21
25
  "devDependencies": {
22
26
  "@types/micromatch": "^4.0.1",
23
- "@yarnpkg/cli": "^4.0.0-rc.18",
24
- "@yarnpkg/core": "^4.0.0-rc.18"
27
+ "@yarnpkg/cli": "^4.0.0-rc.20",
28
+ "@yarnpkg/core": "^4.0.0-rc.20"
25
29
  },
26
30
  "repository": {
27
31
  "type": "git",
@@ -34,13 +38,15 @@
34
38
  },
35
39
  "publishConfig": {
36
40
  "main": "./lib/index.js",
37
- "typings": "./lib/index.d.ts"
41
+ "exports": {
42
+ ".": "./lib/index.js",
43
+ "./package.json": "./package.json"
44
+ }
38
45
  },
39
46
  "files": [
40
47
  "/lib/**/*"
41
48
  ],
42
49
  "engines": {
43
50
  "node": ">=14.15.0"
44
- },
45
- "typings": "./lib/index.d.ts"
51
+ }
46
52
  }