Skip to content

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

@DetachHead

Description

@DetachHead

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

"declarationMap": true /* Create sourcemaps for d.ts files. */,
// "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
"sourceMap": true /* Create source map files for emitted JavaScript files. */,

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions