@pnpm/installing.read-projects-context 1100.0.23 → 1100.0.25
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 +22 -0
- package/lib/index.d.ts +27 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @pnpm/read-projects-context
|
|
2
2
|
|
|
3
|
+
## 1100.0.25
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies:
|
|
8
|
+
- @pnpm/config.normalize-registries@1100.0.12
|
|
9
|
+
- @pnpm/installing.modules-yaml@1100.0.13
|
|
10
|
+
- @pnpm/lockfile.fs@1100.1.15
|
|
11
|
+
- @pnpm/types@1101.7.0
|
|
12
|
+
|
|
13
|
+
## 1100.0.24
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Republished every package: the tarballs published by the v11.13.1 through v11.16.0 releases were missing most of their compiled files due to a packing bug [#13164](https://github.com/pnpm/pnpm/issues/13164).
|
|
18
|
+
|
|
19
|
+
- Updated dependencies:
|
|
20
|
+
- @pnpm/config.normalize-registries@1100.0.11
|
|
21
|
+
- @pnpm/installing.modules-yaml@1100.0.12
|
|
22
|
+
- @pnpm/lockfile.fs@1100.1.14
|
|
23
|
+
- @pnpm/types@1101.6.0
|
|
24
|
+
|
|
3
25
|
## 1100.0.23
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type Modules } from '@pnpm/installing.modules-yaml';
|
|
2
|
+
import type { DependenciesField, DepPath, HoistedDependencies, ProjectId, ProjectRootDir, ProjectRootDirRealPath, Registries } from '@pnpm/types';
|
|
3
|
+
export interface ProjectOptions {
|
|
4
|
+
binsDir?: string;
|
|
5
|
+
modulesDir?: string;
|
|
6
|
+
rootDir: ProjectRootDir;
|
|
7
|
+
rootDirRealPath?: ProjectRootDirRealPath;
|
|
8
|
+
}
|
|
9
|
+
export declare function readProjectsContext<T>(projects: Array<ProjectOptions & T>, opts: {
|
|
10
|
+
lockfileDir: string;
|
|
11
|
+
modulesDir?: string;
|
|
12
|
+
}): Promise<{
|
|
13
|
+
currentHoistPattern?: string[];
|
|
14
|
+
currentPublicHoistPattern?: string[];
|
|
15
|
+
hoist?: boolean;
|
|
16
|
+
hoistedDependencies: HoistedDependencies;
|
|
17
|
+
projects: Array<{
|
|
18
|
+
id: ProjectId;
|
|
19
|
+
} & T & Required<ProjectOptions>>;
|
|
20
|
+
include: Record<DependenciesField, boolean>;
|
|
21
|
+
modules: Modules | null;
|
|
22
|
+
pendingBuilds: string[];
|
|
23
|
+
registries: Registries | null | undefined;
|
|
24
|
+
rootModulesDir: string;
|
|
25
|
+
skipped: Set<DepPath>;
|
|
26
|
+
virtualStoreDirMaxLength?: number;
|
|
27
|
+
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/installing.read-projects-context",
|
|
3
|
-
"version": "1100.0.
|
|
3
|
+
"version": "1100.0.25",
|
|
4
4
|
"description": "Reads the current state of projects from modules manifest",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pnpm",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"!*.map"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@pnpm/config.normalize-registries": "1100.0.
|
|
31
|
-
"@pnpm/installing.modules-yaml": "1100.0.
|
|
32
|
-
"@pnpm/lockfile.fs": "1100.1.
|
|
33
|
-
"@pnpm/types": "1101.
|
|
30
|
+
"@pnpm/config.normalize-registries": "1100.0.12",
|
|
31
|
+
"@pnpm/installing.modules-yaml": "1100.0.13",
|
|
32
|
+
"@pnpm/lockfile.fs": "1100.1.15",
|
|
33
|
+
"@pnpm/types": "1101.7.0",
|
|
34
34
|
"path-absolute": "^2.0.0",
|
|
35
35
|
"realpath-missing": "^2.0.0"
|
|
36
36
|
},
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@pnpm/logger": "^1100.0.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@pnpm/installing.read-projects-context": "1100.0.
|
|
41
|
+
"@pnpm/installing.read-projects-context": "1100.0.25",
|
|
42
42
|
"@pnpm/logger": "1100.0.0"
|
|
43
43
|
},
|
|
44
44
|
"engines": {
|