openapistack / openapi-client-axios

JavaScript client library for consuming OpenAPI-enabled APIs with axios
https://openapistack.co
MIT License
550 stars 67 forks source link

openapi-types shouldn't be a runtime dependency #102

Closed nponeccop closed 2 years ago

nponeccop commented 2 years ago

It isn't used at runtime.

anttiviljami commented 2 years ago

it's not a runtime dependency but it is a dependency for the types provided by this package, thus can't be a devDependency.

nponeccop commented 2 years ago

I wonder what a common solution is. Now this package is deployed in production, which is wrong, too.

anttiviljami commented 2 years ago

What do you mean by deployed in production? Perhaps you should use a bundler. :)