yarnlock-dedupe-check

2.1.1 • Public • Published

yarnlock-dedupe-check

Check the following.

  • [x] Multi version installed.
  • [x] Monorepo

Install

yarn add -D yarnlock-dedupe-check

Usage

Usage: yarnlock-dedupe-check [options]

Check the health of npm libraries installed with yarn or npm.

Options:
  -V, --version                               output the version number
  -i --input <yarn.lock | package-lock.json>  input yarn.lock file
  --json <output.json>                        output filename.
  --html <output.html>                        output html filename.
  --ignore <regex>                            ignore regex pattern
  --test <regex>                              test target pattern
  --warn <regex>                              warning target pattern
  -h, --help                                  output usage information

Generate JSON report

yarnlock-dedupe-check --input ./yarn.lock --test "[String RegExp]" --json ./report.json

DEMO: https://himenon.github.io/node-yarnlock-dedupe-check/

Generate HTML Report

yarnlock-dedupe-check --input ./yarn.lock --test "[String RegExp]" --html ./report.html

DEMO: https://himenon.github.io/yarnlock-dedupe-check

Test

yarnlock-dedupe-check --input ./yarn.lock --test "^react$" --warn "react"

Select target

  • --pattern : test target (JS RegExp)
  • --skip : test skip target (JS RegExp)

License

yarnlock-dedupe-check is MIT licensed.

Readme

Keywords

none

Package Sidebar

Install

npm i yarnlock-dedupe-check

Weekly Downloads

223

Version

2.1.1

License

MIT

Unpacked Size

26.1 kB

Total Files

22

Last publish

Collaborators

  • himenoglyph