@pnpm/installing.read-projects-context 1100.0.22 → 1100.0.24

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 CHANGED
@@ -1,5 +1,27 @@
1
1
  # @pnpm/read-projects-context
2
2
 
3
+ ## 1100.0.24
4
+
5
+ ### Patch Changes
6
+
7
+ - 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).
8
+
9
+ - Updated dependencies:
10
+ - @pnpm/config.normalize-registries@1100.0.11
11
+ - @pnpm/installing.modules-yaml@1100.0.12
12
+ - @pnpm/lockfile.fs@1100.1.14
13
+ - @pnpm/types@1101.6.0
14
+
15
+ ## 1100.0.23
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies:
20
+ - @pnpm/config.normalize-registries@1100.0.10
21
+ - @pnpm/installing.modules-yaml@1100.0.11
22
+ - @pnpm/lockfile.fs@1100.1.13
23
+ - @pnpm/types@1101.5.0
24
+
3
25
  ## 1100.0.22
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.22",
3
+ "version": "1100.0.24",
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.9",
31
- "@pnpm/installing.modules-yaml": "1100.0.10",
32
- "@pnpm/lockfile.fs": "1100.1.12",
33
- "@pnpm/types": "1101.4.0",
30
+ "@pnpm/config.normalize-registries": "1100.0.11",
31
+ "@pnpm/installing.modules-yaml": "1100.0.12",
32
+ "@pnpm/lockfile.fs": "1100.1.14",
33
+ "@pnpm/types": "1101.6.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.22",
41
+ "@pnpm/installing.read-projects-context": "1100.0.24",
42
42
  "@pnpm/logger": "1100.0.0"
43
43
  },
44
44
  "engines": {