Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: improve description for configtest command #2379

Merged
merged 1 commit into from Jan 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion OPTIONS.md
Expand Up @@ -794,7 +794,7 @@ Global options:

Commands:
build|bundle|b [entries...] [options] Run webpack (default command, can be omitted).
configtest|t [config-path] Tests webpack configuration against validation errors.
configtest|t [config-path] Validate a webpack configuration.
help|h [command] [option] Display help for commands and options.
info|i [options] Outputs information about your system.
init|c [scaffold...] [options] Initialize a new webpack configuration.
Expand Down
2 changes: 1 addition & 1 deletion packages/configtest/package.json
@@ -1,7 +1,7 @@
{
"name": "@webpack-cli/configtest",
"version": "1.0.0",
"description": "Tests webpack configuration against validation errors.",
"description": "Validate a webpack configuration.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/configtest/src/index.ts
Expand Up @@ -6,7 +6,7 @@ class ConfigTestCommand {
{
name: 'configtest [config-path]',
alias: 't',
description: 'Tests webpack configuration against validation errors.',
description: 'Validate a webpack configuration.',
pkg: '@webpack-cli/configtest',
},
[],
Expand Down
12 changes: 6 additions & 6 deletions packages/webpack-cli/README.md
Expand Up @@ -63,17 +63,17 @@ npx webpack-cli --help verbose
### Available Commands

```
build|bundle|b [options] Run webpack (default command, can be omitted).
watch|w [options] Run webpack and watch for files changes.
version|v [commands...] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and commands.
build|bundle|b [entries...] [options] Run webpack (default command, can be omitted).
configtest|t [config-path] Validate a webpack configuration.
help|h [command] [option] Display help for commands and options.
serve|s [options] Run the webpack dev server.
info|i [options] Outputs information about your system.
init|c [options] [scaffold...] Initialize a new webpack configuration.
init|c [scaffold...] [options] Initialize a new webpack configuration.
loader|l [output-path] Scaffold a loader.
migrate|m <config-path> [new-config-path] Migrate a configuration to a new version.
configtest|t [config-path] Tests webpack configuration against validation errors.
plugin|p [output-path] Scaffold a plugin.
serve|s [entries...] [options] Run the webpack dev server.
version|v [commands...] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and commands.
watch|w [entries...] [options] Run webpack and watch for files changes.
```

### webpack 4
Expand Down