Commit graph

136 commits

Author SHA1 Message Date
Rhys Arkins
36e2b328bb
chore: update types reference 2023-08-15 11:31:15 +02:00
Rhys Arkins
7b82e8d9ef
fix(config): migrate language objects (#23157)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-07-05 07:43:08 +00:00
RahulGautamSingh
5b74dad583
refactor(migrations): migrate depTypes (#16421)
* migrate depTypes

* migrate more depTypes

* Revert "migrate more depTypes"

This reverts commit 3f97d9eb82.

* more migrations

* Update dep-types-migration.ts

* Update dep-types-migration.ts

* refactor: add tests and revert some changes

* add separate class for each dep-type

* Update peer-dependencies-migration.ts

* add tests

* update types

* modify test

* - Use regex to detect all depTypes
- Fix arrMigrate -> arrMigrate.migratedConfig

* add new interface for depTypes

* remove if-block

* Update lib/config/migrations/custom/dep-types-migration.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* run prettier

* Update lib/config/migrations/custom/dep-types-migration.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-21 05:06:32 +00:00
RahulGautamSingh
5774fb3f2a
refactor(migrations): class-based migration for packageRules (#16390)
* use class-based migration for packageRules

* fix errors

* refactor: remove unnecessaru if statement

* refactor: use argument

* refactor: apply suggestions

* Update lib/config/migrations/custom/package-rules-migration.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Update lib/config/migrations/custom/package-rules-migration.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* refactor: import type PackageRule

* Update lib/config/migrations/custom/package-rules-migration.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-11 04:59:06 +00:00
RahulGautamSingh
5bfa68b8d3
refactor(migrations): migrate package files (#16393)
* create file

* use class-based migration for packageFiles

* add tests

* fix errors

* fix merge errors

* Update lib/config/migrations/custom/package-files-migration.ts

Co-authored-by: Jamie Magee <jamie.magee@gmail.com>

* Update lib/config/migrations/custom/package-files-migration.ts

Co-authored-by: Jamie Magee <jamie.magee@gmail.com>

* add test

* Update index.ts

* modify test

* fix type

* refactor

* Update lib/config/migrations/custom/package-files-migration.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Update lib/config/migrations/custom/package-files-migration.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* readd todo

Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-07 07:53:47 +00:00
RahulGautamSingh
8b9d038fa3
refactor(migrations): migrate node (#16422)
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2022-07-06 04:39:48 +00:00
RahulGautamSingh
895218d2a9
refactor: migration semantic prefix (#16218) 2022-07-06 02:34:21 +00:00
RahulGautamSingh
f82c8674bd
refactor(migrations): master issue (#16399) 2022-07-03 10:33:33 +00:00
RahulGautamSingh
8bd206b946
fix(config): preserve packageRules order when migrating (#16367) 2022-07-02 06:32:47 +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
RahulGautamSingh
03b0d2a24e
refactor(lib/workers): fix null-check for tests (#16163)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-21 09:39:30 +00:00
Michael Kriese
49d851e5fd
refactor: tighten typescript types (#15965) 2022-06-09 12:17:05 +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
Maksim
6330414ad1
refactor(migrations): matchStrings (#15061)
* refactor(migrations): matchStrings

* refactor(migrations): use regEx helper
2022-04-16 22:13:32 +02:00
Maksim
5a70fa8805
refactor(migrations): gitLabAutomerge and azureAutoComplete (#14975) 2022-04-11 16:27:56 +00:00
Maksim
5c03670736
feat(migrations): deprecate parentKey param (#14886)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-04-04 05:15:11 +00:00
Maksim
eb938e4362
refactor(migrations): separateMajorReleases (#14911) 2022-04-04 04:24:35 +00:00
Maksim
bbb6eb122e
refactor(migrations): branchPrefix (#14910) 2022-04-02 21:07:15 +02:00
Maksim
7a8180b3b0
refactor(migrations): extends (#14807) 2022-04-02 05:16:34 +00:00
Maksim
0e6d2b674f
refactor(migrations): unpublishSafe (#14680)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-03-29 05:42:28 +02:00
Maksim
25d793f690
refactor(migrations): schedule (#14737) 2022-03-28 14:16:43 +02:00
Maksim
0af1be577d
refactor(migrations): ignoreNpmrcFile (#14802) 2022-03-25 19:39:14 +00:00
Maksim
6de8b1db2b
refactor(migrations): packages (#14736) 2022-03-22 04:49:15 +01:00
Maksim
ab8e1c634e
refactor(migrations): packageRules (#14625) 2022-03-21 04:54:49 +00:00
Maksim
6ac710db45
refactor(migrations): baseBranch (#14677) 2022-03-16 04:31:34 +00:00
Maksim
600f603cf4
refactor(migrations): branchName (#14679) 2022-03-16 05:17:14 +01:00
Maksim
c147324169
refactor(migrations): automerge (#14644) 2022-03-15 05:37:44 +00:00
Maksim
edd5f1aab8
refactor(migrations): packagePattern (#14667) 2022-03-14 23:53:35 +01:00
Maksim
12a63f30c2
refactor(migrations): packageName (#14645) 2022-03-14 07:10:36 +00:00
Maksim
47feeb4f43
refactor(migrations): automergePatch (#14637) 2022-03-14 05:09:53 +00:00
Maksim
2e1dd754a1
refactor(migrations): automergeMinor (#14633) 2022-03-13 15:27:09 +01:00
Maksim
0b54d5e590
refactor(migrations): automergeMajor (#14634) 2022-03-13 11:38:28 +00:00
Maksim
317f8cae98
refactor(migrations): automergeType (#14626) 2022-03-12 23:31:46 +01:00
Maksim
816621db6c
refactor(migrations): suppressNotifications (#14603) 2022-03-11 08:31:26 +00:00
Maksim
92f8cb6e31
refactor(migrations): renovateFork (#14532) 2022-03-05 21:11:02 +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
Maksim
da3772ab18
refactor(migrations): host rules (#13874) 2022-02-13 20:07:09 +00:00
Maksim
090c81af1b
refactor(migrations): compatibility (#13869)
* refactor(migrations): compatibility

* refactor(migrations): fix test coverage

* refactor(migrations): add unit test

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-02-10 14:42:58 +00:00
Maksim
638d958cc2
fix(migrations): don't migrate properties twice (#14101) 2022-02-09 16:20:47 +00:00
Maksim
8f64db2ff2
refactor(migrations): endpoints (#13868)
* refactor(migrations): endpoints

* refactor: fix unit test snapshot
2022-01-27 19:54:52 +00:00
Maksim
fee8aa26a8
refactor(migrations): raiseDeprecationWarnings (#13761)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-01-24 08:20:00 +00:00
Maksim
38a6119154
feat(migrations): composerIgnorePlatformReqs (#13759) 2022-01-23 22:00:02 +01:00
Maksim
e02aaa42ac
feat(migrations): managerBranchPrefix (#13757) 2022-01-23 18:49:21 +00:00
Maksim
9d87ffbe38
feat(migrations): versionStrategy (#13755) 2022-01-23 17:30:05 +01:00
Maksim
34f4901699
feat(migrations): upgradeInRange (#13734)
* feat(migrations): upgradeInRange

* feat(migrations): add test case

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-01-22 12:53:07 +00:00
Maksim
574196a384
feat(migrations): split (#13499) 2022-01-13 08:50:20 +00:00
Maksim
6e94385f31
refactor(migrations): validator (#13073)
* refactor(migrations): implemented migration validator

* refactor(migrations): introduce deprecated flag

* refactor(migrations): tidy

* refactor(migrations): improve validator

* refactor: fix launch.json

* refactor: fix build

* refactor: fix coverage

* refactor: fix coverage

* refactor: introduce new jest custom matcher

* refactor: revert unnecessary changes

* refactor: return override
2022-01-10 21:01:57 +00:00
RahulGautamSingh
4f65b57225
refactor: refactor static regex out of for loops (#13065) 2021-12-29 07:26:13 +01:00
Maksim
a4249f9afe
refactor(migrations): extend abstract migration (#12963)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-12-11 13:56:51 +00:00