mirror of
https://github.com/pnpm/pnpm.git
synced 2026-05-07 07:27:06 -04:00
pnpm should fail if the project has an engines.pnpm field in its package.json and the running pnpm's version does not satisfy the range. pnpm should also fail it the project has an engines.node field and process.version does not satisfy it. close #1382 PR #1914
@pnpm/types
Basic types used by pnpm
Installation
<pnpm|npm|yarn> add @pnpm/types
Usage
import {PackageJson} from '@pnpm/types'
const pkg: PackageJson = {
name: 'foo',
version: '1.0.0',
}
License
MIT © Zoltan Kochan