Skip to content

Commit

Permalink
chore(schematics): upgrade minimal versions (#9194)
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode authored Sep 25, 2024
1 parent e1768c4 commit 1ea2dd3
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down
6 changes: 3 additions & 3 deletions projects/cdk/schematics/ng-update/v4/steps/update-packages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 1ea2dd3

Please sign in to comment.