diff --git a/modules/openapi-generator/src/main/resources/typescript/package.mustache b/modules/openapi-generator/src/main/resources/typescript/package.mustache index fe5d0cc19ec..12e08d180d2 100644 --- a/modules/openapi-generator/src/main/resources/typescript/package.mustache +++ b/modules/openapi-generator/src/main/resources/typescript/package.mustache @@ -33,6 +33,9 @@ "types": "./dist/index.d.js" } }, + "files": [ + "dist" + ], "typings": "./dist/index.d.ts", "scripts": { "build": "tsc", diff --git a/samples/client/others/typescript/builds/with-unique-items/package.json b/samples/client/others/typescript/builds/with-unique-items/package.json index 5396cefd2a8..ea853317fbd 100644 --- a/samples/client/others/typescript/builds/with-unique-items/package.json +++ b/samples/client/others/typescript/builds/with-unique-items/package.json @@ -22,6 +22,9 @@ "types": "./dist/index.d.js" } }, + "files": [ + "dist" + ], "typings": "./dist/index.d.ts", "scripts": { "build": "tsc", diff --git a/samples/openapi3/client/petstore/typescript/builds/browser/package.json b/samples/openapi3/client/petstore/typescript/builds/browser/package.json index 75f0bc16826..7f477ac29fd 100644 --- a/samples/openapi3/client/petstore/typescript/builds/browser/package.json +++ b/samples/openapi3/client/petstore/typescript/builds/browser/package.json @@ -23,6 +23,9 @@ "types": "./dist/index.d.js" } }, + "files": [ + "dist" + ], "typings": "./dist/index.d.ts", "scripts": { "build": "tsc", diff --git a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/package.json b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/package.json index 8f6636e8cf8..ea8d9cce8ca 100644 --- a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/package.json +++ b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/package.json @@ -22,6 +22,9 @@ "types": "./dist/index.d.js" } }, + "files": [ + "dist" + ], "typings": "./dist/index.d.ts", "scripts": { "build": "tsc", diff --git a/samples/openapi3/client/petstore/typescript/builds/default/package.json b/samples/openapi3/client/petstore/typescript/builds/default/package.json index f75fc96c282..a18e68426ad 100644 --- a/samples/openapi3/client/petstore/typescript/builds/default/package.json +++ b/samples/openapi3/client/petstore/typescript/builds/default/package.json @@ -22,6 +22,9 @@ "types": "./dist/index.d.js" } }, + "files": [ + "dist" + ], "typings": "./dist/index.d.ts", "scripts": { "build": "tsc", diff --git a/samples/openapi3/client/petstore/typescript/builds/inversify/package.json b/samples/openapi3/client/petstore/typescript/builds/inversify/package.json index b6496f55d05..2bdd354cc1f 100644 --- a/samples/openapi3/client/petstore/typescript/builds/inversify/package.json +++ b/samples/openapi3/client/petstore/typescript/builds/inversify/package.json @@ -22,6 +22,9 @@ "types": "./dist/index.d.js" } }, + "files": [ + "dist" + ], "typings": "./dist/index.d.ts", "scripts": { "build": "tsc", diff --git a/samples/openapi3/client/petstore/typescript/builds/jquery/package.json b/samples/openapi3/client/petstore/typescript/builds/jquery/package.json index ea49a041e5b..aac146f2436 100644 --- a/samples/openapi3/client/petstore/typescript/builds/jquery/package.json +++ b/samples/openapi3/client/petstore/typescript/builds/jquery/package.json @@ -22,6 +22,9 @@ "types": "./dist/index.d.js" } }, + "files": [ + "dist" + ], "typings": "./dist/index.d.ts", "scripts": { "build": "tsc", diff --git a/samples/openapi3/client/petstore/typescript/builds/object_params/package.json b/samples/openapi3/client/petstore/typescript/builds/object_params/package.json index f75fc96c282..a18e68426ad 100644 --- a/samples/openapi3/client/petstore/typescript/builds/object_params/package.json +++ b/samples/openapi3/client/petstore/typescript/builds/object_params/package.json @@ -22,6 +22,9 @@ "types": "./dist/index.d.js" } }, + "files": [ + "dist" + ], "typings": "./dist/index.d.ts", "scripts": { "build": "tsc",