Commit graph

137 commits

Author SHA1 Message Date
Michael Kriese
e5c6f38d75
refactor: enable strict checks (#16168)
* refactor:  enable strict checks

* chore: revert changes

* chore: fix tsconfig
2022-06-21 13:00:21 +02:00
RahulGautamSingh
996e4a6e57
feat: rename aliases to registryAliases (#15877) 2022-06-10 05:14:49 +00:00
Michael Kriese
982cefff2b
refactor(config): strict null checks (#15291)
* refactor(config): strict null checks

* chore: fix test
2022-04-24 22:48:54 +00:00
Rhys Arkins
62694efae7
fix(config): validate integer (#15206) 2022-04-20 20:44:19 +00:00
Rhys Arkins
5f1f104d65
fix(git): remove default gitTimeout (#15200) 2022-04-20 22:33:36 +02:00
Hasan Awad
9270ebad80
feat: add git timeout (#14914) 2022-04-17 18:12:42 +01:00
RahulGautamSingh
e64b7576e9
feat: matchSourceUrls (#14813) 2022-03-28 09:58:20 +02:00
Rhys Arkins
143c9a6751 refactor: rename lookupName -> packageName (#14494)
Renames `lookupName` to be `packageName`.

BREAKING CHANGE: Use `packageName` instead of `lookupName` if interacting with Renovate datasources directly.
2022-03-04 09:04:02 +01:00
Rhys Arkins
a61821bde8 refactor: repository worker (#14489)
Refactors branch and pr worker to be under repository worker.
2022-03-04 09:04:02 +01:00
Rhys Arkins
dca3418bbd refactor: lib/modules (#14488)
Moves datasource, manager, platform and versioning code from lib/ into new lib/modules/

BREAKING CHANGE: External tools must update paths to datasource, manager, platform and versioning
2022-03-04 09:04:02 +01:00
RahulGautamSingh
4f65b57225
refactor: refactor static regex out of for loops (#13065) 2021-12-29 07:26:13 +01:00
Michael Kriese
6c953ead4e
refactor: wrong function calls (#13245) 2021-12-22 14:20:58 +01:00
Rhys Arkins
2f1c8afcf2
fix(config): validate matchStrings (#12808) 2021-11-23 15:17:49 +01:00
Rhys Arkins
0099ba1762
fix(config): check if matchStrings is iterable (#12759) 2021-11-22 21:08:10 +01:00
Rhys Arkins
bf09337076
fix: enable eslint eqeqeq (#12574)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-11-09 07:02:59 +00:00
HonkingGoose
ab018191fa
chore: report and fix unused ESLint disable directives (#12548) 2021-11-08 20:20:03 +01:00
Sébastien CROCQUESEL
b3676ac8ec
feat(regex): depType can be captured and templated (#12287) 2021-10-25 05:25:35 +00:00
RahulGautamSingh
4b16903ff1
fix: modified regex to use RE2 (#12025)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-10-19 14:53:34 +02:00
Sebastian Poxhofer
e416df1865
feat(manager/regex): allow defining autoReplaceStringTemplate (#12019) 2021-10-05 12:21:11 +00:00
Rhys Arkins
750bc1656e refactor: config/definitions -> config/options 2021-08-17 07:57:45 +02:00
Rhys Arkins
2fe494616d feat(yarn): remove yarnrc config support (#10114)
Removes support for "yarnrc" configuration option.

Closes #10113

BREAKING CHANGE: It is no longer supported to configure a "yarnrc" override in Renovate config
2021-08-17 07:57:45 +02:00
Rhys Arkins
aa7f1cb952
feat: minimumConfidence (experimental, non-public) (#10313) 2021-06-23 20:19:14 +00:00
Atsushi Watanabe
1d92836c84
fix: regex manager extractVersionTemplate validation (#10325) 2021-06-15 13:10:23 +02:00
Rhys Arkins
2a40b6db79 fix(regex): add currentValueTemplate 2021-06-11 09:49:09 +02:00
Rhys Arkins
4eae87d881
fix(config): validate secrets as plain object (#10206)
Closes #10205
2021-05-28 10:04:26 +02:00
Rhys Arkins
66820cfe27
feat: migratePresets (#10111) 2021-05-22 23:47:28 +02:00
Michael Kriese
48af0da981
fix: validate customEnvVariables (#10070) 2021-05-20 12:25:22 +02:00
renovate[bot]
b8e36daa87
chore(deps): update dependency prettier to v2.3.0 (#10012)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-17 08:06:24 +00:00
Michael Kriese
7daa93a78d
refactor: extract types to new files (#9951) 2021-05-11 12:51:21 +02:00
Rhys Arkins
65bbf45319
fix(validation): only warn when extending group in rules (#9871) 2021-05-05 17:46:34 +02:00
Rhys Arkins
e0fa64db9b
fix(config): warn not error if extending group presets (#9836) 2021-05-04 08:02:39 +02:00
Rhys Arkins
e0deef3bc2 fix: disallow allowedVersions and matchUpdateTypes
Closes #9172
2021-04-22 09:55:14 +02:00
Rhys Arkins
61abc03a2e
feat(config): validate packageRules matchUpdateTypes combos (#9649) 2021-04-22 07:16:40 +00:00
Arkadiusz Kosmala
b070646186
feat(config): validate enabledManagers 2021-04-15 09:18:51 +00:00
Rhys Arkins
893df627e4
feat(validation): language/manager top-level check (#9498) 2021-04-12 06:11:25 +02:00
Rhys Arkins
4cf9c5028a
feat(validation): warn if packageRules contain all selectors (#9497) 2021-04-11 19:26:20 +02:00
Rhys Arkins
6060911aef refactor: packageRules selector validation 2021-04-11 18:40:01 +02:00
Rhys Arkins
a55b5202e5 fix(validation): simplify packageRules validation message 2021-04-11 18:38:25 +02:00
Rhys Arkins
88ae12a65d
feat(config): validate config parent (#9350) 2021-04-05 10:41:31 +00:00
Rhys Arkins
20147e30b9
feat: packageRules.matchPackagePrefixes (#9365) 2021-04-03 05:18:25 +00:00
Rhys Arkins
95bf948020
refactor: config warning/error fields (#9349) 2021-04-01 15:50:17 +02:00
Nik Skoufis
e7f90d50a6
fix: Add registryTemplateUrl field to allowed fields for regexManager (#9239) 2021-03-22 07:18:34 +01:00
Rhys Arkins
d65fd4a974 fix: deprecate yarnrc 2021-03-20 20:35:15 +01:00
Michael Kriese
a4c6cb5690
fix: wrong validation property (#9084) 2021-03-11 15:40:31 +01:00
Rhys Arkins
eb8f895f2e
refactor: eslint no-negated-condition (#8973) 2021-03-04 06:21:55 +01:00
Michael Kriese
74d7691bef
refactor: optimize type usage (#8947) 2021-03-02 21:44:55 +01:00
Rhys Arkins
7f75e5768b refactor: vulnerabilityAlert -> isVulnerabilityAlert 2021-02-24 15:13:41 +01:00
Rhys Arkins
6b494027b6
feat: matchFiles (#8769) 2021-02-19 16:29:50 +01:00
Rhys Arkins
03dae5a5e9 fix: don’t filter template fields when validating 2021-02-03 16:33:28 +01:00
Rhys Arkins
800a3d15ca fix(validation): allow description in regexManagers 2021-02-01 07:03:38 +01:00
Sergei Zharinov
72b0b85640
feat(config): Rename packageRules selectors (#6939) 2021-01-29 11:43:42 +01:00
Sebastian Poxhofer
405cb8f29b
feat(regex): matchStringsStrategy (#7687)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-11-27 06:55:57 +01:00
Sergio Zharinov
8d0f7dddd2
feat(package-rules): matchCurrentVersion regular expressions (#7684) 2020-11-12 08:21:05 +01:00
Sergio Zharinov
fe83cf914e
refactor(config): Generalize allowedVersions regex (#7683) 2020-11-10 10:12:03 +01:00
Sergio Zharinov
561d646819
feat(config): Allow single strings for preset setting (#7508) 2020-10-27 16:39:11 +01:00
Rhys Arkins
c2f914028b fix(config): don’t validate force.constraints 2020-10-27 08:13:23 +01:00
Rhys Arkins
082f1ba03f
fix: regex manager filematch validation (#7500) 2020-10-19 09:33:54 +02:00
Sergio Zharinov
8fc712d7b0
feat(config): Validate parent of fileMatch field (#7492)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-10-18 07:56:16 +02:00
Rhys Arkins
97dad2da76 fix(config): explicitly config error for proto 2020-10-16 10:23:50 +02:00
Rhys Arkins
75737805c8
refactor: rename compatibility -> constraints (#7308) 2020-09-30 11:02:25 +02:00
Rhys Arkins
7651d2e420 feat: additionalBranchPrefix 2020-09-01 14:36:10 +02:00
Rhys Arkins
0ce9837b9d fix: Revert "feat: additionalBranchPrefix"
This reverts commit 9385fb557b.
2020-08-31 09:33:34 +02:00
Rhys Arkins
9385fb557b feat: additionalBranchPrefix
Renamed from managerBranchPrefix
2020-08-31 07:47:24 +02:00
Sergio Zharinov
95f9af2ba6
refactor(config): Fix lint warnings (#7108) 2020-08-26 14:59:50 +02:00
renovate[bot]
9f6c193557
build(deps): update dependency @sindresorhus/is to v3.1.0 (#6867)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-30 06:54:20 +02:00
Rhys Arkins
8f7d2bad5e fix(validation): matchCurrentVersion is a valid selector 2020-07-22 08:32:01 +02:00
Rhys Arkins
e834f2b826
feat: prHeader and prFooter (#6511) 2020-06-14 08:49:52 +02:00
Praveen Adusumilli
0e218922b1
fix: Add validations for aliases (#6426) 2020-06-04 15:47:56 +02:00
Rhys Arkins
53ca91301f
chore: import linting (#6105) 2020-05-01 18:03:48 +02:00
Rhys Arkins
4104ba04e3
feat: support allowedVersions regular expressions (#5979) 2020-04-15 22:07:53 +02:00
Florian Greinacher
e6453ae423
feat(presets): add support for local presets (#5814) 2020-04-14 07:05:30 +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
8172de1a3b
refactor: util/template for handlebars (#5878) 2020-04-05 10:09:55 +02:00
Michael Kriese
e779d895f7
test(coverage): lib/config (#5656) 2020-03-07 11:27:10 +01:00
Rhys Arkins
b2b8d7e953
feat: regex manager (#5617) 2020-03-06 09:07:55 +01:00
Michael Kriese
6c4892b593
chore(types): fix more typescript types (#5615) 2020-03-02 12:06:16 +01:00
Michael Kriese
9c717d9d57
fix: lgtm suggestions (#5562) 2020-02-24 12:27:10 +01:00
Michael Kriese
2ffad1363e
chore(eslint): stricter settings (#5375) 2020-02-05 18:17:20 +00:00
Rhys Arkins
da6164f8d4 fix: validate handlebars templates and throw config error 2020-01-27 12:48:08 +01:00
Rhys Arkins
54a1da4446 fix(config): skip validating compatibility object
Closes #4889
2019-11-27 06:48:49 +01:00
Rhys Arkins
c78d6510ea
refactor: use re2 for regex (#4687) 2019-10-22 08:48:40 +02:00
Rhys Arkins
f524557f21 fix: Revert "refactor: use re2 instead of RegExp (#4441)"
This reverts commit ab1c5b20ee.
2019-10-15 10:14:49 +02:00
Sumit Nihalani
ab1c5b20ee refactor: use re2 instead of RegExp (#4441) 2019-10-15 06:51:02 +02:00
Rhys Arkins
63a66f46ce chore: do not validate vulnerabilityAlert 2019-10-06 10:53:51 +02:00
Rhys Arkins
c3ba80c58f fix: throw baseBranch error from gitFs
Closes #4346
2019-09-05 09:47:53 +02:00
Michael Kriese
73f58899c6 fix: typescript types (#4390) 2019-08-28 06:46:48 +02:00
Michael Kriese
2b11b661ed feat(config): convert to ts (#4299) 2019-08-23 15:46:31 +02:00
Renamed from lib/config/validation.js (Browse further)