Skip to content

Add TypeScript plugin npm support metadata#337

Open
yanziwei wants to merge 1 commit into
fabien0102:mainfrom
yanziwei:yanziwei/add-typescript-package-support-metadata
Open

Add TypeScript plugin npm support metadata#337
yanziwei wants to merge 1 commit into
fabien0102:mainfrom
yanziwei:yanziwei/add-typescript-package-support-metadata

Conversation

@yanziwei

Copy link
Copy Markdown

Summary

Add standard npm homepage and bugs metadata to plugins/typescript/package.json for @openapi-codegen/typescript.

The published package already exposes repository and MIT license metadata, but npm metadata does not expose homepage or bugs fields. This points package consumers to the TypeScript plugin README and the public issue tracker.

Validation

  • node -e "const p=require('./plugins/typescript/package.json'); if(p.homepage!=='https://github.com/fabien0102/openapi-codegen/tree/main/plugins/typescript#readme') throw new Error('homepage mismatch'); if(p.bugs?.url!=='https://github.com/fabien0102/openapi-codegen/issues') throw new Error('bugs mismatch'); console.log(JSON.stringify({name:p.name,homepage:p.homepage,bugs:p.bugs,repository:p.repository}, null, 2));"
  • git diff --check
  • npm pack --dry-run --ignore-scripts --json from plugins/typescript

Scope

Manifest metadata only. No runtime code, dependency, generated output, or lockfile changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant