@pnpm/types
Advanced tools
Comparing version 7.8.0 to 7.9.0
@@ -95,2 +95,6 @@ export interface Dependencies { | ||
export declare type PackageExtension = Pick<BaseManifest, 'dependencies' | 'optionalDependencies' | 'peerDependencies' | 'peerDependenciesMeta'>; | ||
export interface PeerDependencyRules { | ||
ignoreMissing?: string[]; | ||
allowedVersions?: Record<string, string>; | ||
} | ||
export declare type ProjectManifest = BaseManifest & { | ||
@@ -101,2 +105,3 @@ pnpm?: { | ||
packageExtensions?: Record<string, PackageExtension>; | ||
peerDependencyRules?: PeerDependencyRules; | ||
}; | ||
@@ -103,0 +108,0 @@ private?: boolean; |
{ | ||
"name": "@pnpm/types", | ||
"version": "7.8.0", | ||
"version": "7.9.0", | ||
"description": "Basic types used by pnpm", | ||
@@ -26,2 +26,5 @@ "main": "lib/index.js", | ||
"funding": "https://opencollective.com/pnpm", | ||
"devDependencies": { | ||
"@pnpm/types": "7.9.0" | ||
}, | ||
"scripts": { | ||
@@ -32,3 +35,3 @@ "test": "pnpm run compile", | ||
}, | ||
"readme": "# @pnpm/types\n\n> Basic types used by pnpm\n\n<!--@shields('npm')-->\n[![npm version](https://img.shields.io/npm/v/@pnpm/types.svg)](https://www.npmjs.com/package/@pnpm/types)\n<!--/@-->\n\n## Installation\n\n```sh\n<pnpm|npm|yarn> add @pnpm/types\n```\n\n## Usage\n\n```ts\nimport { PackageManifest } from '@pnpm/types'\n\nconst pkg: PackageManifest = {\n name: 'foo',\n version: '1.0.0',\n}\n```\n\n## License\n\nMIT\n" | ||
"readme": "# @pnpm/types\n\n> Basic types used by pnpm\n\n<!--@shields('npm')-->\n[![npm version](https://img.shields.io/npm/v/@pnpm/types.svg)](https://www.npmjs.com/package/@pnpm/types)\n<!--/@-->\n\n## Installation\n\n```sh\npnpm add @pnpm/types\n```\n\n## Usage\n\n```ts\nimport { PackageManifest } from '@pnpm/types'\n\nconst pkg: PackageManifest = {\n name: 'foo',\n version: '1.0.0',\n}\n```\n\n## License\n\nMIT\n" | ||
} |
@@ -12,3 +12,3 @@ # @pnpm/types | ||
```sh | ||
<pnpm|npm|yarn> add @pnpm/types | ||
pnpm add @pnpm/types | ||
``` | ||
@@ -15,0 +15,0 @@ |
Sorry, the diff of this file is not supported yet
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
10414
205
1