@pnpm/types
Advanced tools
Comparing version 8.9.0 to 8.10.0
@@ -1,3 +0,3 @@ | ||
export declare type DependenciesField = 'optionalDependencies' | 'dependencies' | 'devDependencies'; | ||
export declare type DependenciesOrPeersField = DependenciesField | 'peerDependencies'; | ||
export type DependenciesField = 'optionalDependencies' | 'dependencies' | 'devDependencies'; | ||
export type DependenciesOrPeersField = DependenciesField | 'peerDependencies'; | ||
export declare const DEPENDENCIES_FIELDS: DependenciesField[]; | ||
@@ -8,3 +8,3 @@ export interface Registries { | ||
} | ||
export declare type HoistedDependencies = Record<string, Record<string, 'public' | 'private'>>; | ||
export type HoistedDependencies = Record<string, Record<string, 'public' | 'private'>>; | ||
export interface PatchFile { | ||
@@ -11,0 +11,0 @@ path: string; |
import { DependenciesField } from './misc'; | ||
import { PackageManifest, ProjectManifest } from './package'; | ||
export declare type LogBase = { | ||
export type LogBase = { | ||
level: 'debug' | 'error'; | ||
@@ -10,3 +10,3 @@ } | { | ||
}; | ||
export declare type IncludedDependencies = { | ||
export type IncludedDependencies = { | ||
[dependenciesField in DependenciesField]: boolean; | ||
@@ -13,0 +13,0 @@ }; |
@@ -1,8 +0,6 @@ | ||
export interface Dependencies { | ||
[name: string]: string; | ||
} | ||
export declare type PackageBin = string | { | ||
export type Dependencies = Record<string, string>; | ||
export type PackageBin = string | { | ||
[commandName: string]: string; | ||
}; | ||
export declare type PackageScripts = { | ||
export type PackageScripts = { | ||
[name: string]: string; | ||
@@ -59,4 +57,4 @@ } & { | ||
} | ||
declare type Version = string; | ||
declare type Pattern = string; | ||
type Version = string; | ||
type Pattern = string; | ||
export interface TypesVersions { | ||
@@ -109,4 +107,4 @@ [version: Version]: { | ||
} | ||
export declare type DependencyManifest = BaseManifest & Required<Pick<BaseManifest, 'name' | 'version'>>; | ||
export declare type PackageExtension = Pick<BaseManifest, 'dependencies' | 'optionalDependencies' | 'peerDependencies' | 'peerDependenciesMeta'>; | ||
export type DependencyManifest = BaseManifest & Required<Pick<BaseManifest, 'name' | 'version'>>; | ||
export type PackageExtension = Pick<BaseManifest, 'dependencies' | 'optionalDependencies' | 'peerDependencies' | 'peerDependenciesMeta'>; | ||
export interface PeerDependencyRules { | ||
@@ -117,4 +115,4 @@ ignoreMissing?: string[]; | ||
} | ||
export declare type AllowedDeprecatedVersions = Record<string, string>; | ||
export declare type ProjectManifest = BaseManifest & { | ||
export type AllowedDeprecatedVersions = Record<string, string>; | ||
export type ProjectManifest = BaseManifest & { | ||
pnpm?: { | ||
@@ -135,2 +133,3 @@ neverBuiltDependencies?: string[]; | ||
}; | ||
requiredScripts?: string[]; | ||
}; | ||
@@ -140,5 +139,5 @@ private?: boolean; | ||
}; | ||
export declare type PackageManifest = DependencyManifest & { | ||
export type PackageManifest = DependencyManifest & { | ||
deprecated?: string; | ||
}; | ||
export {}; |
@@ -1,2 +0,2 @@ | ||
export declare type ParentPackages = Array<{ | ||
export type ParentPackages = Array<{ | ||
name: string; | ||
@@ -10,3 +10,3 @@ version: string; | ||
} | ||
export declare type MissingPeerIssuesByPeerName = Record<string, MissingPeerDependencyIssue[]>; | ||
export type MissingPeerIssuesByPeerName = Record<string, MissingPeerDependencyIssue[]>; | ||
export interface BadPeerDependencyIssue extends MissingPeerDependencyIssue { | ||
@@ -16,4 +16,4 @@ foundVersion: string; | ||
} | ||
export declare type BadPeerIssuesByPeerName = Record<string, BadPeerDependencyIssue[]>; | ||
export declare type PeerDependencyIssuesByProjects = Record<string, PeerDependencyIssues>; | ||
export type BadPeerIssuesByPeerName = Record<string, BadPeerDependencyIssue[]>; | ||
export type PeerDependencyIssuesByProjects = Record<string, PeerDependencyIssues>; | ||
export interface PeerDependencyIssues { | ||
@@ -20,0 +20,0 @@ bad: BadPeerIssuesByPeerName; |
@@ -7,5 +7,5 @@ import { ProjectManifest } from './package'; | ||
} | ||
export declare type ProjectsGraph = Record<string, { | ||
export type ProjectsGraph = Record<string, { | ||
dependencies: string[]; | ||
package: Project; | ||
}>; |
{ | ||
"name": "@pnpm/types", | ||
"version": "8.9.0", | ||
"version": "8.10.0", | ||
"description": "Basic types used by pnpm", | ||
@@ -27,3 +27,3 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@pnpm/types": "8.9.0" | ||
"@pnpm/types": "8.10.0" | ||
}, | ||
@@ -30,0 +30,0 @@ "exports": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11015
241