1.0.0 • Published 6 years ago

@tsuyoshiwada/yarn-outdated-formatter v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

yarn-outdated-formatter

Build Status Coverage Status NPM Version License

This is Forked project

Forked from masawada/yarn-outdated-formatter.
Support for yarn@1.2.1 or higher version.

Usage

format-yarn-outdated --help shows the help:

NAME
  format-yarn-outdated - yarn outdated --json formatter

SYNOPSIS
  format-yarn-outdated [-h help] [-v version] [-f format]
                       [-e excludes] [-c changelogs]

OPTIONS
  --help, -h       Prints the help.
  --version, -v    Prints the package version.
  --format, -f     Output format. One of either markdown, json or mackerel can be used. Default: markdown
  --excludes, -e   Path to YAML file which specify package names to exclude
  --changelogs, -c Path to YAML file which specify changelog uris for the packages

EXAMPLES
  $ yarn outdated --json | $(yarn bin)/format-yarn-outdated
  $ yarn outdated --json | $(yarn bin)/format-yarn-outdated --excludes /path/to/excludes.yml --changelogs /path/to/changelogs.yml
  $ yarn outdated --json | $(yarn bin)/format-yarn-outdated --format json | jq '.minor[],.patch[] | .[0]' | xargs -I{} yarn upgrade {}
  $ yarn outdated --json | $(yarn bin)/format-yarn-outdated --format mackerel | mkr throw --service ServiceMetricName

Examples

License

MIT License

1.0.0

6 years ago