javascript 迁移:寻求Angular 5项目需要迁移Angular 14的帮助

brvekthn  于 2023-06-20  发布在  Java
关注(0)|答案(1)|浏览(126)

Angular 5项目需要迁移Angular 14
pakage.json文件
{ "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" } }
我正在请求将我的angular 5项目迁移到angular 14或当前版本的指南

xqkwcwgp

xqkwcwgp1#

将Angular 5项目迁移到Angular 14(或当前版本)涉及几个步骤。以下是帮助您完成此过程的指南:
1.更新Angular CLI:
1.更新Angular依赖关系:
1.更新TypeScript:
1.运行更新原理图:
1.解决任何破坏性更改:
1.测试和修复问题:
或者您可以查看更新指南https://update.angular.io/

相关问题