From 5221ca2b0ad8d78f602546939fb7b9ae8398ca3d Mon Sep 17 00:00:00 2001 From: Artem Kuzmenko <1782530+witem@users.noreply.github.com> Date: Mon, 16 May 2022 10:54:37 +0300 Subject: [PATCH] feat(typescript): add repository field to package.json (#12292) --- .../src/main/resources/typescript-angular/package.mustache | 4 ++++ .../main/resources/typescript-aurelia/package.json.mustache | 4 ++++ .../src/main/resources/typescript-axios/package.mustache | 4 ++++ .../src/main/resources/typescript-fetch/package.mustache | 4 ++++ .../src/main/resources/typescript-inversify/package.mustache | 4 ++++ .../src/main/resources/typescript-jquery/package.mustache | 4 ++++ .../src/main/resources/typescript-nestjs/package.mustache | 4 ++++ .../src/main/resources/typescript-node/package.mustache | 5 ++++- .../main/resources/typescript-redux-query/package.mustache | 4 ++++ .../src/main/resources/typescript-rxjs/package.mustache | 4 ++++ .../src/main/resources/typescript/package.mustache | 4 ++++ .../others/typescript/builds/with-unique-items/package.json | 4 ++++ .../builds/with-npm/package.json | 4 ++++ .../builds/with-npm/package.json | 4 ++++ .../builds/with-npm/package.json | 4 ++++ .../builds/with-npm/package.json | 4 ++++ .../builds/with-npm/package.json | 4 ++++ .../client/petstore/typescript-aurelia/default/package.json | 4 ++++ .../petstore/typescript-axios/builds/es6-target/package.json | 4 ++++ .../package.json | 4 ++++ .../typescript-axios/builds/with-npm-version/package.json | 4 ++++ .../petstore/typescript-fetch/builds/es6-target/package.json | 4 ++++ .../builds/prefix-parameter-interfaces/package.json | 4 ++++ .../typescript-fetch/builds/sagas-and-records/package.json | 4 ++++ .../typescript-fetch/builds/with-npm-version/package.json | 4 ++++ .../builds/without-runtime-checks/package.json | 4 ++++ samples/client/petstore/typescript-jquery/npm/package.json | 4 ++++ .../builds/default/package.json | 4 ++++ samples/client/petstore/typescript-node/npm/package.json | 5 ++++- .../builds/with-npm-version/package.json | 4 ++++ .../petstore/typescript-rxjs/builds/es6-target/package.json | 4 ++++ .../typescript-rxjs/builds/with-npm-version/package.json | 4 ++++ .../client/petstore/typescript/builds/browser/package.json | 4 ++++ .../petstore/typescript/builds/composed-schemas/package.json | 4 ++++ .../client/petstore/typescript/builds/default/package.json | 4 ++++ .../client/petstore/typescript/builds/inversify/package.json | 4 ++++ .../client/petstore/typescript/builds/jquery/package.json | 4 ++++ .../petstore/typescript/builds/object_params/package.json | 4 ++++ 38 files changed, 152 insertions(+), 2 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/typescript-angular/package.mustache b/modules/openapi-generator/src/main/resources/typescript-angular/package.mustache index c2286eda8ce..22f7cd144d3 100644 --- a/modules/openapi-generator/src/main/resources/typescript-angular/package.mustache +++ b/modules/openapi-generator/src/main/resources/typescript-angular/package.mustache @@ -3,6 +3,10 @@ "version": "{{{npmVersion}}}", "description": "OpenAPI client for {{{npmName}}}", "author": "OpenAPI-Generator Contributors", + "repository": { + "type": "git", + "url": "https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}.git" + }, "keywords": [ "openapi-client", "openapi-generator" diff --git a/modules/openapi-generator/src/main/resources/typescript-aurelia/package.json.mustache b/modules/openapi-generator/src/main/resources/typescript-aurelia/package.json.mustache index fdf4deea5f5..91a55a9140c 100644 --- a/modules/openapi-generator/src/main/resources/typescript-aurelia/package.json.mustache +++ b/modules/openapi-generator/src/main/resources/typescript-aurelia/package.json.mustache @@ -1,6 +1,10 @@ { "name": "{{{npmName}}}{{^npmName}}typescript-aurelia-api{{/npmName}}", "version": "{{{npmVersion}}}{{^npmVersion}}0.0.0{{/npmVersion}}", + "repository": { + "type": "git", + "url": "https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}.git" + }, "license": "Unlicense", "main": "./dist/Api.js", "browser": "./dist/Api.js", diff --git a/modules/openapi-generator/src/main/resources/typescript-axios/package.mustache b/modules/openapi-generator/src/main/resources/typescript-axios/package.mustache index 128715ed059..c4fc5b8cd40 100644 --- a/modules/openapi-generator/src/main/resources/typescript-axios/package.mustache +++ b/modules/openapi-generator/src/main/resources/typescript-axios/package.mustache @@ -3,6 +3,10 @@ "version": "{{npmVersion}}", "description": "OpenAPI client for {{npmName}}", "author": "OpenAPI-Generator Contributors", + "repository": { + "type": "git", + "url": "https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}.git" + }, "keywords": [ "axios", "typescript", diff --git a/modules/openapi-generator/src/main/resources/typescript-fetch/package.mustache b/modules/openapi-generator/src/main/resources/typescript-fetch/package.mustache index 3242ad7e236..add4643dfe3 100644 --- a/modules/openapi-generator/src/main/resources/typescript-fetch/package.mustache +++ b/modules/openapi-generator/src/main/resources/typescript-fetch/package.mustache @@ -3,6 +3,10 @@ "version": "{{npmVersion}}", "description": "OpenAPI client for {{npmName}}", "author": "OpenAPI-Generator", + "repository": { + "type": "git", + "url": "https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}.git" + }, {{#packageAsSourceOnlyLibrary}} "main": "./index.ts", {{/packageAsSourceOnlyLibrary}} diff --git a/modules/openapi-generator/src/main/resources/typescript-inversify/package.mustache b/modules/openapi-generator/src/main/resources/typescript-inversify/package.mustache index 78a4c93bab9..18ee1a7e8a2 100644 --- a/modules/openapi-generator/src/main/resources/typescript-inversify/package.mustache +++ b/modules/openapi-generator/src/main/resources/typescript-inversify/package.mustache @@ -3,6 +3,10 @@ "version": "{{{npmVersion}}}", "description": "OpenAPI client for {{{npmName}}}", "author": "OpenAPI-Generator Contributors", + "repository": { + "type": "git", + "url": "https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}.git" + }, "keywords": [ "openapi-client", "openapi-generator" diff --git a/modules/openapi-generator/src/main/resources/typescript-jquery/package.mustache b/modules/openapi-generator/src/main/resources/typescript-jquery/package.mustache index 13bd8b9cd51..d9c7b690560 100644 --- a/modules/openapi-generator/src/main/resources/typescript-jquery/package.mustache +++ b/modules/openapi-generator/src/main/resources/typescript-jquery/package.mustache @@ -2,6 +2,10 @@ "name": "{{npmName}}", "version": "{{npmVersion}}", "description": "JQuery client for {{npmName}}", + "repository": { + "type": "git", + "url": "https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}.git" + }, "main": "api.js", "scripts": { "build": "tsc" diff --git a/modules/openapi-generator/src/main/resources/typescript-nestjs/package.mustache b/modules/openapi-generator/src/main/resources/typescript-nestjs/package.mustache index 210ebafb4a9..0ac1e788fb8 100644 --- a/modules/openapi-generator/src/main/resources/typescript-nestjs/package.mustache +++ b/modules/openapi-generator/src/main/resources/typescript-nestjs/package.mustache @@ -3,6 +3,10 @@ "version": "{{{npmVersion}}}", "description": "REST client for {{{npmName}}}", "author": "OpenAPI Generator Contributors", + "repository": { + "type": "git", + "url": "https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}.git" + }, "keywords": [ "swagger-client" ], diff --git a/modules/openapi-generator/src/main/resources/typescript-node/package.mustache b/modules/openapi-generator/src/main/resources/typescript-node/package.mustache index 47b53f66c91..d013eab0374 100644 --- a/modules/openapi-generator/src/main/resources/typescript-node/package.mustache +++ b/modules/openapi-generator/src/main/resources/typescript-node/package.mustache @@ -2,7 +2,10 @@ "name": "{{npmName}}", "version": "{{npmVersion}}", "description": "NodeJS client for {{npmName}}", - "repository": "{{gitUserId}}/{{gitRepoId}}", + "repository": { + "type": "git", + "url": "https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}.git" + }, "main": "dist/api.js", "types": "dist/api.d.ts", "scripts": { diff --git a/modules/openapi-generator/src/main/resources/typescript-redux-query/package.mustache b/modules/openapi-generator/src/main/resources/typescript-redux-query/package.mustache index b0fdd30a34e..722818d44cd 100644 --- a/modules/openapi-generator/src/main/resources/typescript-redux-query/package.mustache +++ b/modules/openapi-generator/src/main/resources/typescript-redux-query/package.mustache @@ -3,6 +3,10 @@ "version": "{{npmVersion}}", "description": "OpenAPI client for {{npmName}}", "author": "OpenAPI-Generator", + "repository": { + "type": "git", + "url": "https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}.git" + }, "main": "./dist/index.js", "typings": "./dist/index.d.ts", "scripts" : { diff --git a/modules/openapi-generator/src/main/resources/typescript-rxjs/package.mustache b/modules/openapi-generator/src/main/resources/typescript-rxjs/package.mustache index 57e2b7f4bd6..65d8b348d1a 100644 --- a/modules/openapi-generator/src/main/resources/typescript-rxjs/package.mustache +++ b/modules/openapi-generator/src/main/resources/typescript-rxjs/package.mustache @@ -3,6 +3,10 @@ "version": "{{npmVersion}}", "description": "OpenAPI client for {{npmName}}", "author": "OpenAPI-Generator", + "repository": { + "type": "git", + "url": "https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}.git" + }, "main": "./dist/index.js", "typings": "./dist/index.d.ts", "scripts" : { diff --git a/modules/openapi-generator/src/main/resources/typescript/package.mustache b/modules/openapi-generator/src/main/resources/typescript/package.mustache index a307fa9aa98..50fdc80fcff 100644 --- a/modules/openapi-generator/src/main/resources/typescript/package.mustache +++ b/modules/openapi-generator/src/main/resources/typescript/package.mustache @@ -3,6 +3,10 @@ "version": "{{npmVersion}}", "description": "OpenAPI client for {{npmName}}", "author": "OpenAPI-Generator Contributors", + "repository": { + "type": "git", + "url": "https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}.git" + }, "keywords": [ "fetch", "typescript", 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 0dc1dc48ad4..c79569e704a 100644 --- a/samples/client/others/typescript/builds/with-unique-items/package.json +++ b/samples/client/others/typescript/builds/with-unique-items/package.json @@ -3,6 +3,10 @@ "version": "", "description": "OpenAPI client for ", "author": "OpenAPI-Generator Contributors", + "repository": { + "type": "git", + "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" + }, "keywords": [ "fetch", "typescript", diff --git a/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/with-npm/package.json b/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/with-npm/package.json index 48f013434a6..609606d8f08 100644 --- a/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/with-npm/package.json +++ b/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/with-npm/package.json @@ -3,6 +3,10 @@ "version": "1.0.0", "description": "OpenAPI client for @openapitools/typescript-angular-petstore", "author": "OpenAPI-Generator Contributors", + "repository": { + "type": "git", + "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" + }, "keywords": [ "openapi-client", "openapi-generator" diff --git a/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/with-npm/package.json b/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/with-npm/package.json index aef018ba59e..266399c16b6 100644 --- a/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/with-npm/package.json +++ b/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/with-npm/package.json @@ -3,6 +3,10 @@ "version": "1.0.0", "description": "OpenAPI client for @openapitools/typescript-angular-petstore", "author": "OpenAPI-Generator Contributors", + "repository": { + "type": "git", + "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" + }, "keywords": [ "openapi-client", "openapi-generator" diff --git a/samples/client/petstore/typescript-angular-v12-provided-in-root/builds/with-npm/package.json b/samples/client/petstore/typescript-angular-v12-provided-in-root/builds/with-npm/package.json index 3c3b1243568..f5fffd2a55f 100644 --- a/samples/client/petstore/typescript-angular-v12-provided-in-root/builds/with-npm/package.json +++ b/samples/client/petstore/typescript-angular-v12-provided-in-root/builds/with-npm/package.json @@ -3,6 +3,10 @@ "version": "1.0.0", "description": "OpenAPI client for @openapitools/typescript-angular-petstore", "author": "OpenAPI-Generator Contributors", + "repository": { + "type": "git", + "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" + }, "keywords": [ "openapi-client", "openapi-generator" diff --git a/samples/client/petstore/typescript-angular-v13-provided-in-root/builds/with-npm/package.json b/samples/client/petstore/typescript-angular-v13-provided-in-root/builds/with-npm/package.json index a00df3cd562..7c3b658c06f 100644 --- a/samples/client/petstore/typescript-angular-v13-provided-in-root/builds/with-npm/package.json +++ b/samples/client/petstore/typescript-angular-v13-provided-in-root/builds/with-npm/package.json @@ -3,6 +3,10 @@ "version": "1.0.0", "description": "OpenAPI client for @openapitools/typescript-angular-petstore", "author": "OpenAPI-Generator Contributors", + "repository": { + "type": "git", + "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" + }, "keywords": [ "openapi-client", "openapi-generator" diff --git a/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/with-npm/package.json b/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/with-npm/package.json index f8686e1665d..3205e0320c2 100644 --- a/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/with-npm/package.json +++ b/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/with-npm/package.json @@ -3,6 +3,10 @@ "version": "1.0.0", "description": "OpenAPI client for @openapitools/typescript-angular-petstore", "author": "OpenAPI-Generator Contributors", + "repository": { + "type": "git", + "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" + }, "keywords": [ "openapi-client", "openapi-generator" diff --git a/samples/client/petstore/typescript-aurelia/default/package.json b/samples/client/petstore/typescript-aurelia/default/package.json index e7fae1cf8c7..2d613cc2661 100644 --- a/samples/client/petstore/typescript-aurelia/default/package.json +++ b/samples/client/petstore/typescript-aurelia/default/package.json @@ -1,6 +1,10 @@ { "name": "typescript-aurelia-api", "version": "0.0.0", + "repository": { + "type": "git", + "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" + }, "license": "Unlicense", "main": "./dist/Api.js", "browser": "./dist/Api.js", diff --git a/samples/client/petstore/typescript-axios/builds/es6-target/package.json b/samples/client/petstore/typescript-axios/builds/es6-target/package.json index 52a122b7b41..dc8188688f5 100644 --- a/samples/client/petstore/typescript-axios/builds/es6-target/package.json +++ b/samples/client/petstore/typescript-axios/builds/es6-target/package.json @@ -3,6 +3,10 @@ "version": "1.0.0", "description": "OpenAPI client for @openapitools/typescript-axios-petstore", "author": "OpenAPI-Generator Contributors", + "repository": { + "type": "git", + "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" + }, "keywords": [ "axios", "typescript", diff --git a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/package.json b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/package.json index 52a122b7b41..dc8188688f5 100644 --- a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/package.json +++ b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/package.json @@ -3,6 +3,10 @@ "version": "1.0.0", "description": "OpenAPI client for @openapitools/typescript-axios-petstore", "author": "OpenAPI-Generator Contributors", + "repository": { + "type": "git", + "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" + }, "keywords": [ "axios", "typescript", diff --git a/samples/client/petstore/typescript-axios/builds/with-npm-version/package.json b/samples/client/petstore/typescript-axios/builds/with-npm-version/package.json index 52a122b7b41..dc8188688f5 100644 --- a/samples/client/petstore/typescript-axios/builds/with-npm-version/package.json +++ b/samples/client/petstore/typescript-axios/builds/with-npm-version/package.json @@ -3,6 +3,10 @@ "version": "1.0.0", "description": "OpenAPI client for @openapitools/typescript-axios-petstore", "author": "OpenAPI-Generator Contributors", + "repository": { + "type": "git", + "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" + }, "keywords": [ "axios", "typescript", diff --git a/samples/client/petstore/typescript-fetch/builds/es6-target/package.json b/samples/client/petstore/typescript-fetch/builds/es6-target/package.json index 214831d72d5..7c6d9667c05 100644 --- a/samples/client/petstore/typescript-fetch/builds/es6-target/package.json +++ b/samples/client/petstore/typescript-fetch/builds/es6-target/package.json @@ -3,6 +3,10 @@ "version": "1.0.0", "description": "OpenAPI client for @openapitools/typescript-fetch-petstore", "author": "OpenAPI-Generator", + "repository": { + "type": "git", + "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" + }, "main": "./dist/index.js", "typings": "./dist/index.d.ts", "module": "./dist/esm/index.js", diff --git a/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/package.json b/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/package.json index 0cc4daffa4f..0587300c451 100644 --- a/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/package.json +++ b/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/package.json @@ -3,6 +3,10 @@ "version": "1.0.0", "description": "OpenAPI client for @openapitools/typescript-fetch-petstore", "author": "OpenAPI-Generator", + "repository": { + "type": "git", + "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" + }, "main": "./dist/index.js", "typings": "./dist/index.d.ts", "scripts": { diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/package.json b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/package.json index 1851c8a3928..ce3b2931d9d 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/package.json +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/package.json @@ -3,6 +3,10 @@ "version": "1.0.0", "description": "OpenAPI client for @openapitools/typescript-fetch-petstore", "author": "OpenAPI-Generator", + "repository": { + "type": "git", + "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" + }, "main": "./dist/index.js", "typings": "./dist/index.d.ts", "module": "./dist/esm/index.js", diff --git a/samples/client/petstore/typescript-fetch/builds/with-npm-version/package.json b/samples/client/petstore/typescript-fetch/builds/with-npm-version/package.json index 0cc4daffa4f..0587300c451 100644 --- a/samples/client/petstore/typescript-fetch/builds/with-npm-version/package.json +++ b/samples/client/petstore/typescript-fetch/builds/with-npm-version/package.json @@ -3,6 +3,10 @@ "version": "1.0.0", "description": "OpenAPI client for @openapitools/typescript-fetch-petstore", "author": "OpenAPI-Generator", + "repository": { + "type": "git", + "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" + }, "main": "./dist/index.js", "typings": "./dist/index.d.ts", "scripts": { diff --git a/samples/client/petstore/typescript-fetch/builds/without-runtime-checks/package.json b/samples/client/petstore/typescript-fetch/builds/without-runtime-checks/package.json index 0cc4daffa4f..0587300c451 100644 --- a/samples/client/petstore/typescript-fetch/builds/without-runtime-checks/package.json +++ b/samples/client/petstore/typescript-fetch/builds/without-runtime-checks/package.json @@ -3,6 +3,10 @@ "version": "1.0.0", "description": "OpenAPI client for @openapitools/typescript-fetch-petstore", "author": "OpenAPI-Generator", + "repository": { + "type": "git", + "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" + }, "main": "./dist/index.js", "typings": "./dist/index.d.ts", "scripts": { diff --git a/samples/client/petstore/typescript-jquery/npm/package.json b/samples/client/petstore/typescript-jquery/npm/package.json index c6985184e50..39bc3c53929 100644 --- a/samples/client/petstore/typescript-jquery/npm/package.json +++ b/samples/client/petstore/typescript-jquery/npm/package.json @@ -2,6 +2,10 @@ "name": "@openapitools/jquery-typescript-petstore", "version": "0.0.1", "description": "JQuery client for @openapitools/jquery-typescript-petstore", + "repository": { + "type": "git", + "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" + }, "main": "api.js", "scripts": { "build": "tsc" diff --git a/samples/client/petstore/typescript-nestjs-v6-provided-in-root/builds/default/package.json b/samples/client/petstore/typescript-nestjs-v6-provided-in-root/builds/default/package.json index 6d90d510ad9..1008d977182 100644 --- a/samples/client/petstore/typescript-nestjs-v6-provided-in-root/builds/default/package.json +++ b/samples/client/petstore/typescript-nestjs-v6-provided-in-root/builds/default/package.json @@ -3,6 +3,10 @@ "version": "1.0.0", "description": "REST client for @openapitools/typescript-nestjs-petstore", "author": "OpenAPI Generator Contributors", + "repository": { + "type": "git", + "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" + }, "keywords": [ "swagger-client" ], diff --git a/samples/client/petstore/typescript-node/npm/package.json b/samples/client/petstore/typescript-node/npm/package.json index c35a2b3a0fb..ad36a8f8295 100644 --- a/samples/client/petstore/typescript-node/npm/package.json +++ b/samples/client/petstore/typescript-node/npm/package.json @@ -2,7 +2,10 @@ "name": "@openapitools/node-typescript-petstore", "version": "0.0.1", "description": "NodeJS client for @openapitools/node-typescript-petstore", - "repository": "GIT_USER_ID/GIT_REPO_ID", + "repository": { + "type": "git", + "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" + }, "main": "dist/api.js", "types": "dist/api.d.ts", "scripts": { diff --git a/samples/client/petstore/typescript-redux-query/builds/with-npm-version/package.json b/samples/client/petstore/typescript-redux-query/builds/with-npm-version/package.json index 4ec80a8583a..7ff78ec2c59 100644 --- a/samples/client/petstore/typescript-redux-query/builds/with-npm-version/package.json +++ b/samples/client/petstore/typescript-redux-query/builds/with-npm-version/package.json @@ -3,6 +3,10 @@ "version": "1.0.0", "description": "OpenAPI client for @openapitools/typescript-redux-query-petstore", "author": "OpenAPI-Generator", + "repository": { + "type": "git", + "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" + }, "main": "./dist/index.js", "typings": "./dist/index.d.ts", "scripts" : { diff --git a/samples/client/petstore/typescript-rxjs/builds/es6-target/package.json b/samples/client/petstore/typescript-rxjs/builds/es6-target/package.json index 66e8036cfdf..add1ece5a0b 100644 --- a/samples/client/petstore/typescript-rxjs/builds/es6-target/package.json +++ b/samples/client/petstore/typescript-rxjs/builds/es6-target/package.json @@ -3,6 +3,10 @@ "version": "1.0.0", "description": "OpenAPI client for @openapitools/typescript-rxjs-petstore", "author": "OpenAPI-Generator", + "repository": { + "type": "git", + "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" + }, "main": "./dist/index.js", "typings": "./dist/index.d.ts", "scripts" : { diff --git a/samples/client/petstore/typescript-rxjs/builds/with-npm-version/package.json b/samples/client/petstore/typescript-rxjs/builds/with-npm-version/package.json index 66e8036cfdf..add1ece5a0b 100644 --- a/samples/client/petstore/typescript-rxjs/builds/with-npm-version/package.json +++ b/samples/client/petstore/typescript-rxjs/builds/with-npm-version/package.json @@ -3,6 +3,10 @@ "version": "1.0.0", "description": "OpenAPI client for @openapitools/typescript-rxjs-petstore", "author": "OpenAPI-Generator", + "repository": { + "type": "git", + "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" + }, "main": "./dist/index.js", "typings": "./dist/index.d.ts", "scripts" : { diff --git a/samples/openapi3/client/petstore/typescript/builds/browser/package.json b/samples/openapi3/client/petstore/typescript/builds/browser/package.json index 67dd0bc4bc0..5df2308e313 100644 --- a/samples/openapi3/client/petstore/typescript/builds/browser/package.json +++ b/samples/openapi3/client/petstore/typescript/builds/browser/package.json @@ -3,6 +3,10 @@ "version": "1.0.0", "description": "OpenAPI client for ts-petstore-client", "author": "OpenAPI-Generator Contributors", + "repository": { + "type": "git", + "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" + }, "keywords": [ "fetch", "typescript", 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 cd7e83b1ec4..3c487db2546 100644 --- a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/package.json +++ b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/package.json @@ -3,6 +3,10 @@ "version": "1.0.0", "description": "OpenAPI client for ts-petstore-client", "author": "OpenAPI-Generator Contributors", + "repository": { + "type": "git", + "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" + }, "keywords": [ "fetch", "typescript", diff --git a/samples/openapi3/client/petstore/typescript/builds/default/package.json b/samples/openapi3/client/petstore/typescript/builds/default/package.json index c2cd8b50bea..6260300ecb3 100644 --- a/samples/openapi3/client/petstore/typescript/builds/default/package.json +++ b/samples/openapi3/client/petstore/typescript/builds/default/package.json @@ -3,6 +3,10 @@ "version": "1.0.0", "description": "OpenAPI client for ts-petstore-client", "author": "OpenAPI-Generator Contributors", + "repository": { + "type": "git", + "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" + }, "keywords": [ "fetch", "typescript", diff --git a/samples/openapi3/client/petstore/typescript/builds/inversify/package.json b/samples/openapi3/client/petstore/typescript/builds/inversify/package.json index 872e96f05c4..e46f663e39e 100644 --- a/samples/openapi3/client/petstore/typescript/builds/inversify/package.json +++ b/samples/openapi3/client/petstore/typescript/builds/inversify/package.json @@ -3,6 +3,10 @@ "version": "1.0.0", "description": "OpenAPI client for ts-petstore-client", "author": "OpenAPI-Generator Contributors", + "repository": { + "type": "git", + "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" + }, "keywords": [ "fetch", "typescript", diff --git a/samples/openapi3/client/petstore/typescript/builds/jquery/package.json b/samples/openapi3/client/petstore/typescript/builds/jquery/package.json index 6c77c71968f..94e140050d9 100644 --- a/samples/openapi3/client/petstore/typescript/builds/jquery/package.json +++ b/samples/openapi3/client/petstore/typescript/builds/jquery/package.json @@ -3,6 +3,10 @@ "version": "1.0.0", "description": "OpenAPI client for ts-petstore-client", "author": "OpenAPI-Generator Contributors", + "repository": { + "type": "git", + "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" + }, "keywords": [ "fetch", "typescript", 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 c2cd8b50bea..6260300ecb3 100644 --- a/samples/openapi3/client/petstore/typescript/builds/object_params/package.json +++ b/samples/openapi3/client/petstore/typescript/builds/object_params/package.json @@ -3,6 +3,10 @@ "version": "1.0.0", "description": "OpenAPI client for ts-petstore-client", "author": "OpenAPI-Generator Contributors", + "repository": { + "type": "git", + "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" + }, "keywords": [ "fetch", "typescript",