OpenAPIValidators icon indicating copy to clipboard operation
OpenAPIValidators copied to clipboard

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

Open DetachHead opened this issue 3 years ago • 0 comments

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

DetachHead avatar Apr 27 '22 05:04 DetachHead