mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-04-16 22:24:49 +00:00
- Update Angular from 19.2.18 to 20.3.9 - Update Angular Material/CDK from 19.2.19 to 20.2.14 - Update TypeScript from 5.8.3 to 5.9.3 - Update @typescript-eslint from 6.21.0 to 8.18.2 - Update @angular-eslint from 19.8.1 to 20.0.0 - Update ng-packagr from 19.2.2 to 20.3.2 - Update @mat-datetimepicker/core from 15.0.2 to 16.0.1 (Angular 20 compatible) Angular Migrations Applied: - Convert templates to new control flow syntax (@if, @for, @switch) - Migrate DOCUMENT imports from @angular/common to @angular/core - Update Router.getCurrentNavigation() to currentNavigation signal - Replace deprecated InjectFlags enum usage - Replace TestBed.get with TestBed.inject Breaking Changes Fixed: - Remove deprecated Directionality.value setter (read-only in Angular 20) - Update ESLint config: replace @typescript-eslint/no-var-requires with no-require-imports - Remove @typescript-eslint/brace-style rule (deprecated in v8) Configuration: - Add .npmrc with legacy-peer-deps for CI/CD compatibility - Update ESLint rules for @typescript-eslint v8 compatibility BREAKING CHANGE: Requires Angular 20+ and @mat-datetimepicker/core@16.0.1 Note: Nx build system currently has plugin worker issues. TypeScript compilation verified successfully. Full builds and tests pending Nx worker resolution. See MIGRATION_SUMMARY.md for complete details. Co-authored-by: Cursor <cursoragent@cursor.com>
49 lines
1.7 KiB
JSON
49 lines
1.7 KiB
JSON
{
|
|
"migrations": [
|
|
{
|
|
"version": "20.0.0",
|
|
"description": "Replaces usages of the deprecated InjectFlags enum",
|
|
"factory": "./bundles/inject-flags.cjs#migrate",
|
|
"package": "@angular/core",
|
|
"name": "inject-flags"
|
|
},
|
|
{
|
|
"version": "20.0.0",
|
|
"description": "Replaces usages of the deprecated TestBed.get method with TestBed.inject",
|
|
"factory": "./bundles/test-bed-get.cjs#migrate",
|
|
"package": "@angular/core",
|
|
"name": "test-bed-get"
|
|
},
|
|
{
|
|
"version": "20.0.0",
|
|
"description": "Converts the entire application to block control flow syntax",
|
|
"factory": "./bundles/control-flow-migration.cjs#migrate",
|
|
"optional": true,
|
|
"package": "@angular/core",
|
|
"name": "control-flow-migration"
|
|
},
|
|
{
|
|
"version": "20.0.0",
|
|
"description": "Moves imports of `DOCUMENT` from `@angular/common` to `@angular/core`",
|
|
"factory": "./bundles/document-core.cjs#migrate",
|
|
"package": "@angular/core",
|
|
"name": "document-core"
|
|
},
|
|
{
|
|
"version": "20.2.0",
|
|
"description": "Replaces usages of the deprecated Router.getCurrentNavigation method with the Router.currentNavigation signal",
|
|
"factory": "./bundles/router-current-navigation.cjs#migrate",
|
|
"optional": true,
|
|
"package": "@angular/core",
|
|
"name": "router-current-navigation"
|
|
},
|
|
{
|
|
"version": "20.3.0",
|
|
"description": "Adds `BootstrapContext` to `bootstrapApplication` calls in `main.server.ts` to support server rendering.",
|
|
"factory": "./bundles/add-bootstrap-context-to-server-main.cjs#migrate",
|
|
"package": "@angular/core",
|
|
"name": "add-bootstrap-context-to-server-main"
|
|
}
|
|
]
|
|
}
|