@pnpm/resolving.resolver-base 1100.1.0 → 1100.1.2
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/README.md +5 -5
- package/lib/index.d.ts +8 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
# @pnpm/resolver-base
|
|
1
|
+
# @pnpm/resolving.resolver-base
|
|
2
2
|
|
|
3
3
|
> Types for pnpm-compatible resolvers
|
|
4
4
|
|
|
5
5
|
<!--@shields('npm')-->
|
|
6
|
-
[](https://
|
|
6
|
+
[](https://npmx.dev/package/@pnpm/resolving.resolver-base)
|
|
7
7
|
<!--/@-->
|
|
8
8
|
|
|
9
9
|
## Installation
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
pnpm add @pnpm/resolver-base
|
|
12
|
+
pnpm add @pnpm/resolving.resolver-base
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Usage
|
|
16
16
|
|
|
17
|
-
Here's a template of a resolver using types from `@pnpm/resolver-base`:
|
|
17
|
+
Here's a template of a resolver using types from `@pnpm/resolving.resolver-base`:
|
|
18
18
|
|
|
19
19
|
```ts
|
|
20
20
|
import {
|
|
21
21
|
ResolveOptions,
|
|
22
22
|
ResolveResult,
|
|
23
23
|
WantedDependency,
|
|
24
|
-
} from '@pnpm/resolver-base'
|
|
24
|
+
} from '@pnpm/resolving.resolver-base'
|
|
25
25
|
|
|
26
26
|
export async function testResolver (
|
|
27
27
|
wantedDependency: WantedDependency,
|
package/lib/index.d.ts
CHANGED
|
@@ -8,6 +8,14 @@ export interface TarballResolution {
|
|
|
8
8
|
tarball: string;
|
|
9
9
|
integrity?: string;
|
|
10
10
|
path?: string;
|
|
11
|
+
/**
|
|
12
|
+
* True for tarballs sourced from a git host (codeload.github.com /
|
|
13
|
+
* gitlab.com / bitbucket.org). Such tarballs need preparation
|
|
14
|
+
* (preparePackage / packlist) on extraction, and their cached content
|
|
15
|
+
* depends on whether build scripts ran, so they're addressed by
|
|
16
|
+
* gitHostedStoreIndexKey rather than the integrity-based key.
|
|
17
|
+
*/
|
|
18
|
+
gitHosted?: boolean;
|
|
11
19
|
}
|
|
12
20
|
export interface BinaryResolution {
|
|
13
21
|
type: 'binary';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/resolving.resolver-base",
|
|
3
|
-
"version": "1100.1.
|
|
3
|
+
"version": "1100.1.2",
|
|
4
4
|
"description": "Types for pnpm-compatible resolvers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pnpm",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@pnpm/types": "1101.0.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@pnpm/resolving.resolver-base": "1100.1.
|
|
31
|
+
"@pnpm/resolving.resolver-base": "1100.1.2"
|
|
32
32
|
},
|
|
33
33
|
"engines": {
|
|
34
34
|
"node": ">=22.13"
|