Files
pnpm/packages/types
Zoltan Kochan a7c4a27697 feat: pnpm should fail if the project needs another version
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
2019-07-14 02:36:04 +03:00
..
2019-05-07 02:10:06 +03:00

@pnpm/types

Basic types used by pnpm

npm version

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