Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 834 Bytes

README.md

File metadata and controls

36 lines (22 loc) · 834 Bytes

yarn-plugin-licenses

This is a Yarn v4 plugin that adds yarn licenses commands (similar to what Yarn v1 had).

For Yarn v3 support, install v0.12.0 or earlier (down to v0.7.0).

For Yarn v2 support, install v0.6.0 or earlier.

Install

yarn plugin import https://raw.githubusercontent.com/mhassan1/yarn-plugin-licenses/v0.15.0/bundles/@yarnpkg/plugin-licenses.js

Usage

yarn licenses list --help
yarn licenses generate-disclaimer --help
yarn licenses audit --help

Testing

yarn test

NOTE: Integration tests require yarn build first.

Publishing

npm version <version>

License

MIT