Upgrading to Angular 20:
Replaced checked in package-lock.json by regenerated one. Ran ng update @angular/core@20 @angular/cli@20 Ran npm install @angular-builders/jest@^20.0.0 @fortawesome/angular-fontawesome@^3.0.0 @swimlane/ngx-graph@^11 Ran npm install ngx-mat-select-search@^8.0.2. Ran ng update @angular/material@20. Updated all eslint and typescript to the latest versions. Removed @angular-devkit/schematics. Updated fontawesome. Updated rxjs and tslib. Moved required node version from 16 to 20. Updated jest-preset-angular. Set preserveWhitespaces to false. Corrected two type declarations in two typescript files to make ng serve run without errors. Removed unused angular-devkit/schematics from view-user.component.ts . Updated list of supported browsers. Upgraded prettier. Ran prettier . --write the first time. Ran prettier . --write the second time. Ran ng generate @angular/core:inject with defaults, excepted a handful of files. Fixed remaining eslint problems. Added dist directory to ignores in eslint.config.js. Let prettier fix formatting, almost everything is just line breaks. Made htmlhint ignore @if and @for Angular constructs. Updated node version in Github workflow to 22.12.0 (build.yml). Updated .env.ts. Updated Angular datetime format strings from YYYY-MM-DD to yyyy-MM-dd. Merged changes from dev into angular20 branch.
This commit is contained in:
+37
-38
@@ -31,26 +31,25 @@
|
||||
"cypress:run": "cypress run"
|
||||
},
|
||||
"dependencies": {
|
||||
"@angular-devkit/schematics": "19.2.15",
|
||||
"@angular/animations": "19.2.14",
|
||||
"@angular/cdk": "^19.2.18",
|
||||
"@angular/common": "19.2.14",
|
||||
"@angular/compiler": "19.2.14",
|
||||
"@angular/core": "19.2.14",
|
||||
"@angular/forms": "19.2.14",
|
||||
"@angular/localize": "19.2.14",
|
||||
"@angular/material": "^19.2.18",
|
||||
"@angular/platform-browser": "19.2.14",
|
||||
"@angular/platform-browser-dynamic": "19.2.14",
|
||||
"@angular/router": "19.2.14",
|
||||
"@fortawesome/angular-fontawesome": "^1.0.0",
|
||||
"@angular/animations": "20.3.15",
|
||||
"@angular/cdk": "^20.2.14",
|
||||
"@angular/common": "20.3.15",
|
||||
"@angular/compiler": "20.3.15",
|
||||
"@angular/core": "20.3.15",
|
||||
"@angular/forms": "20.3.15",
|
||||
"@angular/localize": "20.3.15",
|
||||
"@angular/material": "^20.2.14",
|
||||
"@angular/platform-browser": "20.3.15",
|
||||
"@angular/platform-browser-dynamic": "20.3.15",
|
||||
"@angular/router": "20.3.15",
|
||||
"@fortawesome/angular-fontawesome": "^3.0.0",
|
||||
"@fortawesome/fontawesome-free": "^6.7.2",
|
||||
"@fortawesome/fontawesome-svg-core": "6.2.1",
|
||||
"@fortawesome/free-brands-svg-icons": "6.7.2",
|
||||
"@fortawesome/free-solid-svg-icons": "6.2.1",
|
||||
"@fortawesome/fontawesome-svg-core": "^6.7.2",
|
||||
"@fortawesome/free-brands-svg-icons": "^6.7.2",
|
||||
"@fortawesome/free-solid-svg-icons": "^6.7.2",
|
||||
"@ngx-translate/core": "^16.0.4",
|
||||
"@ngx-translate/http-loader": "^16.0.1",
|
||||
"@swimlane/ngx-graph": "^10.0.0",
|
||||
"@swimlane/ngx-graph": "^11.0.0",
|
||||
"@tailwindcss/forms": "^0.5.4",
|
||||
"@tinymce/tinymce-angular": "^9.1.1",
|
||||
"chart.js": "^4.5.1",
|
||||
@@ -62,24 +61,24 @@
|
||||
"lightgallery": "^2.9.0",
|
||||
"lodash": "4.17.21",
|
||||
"moment": "^2.29.4",
|
||||
"ngx-mat-select-search": "^7.0.10",
|
||||
"rxjs": "7.8.1",
|
||||
"ngx-mat-select-search": "^8.0.2",
|
||||
"rxjs": "^7.8.2",
|
||||
"tinymce": "^8.2.2",
|
||||
"tslib": "^2.0.0",
|
||||
"tslib": "^2.8.1",
|
||||
"vkbeautify": "^0.99.3",
|
||||
"zone.js": "0.15.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-builders/jest": "^19.0.1",
|
||||
"@angular-eslint/builder": "^19.7.0",
|
||||
"@angular-eslint/eslint-plugin": "^19.7.0",
|
||||
"@angular-eslint/eslint-plugin-template": "^19.7.0",
|
||||
"@angular-eslint/schematics": "^19.7.0",
|
||||
"@angular-eslint/template-parser": "^19.7.0",
|
||||
"@angular/build": "^19.2.15",
|
||||
"@angular/cli": "19.2.15",
|
||||
"@angular/compiler-cli": "19.2.14",
|
||||
"@angular/language-service": "19.2.14",
|
||||
"@angular-builders/jest": "^20.0.0",
|
||||
"@angular-eslint/builder": "^20.7.0",
|
||||
"@angular-eslint/eslint-plugin": "^20.7.0",
|
||||
"@angular-eslint/eslint-plugin-template": "^20.7.0",
|
||||
"@angular-eslint/schematics": "^20.7.0",
|
||||
"@angular-eslint/template-parser": "^20.7.0",
|
||||
"@angular/build": "^20.3.13",
|
||||
"@angular/cli": "20.3.13",
|
||||
"@angular/compiler-cli": "20.3.15",
|
||||
"@angular/language-service": "20.3.15",
|
||||
"@cypress/schematic": "^2.5.2",
|
||||
"@types/d3-dispatch": "^3.0.1",
|
||||
"@types/d3-drag": "^3.0.1",
|
||||
@@ -91,11 +90,11 @@
|
||||
"@types/lodash": "4.14.132",
|
||||
"@types/node": "22.15.29",
|
||||
"@types/vkbeautify": "^0.99.2",
|
||||
"@typescript-eslint/eslint-plugin": "^8.26.1",
|
||||
"@typescript-eslint/parser": "^8.26.1",
|
||||
"@typescript-eslint/eslint-plugin": "^8.48.1",
|
||||
"@typescript-eslint/parser": "^8.48.1",
|
||||
"@vendure/ngx-translate-extract": "^9.4.0",
|
||||
"cypress": "^13.17.0",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint": "^9.39.1",
|
||||
"git-describe": "^4.1.1",
|
||||
"htmlhint": "1.1.4",
|
||||
"https-proxy-agent": "7.0.2",
|
||||
@@ -103,10 +102,10 @@
|
||||
"jasmine-core": "^4.2.0",
|
||||
"jasmine-spec-reporter": "~5.0.0",
|
||||
"jest": "^29.7.0",
|
||||
"jest-preset-angular": "^14.6.0",
|
||||
"jest-preset-angular": "^14.6.2",
|
||||
"lint-staged": "^15.2.10",
|
||||
"prettier": "^3.3.3",
|
||||
"prettier-plugin-multiline-arrays": "^3.0.6",
|
||||
"prettier": "^3.6.2",
|
||||
"prettier-plugin-multiline-arrays": "^4.0.5",
|
||||
"puppeteer": "^24.4.0",
|
||||
"stylelint": "^16.10.0",
|
||||
"stylelint-config-recommended-scss": "^14.1.0",
|
||||
@@ -114,7 +113,7 @@
|
||||
"stylelint-scss": "^6.8.1",
|
||||
"tailwindcss": "^3.3.3",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^5.4.5"
|
||||
"typescript": "^5.9.3"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -124,7 +123,7 @@
|
||||
"url": "https://mifosforge.jira.com/jira/software/c/projects/WEB/boards/62"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 16.15.1",
|
||||
"node": ">= 20.19.0",
|
||||
"npm": ">= 8.11.0"
|
||||
},
|
||||
"lint-staged": {
|
||||
|
||||
Reference in New Issue
Block a user