metadevpro / openapi3-ts

TS Model & utils for creating and exposing OpenAPI 3.x contracts.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Source files are published in the package

zsilbi opened this issue · comments

Hi!

When I open a project that uses this package, VSCode reports errors like the following:

Cannot write file 'node_modules/openapi3-ts/dist/dsl/openapi-builder30.d.ts' because it would overwrite input file.

The published package contains a tsconfig.json file with compileOnSave": true in it: https://www.npmjs.com/package/openapi3-ts/v/4.3.1?activeTab=code

I think these source files should be omitted when the package is published to npm.

I am getting the same.

Made a fix for that, @tarjelavik && @zsilbi : #136