Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 807 Bytes

README.md

File metadata and controls

35 lines (21 loc) · 807 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.13.1/bundles/@yarnpkg/plugin-licenses.js

Usage

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

Testing

yarn test

NOTE: Integration tests require yarn build first.

Publishing

npm version <version>

License

MIT