Skip to content

mhassan1/yarn-plugin-licenses

Repository files navigation

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