@pnpm/installing.linking.real-hoist 1100.1.7 → 1100.1.8
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/CHANGELOG.md +8 -0
- package/package.json +6 -6
- package/lib/index.d.ts +0 -29
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/installing.linking.real-hoist",
|
|
3
|
-
"version": "1100.1.
|
|
3
|
+
"version": "1100.1.8",
|
|
4
4
|
"description": "Hoists dependencies in a node_modules created by pnpm",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pnpm",
|
|
@@ -27,17 +27,17 @@
|
|
|
27
27
|
"!*.map"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@pnpm/deps.path": "1100.0.
|
|
30
|
+
"@pnpm/deps.path": "1100.0.10",
|
|
31
31
|
"@pnpm/error": "1100.0.1",
|
|
32
|
-
"@pnpm/lockfile.utils": "1100.1.
|
|
32
|
+
"@pnpm/lockfile.utils": "1100.1.4",
|
|
33
33
|
"@yarnpkg/nm": "4.0.7"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@jest/globals": "30.4.1",
|
|
37
|
-
"@pnpm/installing.linking.real-hoist": "1100.1.
|
|
38
|
-
"@pnpm/lockfile.fs": "1100.1.
|
|
37
|
+
"@pnpm/installing.linking.real-hoist": "1100.1.8",
|
|
38
|
+
"@pnpm/lockfile.fs": "1100.1.13",
|
|
39
39
|
"@pnpm/test-fixtures": "1100.0.0",
|
|
40
|
-
"@pnpm/types": "1101.
|
|
40
|
+
"@pnpm/types": "1101.5.0"
|
|
41
41
|
},
|
|
42
42
|
"engines": {
|
|
43
43
|
"node": ">=22.13"
|
package/lib/index.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { type LockfileObject } from '@pnpm/lockfile.utils';
|
|
2
|
-
import { type HoisterResult } from '@yarnpkg/nm/hoist';
|
|
3
|
-
/**
|
|
4
|
-
* Controls how far dependencies are hoisted, mirroring yarn's
|
|
5
|
-
* `nmHoistingLimits`. Given workspace package `A` → `B` → `C`:
|
|
6
|
-
*
|
|
7
|
-
* - `'none'` (default): hoist as far as possible.
|
|
8
|
-
* - `/packages/A`, `/node_modules/B`, `/node_modules/C`
|
|
9
|
-
* - `'workspaces'`: hoist only as far as each workspace package.
|
|
10
|
-
* - `/packages/A`, `/packages/A/node_modules/B`, `/packages/A/node_modules/C`
|
|
11
|
-
* - `'dependencies'`: hoist only up to each workspace package's direct
|
|
12
|
-
* dependencies.
|
|
13
|
-
* - `/packages/A`, `/packages/A/node_modules/B`, `/packages/A/node_modules/B/node_modules/C`
|
|
14
|
-
*/
|
|
15
|
-
export type HoistingLimits = 'none' | 'workspaces' | 'dependencies';
|
|
16
|
-
export type { HoisterResult };
|
|
17
|
-
/**
|
|
18
|
-
* Translate the user-facing {@link HoistingLimits} mode into the
|
|
19
|
-
* `@yarnpkg/nm` hoister's per-locator border map. A name in a
|
|
20
|
-
* locator's set is a hoisting border: that node's dependencies are
|
|
21
|
-
* not hoisted above it. Returns `undefined` for `'none'` (and when
|
|
22
|
-
* unset) so the hoister hoists as far as possible.
|
|
23
|
-
*/
|
|
24
|
-
export declare function getHoistingLimits(lockfile: Pick<LockfileObject, 'importers'>, mode: HoistingLimits | undefined): Map<string, Set<string>> | undefined;
|
|
25
|
-
export declare function hoist(lockfile: LockfileObject, opts?: {
|
|
26
|
-
hoistingLimits?: HoistingLimits;
|
|
27
|
-
externalDependencies?: Set<string>;
|
|
28
|
-
autoInstallPeers?: boolean;
|
|
29
|
-
}): HoisterResult;
|