@lockfile-affected/lockfile-yarn
v2.1.0
Published
yarn.lock adapter for lockfile-affected
Downloads
562
Maintainers
Readme
@lockfile-affected/lockfile-yarn
Warning: This tool is still in early development. The API may change, and some features are incomplete or not yet fully tested. Use in production at your own risk.
yarn.lock adapter for lockfile-affected.
Supports both classic (v1) and berry (v2+) lockfile formats.
Minimal usage
Parse lockfile content into a normalized name -> version snapshot.
import { yarnLockfileParser } from '@lockfile-affected/lockfile-yarn';
const snapshot = await yarnLockfileParser.parse(lockfileContent);The parser implements the LockfileParser interface from @lockfile-affected/core.
Installation
npm install @lockfile-affected/lockfile-yarnFor Git-based and CI usage patterns, see
lockfile-affected
or the CLI README.
Publishing
This package is automatically published to npm via GitHub Actions with provenance attestation.
