@pnpm/core 10.2.3 → 10.2.4

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.
@@ -0,0 +1,16 @@
1
+ import type { Lockfile } from '@pnpm/lockfile-file';
2
+ import type { Registries } from '@pnpm/types';
3
+ export interface PreResolutionHookContext {
4
+ wantedLockfile: Lockfile;
5
+ currentLockfile: Lockfile;
6
+ existsCurrentLockfile: boolean;
7
+ existsWantedLockfile: boolean;
8
+ lockfileDir: string;
9
+ storeDir: string;
10
+ registries: Registries;
11
+ }
12
+ export interface PreResolutionHookLogger {
13
+ info: (message: string) => void;
14
+ warn: (message: string) => void;
15
+ }
16
+ export type PreResolutionHook = (ctx: PreResolutionHookContext, logger: PreResolutionHookLogger) => Promise<void>;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=hooks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../src/install/hooks.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pnpm/core",
3
3
  "description": "Fast, disk space efficient installation engine",
4
- "version": "10.2.3",
4
+ "version": "10.2.4",
5
5
  "bugs": {
6
6
  "url": "https://github.com/pnpm/pnpm/issues"
7
7
  },
@@ -31,43 +31,43 @@
31
31
  "semver": "^7.5.1",
32
32
  "version-selector-type": "^3.0.0",
33
33
  "@pnpm/build-modules": "11.0.6",
34
- "@pnpm/calc-dep-state": "4.0.2",
35
- "@pnpm/constants": "7.1.1",
36
34
  "@pnpm/core-loggers": "9.0.1",
35
+ "@pnpm/calc-dep-state": "4.0.2",
37
36
  "@pnpm/crypto.base32-hash": "2.0.0",
37
+ "@pnpm/constants": "7.1.1",
38
38
  "@pnpm/dependency-path": "2.1.2",
39
+ "@pnpm/get-context": "10.0.2",
39
40
  "@pnpm/error": "5.0.2",
40
41
  "@pnpm/filter-lockfile": "8.0.6",
41
- "@pnpm/get-context": "10.0.2",
42
42
  "@pnpm/headless": "21.0.3",
43
43
  "@pnpm/hoist": "8.0.7",
44
- "@pnpm/hooks.read-package-hook": "3.0.3",
45
44
  "@pnpm/hooks.types": "1.0.1",
46
45
  "@pnpm/lifecycle": "15.0.2",
47
- "@pnpm/link-bins": "9.0.3",
48
- "@pnpm/lockfile-file": "8.1.1",
49
46
  "@pnpm/lockfile-to-pnp": "3.0.6",
47
+ "@pnpm/manifest-utils": "5.0.2",
50
48
  "@pnpm/lockfile-utils": "8.0.2",
51
49
  "@pnpm/lockfile-walker": "7.0.3",
52
- "@pnpm/manifest-utils": "5.0.2",
50
+ "@pnpm/link-bins": "9.0.3",
51
+ "@pnpm/hooks.read-package-hook": "3.0.3",
53
52
  "@pnpm/matcher": "5.0.0",
54
53
  "@pnpm/modules-cleaner": "14.0.7",
55
54
  "@pnpm/modules-yaml": "12.1.1",
55
+ "@pnpm/parse-wanted-dependency": "5.0.0",
56
56
  "@pnpm/normalize-registries": "5.0.1",
57
57
  "@pnpm/package-requester": "21.0.6",
58
- "@pnpm/parse-wanted-dependency": "5.0.0",
59
- "@pnpm/pkg-manager.direct-dep-linker": "2.1.2",
58
+ "@pnpm/lockfile-file": "8.1.1",
60
59
  "@pnpm/prune-lockfile": "5.0.4",
61
- "@pnpm/read-modules-dir": "6.0.1",
62
- "@pnpm/read-package-json": "8.0.2",
60
+ "@pnpm/pkg-manager.direct-dep-linker": "2.1.2",
63
61
  "@pnpm/read-project-manifest": "5.0.2",
64
- "@pnpm/remove-bins": "5.0.2",
65
- "@pnpm/resolve-dependencies": "31.1.8",
62
+ "@pnpm/read-package-json": "8.0.2",
66
63
  "@pnpm/resolver-base": "10.0.1",
64
+ "@pnpm/remove-bins": "5.0.2",
67
65
  "@pnpm/store-controller-types": "15.0.1",
66
+ "@pnpm/read-modules-dir": "6.0.1",
67
+ "@pnpm/resolve-dependencies": "31.1.9",
68
68
  "@pnpm/symlink-dependency": "7.0.1",
69
- "@pnpm/types": "9.1.0",
70
- "@pnpm/which-version-is-pinned": "5.0.1"
69
+ "@pnpm/which-version-is-pinned": "5.0.1",
70
+ "@pnpm/types": "9.1.0"
71
71
  },
72
72
  "devDependencies": {
73
73
  "@pnpm/registry-mock": "3.8.0",
@@ -91,14 +91,14 @@
91
91
  "symlink-dir": "^5.1.1",
92
92
  "write-json-file": "^4.3.0",
93
93
  "write-yaml-file": "^5.0.0",
94
- "@pnpm/assert-project": "2.3.27",
95
94
  "@pnpm/assert-store": "1.0.62",
96
- "@pnpm/cafs": "7.0.3",
97
95
  "@pnpm/client": "10.0.8",
98
- "@pnpm/core": "10.2.3",
96
+ "@pnpm/assert-project": "2.3.27",
97
+ "@pnpm/cafs": "7.0.3",
98
+ "@pnpm/core": "10.2.4",
99
99
  "@pnpm/git-utils": "1.0.0",
100
- "@pnpm/lockfile-types": "5.1.0",
101
100
  "@pnpm/package-store": "16.0.6",
101
+ "@pnpm/lockfile-types": "5.1.0",
102
102
  "@pnpm/prepare": "0.0.70",
103
103
  "@pnpm/store-path": "8.0.0",
104
104
  "@pnpm/test-fixtures": "0.0.39"