updates 14.1.1 → 14.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +2 -33
  2. package/bin/updates.js +23 -17
  3. package/package.json +8 -6
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  ![](./screenshot.png)
5
5
 
6
- `updates` is a CLI tool which checks for npm dependency updates of the current project and optionally updates `package.json`. It is highly configurable and is typically able to complete in less than a second.
6
+ `updates` is a CLI tool which checks for npm and pypi dependency updates of the current project and optionally updates `package.json`. It is highly configurable and is typically able to complete in less than a second.
7
7
 
8
8
  # Usage
9
9
 
@@ -24,38 +24,7 @@ deno run -A npm:updates
24
24
 
25
25
  ## Options
26
26
 
27
- See `--help` or below for the available options. Option that take multiple arguments can take them either via comma-separated value or by specifying the option multiple times. If an option has a optional `pkg` argument but none is given, the option will be applied to all packages instead.
28
-
29
- ```
30
- usage: updates [options]
31
-
32
- Options:
33
- -u, --update Update versions and write package.json
34
- -p, --prerelease [<pkg,...>] Consider prerelease versions
35
- -R, --release [<pkg,...>] Only use release versions, may downgrade
36
- -g, --greatest [<pkg,...>] Prefer greatest over latest version
37
- -i, --include <pkg,...> Include only given packages
38
- -e, --exclude <pkg,...> Exclude given packages
39
- -t, --types <type,...> Check only given dependency types
40
- -P, --patch [<pkg,...>] Consider only up to semver-patch
41
- -m, --minor [<pkg,...>] Consider only up to semver-minor
42
- -d, --allow-downgrade [<pkg,...>] Allow version downgrades when using latest version
43
- -E, --error-on-outdated Exit with code 2 when updates are available and 0 when not
44
- -U, --error-on-unchanged Exit with code 0 when updates are available and 2 when not
45
- -r, --registry <url> Override npm registry URL
46
- -G, --githubapi <url> Override Github API URL
47
- -f, --file <path> Use given package.json file or module directory
48
- -S, --sockets <num> Maximum number of parallel HTTP sockets opened. Default: 96
49
- -j, --json Output a JSON object
50
- -n, --no-color Disable color output
51
- -v, --version Print the version
52
- -V, --verbose Print verbose output to stderr
53
- -h, --help Print this help
54
-
55
- Examples:
56
- $ updates
57
- $ updates -u && npm i
58
- ```
27
+ See `--help`. Options that take multiple arguments can take them either via comma-separated value or by specifying the option multiple times. If an option has a optional `pkg` argument but none is given, the option will be applied to all packages instead.
59
28
 
60
29
  ## Config File
61
30