I have a package.json
file with dependencies and devDependencies for my project. Currently, the project uses version 1015.0.381
of certain modules and Angular version 12.2.14
. I need to update everything to the latest versions directly. Can you look at the package.json
file and tell me which modules need to be updated and how? Also, please let me know what changes I will need to make after updating, especially for our custom widgets, as there might be necessary modifications. Could you also provide an updated package.json
with the latest versions?
See this My Packge.json File Code
“dependencies”: {
“angular/animations”: “12.2.14”,
“angular/cdk”: “12.2.13”,
“angular/common”: “12.2.14”,
“angular/compiler”: “12.2.14”,
“angular/core”: “12.2.14”,
“angular/forms”: “12.2.14”,
“angular/platform-browser”: “12.2.14”,
“angular/platform-browser-dynamic”: “12.2.14”,
“angular/router”: “12.2.14”,
“angular/upgrade”: “12.2.14”,
“c8y/client”: “1015.0.381”,
“c8y/ng1-modules”: “1015.0.381”,
“c8y/ngx-components”: “1015.0.381”,
“c8y/style”: “1015.0.381”,
“ngx-translate/core”: “13.0.0”,
“@types/node”: “^20.1.4”,
“angular”: “1.6.9”,
“angular-google-charts”: “^2.2.3”,
“angular-resize-event”: “^3.2.0”,
“anychart”: “^8.11.0”,
“downloadjs”: “^1.4.7”,
“echarts”: “^5.4.2”,
“fontawesome”: “^5.6.3”,
“jspdf”: “^2.5.1”,
“leaflet-extra-markers”: “^1.2.2”,
“leaflet.markercluster”: “^1.5.3”,
“leaflet2”: “npm:leaflet@^1.9.3”,
“moment”: “^2.29.4”,
“ng2-datepicker”: “^12.0.0”,
“pdf-lib”: “^1.17.1”,
“rxjs”: “~6.6.3”,
“svg2pdf.js”: “^2.2.1”,
“zone.js”: “~0.11.4”
},
“devDependencies”: {
“angular-devkit/build-angular”: “12.2.14”,
“angular/compiler-cli”: “12.2.14”,
“angular/language-service”: “12.2.14”,
“angular/localize”: “12.2.14”,
“angular/service-worker”: “12.2.14”,
“c8y/cli”: “1015.0.381”,
“types/jest”: “^27.0.3”,
“jest”: “^27.4.5”,
“jest-preset-angular”: “^11.0.1”,
“ng-packagr”: “^12.2.7”,
“typescript”: “4.2.4”
},
Can you provide a complete guide on how to update my Angular application to the latest version without removing or breaking my custom widgets? After updating, some of my widgets like Map, Image, Welcome, Cockpit, QuickLinks, and others are being removed. I need to know the steps involved in updating the dependencies and devDependencies, and any necessary changes that need to be made to ensure my custom widgets remain functional.