@pnpm/resolver-base
Advanced tools
+11
-1
@@ -11,2 +11,10 @@ import { type ProjectRootDir, type DependencyManifest, type PkgResolutionId, type PinnedVersion, type PackageVersionPolicy, type TrustPolicy } from '@pnpm/types'; | ||
| path?: string; | ||
| /** | ||
| * True for tarballs sourced from a git host (codeload.github.com / | ||
| * gitlab.com / bitbucket.org). Such tarballs need preparation | ||
| * (preparePackage / packlist) on extraction, and their cached content | ||
| * depends on whether build scripts ran, so they're addressed by | ||
| * gitHostedStoreIndexKey rather than the integrity-based key. | ||
| */ | ||
| gitHosted?: boolean; | ||
| } | ||
@@ -106,2 +114,4 @@ export interface BinaryResolution { | ||
| }); | ||
| export type ResolveFunction = (wantedDependency: WantedDependency, opts: ResolveOptions) => Promise<ResolveResult>; | ||
| export type ResolveFunction = (wantedDependency: WantedDependency & { | ||
| optional?: boolean; | ||
| }, opts: ResolveOptions) => Promise<ResolveResult>; |
+1
-1
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAyFA,yEAAyE;AACzE,kEAAkE;AACrD,QAAA,0BAA0B,GAAG,IAAI,CAAA"} | ||
| {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAiGA,yEAAyE;AACzE,kEAAkE;AACrD,QAAA,0BAA0B,GAAG,IAAI,CAAA"} |
+2
-2
| { | ||
| "name": "@pnpm/resolver-base", | ||
| "version": "1005.4.1", | ||
| "version": "1005.4.2", | ||
| "description": "Types for pnpm-compatible resolvers", | ||
@@ -31,3 +31,3 @@ "keywords": [ | ||
| "devDependencies": { | ||
| "@pnpm/resolver-base": "1005.4.1" | ||
| "@pnpm/resolver-base": "1005.4.2" | ||
| }, | ||
@@ -34,0 +34,0 @@ "engines": { |
6954
6.44%121
9.01%