NativeScript / NativeScript/angular
Migration angular 14 to 15
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- TypeScript
- Star
- 55
- Fork
- 13
- Merge trung bình
- 16 phút
- Pull request đã merge (30 ngày)
- 1
Mô tả
while migrating from angular 14 to 15 running ng update @angular/core@15 @angular/cli@15 --force I get the error
Migration failed: Could not find any tsconfig file. Cannot run a migration to cleanup the deprecated relativeLinkResolution config option
A tsconfig file is available, its content is:
{
"compilerOptions": {
"strict": true,
"allowJs": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"module": "esnext",
"target": "ES2022",
"moduleResolution": "node",
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"noEmitHelpers": true,
"noEmitOnError": true,
"skipLibCheck": true,
"plugins": [
{
"transform": "@nativescript/webpack/transformers/ns-transform-native-classes",
"type": "raw"
}
],
"types": [
"@types/jest",
"jest",
"node"
],
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2017",
"dom"
],
"baseUrl": ".",
"paths": {
"@templates/*": [
"~/assets/templates/*"
],
"~/*": [
"src/*"
],
"@/*": [
"src/*"
]
},
"removeComments": false,
"useDefineForClassFields": false
},
"include": [
"src/app/activity.android.ts",
"src/tests/**/*.ts",
"src/**/*.ios.ts",
"src/**/*.android.ts"
, "./application.android.ts" ],
"files": [
"./src/app/activity.android.ts",
"./src/main.ts",
"./references.d.ts",
"./src/polyfills.ts",
"./application.android.ts"
],
"exclude": [
"node_modules",
"platforms",
"e2e"
],
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,
"strictInjectionParameters": true,
"strictInputAccessModifiers": true,
"strictTemplates": true
}
}
Angular dependecies
"@angular/animations": "^15.2.10",
"@angular/common": "^15.2.10",
"@angular/compiler": "^15.2.10",
"@angular/core": "^15.2.10",
"@angular/forms": "^15.2.10",
"@angular/platform-browser": "^15.2.10",
"@angular/platform-browser-dynamic": "^15.2.10",
"@angular/router": "^15.2.10",
Angular dev dependencies:
"@angular-devkit/build-angular": "^15.2.11",
"@angular/cli": "~15.2.11",
"@angular/compiler-cli": "^15.2.10",
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện ng update @angular/core@15 @angular/cli@15 --force với nội dung tsconfig và các phiên bản dependency được cung cấp. Điều tra lý do migration báo cáo rằng không tồn tại tệp tsconfig mặc dù cấu hình đã được cung cấp; công việc được xem là hoàn tất khi migration từ Angular 14 lên 15 hoàn thành mà không gặp lỗi này.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- angular, typescript
- Lĩnh vực
- build-system, tooling
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 32/100