NativeScript / NativeScript/angular
Migration angular 14 to 15
オープン
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 55
- フォーク
- 13
- 平均マージ
- 16分
- マージ済み PR(30日)
- 1
説明
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",
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
提供された tsconfig の内容と依存関係のバージョンを使って、まず ng update @angular/core@15 @angular/cli@15 --force を再現します。提供された設定にもかかわらず、マイグレーションが tsconfig ファイルが存在しないと報告する理由を調査します。完了条件は、Angular 14 から 15 へのマイグレーションがこのエラーなしで完了することです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- build-system, tooling
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 32/100