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

feat: add shorthand conc #358

Merged
merged 4 commits into from
Aug 22, 2022
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ npm install concurrently --save

## Usage

> **Note**
> The `concurrently` command is now also available under the shorthand alias `conc`.

Remember to surround separate commands with quotes:

```bash
Expand Down Expand Up @@ -149,8 +152,8 @@ General
template.
Example names: "main,browser,server" [string]
--name-separator The character to split <names> on. Example usage:
concurrently -n "styles|scripts|server"
--name-separator "|" [default: ","]
-n "styles|scripts|server" --name-separator "|"
[default: ","]
-s, --success Which command(s) must exit with code 0 in order
for concurrently exit with code 0 too. Options
are:
Expand Down
2 changes: 1 addition & 1 deletion bin/concurrently.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const args = yargs(argsBeforeSep)
'name-separator': {
describe:
'The character to split <names> on. Example usage:\n' +
'concurrently -n "styles|scripts|server" --name-separator "|"',
'-n "styles|scripts|server" --name-separator "|"',
default: defaults.nameSeparator,
},
success: {
Expand Down
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"types": "dist/src/index.d.ts",
"type": "commonjs",
"bin": {
"concurrently": "./dist/bin/concurrently.js"
"concurrently": "./dist/bin/concurrently.js",
"conc": "./dist/bin/concurrently.js"
},
"engines": {
"node": "^12.20.0 || ^14.13.0 || >=16.0.0"
Expand Down