Skip to content

Commit

Permalink
chore(deps): πŸ”— updates
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Mar 3, 2020
1 parent ff9e055 commit 43223f5
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 120 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ module.exports = {
{ exceptAfterSingleLine: true },
],
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_" }],
"jest/expect-expect": [
"error",
{
Expand Down
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"request": "launch",​
"cwd": "${workspaceRoot}",​
"runtimeArgs": ["-r", "ts-node/register"],​
"args": ["${workspaceFolder}/src/runner.ts", "--fancy", "--color", "sleep", "10"],
"args": ["${workspaceFolder}/src/runner.ts", "--pretty", "--color", "sleep", "10"],
"console": "integratedTerminal",
"internalConsoleOptions":"openOnSessionStart"
}
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,17 @@ Example builds:

There are three output formats that each can be combined with `--silent` to hide command output.

`--fancy` is the default. It shows output in a hieracrhical way and uses spinners to see exactly what's happening.
`--pretty` is the default. It shows output in a hieracrhical way and uses spinners to see exactly what's happening.
Make sure to check out the animation at the top of this page as well. Every executed step shows the execution time.
![Ultra Lint](assets/ultra-format-fancy.png)

`--fancy` combined with `--silent` is useful if you're only interested to see the overview:
`--pretty` combined with `--silent` is useful if you're only interested to see the overview:
![Ultra Lint](assets/ultra-format-fancy-silent.png)

`--no-fancy` doesn't use spinners and prefixes command output with the command name. This is useful for logging purposes.
`--no-pretty` doesn't use spinners and prefixes command output with the command name. This is useful for logging purposes.
![Ultra Lint](assets/ultra-format-no-fancy.png)

Combining `--no-fancy` with `--silent` shows a flat overview:
Combining `--no-pretty` with `--silent` shows a flat overview:
![Ultra Lint](assets/ultra-format-no-fancy-silent.png)

`--raw` will show the exact ouput as you would expect when running the commands stand alone. If the command you're executing is interactive (reads from stdin), then this is the mode you should use.
Expand Down Expand Up @@ -122,8 +122,8 @@ Usage: ultra [options]
Options:
-c|--concurrent Run the given commands concurrently
-p|--parallel alias for --concurrent
--fancy enable fancy output, spinners and seperate command output. Default when a TTY (default: true)
--no-fancy disables fancy output, spinners and seperate command output. Default when not a TTY. Useful for logging
--pretty enable pretty output, spinners and seperate command output. Default when a TTY (default: true)
--no-pretty disables pretty output, spinners and seperate command output. Default when not a TTY. Useful for logging
--raw Output only raw command output
-s|--silent skip script output. ultra console logs will still be shown
--color colorize output (default: true)
Expand All @@ -137,7 +137,7 @@ Options:
- `ultra --concurrent lint \; test \; build`
- `ultra --concurrent "lint ; test ; build"`
- `ultra --concurrent "lint && test && build"`
- use `--dry-run` to see what would be executed. The output is similar to `--fancy --silent`
- use `--dry-run` to see what would be executed. The output is similar to `--pretty --silent`

## :gear: Optional Configuration

Expand Down
12 changes: 5 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
"generate:emoji": "npx ts-node --transpile-only src/scripts/updater.ts",
"generate:config": "npx ts-interface-builder src/config-options.ts",
"prebuild": "yarn clean && yarn lint && yarn test",
"build:docs": "npx copyfiles *.md ../../",
"build:rollup": "npx rollup -c",
"build": "yarn build:rollup",
"build:ts": "npx tsc -p tsconfig.build.json",
Expand Down Expand Up @@ -78,8 +77,7 @@
"@rollup/plugin-typescript": "3.0.0",
"@types/chai": "4.2.9",
"@types/cli-spinners": "1.3.0",
"@types/concurrently": "5.1.0",
"@types/copyfiles": "2.1.1",
"@types/comment-json": "^1.1.1",
"@types/eslint": "6.1.8",
"@types/eslint-plugin-prettier": "2.2.0",
"@types/jest": "25.1.3",
Expand All @@ -91,17 +89,15 @@
"@types/sinon": "7.5.2",
"@types/sinon-chai": "3.2.3",
"@types/standard-version": "7.0.0",
"@types/supports-color": "5.3.0",
"@types/through2": "^2.0.34",
"@types/wrap-ansi": "3.0.0",
"@types/yaml": "1.2.0",
"@typescript-eslint/eslint-plugin": "2.21.0",
"@typescript-eslint/parser": "2.21.0",
"builtin-modules": "3.1.0",
"chai": "4.2.0",
"clinic": "5.0.0",
"concurrently": "5.1.0",
"conventional-changelog-cli": "2.0.31",
"copyfiles": "2.2.0",
"coveralls": "3.0.9",
"devmoji": "2.1.4",
"eslint": "6.8.0",
Expand Down Expand Up @@ -133,14 +129,16 @@
"typesync": "0.6.1"
},
"dependencies": {
"ansi-split": "^1.0.1",
"chalk": "^3.0.0",
"cli-cursor": "^3.1.0",
"cli-spinners": "^2.2.0",
"commander": "^4.1.0",
"comment-json": "^3.0.2",
"globrex": "^0.1.2",
"shellwords-ts": "^3.0.0",
"string-width": "^4.2.0",
"supports-color": "^7.1.0",
"through2": "^3.0.1",
"tiny-glob": "^0.2.6",
"wrap-ansi": "^6.2.0",
"yaml": "^1.7.2"
Expand Down
Loading

0 comments on commit 43223f5

Please sign in to comment.