Commit Graph

283 Commits

Author SHA1 Message Date
25c1db6b1a
handle multiple version of the same package, new JSON format
JSON `results` format has changed and now includes keys for each
dependency type.

Fixes #29
2019-09-08 21:55:05 +02:00
8455f09bdf
limit truncate/append to win32 2019-08-20 19:54:07 +02:00
bd3e875e47
write file via truncate/append - fixes #28 2019-08-20 18:45:20 +02:00
129b3c0480
move chalk import so color args work as expected 2019-08-19 08:39:42 +02:00
ed34431329
usage tweaks 2019-07-19 15:34:04 +02:00
25bfcf1f58
fallback to repo url before homepage 2019-07-19 15:32:04 +02:00
50f8a41cbe
join table columns by 2 instead of 4 spaces 2019-07-19 15:28:11 +02:00
8622d36de5
add --sockets argument and bump default value 2019-07-13 18:41:30 +02:00
e0b5342560
add usage example 2019-07-13 18:06:15 +02:00
419c72e614
set recursive when checking for auth token 2019-07-13 18:03:47 +02:00
a74f569eac
rename -S to -U / --error-on-unchanged 2019-07-12 16:37:24 +02:00
da8f0cdac8
add new -S / --success-on-unchanged argument for conditional update 2019-07-12 16:17:31 +02:00
4fef9b24b8
only parse npmrc once, memoize hosted-git-info 2019-07-05 18:35:26 +02:00
a5cc1acb90
support parsing registry from local .npmrc 2019-06-29 16:44:43 +02:00
ef0199e9be
remove escape-string-regexp dependency 2019-06-29 15:31:25 +02:00
65eb4f2705
refactors and fix npm registry fallback 2019-06-29 15:25:04 +02:00
ff9c9ca98d
support http basic auth for registry auth 2019-06-29 15:18:14 +02:00
16232008f0
improve performance by memoizing registry-auth-token results 2019-06-28 23:25:10 +02:00
af46b35fec
fix private scoped packages without dedicated auth 2019-06-27 19:25:23 +02:00
e48c40410c
minor refactor 2019-06-27 19:17:31 +02:00
ab472118a4
support scoped registries - fixes #25 2019-06-27 19:15:01 +02:00
eb8402a87b
add color to error output 2019-05-29 22:42:25 +02:00
429bab53c2
add cwd to error message 2019-05-29 22:06:00 +02:00
75bbb5cb64
add error message for package.json not found 2019-05-29 22:04:21 +02:00
690068ce36
refactors 2019-05-09 20:27:11 +02:00
543cea72ce
fix semver handling with prereleases - fixes #24 2019-04-25 19:50:03 +02:00
20a74217bf
fix handling of version 0.0.0 - fixes #23 2019-03-28 21:22:49 +01:00
16237166fa
add --release option, improvements to semver options, fixes #21 2019-02-25 22:46:39 +01:00
96c53233ef
fix updates between prereleases 2019-02-25 21:50:12 +01:00
7fe14b00c3
Fix error related to '*' versions 2019-02-15 21:16:57 +01:00
d647b590ea
auto-detect custom registry and retry on official one - fixes #20 2019-02-11 19:39:40 +01:00
1cabd7697c
Always try to authorize, remove --auth option 2019-02-07 19:29:36 +01:00
d80e48d364
add --auth option - #19 2019-02-07 19:21:17 +01:00
64ea707954
fix help example 2019-02-06 07:35:03 +01:00
76870eb9ee
minor refactor 2019-02-04 19:12:15 +01:00
18b67746b9
fix info urls with verdaccio registry - #19 2019-02-03 16:21:00 +01:00
fa572f66ea
make color detection compatible with winpty 2019-01-31 14:54:27 +01:00
c0a9af163a
add test for -p argument 2019-01-20 22:34:40 +01:00
6e4c5717cb
more prerelease fixes 2019-01-20 22:26:30 +01:00
bd2f0b3f9c
rewrite version resolution, add tests and screenshot 2019-01-19 20:05:26 +01:00
3e7bd92e54
make -f work with files not named 'package.json' 2019-01-19 18:45:31 +01:00
Steffen Windoffer
aac7419deb date check never should happen when use greatest is enabled 2019-01-19 16:22:06 +01:00
d60b6036de
ignore greater versions when looking for latest 2018-12-28 13:08:24 +01:00
94d4b9d6a3
prevent downgrades to newer, but smaller versions 2018-12-23 11:29:19 +01:00
dde4516a63
rewrite version resolution, fixes #13 2018-12-22 16:24:24 +01:00
f9bbf1e9ef
breaking: remove --semver option, add --patch and --minor instead - fixes #14 2018-12-21 23:17:39 +01:00
b99b741799
Revert "remove chalk dependency"
This reverts commit 402c6ed7ba89d36a0c81e87f3ddecc608fe8fe99.
2018-11-28 01:00:17 +01:00
402c6ed7ba
remove chalk dependency 2018-11-28 00:41:13 +01:00
58d72926ce
support directories in --file 2018-11-27 23:42:10 +01:00
7859e5f27c
cache hgi import 2018-11-27 23:37:24 +01:00
372941bafe
gracefully handle info url failures - fixes #12 2018-11-27 23:34:57 +01:00
Jonas Gierer
0dcd094643
add new info field to output
Fixes: https://github.com/silverwind/updates/issues/10
Fixes: https://github.com/silverwind/updates/pull/11
2018-11-24 19:55:00 +01:00
67a67bb86a
help and readme update 2018-11-19 15:53:58 +01:00
3442a30846
fix dist-tag latest check, fixes #9 2018-11-19 15:37:20 +01:00
0c5c96cabe
add --semver option and rewrite version resolution, fixes #9 2018-11-19 10:20:30 +01:00
16372cd6e6
un-prettify json output, update docs 2018-10-25 22:36:41 +02:00
fd8af7bcdf
refactor 2018-10-16 23:30:11 +02:00
089e93eff5
help text tweaks 2018-10-16 17:24:05 +02:00
ac65b5ac13
add --types option 2018-10-16 17:18:06 +02:00
2ad167879c
rename --exit-code to --error-on-outdated (breaking) 2018-10-15 08:05:54 +02:00
f25855ad79
add --exit-code, fixes #8 2018-10-15 06:52:37 +02:00
63bbf2ae93
refactor 2018-10-05 23:20:41 +02:00
c9abc76be3
remove npm-package-arg dependency 2018-10-05 23:04:52 +02:00
947fd6f7fb
remove update arg again, it's covered by --include 2018-10-04 07:58:20 +02:00
5f850abc43
switch to text-table, fix update arg 2018-10-04 07:41:31 +02:00
7b10252763
add package filter argument to --update 2018-10-04 07:27:11 +02:00
6cefc2d822
fix prerelease arg 2018-10-04 07:09:13 +02:00
9f1f4053ad
reorder help 2018-09-02 21:44:11 +02:00
6a1975d8b1
add optional package arguments to --greatest and --prerelease 2018-09-02 21:43:16 +02:00
3979c99316
better error message when no packages are found 2018-08-25 09:43:37 +02:00
af2146ed53
add -f argument to specify package.json 2018-08-23 22:40:19 +02:00
48f2db613e
search for package.json in parent directories too 2018-08-23 22:35:37 +02:00
bd29c5b5aa
refactor 2018-08-23 22:28:33 +02:00
67c1e775b9
catch npa errors 2018-07-30 19:18:53 +02:00
128efb6cd7
reorder some requires 2018-07-30 18:55:32 +02:00
52564400ca
minor refactor 2018-07-30 18:46:10 +02:00
8996570cd9
update help text for --registry 2018-07-29 22:52:47 +02:00
eef65d3259
fix updates of scoped packages, fixes #7 2018-07-29 22:41:46 +02:00
dc4506b3e0
refactor coloring 2018-07-25 11:53:50 +02:00
6da42f245b
tweak update message 2018-07-24 19:47:29 +02:00
3016e1afcf
improve error handling 2018-07-24 19:41:44 +02:00
Rupesh
3ad2f22002
Add option to support custom npm registry url 2018-07-24 08:40:47 +01:00
c6aa8e07a9
remove emoji in update message 2018-07-21 09:47:37 +02:00
e3197ec15a
add a nicer update info 2018-07-19 23:36:46 +02:00
7594ef8803
change default mechanism to 'latest', remove --latest, add --greatest 2018-07-19 23:28:41 +02:00
700827aa2f
don't return a version in case none is found 2018-07-16 22:24:13 +02:00
37009d031d
don't scan bundledDependencies as it is an array 2018-07-13 02:36:16 +02:00
dec89122c4
small refactor 2018-07-10 23:04:08 +02:00
33d471823e
rework color argument parsing, misc tweak 2018-07-10 17:32:19 +02:00
4c1ae24d60
add --latest option, fix output bug - fixes #2 2018-07-10 17:19:11 +02:00
3a830c04e3
better highlighting of non-numeric versions 2018-07-10 17:01:43 +02:00
e17cd64e7b
switch to make-fetch-happen for performance 2018-07-10 16:36:57 +02:00
329b7fe350
tweaks 2018-06-11 20:04:58 +02:00
65955ef394
don't return 255 code any more, misc tweaks 2018-05-31 19:33:22 +02:00
4584a10c81
tweak -p help text 2018-04-30 10:43:05 +02:00
37089a871c
refactor to arrow funcs 2018-04-30 10:42:39 +02:00
b9a57236de
fix readme usage 2018-04-30 09:13:36 +02:00
0e15aa56ee
rename --only to --include 2018-04-30 09:11:31 +02:00
023acb527c
add --exclude option, fix exit codes on error 2018-04-30 09:05:52 +02:00
abe9c8f68f
fix --help message 2018-04-30 08:36:09 +02:00
fdc85b74eb
add --only option 2018-04-30 08:31:42 +02:00
deb7442ab1
remove os import 2018-03-03 20:47:48 +01:00
0bb6d8658d
exit with code 255 when dependencies are up to date 2018-03-03 20:39:39 +01:00
0859dcb021
Fix error handling when package.json does not exist 2018-02-22 06:28:14 +01:00
b602439104
add -p option to include prelease version 2018-02-21 20:44:13 +01:00
608d9cc020
Revert "prefer highest over latest version, seen in gulp-sourcemaps"
This reverts commit f3d7aac9d758afbd4e23542c9c14178e10982033.
2018-01-24 22:43:11 +01:00
f3d7aac9d7
prefer highest over latest version, seen in gulp-sourcemaps 2018-01-24 22:38:23 +01:00
5091a2510f
switch to request for http 2018-01-16 21:58:58 +01:00
842d5f32f0
change 'package' to 'name' in table output 2017-12-10 18:32:11 +01:00
324af34754
handle multiple versions in a single version string 2017-12-10 18:27:29 +01:00
71d7e25d27
remove debug args from shebang 2017-12-09 08:45:06 +01:00
5e8292eafd
add -n and -c option aliases 2017-12-09 06:49:35 +01:00
48fcf03b03
refactor deps object building 2017-12-09 06:47:15 +01:00
d9c55d496e
change json output format, various refactorings 2017-12-08 14:39:52 +01:00
e7a43f422e
refacor results filter 2017-12-07 06:37:45 +01:00
5d8dc2ba4a
tweak --help 2017-12-06 19:13:44 +01:00
3274ae140d
add -v 2017-12-06 19:11:40 +01:00
6a34ff2aa8
remove meow, add package.json error handling 2017-12-06 19:05:56 +01:00
dd9e8e9330
make json keys are consistenst with CLI table 2017-12-03 17:14:02 +01:00
3e00998dc8
always print update summary 2017-12-03 16:30:59 +01:00
899550e721
doc tweaks 2017-12-03 15:16:59 +01:00
e06282d460
revert to exit code 0 when up to date 2017-12-03 14:57:48 +01:00
38c94a6627
fix range matching bug 2017-12-03 14:42:11 +01:00
5ffcd338b3
fix red/green 2017-12-03 14:29:40 +01:00
7ce3a74895
fix lint 2017-12-03 14:25:59 +01:00
d6f36bb313
exit with code 2 when deps are up to date 2017-12-03 14:25:13 +01:00
a769890def
better diff highlight 2017-12-03 14:12:30 +01:00
dbde4012b9
output the correct 'old' version 2017-12-03 13:20:37 +01:00
14f3fa41a6
add --json option, refactor 2017-12-03 13:17:31 +01:00
4bcf21ad15
rename column headers to 'old' and 'new' 2017-12-03 12:38:12 +01:00
863445d10a
fix cli help 2017-12-03 12:35:25 +01:00
269e1f5846
upgrade -> update 2017-12-03 12:18:28 +01:00
1140c41f2a
init 2017-12-03 12:15:02 +01:00