OpenAPITools / OpenAPITools/openapi-generator

[REQ][typescript-fetch] - Bump TypeScript from v4 to v5

Open
#17,975 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement: Feature
Dominant language
Java
Stars
26.8k
Forks
7.7k
PR merge metrics
PR metrics pending

Description

Not current TypeScript version in typescript-fetch template

The generated package.json from the typescript-fetch template has not the current TypeScript version as dependency.

Bump TypeScript version

Bump TypeScript to v5 in modules/openapi-generator/src/main/resources/typescript-fetch/package.mustache.

Update package.json manually

It is possible to update the TypeScript version after the generation in the package.json. This has to be done everytime. It could be automated but I would prefer not doing this.

Maybe there is another way I have not discovered yet.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Update modules/openapi-generator/src/main/resources/typescript-fetch/package.mustache, which defines the generated package.json. Verify that the generated package declares TypeScript v5 and that no manual package.json update is needed afterward.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.