0.1.7 • Published 6 months ago

pnpm-lock v0.1.7

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

pnpm-lock

Parses pnpm-lock.yaml files for use in other tools.

Usage

import { parseWantedLockfile } from 'pnpm-lock';

const path = process.cwd();
const opts = {
		overrideFileName?: string; // default: 'pnpm-lock.yaml'
		wantedVersions?: string[]; 
		ignoreIncompatible: boolean;
		useGitBranchLockfile?: boolean;
};

const lockfile = readLockfile(path, opts);

Notable differences from @pnpm/lockfile-file

  • only readWantedLockfile is supported
  • use-inline-specifiers-lockfile-format is unsupported
  • autofixMergeConflicts is unsupported
  • mergeGitBranchLockfiles is unsupported
  • No tests: use at your own risk, however:
    • there are no major changes from the original package which has tests
    • there are unlocked-related tests in the unlocked package
0.1.7

6 months ago

0.1.6

9 months ago

0.1.5

11 months ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago