openapi-library / OpenAPIValidators

Use Jest or Chai to assert that HTTP responses satisfy an OpenAPI spec
MIT License
189 stars 35 forks source link

declaration maps and source maps are included in published packages but source code isn't #279

Open DetachHead opened 2 years ago

DetachHead commented 2 years ago

Are you using jest or chai? n/a

Are you using OpenAPI 2, 3.0.X, or 3.1.0? n/a

Describe the bug clearly declarationMap and sourceMap are enabled in tsconfig.json https://github.com/openapi-library/OpenAPIValidators/blob/9511b66efb9f03a923caffd86eb66ede015defc3/tsconfig.json#L47-L49

but the source code isn't included in the published packages, even though the .d.ts.map and .js.map files are

the source code should be included such that the declaration and source maps can be utilized by users for an improved development/debugging experience

Steps to reproduce the bug:

  1. npm install openapi-validator
  2. go to node_modules/openapi-validator image

What did you expect to happen instead? src directory is present with the source code

Are you going to resolve the issue? https://www.youtube.com/watch?v=kjRXis0L-Yg