Skip to content

Latest commit

 

History

History
60 lines (44 loc) · 915 Bytes

File metadata and controls

60 lines (44 loc) · 915 Bytes

yarn-plugin-manifest

Show manifest of workspace

Install

$ yarn plugin import https://github.com/indooorsman/yarn-plugins/releases/download/yarn-plugin-manifest%401.0.0/plugin-manifest.js

Usage

$ yarn manifest --help
# or
$ yarn m --help

Options

  -f,--fields #0    only show specific fields, separate by comma
  --json            show as json
  --oneline         show in oneline

Examples

show all fields in package.json

  $ yarn manifest
  # name: yarn-plugins
  # version: 1.0.0
  # ...other fields

show specific fields

  $ yarn manifest --fields=name,version
  # name: yarn-plugins
  # version: 1.0.0

show as json

  $ yarn manifest --fields=name --json
  # {
  #   "name": "yarn-plugins"
  # }

show in oneline

  $ yarn manifest --fields=name,version --oneline
  # name: yarn-plugins, version: 1.0.0