Commit graph

69 commits

Author SHA1 Message Date
Aleksandr Mezin
a9a33dd94d
feat(presets): fetch presets from HTTP URLs (#27359) 2024-02-24 07:16:34 +00:00
Yun Lai
f5b4da3c68
feat(presets): presetCachePersistence (#25825)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-12-01 11:22:26 +00:00
Sergei Zharinov
b69416ce17
refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
Alessandro Lai
3c0f71d1e3
feat(presets): map PHP linters in default linters group (#25072)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2023-10-08 03:05:00 +00:00
Michael Kriese
f9e3e80e0c feat(presets)!: rename config:base to config:recommended (#21136)
Closes #12024

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Bastian Gutschke <bastian.gutschke@gmx.de>

BREAKING CHANGE: Preset config:base is now called config:recommended
2023-07-04 19:21:52 +02:00
Jamie Magee
b23700d749
test: jest isolation (#21406) 2023-04-10 04:32:04 +00:00
Florian Greinacher
ca03555739
feat(presets): include replacements:all in config:base (#20933) 2023-03-15 07:26:26 +00:00
Rhys Arkins
a75f9d71c1
feat(config)!: non-zero defaults for PR concurrent, hourly limits (#19958)
Sets new defaults:
- `prConcurrentLimit`: 10 (instead of 0)
- `prHourlyLimit`: 2 (instead of 0)

Closes #19800

BREAKING CHANGE: Renovate now defaults to applying hourly and concurrent PR limits. To revert to unlimited, configure them back to `0`.
2023-03-10 09:25:51 +01:00
Rhys Arkins
016e647390
feat(config)!: default to rangeStrategy=auto, prefer update-lockfile (#19942)
Changes `rangeStrategy` default value from `'replace'` to `'auto'`. Also changes `auto` behavior so that `update-lockfile` is preferred if the manager
supports the `updateLockedDependency()` function.

Closes #19800

BREAKING CHANGE: Renovate will now default to updating locked dependency versions. To revert to previous behavior, configure rangeStrategy=replace.
2023-03-10 09:25:45 +01:00
Rhys Arkins
8e8cbba0e6
feat(presets): add prettier, standard to linters (#19978) 2023-01-23 10:51:15 +01:00
Rhys Arkins
8d19f05b14
fix(config): autodetectPinVersions -> autodetectRangeStrategy (#19933) 2023-01-20 12:48:00 +01:00
RahulGautamSingh
9a1285d2d2
fix: use matchSourceUrl to match monorepo packages (#18973) 2022-11-20 09:50:27 +00:00
Jamie Magee
92eb2200fd
refactor(jest): enable clearMocks (#18779) 2022-11-14 22:46:37 -08:00
Michael Kriese
0316a5e62d
test: use jest v29 (#17151) 2022-08-16 14:22:29 +02:00
HonkingGoose
7adab3cc45
docs: improve description for internal presets (#16338) 2022-07-01 08:19:33 +02:00
Hasan Awad
e174ad084b
feat(config/presets): add memory caching for config fetching (#16274) 2022-06-29 15:31:49 +00:00
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
Rhys Arkins
cf6885f71a
fix(config): move endpoint, platform to GlobalConfig (#15864)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-03 06:43:58 +02:00
Stefan Hojer
e91ea8124d
feat(config): pass baseConfig to transitive presets (#15537)
* pass baseConfig to transitive presets

* add test for checking endpoint/platform in resolveConfigPresets()

* incorporated review findings

* removed mockClear() as it is no longer needed

* test: apply changes

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-05-18 09:44:24 +00:00
Michael Kriese
123d42639f
test(config): fix mocking (#15600) 2022-05-16 14:41:46 +00:00
Oscar Dominguez
e218379958
feat(presets): add support to presets ending with .json5 or .json (#15377)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-05-02 16:34:09 +02: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
Michael Kriese
64f5bd5f03
test: enforce lint style rules (#15085) 2022-04-12 14:49:49 +00:00
Stefan Kip
74766c1c66
fix: Referencing a preset on Azure DevOps with space in project name doesn't work (#14800) (#14826) 2022-03-29 07:48:45 +00:00
Michael Kriese
2bfb5604dc
fix(presets): optimize error handling (#14653)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2022-03-14 16:23:30 +00:00
Rhys Arkins
68a4415eb4
refactor(config): rename preset packageName/pkgName to repo (#14453) 2022-02-28 17:39:44 +01:00
Martin Herndl
ef304bdd94
fix(config/preset): correctly parse local Bitbucket user repo (#13234) 2021-12-22 11:55:34 +01:00
Oleg Krivtsov
4ea9ed2b5e
feat(config/presets): handle slash in packageTag (#13028)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-12-12 09:23:17 +00:00
Oleg Krivtsov
ec6077d343
feat(preset)!: decrease prConcurrentLimit to 10 (#12892)
BREAKING CHANGE: Configurations extending config:base will now default to maximum 10 concurrent PRs instead of 20.
2021-12-09 13:46:27 +01:00
Michael Kriese
baaea71728
fix(config/preset): readd subpreset support (#12733) 2021-11-18 10:45:17 +01:00
Rhys Arkins
55d3c0468d
fix(presets): allow spaces in repo names (#12726) 2021-11-17 22:27:12 +01:00
Michael Kriese
7afc2b75d5
test: fix lint (#12551) 2021-11-08 13:16:58 +01:00
Rhys Arkins
ca45a2c2e2 fix(config): handle + in preset filename 2021-11-06 11:42:50 +01:00
Michael Todorovic
7579875415
feat: support preset versioning with git tags (#11565)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
2021-11-05 13:12:47 +00:00
biergit
7869d6dcb6
feat(bitbucket): support user repo for preset (#12281) 2021-10-31 06:57:52 +00:00
Oleg Krivtsov
29dde2f694
test: improve test readability with expect-more-jest (#12329) 2021-10-27 07:24:36 +02:00
HonkingGoose
e5ccf2b85e
fix(config): improve descriptions for default presets (#12073)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-10-10 19:36:47 +00:00
Rhys Arkins
050b6a9e59
fix: don't pin monorepo groups (#11688) 2021-09-12 13:26:24 +00:00
Rhys Arkins
70b5396d34
fix(presets): migrate renamed monorepos (#11319) 2021-08-18 12:23:41 +02:00
Sergei Zharinov
5f4b9f9a3a
test: Fix test descriptions and enforce it via new linting rule (#11285) 2021-08-18 05:46:56 +00:00
Rhys Arkins
13532ecd3d feat: add dependencyDashboard to config:base
Defaults dependencyDashboard=true for anyone using the config:base preset
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
Sergei Zharinov
1392955a04
refactor: Identify tests relying on single snapshots (#11150)
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2021-08-07 23:43:34 +00:00
Keegan Witt
c7113f3821
fix: add @types/eslint to packages:eslint (#10435)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-06-16 05:07:49 +00:00
Jamie Magee
3a9fc4fc62
refactor: remove more instances of 'master issue' (#10426) 2021-06-14 07:07:44 +02:00
Michael Kriese
9e08eaa1dc
refactor: rename Error location to validationSource (#10018) 2021-05-17 07:40:54 +00:00
Sergei Zharinov
ce51f05cef
feat(test): Detect test utils callers and simplify helpers (#9707) 2021-04-26 16:15:03 +02:00
Sergei Zharinov
b255275632
refactor(test): Load fixtures with helpers (#9699)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-04-23 16:58:48 +00:00
Sergei Zharinov
b957d4afb7
refactor(config): Extract interfaces from "index.ts" to separate "types.ts" (#9629) 2021-04-20 10:52:57 +02:00
Rhys Arkins
c4463c69f9
feat(config): better config migration (#9493) 2021-04-19 14:42:29 +00:00