Commit graph

75 commits

Author SHA1 Message Date
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
Maksim
ab8e1c634e
refactor(migrations): packageRules (#14625) 2022-03-21 04:54:49 +00: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
Maksim
00cab7c3a7
refactor(migrations): pathRules (#14203)
* refactor(migrations): pathRules

* refactor(migrations): fix typings & test

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-02-15 07:15:09 +00:00
Nils Plaschke
c34c1a7e3c
feat(config): replace secrets in global config (#13445) 2022-01-28 14:49:21 +01:00
Maksim
8f64db2ff2
refactor(migrations): endpoints (#13868)
* refactor(migrations): endpoints

* refactor: fix unit test snapshot
2022-01-27 19:54:52 +00:00
Oleg Krivtsov
c7f74e3f91
feat(config): migrate yarn -> npm in enabledManagers (#11965) 2021-10-20 14:56:28 +00:00
Michael Kriese
11aa3baf2e
test: use codeql compatible token / passwords (#11297) 2021-09-09 16:17:05 +02:00
Rhys Arkins
e8f68c4b63
fix(config): do not massage lockFileMaintenance (#11522) 2021-09-01 13:23:39 +00:00
Rhys Arkins
123dc4444e feat(travis): remove supportPolicy (#11176) 2021-08-17 07:57:45 +02:00
Rhys Arkins
99eef28ea0 feat(gradle): merge gradle-lite into gradle (#10132)
Removes standalone gradle-lite manager and merges it into the gradle manager as the default behavior, while adding deepExtract as an option to re-enable previous behavior.

Closes #10091

BREAKING CHANGE: Gradle extraction now defaults to JS-based parsing (previously "gradle-lite")
2021-08-17 07:57:45 +02:00
Sergei Zharinov
2625858d59
refactor(config): Explicit asserts instead of lonely snapshots (#11174) 2021-08-09 10:21:51 +02:00
Rhys Arkins
11694e9294
refactor: move config/parse into global worker (#10282) 2021-06-02 12:06:16 +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
Rhys Arkins
22e982503c
feat(config): convert datasource env to hostRules (#9698) 2021-05-20 08:34:17 +00:00
Rhys Arkins
f0a193dc13 fix(config): drop non-selectors when cloning rules 2021-05-15 14:44:47 +02:00
Rhys Arkins
1ca736e277 fix: delete hostRules.hostName after migration 2021-05-14 09:40:07 +02:00
Rhys Arkins
f00413c298
feat(host-rules): use only matchHost (#9892)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-13 20:53:18 +00:00
Rhys Arkins
ffd0269ab6
fix(config): nested packageRules migration (#9814) 2021-05-01 23:01:26 +02:00
Rhys Arkins
61abc03a2e
feat(config): validate packageRules matchUpdateTypes combos (#9649) 2021-04-22 07:16:40 +00:00
Rhys Arkins
572749a398 refactor: artifactUpdateApproach -> skipInstalls
Roll back the previous refactor.
2021-04-22 08:47:58 +02:00
Rhys Arkins
13ece707d4 feat(npm): remove ignoreNpmrcFile support (#9409)
Removes support for the ignoreNpmrcFile config option.

BREAKING CHANGE: ignoreNpmrcFile is no longer supported. Use an empty string for config.npmrc instead.
2021-04-22 08:47:58 +02:00
Rhys Arkins
59d728b16b refactor: skipInstalls -> artifactUpdateApproach (#9119)
Renames skipInstalls to artifactUpdateApproach and changes from boolean to enum.

BREAKING CHANGE: skipInstalls has been changed to artifactsUpdateApproach
2021-04-22 08:47:58 +02:00
Rhys Arkins
8af905e8f5 feat: split trustLevel into separate options (#9388)
Removes trustLevel and replaces it with 3 other options instead. No longer necessary to set anything additional is configuring `allowedPostUpgradeCommands`

BREAKING CHANGE: `trustLevel` is no longer supported and instead broken into `allowCustomCrateRegistries` , `allowScripts` , and `exposeAllEnv`.
2021-04-22 08:47:58 +02:00
Rhys Arkins
c4463c69f9
feat(config): better config migration (#9493) 2021-04-19 14:42:29 +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
2973eb5d94 test: fix nested fileMatch test case 2021-04-11 19:26:46 +02:00
Rhys Arkins
4cf9c5028a
feat(validation): warn if packageRules contain all selectors (#9497) 2021-04-11 19:26:20 +02:00
Rhys Arkins
a55b5202e5 fix(validation): simplify packageRules validation message 2021-04-11 18:38:25 +02:00
Rhys Arkins
1dad55586b
feat(config): migrate nested packageRules (#9496) 2021-04-11 18:00:29 +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
Rhys Arkins
af1e4ee1a7
feat: secrets (#8070) 2021-03-22 15:51:38 +01:00
Rhys Arkins
edfac73a08
refactor: remove depNameShort (#9114) 2021-03-13 14:28:46 +01:00
Michael Kriese
a4c6cb5690
fix: wrong validation property (#9084) 2021-03-11 15:40:31 +01:00
Rhys Arkins
6b494027b6
feat: matchFiles (#8769) 2021-02-19 16:29:50 +01:00
Rhys Arkins
0869d6e8d7
refactor: remove newVersion usage (#8710) 2021-02-16 11:26:46 +01:00
Rhys Arkins
acf57144f8
refactor: remove currentVersion (#8708) 2021-02-16 09:43:38 +01:00
Rhys Arkins
855db036d5
fix: rename baseDir to packageFileDir for templating (#8625) 2021-02-10 23:39:06 +00:00
Rhys Arkins
df2a31c7f5
fix: remove unused binarySource=auto (#8461) 2021-02-04 12:14:34 +01:00
Rhys Arkins
1914a2eaf7 fix: expose more fields to templates 2021-02-03 15:02:36 +01:00
Sergei Zharinov
72b0b85640
feat(config): Rename packageRules selectors (#6939) 2021-01-29 11:43:42 +01:00
Rhys Arkins
116693be64
fix: Revert "feat: secrets" (#8069)
This reverts commit ec1b3c386b.
2020-12-18 15:33:21 +01:00
Rhys Arkins
ec1b3c386b
feat: secrets (#6664) 2020-12-18 13:38:28 +01:00
Sergio Zharinov
8d0f7dddd2
feat(package-rules): matchCurrentVersion regular expressions (#7684) 2020-11-12 08:21:05 +01:00
Rhys Arkins
3bffe6fae7
fix: support constraints.node override (#7561)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-10-27 09:01:48 +01:00