-
- Downloads
refactor(migrations): migrate depTypes (#16421)
* migrate depTypes * migrate more depTypes * Revert "migrate more depTypes" This reverts commit 3f97d9eb826fd826fbdc733603b06345fe034727. * 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>
Showing
- lib/config/migration.ts 2 additions, 39 deletionslib/config/migration.ts
- lib/config/migrations/custom/dep-types-migration.spec.ts 90 additions, 0 deletionslib/config/migrations/custom/dep-types-migration.spec.ts
- lib/config/migrations/custom/dep-types-migration.ts 38 additions, 0 deletionslib/config/migrations/custom/dep-types-migration.ts
- lib/config/migrations/migrations-service.ts 2 additions, 0 deletionslib/config/migrations/migrations-service.ts
Loading
Please register or sign in to comment