OpenAPITools / openapi-generator

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
https://openapi-generator.tech
Apache License 2.0
20.51k stars 6.27k forks source link

[REQ] [Typescript] Specify "files" property in package.json #19003

Open bootsie123 opened 5 days ago

bootsie123 commented 5 days ago

Is your feature request related to a problem? Please describe.

When publishing the compiled package to NPM the dist folder is ignored because of the .gitignore file.

Describe the solution you'd like

As a solution, adding "files": [ "dist" ] to the package.json file will only include the default files (package.json, README, and LICENSE) plus the dist folder in the published package.