-1

help seeking for Angular 5 Project need to Migrate Angular 14

pakage.json file

  "name": "my-app",
  "version": "0.0.2",
  "license": "MIT",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build:prod": "ng build --prod",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e",
    "post-build": "node ./build/post-build.js"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "^5.2.11",
    "@angular/common": "^5.2.0",
    "@angular/compiler": "^5.2.0",
    "@angular/core": "^5.2.0",
    "@angular/forms": "^5.2.0",
    "@angular/http": "^5.2.0",
    "@angular/platform-browser": "^5.2.0",
    "@angular/platform-browser-dynamic": "^5.2.0",
    "@angular/router": "^5.2.0",
    "@progress/kendo-angular-buttons": "^4.0.0",
    "@progress/kendo-angular-dateinputs": "3.4.4",
    "@progress/kendo-angular-dropdowns": "^2.1.0",
    "@progress/kendo-angular-excel-export": "^1.0.7",
    "@progress/kendo-angular-grid": "3.6.1",
    "@progress/kendo-angular-inputs": "3.1.2",
    "@progress/kendo-angular-intl": "^1.4.1",
    "@progress/kendo-angular-l10n": "^1.2.0",
    "@progress/kendo-angular-layout": "1.0.0",
    "@progress/kendo-angular-popup": "2.4.1",
    "@progress/kendo-angular-resize-sensor": "3.0.4",
    "@progress/kendo-angular-tooltip": "^0.4.0",
    "@progress/kendo-data-query": "^1.3.0",
    "@progress/kendo-drawing": "^1.5.3",
    "@progress/kendo-theme-bootstrap": "^2.11.11",
    "@progress/kendo-theme-default": "^2.47.2",
    "ajv": "^6.0.0",
    "bootstrap": "^4.3.1",
    "core-js": "^2.4.1",
    "font-awesome": "^4.7.0",
    "jquery": "^1.9.1",
    "moment": "^2.23.0",
    "ngx-bootstrap": "^2.0.5",
    "ngx-spinner": "^2.0.1",
    "ngx-toastr": "^8.7.3",
    "popper.js": "^1.14.3",
    "promisify-core-api": "^1.0.1",
    "rxjs": "6.0.0",
    "rxjs-compat": "^6.4.0",
    "zone.js": "^0.8.19"
  },
  "devDependencies": {
    "@angular/cli": "1.6.8",
    "@angular/compiler-cli": "^5.2.0",
    "@angular/language-service": "^5.2.0",
    "@types/jasmine": "~2.8.3",
    "@types/jasminewd2": "~2.0.2",
    "@types/node": "~6.0.60",
    "codelyzer": "^4.0.1",
    "jasmine-core": "~2.8.0",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~2.0.0",
    "karma-chrome-launcher": "~2.2.0",
    "karma-coverage-istanbul-reporter": "^1.2.1",
    "karma-jasmine": "~1.1.0",
    "karma-jasmine-html-reporter": "^0.2.2",
    "protractor": "~5.1.2",
    "ts-node": "~4.1.0",
    "tslint": "~5.9.1",
    "typescript": "~2.5.3"
  }
}

i am requesting for guide to Migrate my angular 5 project to angular 14 or current version

Vojin Purić
  • 2,140
  • 7
  • 9
  • 22
  • 2
    Follow https://update.angular.io/ and go one version update at a time. And another important thing to follow is having right version of TS, node, Angular CLI https://angular.io/guide/versions – Pankaj Parkar Jun 20 '23 at 04:29
  • Another option you could try: install the Angular CLI for v14, create a new project using the CLI, install all other needed libraries (progress, ngx-xxx, etc), copy your app folder to the new project, fix any compile errors (read through update.angular.io to see what changed), fix the tests, re-run the tests. Might be worth a shot. – DeborahK Jun 20 '23 at 05:22

1 Answers1

1

Migrating an Angular 5 project to Angular 14 (or the current version) involves several steps. Here's a guide to help you through the process:

  1. Update Angular CLI:
  2. Update Angular dependencies:
  3. Update TypeScript:
  4. Run the update schematic:
  5. Resolve any breaking changes:
  6. Test and fix issues:

Or you can check update guide https://update.angular.io/

  • You didn't write all of the answer yourself (modified ChatGPT output?). For instance, it is impossible to learn to use [articles](https://en.wiktionary.org/wiki/article#Noun). It is plagiarism. – Peter Mortensen Jun 20 '23 at 13:14