@webpack-cli/info
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -6,2 +6,8 @@ # Change Log | ||
## [1.2.3](https://github.com/webpack/webpack-cli/compare/@webpack-cli/info@1.2.2...@webpack-cli/info@1.2.3) (2021-03-27) | ||
### Bug Fixes | ||
- grammar in description of `--output` ([#2554](https://github.com/webpack/webpack-cli/issues/2554)) ([c6f781d](https://github.com/webpack/webpack-cli/commit/c6f781d741da3b07b25756c053427e5c358ad14f)) | ||
## [1.2.2](https://github.com/webpack/webpack-cli/compare/@webpack-cli/info@1.2.1...@webpack-cli/info@1.2.2) (2021-02-02) | ||
@@ -8,0 +14,0 @@ |
@@ -27,2 +27,3 @@ "use strict"; | ||
class InfoCommand { | ||
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any | ||
async apply(cli) { | ||
@@ -39,4 +40,8 @@ const { logger } = cli; | ||
name: 'output', | ||
type: String, | ||
description: 'To get the output in specified format ( accept json or markdown )', | ||
configs: [ | ||
{ | ||
type: 'string', | ||
}, | ||
], | ||
description: 'To get the output in a specified format ( accept json or markdown )', | ||
}, | ||
@@ -43,0 +48,0 @@ ], async (options) => { |
{ | ||
"name": "@webpack-cli/info", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "Outputs info about system and webpack config", | ||
@@ -17,3 +17,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "3bbda71e9637b7d20f3f49f9e080e27d8d8ae929", | ||
"gitHead": "fb50f766851f500ca12867a2aa9de81fa6e368f9", | ||
"peerDependencies": { | ||
@@ -20,0 +20,0 @@ "webpack-cli": "4.x.x" |
@@ -16,3 +16,3 @@ # webpack-cli info | ||
#yarn | ||
yarn add @webpack-cli/info -D | ||
yarn add -D @webpack-cli/info | ||
@@ -27,3 +27,3 @@ ``` | ||
#local installation | ||
#global installation | ||
webpack info [options] | ||
@@ -37,5 +37,5 @@ | ||
| Flag | Description | Type | | ||
| ------------------------------- | ------------------------------------- | ------ | | ||
| `--output < json or markdown >` | To get the output in specified format | string | | ||
| Flag | Description | Type | | ||
| ------------------------------- | --------------------------------------- | ------ | | ||
| `--output < json or markdown >` | To get the output in a specified format | string | | ||
@@ -42,0 +42,0 @@ _Not supported for config_ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
75
7922
5