From 71a9dffbe2dc0a24a77f68d03217f1e0b9a00034 Mon Sep 17 00:00:00 2001 From: Vladimir Potekhin <46284632+vladimirpotekhin@users.noreply.github.com> Date: Thu, 25 Jul 2024 17:39:06 +0300 Subject: [PATCH] chore: spread some consts in modules (#8215) --- .../steps/constants/identifiers-to-replace.ts | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/projects/cdk/schematics/ng-update/v4/steps/constants/identifiers-to-replace.ts b/projects/cdk/schematics/ng-update/v4/steps/constants/identifiers-to-replace.ts index d9f612142564..3297cfab478a 100644 --- a/projects/cdk/schematics/ng-update/v4/steps/constants/identifiers-to-replace.ts +++ b/projects/cdk/schematics/ng-update/v4/steps/constants/identifiers-to-replace.ts @@ -401,6 +401,10 @@ export const IDENTIFIERS_TO_REPLACE: ReplacementIdentifierMulti[] = [ from: {name: 'TuiRadioModule', moduleSpecifier: '@taiga-ui/experimental'}, to: {name: 'TuiRadio', moduleSpecifier: '@taiga-ui/kit', spreadInModule: true}, }, + { + from: {name: 'TuiRadioModule', moduleSpecifier: '@taiga-ui/core'}, + to: {name: 'TuiRadio', moduleSpecifier: '@taiga-ui/kit', spreadInModule: true}, + }, { from: {name: 'TuiAvatarModule', moduleSpecifier: '@taiga-ui/experimental'}, to: {name: 'TuiAvatar', moduleSpecifier: '@taiga-ui/kit'}, @@ -443,7 +447,11 @@ export const IDENTIFIERS_TO_REPLACE: ReplacementIdentifierMulti[] = [ }, { from: {name: 'TuiBadgedContentModule', moduleSpecifier: '@taiga-ui/kit'}, - to: {name: 'TuiBadgedContent', moduleSpecifier: '@taiga-ui/kit'}, + to: { + name: 'TuiBadgedContent', + moduleSpecifier: '@taiga-ui/kit', + spreadInModule: true, + }, }, { from: { @@ -671,7 +679,7 @@ export const IDENTIFIERS_TO_REPLACE: ReplacementIdentifierMulti[] = [ from: {name: 'TuiRadioBlockModule', moduleSpecifier: '@taiga-ui/kit'}, to: [ {name: 'TuiBlock', moduleSpecifier: '@taiga-ui/kit'}, - {name: 'TuiRadio', moduleSpecifier: '@taiga-ui/kit'}, + {name: 'TuiRadio', moduleSpecifier: '@taiga-ui/kit', spreadInModule: true}, ], }, { @@ -680,7 +688,11 @@ export const IDENTIFIERS_TO_REPLACE: ReplacementIdentifierMulti[] = [ }, { from: {name: 'TuiHostedDropdownModule', moduleSpecifier: '@taiga-ui/core'}, - to: {name: 'TuiDropdown', moduleSpecifier: '@taiga-ui/core'}, + to: { + name: 'TuiDropdown', + moduleSpecifier: '@taiga-ui/core', + spreadInModule: true, + }, }, { from: {name: 'TuiTitleModule', moduleSpecifier: '@taiga-ui/experimental'},