Commit Graph

93 Commits

Author SHA1 Message Date
RahulGautamSingh ba38763b91 refactor(package-rules): delete all matchers from config (#26880)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-02-18 15:53:51 +00:00
Rhys Arkins 9edde4794e refactor: string match function naming (#27392) 2024-02-18 15:46:24 +00:00
Sergei Zharinov de05ef057a refactor: Move irrelevant functions from the regex helper (#27100) 2024-02-06 21:51:41 +00:00
Sebastian Poxhofer 044f643cd7 fix(packageRules/package*): consider packageNames for package* excludes (#27047) 2024-02-04 21:42:46 +00:00
Sebastian Poxhofer a9c37258d3 fix(packageRules/package-patterns): consider depName for exclude (#27046) 2024-02-04 10:19:44 +00:00
Sergei Zharinov cf5ffe055f feat: Move matchRegexOrMinimatch to string utilities (#27041) 2024-02-03 18:31:16 +00:00
Sergei Zharinov 198e34e0ef refactor: Tidy arguments for matchRegexOrMinimatch (#27026) 2024-02-03 06:22:19 +00:00
RahulGautamSingh 897066123f feat(config/package-rules): matchCurrentAge (#23264)
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>
2024-01-25 05:12:39 +00:00
RahulGautamSingh 2949e135a9 feat: allow i flag in regex patterns (#26815)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-01-23 14:32:09 +00:00
renovate[bot] 4c2ce97bb4 build(deps): update dependency prettier to v3.2.2 (#26755)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-01-21 08:20:41 +00:00
RahulGautamSingh e0b2772ddc refactor(match-managers): implement custom.<customMgrName> syntax (#24170) 2023-11-24 07:41:50 +00:00
renovate[bot] e5cbbaaf09 build(deps): update dependency prettier to v3 (#23627)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
2023-11-07 17:12:01 +00:00
Sergei Zharinov b69416ce17 refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
Philip bece5a1c50 refactor(errors): massaging validation messages before we assign it (#25452)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-10-31 13:46:55 +00:00
Rhys Arkins b66df6eb2e fix(package-rules): matchCurrentVersion with null versioning (#24965) 2023-10-03 06:18:27 +00:00
Rhys Arkins 30359ac0c3 fix: Revert "feat: implement custom.<customMgrName> syntax for matchManagers (#24112) (#24125) 2023-08-28 17:42:45 +02:00
RahulGautamSingh 9c322cdcee feat: implement custom.<customMgrName> syntax for matchManagers (#24112) 2023-08-27 16:32:10 +00:00
RahulGautamSingh bf2c0693ac refactor(managers): implement custom managers api (#23357)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
2023-08-15 17:12:54 +00:00
renovate[bot] fe739befbf chore(deps): update linters to v6 (major) (#23325)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-08-02 15:07:49 +00:00
Adam Setch 2159444ee1 refactor: use minimatch util (#23549) 2023-07-26 07:51:10 +00:00
Adam Setch c85932d8d3 feat(package-rules): add matchRepositories / excludeRepositories (#23085)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-07-21 04:21:36 +00:00
Gabriel-Ladzaretti bbe969784c fix(packageRules): evaluate confidence matcher first (#23327) 2023-07-12 17:41:47 +00:00
Rhys Arkins 54dcdf0106 fix(package-rules): don’t warn for for matchDepX (#23246) 2023-07-07 17:24:41 +02:00
Rhys Arkins 7db49b39e4 feat: matchPackagePrefixes include packageName (#23186) 2023-07-07 07:47:04 +00:00
Rhys Arkins d8d3ea21d3 fix: log packageRule when recommending matchDepX (#23216) 2023-07-06 13:41:29 +00:00
Sebastian Poxhofer 19259a0383 feat!: categories (#16534)
Closes #13953

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

BREAKING CHANGE: languages are now called categories instead
2023-07-04 19:21:52 +02:00
Rhys Arkins e4dead2e35 feat(package-rules)!: match packageName for matchPackageNames (#22703)
Closes #20926

BREAKING CHANGE: matchPackageNames now matches both depName (existing) and packageName (new)
2023-07-04 19:21:52 +02:00
Rhys Arkins e3d5f7df92 feat!: merge matchPaths and matchFiles into matchFileNames (#22406)
Closes #22395

BREAKING CHANGE: matchPaths and matchFiles are now combined into matchFileNames, supporting exact match and glob-only
2023-07-04 19:21:52 +02:00
Rhys Arkins 033d776ab0 feat(package-rules)!: remove fuzzy matchPaths matching (#22394)
BREAKING CHANGE: matchPaths will no longer use “any string match” and instead must be a glob pattern
2023-07-04 19:21:52 +02:00
Gabriel-Ladzaretti d88d63b4f9 feat(config-error): raise a warning issue for misconfigured matchConfidence (#22296)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2023-05-18 17:02:13 +00:00
renovate[bot] 58aa841d69 build(deps): update dependency minimatch to v9 (#21923)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-05-02 13:00:40 +00:00
Gabriel-Ladzaretti 1615d26226 feat(packageRules): add merge confidence matcher (#21049)
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>
2023-03-21 18:37:38 +00:00
Sebastian Poxhofer 8e2df85268 feat(versioning)!: default to semver-coerced instead of semver (#20573)
BREAKING CHANGE: default versioning is now `semver-coerced`, instead of `semver`.
2023-03-10 09:34:41 +01:00
Gabriel-Ladzaretti 2de4260b15 feat(packageRules): add experimental env var for matching against package names (#19784) 2023-01-12 07:29:48 +00:00
Rhys Arkins e8874dca1d fix(package-rules): return early (#19768) 2023-01-10 14:28:13 +01:00
Rhys Arkins bf38439ec2 fix(versioning/hashicorp): check valid before matches (#19742) 2023-01-09 16:23:53 +01:00
Gabriel-Ladzaretti 2bd9171ba3 feat(packageRules): add depName matchers (#19565) 2022-12-26 18:30:44 +00:00
Florian Greinacher 3b16939fb4 fix: deprecate partial matching for matchPaths (#19264) 2022-12-06 07:16:54 +00:00
Jamie Magee 92eb2200fd refactor(jest): enable clearMocks (#18779) 2022-11-14 22:46:37 -08:00
RahulGautamSingh 2a07e91be6 refactor: convert ProgrammingLanguage to union type (#18748)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-11-05 08:49:57 +00:00
Rhys Arkins 17c2a006d2 feat: matchCurrentValue (#17953) 2022-09-25 06:56:02 +00:00
Rhys Arkins c85f4630a6 fix(package-rules): matchCurrentVersion with locked versions (#17751) 2022-09-12 11:36:44 +00:00
Sebastian Poxhofer dda2ebce92 refactor(package-rules): move to class based implementation (#16865)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-29 19:40:03 +00:00