[REQ][typescript-axios] Add TypeScript 6 to generated package.json peer range
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 86/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- tooling
調査の方向性
modules/openapi-generator/src/main/resources/typescript-axios/package.mustache を更新し、生成された package.json の TypeScript peer range に ^6.0 が含まれるようにします。まず既存の dependency エントリを確認し、次に生成された TypeScript-Axios samples を TypeScript 6 で実行します。生成されたクライアントが拡張された range を宣言し、TypeScript 6 で正常にコンパイルできれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Is your feature request related to a problem? Please describe.
The typescript-axios generator currently emits this development dependency:
"typescript": "^4.0 || ^5.0"
TypeScript 6 is stable, but generated clients cannot declare compatibility with it. This blocks projects that use the generated package.json from upgrading to TypeScript 6 without maintaining a local template override.
The current template is:
modules/openapi-generator/src/main/resources/typescript-axios/package.mustache
Describe the solution you would like
Update the TypeScript range generated by typescript-axios to include TypeScript 6, for example:
"typescript": "^4.0 || ^5.0 || ^6.0"
Please also run the generated TypeScript-Axios samples using TypeScript 6 to confirm compatibility.
Describe alternatives you have considered
We can maintain a local override of package.mustache, but this duplicates an upstream template and must be kept aligned with every OpenAPI Generator upgrade.
We can also override the generated dependency after code generation, but this does not solve the issue for other TypeScript-Axios users.
Additional context
OpenAPI Generator version: 7.25.0
The generator previously added TypeScript 5 support in #18674:
https://github.com/OpenAPITools/openapi-generator/pull/18674
Our generated client compiles with TypeScript 6. The generated tsconfig.json still contains the deprecated moduleResolution: "node" setting; this remains accepted by TypeScript 6 but will need a separate modernization before TypeScript 7, where that resolver is removed.
- 主要言語
- Java
- スター
- 26.8k
- フォーク
- 7.7k
- 平均マージ
- 3日 21時間
- マージ済み PR(30日)
- 117
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
OpenAPITools/openapi-generator のほかの issue
-
Issue: Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
OpenAPITools/openapi-generator#25021 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
OpenAPITools/openapi-generator#24997 ·
メンテナーはふだん 1 日以内に返信
-
Issue: Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
OpenAPITools/openapi-generator#24859 ·
メンテナーはふだん 1 日以内に返信
-
[BUG][KOTLIN] Fails to compile after updating to 7.25.0 with useJackson3=false useSpringBoot4=trueオープンIssue: Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
OpenAPITools/openapi-generator#24842 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Issue: Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
OpenAPITools/openapi-generator#24816 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
OpenAPITools/openapi-generator の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
Content
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
RunestoneInteractive/rs#1559 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
inu-appcenter/memorIN-backend#298 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
opendataloader-project/opendataloader-pdf#757 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
redhat-developer/intellij-quarkus#1626 ·