feat(angular): update to angular version 22#2054
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the project and its sub-libraries to Angular 22 (next) and TypeScript 6.0, alongside adding deprecation ignores in TypeScript configurations. Feedback includes addressing inconsistent Angular versions in specific package files, using version ranges for peer dependencies instead of pinned pre-release versions, and moving ESLint packages from overrides to development dependencies. Additionally, a breaking change in the SiLivePreviewConfig interface was identified, which requires a specific commit message footer according to the repository's style guide.
97dc183 to
5704d83
Compare
5704d83 to
f9f027a
Compare
f9f027a to
f92f256
Compare
c49dca9 to
76adcd8
Compare
| "dashboards:test": "ng test dashboards-ng", | ||
| "dashboards:build": "ng build dashboards-ng && cpy LICENSE.md \"./dist/@siemens/dashboards-ng/\"", | ||
| "dashboards-demo:build-all:esm": "ng run dashboards-demo:build-esm:production && npm run dashboards-demo:build:webcomponents && ng build dashboards-demo-mfe --configuration production,bridge --output-hashing none && ng run dashboards-demo-mfe:build-esm:production", | ||
| "dashboards-demo:build-all:esm": "cross-env NG_BUILD_OPTIMIZE_CHUNKS=false ng run dashboards-demo:build-esm:production && npm run dashboards-demo:build:webcomponents && ng build dashboards-demo-mfe --configuration production,bridge --output-hashing none && cross-env NG_BUILD_OPTIMIZE_CHUNKS=false ng run dashboards-demo-mfe:build-esm:production", |
There was a problem hiding this comment.
we can now drop the explicit flag by bumping native-federation to v22.0.3
https://github.com/native-federation/angular-adapter/releases/tag/v22.0.3
c9a8980 to
40d3673
Compare
BREAKING CHANGE: endpoint `@siemens/element-ng/translate` no longer re-export `@siemens/element-translate-ng/translate`.
Use `@siemens/element-translate-ng/translate` instead.
Before:
```ts
import { ... } from '@siemens/element-ng/translate';
````
After:
```ts
import { ... } from '@siemens/element-translate-ng/translate';
```
40d3673 to
b244df0
Compare
Documentation.
Examples.
Dashboards Demo.
Playwright report.
Coverage Reports: