From 1ea2dd3675b98a9798a3b76844d5ec0e4d9bb52b Mon Sep 17 00:00:00 2001 From: Maksim Ivanov Date: Wed, 25 Sep 2024 17:28:04 +0300 Subject: [PATCH] chore(schematics): upgrade minimal versions (#9194) --- .../cdk/schematics/ng-update/v4/steps/migrate-editor.ts | 2 +- .../cdk/schematics/ng-update/v4/steps/update-packages.ts | 6 +++--- .../v4/tests/schematic-migrate-addon-editor.spec.ts | 6 +++--- .../v4/tests/schematic-migrate-proprietary.spec.ts | 2 +- .../v4/tests/schematic-migrate-tinkoff-editor.spec.ts | 6 +++--- .../ng-update/v4/tests/schematic-migrate-universal.spec.ts | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/projects/cdk/schematics/ng-update/v4/steps/migrate-editor.ts b/projects/cdk/schematics/ng-update/v4/steps/migrate-editor.ts index 9b434de0adeb..9a568f7ebf83 100644 --- a/projects/cdk/schematics/ng-update/v4/steps/migrate-editor.ts +++ b/projects/cdk/schematics/ng-update/v4/steps/migrate-editor.ts @@ -14,7 +14,7 @@ import { import {replaceIdentifiers} from '../../steps/replace-identifier'; import {replacePackageName} from '../../steps/replace-package-name'; -export const TUI_EDITOR_VERSION = '^4.0.0'; +export const TUI_EDITOR_VERSION = '^4.10.0'; export function migrateEditor(fileSystem: DevkitFileSystem, options: TuiSchema): void { const moduleSpecifier = ['@tinkoff/tui-editor', '@taiga-ui/addon-editor']; diff --git a/projects/cdk/schematics/ng-update/v4/steps/update-packages.ts b/projects/cdk/schematics/ng-update/v4/steps/update-packages.ts index 04d39fb41f2a..15c8332ee3df 100644 --- a/projects/cdk/schematics/ng-update/v4/steps/update-packages.ts +++ b/projects/cdk/schematics/ng-update/v4/steps/update-packages.ts @@ -12,9 +12,9 @@ import {ALL_TS_FILES} from '../../../constants'; import {errorLog} from '../../../utils/colored-log'; import {replacePackageName} from '../../steps'; -export const TUI_POLYMORPHEUS_VERSION = '^4.6.4'; -export const TUI_DOMPURIFY_VERSION = '^4.1.2'; -export const TUI_EVENT_PLUGINS_VERSION = '^4.0.1'; +export const TUI_POLYMORPHEUS_VERSION = '^4.7.3'; +export const TUI_DOMPURIFY_VERSION = '^4.7.3'; +export const TUI_EVENT_PLUGINS_VERSION = '^4.2.3'; export function updatePackages({tree}: DevkitFileSystem): void { const packagesToRemove = ['@taiga-ui/addon-tablebars', '@taiga-ui/addon-preview']; diff --git a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-addon-editor.spec.ts b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-addon-editor.spec.ts index 313ff9dbfe0f..d53131324631 100644 --- a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-addon-editor.spec.ts +++ b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-addon-editor.spec.ts @@ -104,10 +104,10 @@ const PACKAGE_JSON_AFTER = `{ "@angular/core": "~13.0.0", "@taiga-ui/core": "~3.35.0", "@taiga-ui/cdk": "~3.35.0", - "@taiga-ui/editor": "^4.0.0", - "@taiga-ui/event-plugins": "^4.0.1", + "@taiga-ui/editor": "^4.10.0", + "@taiga-ui/event-plugins": "^4.2.3", "@taiga-ui/legacy": "${TUI_VERSION}", - "@taiga-ui/polymorpheus": "^4.6.4" + "@taiga-ui/polymorpheus": "^4.7.3" } }`.trim(); diff --git a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-proprietary.spec.ts b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-proprietary.spec.ts index 0d30108061bf..f45a0e167b23 100644 --- a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-proprietary.spec.ts +++ b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-proprietary.spec.ts @@ -125,7 +125,7 @@ const PACKAGE_JSON_AFTER = ` { "dependencies": { "@angular/core": "~13.0.0", - "@taiga-ui/event-plugins": "^4.0.1", + "@taiga-ui/event-plugins": "^4.2.3", "@taiga-ui/legacy": "${TUI_VERSION}", "@taiga-ui/proprietary": "${TUI_VERSION}" } diff --git a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-tinkoff-editor.spec.ts b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-tinkoff-editor.spec.ts index 527b2b06979e..c0ef0f1502f7 100644 --- a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-tinkoff-editor.spec.ts +++ b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-tinkoff-editor.spec.ts @@ -102,10 +102,10 @@ const PACKAGE_JSON_AFTER = `{ "@angular/core": "~13.0.0", "@taiga-ui/core": "~3.42.0", "@taiga-ui/cdk": "~3.42.0", - "@taiga-ui/editor": "^4.0.0", - "@taiga-ui/event-plugins": "^4.0.1", + "@taiga-ui/editor": "^4.10.0", + "@taiga-ui/event-plugins": "^4.2.3", "@taiga-ui/legacy": "${TUI_VERSION}", - "@taiga-ui/polymorpheus": "^4.6.4" + "@taiga-ui/polymorpheus": "^4.7.3" } }`.trim(); diff --git a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-universal.spec.ts b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-universal.spec.ts index 68c65c9d4f4e..183df4209f33 100644 --- a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-universal.spec.ts +++ b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-universal.spec.ts @@ -49,7 +49,7 @@ const PACKAGE_JSON_BEFORE = `{ const PACKAGE_JSON_AFTER = `{ "dependencies": { "@angular/core": "~13.0.0", - "@taiga-ui/event-plugins": "^4.0.1" + "@taiga-ui/event-plugins": "^4.2.3" } }`.trim();