Skip to content

Commit fce9cae

Browse files
committed
INT-3378: Support Angular v20
1 parent c8de486 commit fce9cae

3 files changed

Lines changed: 1630 additions & 1582 deletions

File tree

package.json

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,31 +15,31 @@
1515
},
1616
"private": true,
1717
"devDependencies": {
18-
"@angular-devkit/build-angular": "^19",
18+
"@angular-devkit/build-angular": "^20",
1919
"@angular-devkit/core": "^19",
20-
"@angular/animations": "^19",
20+
"@angular/animations": "^20",
2121
"@angular/cdk": "^19",
22-
"@angular/cli": "^19",
23-
"@angular/common": "^19",
24-
"@angular/compiler": "^19",
25-
"@angular/compiler-cli": "^19",
26-
"@angular/core": "^19",
27-
"@angular/forms": "^19",
22+
"@angular/cli": "^20",
23+
"@angular/common": "^20",
24+
"@angular/compiler": "^20",
25+
"@angular/compiler-cli": "^20",
26+
"@angular/core": "^20",
27+
"@angular/forms": "^20",
2828
"@angular/language-service": "^19",
2929
"@angular/material": "^19",
30-
"@angular/platform-browser": "^19",
31-
"@angular/platform-browser-dynamic": "^19",
30+
"@angular/platform-browser": "^20",
31+
"@angular/platform-browser-dynamic": "^20",
3232
"@babel/core": "^7.24.9",
3333
"@ephox/agar": "^8.0.1",
3434
"@ephox/bedrock-client": "^14.1.1",
3535
"@ephox/bedrock-server": "^14.1.3",
3636
"@ephox/sugar": "^9.3.1",
37-
"@storybook/addon-essentials": "~8.5",
38-
"@storybook/addon-interactions": "~8.5",
37+
"@storybook/addon-essentials": "9.0.0-alpha.12",
38+
"@storybook/addon-interactions": "^9.0.0-alpha.10",
3939
"@storybook/addon-links": "^8.2.5",
40-
"@storybook/angular": "~8.5",
41-
"@storybook/blocks": "^8.2.5",
42-
"@storybook/test": "~8.5",
40+
"@storybook/angular": "^9",
41+
"@storybook/blocks": "^9.0.0-alpha.17",
42+
"@storybook/test": "^9.0.0-alpha.2",
4343
"@tinymce/beehive-flow": "^0.19.0",
4444
"@tinymce/eslint-plugin": "^3.0.0",
4545
"@tinymce/miniature": "^6.0.0",
@@ -61,7 +61,7 @@
6161
"regenerator-runtime": "^0.14.1",
6262
"rimraf": "^6.0.1",
6363
"rxjs": "^7.8.1",
64-
"storybook": "~8.5",
64+
"storybook": "^9",
6565
"tinymce": "^8.0.0",
6666
"tinymce-4": "npm:tinymce@^4",
6767
"tinymce-5": "npm:tinymce@^5",
@@ -71,10 +71,13 @@
7171
"tinymce-8": "npm:tinymce@^8",
7272
"to-string-loader": "^1.1.5",
7373
"tslib": "^2.6.2",
74-
"typescript": "~5.5.4",
74+
"typescript": "^5.9.3",
7575
"webpack": "^5.95.0",
7676
"zone.js": "~0.15.0"
7777
},
7878
"version": "9.1.2-rc",
79-
"name": "@tinymce/tinymce-angular"
79+
"name": "@tinymce/tinymce-angular",
80+
"dependencies": {
81+
"@angular/router": "^20"
82+
}
8083
}

stories/Editor.stories.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ import { ViewQueryComponent } from './viewquery/Viewquery.component';
1212
import { MaterialTabs } from './materialtabs/MaterialTabs.component';
1313
import { SafePipe } from './pipes/Safe.pipe';
1414
import { MatTabsModule } from '@angular/material/tabs';
15-
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
1615
import { ContainerComponent, ContentProjectionComponent } from './contentprojection/ContentProjection.component';
1716
import { BindingComponent } from './data-binding/DataBinding.component';
1817
import { ReadonlyComponent } from './readonly/Readonly.component';
18+
import { BrowserModule } from '@angular/platform-browser';
1919

2020
const meta: Meta = {
2121
component: EditorComponent,
@@ -168,7 +168,7 @@ export const MaterialTabsStory: StoryObj<EditorComponent> = {
168168
name: 'Material Tabs',
169169
render: () => ({
170170
moduleMetadata: {
171-
imports: [ ReactiveFormsModule, FormsModule, BrowserAnimationsModule, MatTabsModule ],
171+
imports: [ ReactiveFormsModule, FormsModule, BrowserModule, MatTabsModule ],
172172
declarations: [ MaterialTabs ],
173173
},
174174
template: `<material-tabs/>`
@@ -180,6 +180,7 @@ export const ContentProjectionStory: StoryObj<EditorComponent> = {
180180
render: () => ({
181181
moduleMetadata: {
182182
declarations: [ ContentProjectionComponent, ContainerComponent ],
183+
imports: [ FormsModule ],
183184
},
184185
template: `<content-projection/>`
185186
}),

0 commit comments

Comments
 (0)