@pnpm/fetching.directory-fetcher 1100.0.24 → 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 CHANGED
@@ -1,5 +1,20 @@
1
1
  # @pnpm/directory-fetcher
2
2
 
3
+ ## 1100.0.25
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/building.pkg-requires-build@1100.0.11
11
+ - @pnpm/fetching.fetcher-base@1100.2.4
12
+ - @pnpm/fs.packlist@1100.0.4
13
+ - @pnpm/resolving.resolver-base@1100.5.4
14
+ - @pnpm/store.cafs-types@1100.0.2
15
+ - @pnpm/types@1101.6.0
16
+ - @pnpm/workspace.project-manifest-reader@1100.0.20
17
+
3
18
  ## 1100.0.24
4
19
 
5
20
  ### Patch Changes
package/lib/index.d.ts ADDED
@@ -0,0 +1,21 @@
1
+ import { type Stats } from 'node:fs';
2
+ import type { DirectoryFetcher, DirectoryFetcherOptions } from '@pnpm/fetching.fetcher-base';
3
+ import type { FilesMap } from '@pnpm/store.cafs-types';
4
+ import type { DependencyManifest } from '@pnpm/types';
5
+ export interface CreateDirectoryFetcherOptions {
6
+ includeOnlyPackageFiles?: boolean;
7
+ resolveSymlinks?: boolean;
8
+ }
9
+ export declare function createDirectoryFetcher(opts?: CreateDirectoryFetcherOptions): {
10
+ directory: DirectoryFetcher;
11
+ };
12
+ export type FetchFromDirOptions = Omit<DirectoryFetcherOptions, 'lockfileDir'> & CreateDirectoryFetcherOptions;
13
+ export interface FetchResult {
14
+ local: true;
15
+ filesMap: FilesMap;
16
+ filesStats?: Record<string, Stats | null>;
17
+ packageImportMethod: 'hardlink';
18
+ manifest: DependencyManifest;
19
+ requiresBuild: boolean;
20
+ }
21
+ export declare function fetchFromDir(dir: string, opts: FetchFromDirOptions): Promise<FetchResult>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/fetching.directory-fetcher",
3
- "version": "1100.0.24",
3
+ "version": "1100.0.25",
4
4
  "description": "A fetcher for local directory packages",
5
5
  "keywords": [
6
6
  "pnpm",
@@ -28,22 +28,22 @@
28
28
  "!*.map"
29
29
  ],
30
30
  "dependencies": {
31
- "@pnpm/building.pkg-requires-build": "1100.0.10",
32
- "@pnpm/fetching.fetcher-base": "1100.2.3",
33
- "@pnpm/fs.packlist": "1100.0.3",
34
- "@pnpm/resolving.resolver-base": "1100.5.3",
35
- "@pnpm/store.cafs-types": "1100.0.1",
36
- "@pnpm/types": "1101.5.0",
37
- "@pnpm/workspace.project-manifest-reader": "1100.0.19"
31
+ "@pnpm/building.pkg-requires-build": "1100.0.11",
32
+ "@pnpm/fetching.fetcher-base": "1100.2.4",
33
+ "@pnpm/fs.packlist": "1100.0.4",
34
+ "@pnpm/resolving.resolver-base": "1100.5.4",
35
+ "@pnpm/store.cafs-types": "1100.0.2",
36
+ "@pnpm/types": "1101.6.0",
37
+ "@pnpm/workspace.project-manifest-reader": "1100.0.20"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "@pnpm/logger": "^1100.0.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@jest/globals": "30.4.1",
44
- "@pnpm/fetching.directory-fetcher": "1100.0.24",
44
+ "@pnpm/fetching.directory-fetcher": "1100.0.25",
45
45
  "@pnpm/logger": "1100.0.0",
46
- "@pnpm/test-fixtures": "1100.0.0",
46
+ "@pnpm/test-fixtures": "1100.0.1",
47
47
  "@pnpm/util.lex-comparator": "^4.0.1",
48
48
  "@zkochan/rimraf": "^4.0.0"
49
49
  },