Commit graph

76 commits

Author SHA1 Message Date
Rhys Arkins
0aae466cc1
fix(cache): global cache init (#6314) 2020-05-24 10:58:58 +02:00
Rhys Arkins
73694efd82
fix(cache): run cache init (#6312) 2020-05-24 07:13:55 +02:00
Jamie Magee
53ce3cf4d6
chore(jest): add eslint jest checks (#5986) 2020-05-18 14:33:44 +02:00
Michael Kriese
2515a89dab
fix(logging): sanitize known token (#5917) 2020-05-16 12:35:41 +02:00
Rhys Arkins
7caac0987c chore: better runCache import 2020-05-12 19:21:14 +02:00
Rhys Arkins
6104c4637a
refactor: global cache (#6198) 2020-05-11 10:38:07 +02:00
Rhys Arkins
04cba3f6c7 refactor(cache): rename run cache 2020-05-11 08:00:55 +02:00
Michael Kriese
00c56d8bde
chore: fix types (#5904)
* chore: fix types

* fix more types

* chore: mote fixes

* fix frmat

* chore: fix tests

* chore: fix type

* chore: cleanup

* chore: cleanup

Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-05-07 10:23:45 +02:00
Rhys Arkins
53ca91301f
chore: import linting (#6105) 2020-05-01 18:03:48 +02:00
Rhys Arkins
498ec20618
fea(internal): remove repoCache global (#6098) 2020-05-01 07:47:31 +02:00
Rhys Arkins
e2d1eeb3a5 fix(npm): cache known publicly-scoped packages 2020-04-24 17:12:20 +02:00
Rhys Arkins
e71641363a fix(npm): randomize retry delay 2020-04-24 16:33:26 +02:00
renovate[bot]
4f59b62da4
chore(deps): update dependency prettier to v2 (#5952)
* chore(deps): update dependency prettier to v2

* Run prettier-fix

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2020-04-12 18:09:36 +02:00
Rhys Arkins
f9c8cb46e2
refactor(datasource): getPkgReleases -> getReleases (#5867) 2020-04-04 08:53:52 +02:00
Rhys Arkins
4e4bfe9256
feat(internal): http util wrapper (#5841)
Co-Authored-By: Michael Kriese <michael.kriese@visualon.de>
2020-04-03 13:45:55 +02:00
k2snowman69
5ba8570699
feat(npm): Added host rules support (#5164) 2020-03-30 09:04:25 +02:00
Michael Kriese
707d35db30
feat(npm): try auth recursive (#5698) 2020-03-27 11:28:20 +01:00
Rhys Arkins
eab96b2d6e fix: remove high water mark setting 2020-03-12 21:30:40 +01:00
Rhys Arkins
67015a556d fix(npm): retry ETIMEDOUT 2020-03-11 15:50:49 +01:00
Rhys Arkins
6293edc19a
feat: replace datasource constants with IDs (#5595)
Co-Authored-By: Michael Kriese <michael.kriese@visualon.de>
2020-03-01 08:01:12 +01:00
Rhys Arkins
8571108d71 refactor: narrow datasource config types 2020-02-27 23:43:13 +01:00
Rhys Arkins
3f2773909f chore: remove unnecessary depName variables in datasources 2020-02-27 22:04:10 +01:00
Rhys Arkins
8dc52c7f30
refactor: move getPreset into lib/config/preset/ (#5578) 2020-02-27 14:19:58 +01:00
Rhys Arkins
4f5b01316c logs: warn for npmjs retry 2020-02-24 13:52:34 +01:00
Michael Kriese
9c717d9d57
fix: lgtm suggestions (#5562) 2020-02-24 12:27:10 +01:00
Rhys Arkins
f1d0b7b5fe refactor: lower some levels from info to debug
Ref #5555
2020-02-24 09:26:42 +01:00
Rhys Arkins
8598c5edea fix(npm): increase highWaterMark 2020-02-16 05:32:03 +01:00
Rhys Arkins
81dbc4d7be fix(npm): better datasource error logging 2020-02-14 11:06:09 +01:00
Rhys Arkins
292993f0c6 test: fix coverage 2020-02-14 08:52:41 +01:00
Rhys Arkins
c7b7027a7b fix(npm): retry npmjs ParseError 2020-02-14 08:30:39 +01:00
Rhys Arkins
b5e344b449
feat: DatasourceError (#5475)
Adds centralized handling and logging of datasource failures.
2020-02-13 13:29:55 +01:00
Rhys Arkins
c432d34ed3 logs: log pkgUrl not regUrl 2020-02-12 14:16:02 +01:00
Rhys Arkins
90b7916995 fix(npm): skip cache when retrying 2020-02-12 13:17:48 +01:00
Rhys Arkins
b8b7b75ad0 fix(npm): await 5s before ECONNRESET retry 2020-02-12 13:17:35 +01:00
Rhys Arkins
13a6736659 fix(npm): retry ECONNRESET for npm registry 2020-02-12 11:32:27 +01:00
Rhys Arkins
0f47f1ac71 logs: log npm registry failure codes 2020-02-12 09:23:27 +01:00
Rhys Arkins
3f1df39996 fix(npm): retry datasource 5 times 2020-02-11 21:11:30 +01:00
Michael Kriese
26c03731a4
chore(datasource): move test files to lib (#5426) 2020-02-11 05:08:10 +00:00
Sourav Das
58c444cb7e feat(constants): Data Source and Binary Source Constants (#5157) 2020-01-16 12:14:35 +01:00
Sourav Das
ee153e560e feat: use error constants (#5088) (#5100)
Use defined error constants throughout codebase.
2020-01-12 08:50:11 +01:00
Rhys Arkins
d19709aebd
feat(datasource): centralise git url massaging (#5032) 2019-12-20 09:27:58 +01:00
renovate[bot]
991c46ad07 build(deps): update dependency validator to v12 (#4920) 2019-12-04 12:06:00 +01:00
Michael Kriese
f0d4995fda fix(eslint): '@typescript-eslint/explicit-function-return-… (#4872) 2019-11-26 16:13:07 +01:00
Rhys Arkins
473b7e1f4b refactor(eslint): enable @typescript-eslint/no-use-before-define 2019-11-24 05:09:13 +01:00
Michael Kriese
d0811c34eb fix(datasource): parse npm repository (#4505) 2019-09-17 12:50:11 +02:00
Rhys Arkins
9eb3c75101 test: don’t test npm cache
Too unreliable when tests are executed in parallel
2019-08-28 15:08:06 +02:00
IKEDA Sho
9f22002b3c chore(datasource): add more type annotations (#4312) 2019-08-19 16:44:11 +02:00
Michael Kriese
3ef90cca4e feat(datasource): convert to ts (#4183) 2019-08-15 06:30:16 +02:00
Michael Kriese
d97737914e refactor: add js type check (#4098) 2019-07-17 10:14:56 +02:00
Jamie Magee
f334c568a5 feat(typescript): convert logger to typescript (#3671) 2019-07-15 11:04:05 +02:00