feat(typescript): add repository field to package.json (#12292)

This commit is contained in:
Artem Kuzmenko 2022-05-16 10:54:37 +03:00 committed by GitHub
parent 559a2618df
commit 5221ca2b0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
38 changed files with 152 additions and 2 deletions

View File

@ -3,6 +3,10 @@
"version": "{{{npmVersion}}}", "version": "{{{npmVersion}}}",
"description": "OpenAPI client for {{{npmName}}}", "description": "OpenAPI client for {{{npmName}}}",
"author": "OpenAPI-Generator Contributors", "author": "OpenAPI-Generator Contributors",
"repository": {
"type": "git",
"url": "https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}.git"
},
"keywords": [ "keywords": [
"openapi-client", "openapi-client",
"openapi-generator" "openapi-generator"

View File

@ -1,6 +1,10 @@
{ {
"name": "{{{npmName}}}{{^npmName}}typescript-aurelia-api{{/npmName}}", "name": "{{{npmName}}}{{^npmName}}typescript-aurelia-api{{/npmName}}",
"version": "{{{npmVersion}}}{{^npmVersion}}0.0.0{{/npmVersion}}", "version": "{{{npmVersion}}}{{^npmVersion}}0.0.0{{/npmVersion}}",
"repository": {
"type": "git",
"url": "https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}.git"
},
"license": "Unlicense", "license": "Unlicense",
"main": "./dist/Api.js", "main": "./dist/Api.js",
"browser": "./dist/Api.js", "browser": "./dist/Api.js",

View File

@ -3,6 +3,10 @@
"version": "{{npmVersion}}", "version": "{{npmVersion}}",
"description": "OpenAPI client for {{npmName}}", "description": "OpenAPI client for {{npmName}}",
"author": "OpenAPI-Generator Contributors", "author": "OpenAPI-Generator Contributors",
"repository": {
"type": "git",
"url": "https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}.git"
},
"keywords": [ "keywords": [
"axios", "axios",
"typescript", "typescript",

View File

@ -3,6 +3,10 @@
"version": "{{npmVersion}}", "version": "{{npmVersion}}",
"description": "OpenAPI client for {{npmName}}", "description": "OpenAPI client for {{npmName}}",
"author": "OpenAPI-Generator", "author": "OpenAPI-Generator",
"repository": {
"type": "git",
"url": "https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}.git"
},
{{#packageAsSourceOnlyLibrary}} {{#packageAsSourceOnlyLibrary}}
"main": "./index.ts", "main": "./index.ts",
{{/packageAsSourceOnlyLibrary}} {{/packageAsSourceOnlyLibrary}}

View File

@ -3,6 +3,10 @@
"version": "{{{npmVersion}}}", "version": "{{{npmVersion}}}",
"description": "OpenAPI client for {{{npmName}}}", "description": "OpenAPI client for {{{npmName}}}",
"author": "OpenAPI-Generator Contributors", "author": "OpenAPI-Generator Contributors",
"repository": {
"type": "git",
"url": "https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}.git"
},
"keywords": [ "keywords": [
"openapi-client", "openapi-client",
"openapi-generator" "openapi-generator"

View File

@ -2,6 +2,10 @@
"name": "{{npmName}}", "name": "{{npmName}}",
"version": "{{npmVersion}}", "version": "{{npmVersion}}",
"description": "JQuery client for {{npmName}}", "description": "JQuery client for {{npmName}}",
"repository": {
"type": "git",
"url": "https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}.git"
},
"main": "api.js", "main": "api.js",
"scripts": { "scripts": {
"build": "tsc" "build": "tsc"

View File

@ -3,6 +3,10 @@
"version": "{{{npmVersion}}}", "version": "{{{npmVersion}}}",
"description": "REST client for {{{npmName}}}", "description": "REST client for {{{npmName}}}",
"author": "OpenAPI Generator Contributors", "author": "OpenAPI Generator Contributors",
"repository": {
"type": "git",
"url": "https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}.git"
},
"keywords": [ "keywords": [
"swagger-client" "swagger-client"
], ],

View File

@ -2,7 +2,10 @@
"name": "{{npmName}}", "name": "{{npmName}}",
"version": "{{npmVersion}}", "version": "{{npmVersion}}",
"description": "NodeJS client for {{npmName}}", "description": "NodeJS client for {{npmName}}",
"repository": "{{gitUserId}}/{{gitRepoId}}", "repository": {
"type": "git",
"url": "https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}.git"
},
"main": "dist/api.js", "main": "dist/api.js",
"types": "dist/api.d.ts", "types": "dist/api.d.ts",
"scripts": { "scripts": {

View File

@ -3,6 +3,10 @@
"version": "{{npmVersion}}", "version": "{{npmVersion}}",
"description": "OpenAPI client for {{npmName}}", "description": "OpenAPI client for {{npmName}}",
"author": "OpenAPI-Generator", "author": "OpenAPI-Generator",
"repository": {
"type": "git",
"url": "https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}.git"
},
"main": "./dist/index.js", "main": "./dist/index.js",
"typings": "./dist/index.d.ts", "typings": "./dist/index.d.ts",
"scripts" : { "scripts" : {

View File

@ -3,6 +3,10 @@
"version": "{{npmVersion}}", "version": "{{npmVersion}}",
"description": "OpenAPI client for {{npmName}}", "description": "OpenAPI client for {{npmName}}",
"author": "OpenAPI-Generator", "author": "OpenAPI-Generator",
"repository": {
"type": "git",
"url": "https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}.git"
},
"main": "./dist/index.js", "main": "./dist/index.js",
"typings": "./dist/index.d.ts", "typings": "./dist/index.d.ts",
"scripts" : { "scripts" : {

View File

@ -3,6 +3,10 @@
"version": "{{npmVersion}}", "version": "{{npmVersion}}",
"description": "OpenAPI client for {{npmName}}", "description": "OpenAPI client for {{npmName}}",
"author": "OpenAPI-Generator Contributors", "author": "OpenAPI-Generator Contributors",
"repository": {
"type": "git",
"url": "https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}.git"
},
"keywords": [ "keywords": [
"fetch", "fetch",
"typescript", "typescript",

View File

@ -3,6 +3,10 @@
"version": "", "version": "",
"description": "OpenAPI client for ", "description": "OpenAPI client for ",
"author": "OpenAPI-Generator Contributors", "author": "OpenAPI-Generator Contributors",
"repository": {
"type": "git",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
},
"keywords": [ "keywords": [
"fetch", "fetch",
"typescript", "typescript",

View File

@ -3,6 +3,10 @@
"version": "1.0.0", "version": "1.0.0",
"description": "OpenAPI client for @openapitools/typescript-angular-petstore", "description": "OpenAPI client for @openapitools/typescript-angular-petstore",
"author": "OpenAPI-Generator Contributors", "author": "OpenAPI-Generator Contributors",
"repository": {
"type": "git",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
},
"keywords": [ "keywords": [
"openapi-client", "openapi-client",
"openapi-generator" "openapi-generator"

View File

@ -3,6 +3,10 @@
"version": "1.0.0", "version": "1.0.0",
"description": "OpenAPI client for @openapitools/typescript-angular-petstore", "description": "OpenAPI client for @openapitools/typescript-angular-petstore",
"author": "OpenAPI-Generator Contributors", "author": "OpenAPI-Generator Contributors",
"repository": {
"type": "git",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
},
"keywords": [ "keywords": [
"openapi-client", "openapi-client",
"openapi-generator" "openapi-generator"

View File

@ -3,6 +3,10 @@
"version": "1.0.0", "version": "1.0.0",
"description": "OpenAPI client for @openapitools/typescript-angular-petstore", "description": "OpenAPI client for @openapitools/typescript-angular-petstore",
"author": "OpenAPI-Generator Contributors", "author": "OpenAPI-Generator Contributors",
"repository": {
"type": "git",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
},
"keywords": [ "keywords": [
"openapi-client", "openapi-client",
"openapi-generator" "openapi-generator"

View File

@ -3,6 +3,10 @@
"version": "1.0.0", "version": "1.0.0",
"description": "OpenAPI client for @openapitools/typescript-angular-petstore", "description": "OpenAPI client for @openapitools/typescript-angular-petstore",
"author": "OpenAPI-Generator Contributors", "author": "OpenAPI-Generator Contributors",
"repository": {
"type": "git",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
},
"keywords": [ "keywords": [
"openapi-client", "openapi-client",
"openapi-generator" "openapi-generator"

View File

@ -3,6 +3,10 @@
"version": "1.0.0", "version": "1.0.0",
"description": "OpenAPI client for @openapitools/typescript-angular-petstore", "description": "OpenAPI client for @openapitools/typescript-angular-petstore",
"author": "OpenAPI-Generator Contributors", "author": "OpenAPI-Generator Contributors",
"repository": {
"type": "git",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
},
"keywords": [ "keywords": [
"openapi-client", "openapi-client",
"openapi-generator" "openapi-generator"

View File

@ -1,6 +1,10 @@
{ {
"name": "typescript-aurelia-api", "name": "typescript-aurelia-api",
"version": "0.0.0", "version": "0.0.0",
"repository": {
"type": "git",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
},
"license": "Unlicense", "license": "Unlicense",
"main": "./dist/Api.js", "main": "./dist/Api.js",
"browser": "./dist/Api.js", "browser": "./dist/Api.js",

View File

@ -3,6 +3,10 @@
"version": "1.0.0", "version": "1.0.0",
"description": "OpenAPI client for @openapitools/typescript-axios-petstore", "description": "OpenAPI client for @openapitools/typescript-axios-petstore",
"author": "OpenAPI-Generator Contributors", "author": "OpenAPI-Generator Contributors",
"repository": {
"type": "git",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
},
"keywords": [ "keywords": [
"axios", "axios",
"typescript", "typescript",

View File

@ -3,6 +3,10 @@
"version": "1.0.0", "version": "1.0.0",
"description": "OpenAPI client for @openapitools/typescript-axios-petstore", "description": "OpenAPI client for @openapitools/typescript-axios-petstore",
"author": "OpenAPI-Generator Contributors", "author": "OpenAPI-Generator Contributors",
"repository": {
"type": "git",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
},
"keywords": [ "keywords": [
"axios", "axios",
"typescript", "typescript",

View File

@ -3,6 +3,10 @@
"version": "1.0.0", "version": "1.0.0",
"description": "OpenAPI client for @openapitools/typescript-axios-petstore", "description": "OpenAPI client for @openapitools/typescript-axios-petstore",
"author": "OpenAPI-Generator Contributors", "author": "OpenAPI-Generator Contributors",
"repository": {
"type": "git",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
},
"keywords": [ "keywords": [
"axios", "axios",
"typescript", "typescript",

View File

@ -3,6 +3,10 @@
"version": "1.0.0", "version": "1.0.0",
"description": "OpenAPI client for @openapitools/typescript-fetch-petstore", "description": "OpenAPI client for @openapitools/typescript-fetch-petstore",
"author": "OpenAPI-Generator", "author": "OpenAPI-Generator",
"repository": {
"type": "git",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
},
"main": "./dist/index.js", "main": "./dist/index.js",
"typings": "./dist/index.d.ts", "typings": "./dist/index.d.ts",
"module": "./dist/esm/index.js", "module": "./dist/esm/index.js",

View File

@ -3,6 +3,10 @@
"version": "1.0.0", "version": "1.0.0",
"description": "OpenAPI client for @openapitools/typescript-fetch-petstore", "description": "OpenAPI client for @openapitools/typescript-fetch-petstore",
"author": "OpenAPI-Generator", "author": "OpenAPI-Generator",
"repository": {
"type": "git",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
},
"main": "./dist/index.js", "main": "./dist/index.js",
"typings": "./dist/index.d.ts", "typings": "./dist/index.d.ts",
"scripts": { "scripts": {

View File

@ -3,6 +3,10 @@
"version": "1.0.0", "version": "1.0.0",
"description": "OpenAPI client for @openapitools/typescript-fetch-petstore", "description": "OpenAPI client for @openapitools/typescript-fetch-petstore",
"author": "OpenAPI-Generator", "author": "OpenAPI-Generator",
"repository": {
"type": "git",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
},
"main": "./dist/index.js", "main": "./dist/index.js",
"typings": "./dist/index.d.ts", "typings": "./dist/index.d.ts",
"module": "./dist/esm/index.js", "module": "./dist/esm/index.js",

View File

@ -3,6 +3,10 @@
"version": "1.0.0", "version": "1.0.0",
"description": "OpenAPI client for @openapitools/typescript-fetch-petstore", "description": "OpenAPI client for @openapitools/typescript-fetch-petstore",
"author": "OpenAPI-Generator", "author": "OpenAPI-Generator",
"repository": {
"type": "git",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
},
"main": "./dist/index.js", "main": "./dist/index.js",
"typings": "./dist/index.d.ts", "typings": "./dist/index.d.ts",
"scripts": { "scripts": {

View File

@ -3,6 +3,10 @@
"version": "1.0.0", "version": "1.0.0",
"description": "OpenAPI client for @openapitools/typescript-fetch-petstore", "description": "OpenAPI client for @openapitools/typescript-fetch-petstore",
"author": "OpenAPI-Generator", "author": "OpenAPI-Generator",
"repository": {
"type": "git",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
},
"main": "./dist/index.js", "main": "./dist/index.js",
"typings": "./dist/index.d.ts", "typings": "./dist/index.d.ts",
"scripts": { "scripts": {

View File

@ -2,6 +2,10 @@
"name": "@openapitools/jquery-typescript-petstore", "name": "@openapitools/jquery-typescript-petstore",
"version": "0.0.1", "version": "0.0.1",
"description": "JQuery client for @openapitools/jquery-typescript-petstore", "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", "main": "api.js",
"scripts": { "scripts": {
"build": "tsc" "build": "tsc"

View File

@ -3,6 +3,10 @@
"version": "1.0.0", "version": "1.0.0",
"description": "REST client for @openapitools/typescript-nestjs-petstore", "description": "REST client for @openapitools/typescript-nestjs-petstore",
"author": "OpenAPI Generator Contributors", "author": "OpenAPI Generator Contributors",
"repository": {
"type": "git",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
},
"keywords": [ "keywords": [
"swagger-client" "swagger-client"
], ],

View File

@ -2,7 +2,10 @@
"name": "@openapitools/node-typescript-petstore", "name": "@openapitools/node-typescript-petstore",
"version": "0.0.1", "version": "0.0.1",
"description": "NodeJS client for @openapitools/node-typescript-petstore", "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", "main": "dist/api.js",
"types": "dist/api.d.ts", "types": "dist/api.d.ts",
"scripts": { "scripts": {

View File

@ -3,6 +3,10 @@
"version": "1.0.0", "version": "1.0.0",
"description": "OpenAPI client for @openapitools/typescript-redux-query-petstore", "description": "OpenAPI client for @openapitools/typescript-redux-query-petstore",
"author": "OpenAPI-Generator", "author": "OpenAPI-Generator",
"repository": {
"type": "git",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
},
"main": "./dist/index.js", "main": "./dist/index.js",
"typings": "./dist/index.d.ts", "typings": "./dist/index.d.ts",
"scripts" : { "scripts" : {

View File

@ -3,6 +3,10 @@
"version": "1.0.0", "version": "1.0.0",
"description": "OpenAPI client for @openapitools/typescript-rxjs-petstore", "description": "OpenAPI client for @openapitools/typescript-rxjs-petstore",
"author": "OpenAPI-Generator", "author": "OpenAPI-Generator",
"repository": {
"type": "git",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
},
"main": "./dist/index.js", "main": "./dist/index.js",
"typings": "./dist/index.d.ts", "typings": "./dist/index.d.ts",
"scripts" : { "scripts" : {

View File

@ -3,6 +3,10 @@
"version": "1.0.0", "version": "1.0.0",
"description": "OpenAPI client for @openapitools/typescript-rxjs-petstore", "description": "OpenAPI client for @openapitools/typescript-rxjs-petstore",
"author": "OpenAPI-Generator", "author": "OpenAPI-Generator",
"repository": {
"type": "git",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
},
"main": "./dist/index.js", "main": "./dist/index.js",
"typings": "./dist/index.d.ts", "typings": "./dist/index.d.ts",
"scripts" : { "scripts" : {

View File

@ -3,6 +3,10 @@
"version": "1.0.0", "version": "1.0.0",
"description": "OpenAPI client for ts-petstore-client", "description": "OpenAPI client for ts-petstore-client",
"author": "OpenAPI-Generator Contributors", "author": "OpenAPI-Generator Contributors",
"repository": {
"type": "git",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
},
"keywords": [ "keywords": [
"fetch", "fetch",
"typescript", "typescript",

View File

@ -3,6 +3,10 @@
"version": "1.0.0", "version": "1.0.0",
"description": "OpenAPI client for ts-petstore-client", "description": "OpenAPI client for ts-petstore-client",
"author": "OpenAPI-Generator Contributors", "author": "OpenAPI-Generator Contributors",
"repository": {
"type": "git",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
},
"keywords": [ "keywords": [
"fetch", "fetch",
"typescript", "typescript",

View File

@ -3,6 +3,10 @@
"version": "1.0.0", "version": "1.0.0",
"description": "OpenAPI client for ts-petstore-client", "description": "OpenAPI client for ts-petstore-client",
"author": "OpenAPI-Generator Contributors", "author": "OpenAPI-Generator Contributors",
"repository": {
"type": "git",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
},
"keywords": [ "keywords": [
"fetch", "fetch",
"typescript", "typescript",

View File

@ -3,6 +3,10 @@
"version": "1.0.0", "version": "1.0.0",
"description": "OpenAPI client for ts-petstore-client", "description": "OpenAPI client for ts-petstore-client",
"author": "OpenAPI-Generator Contributors", "author": "OpenAPI-Generator Contributors",
"repository": {
"type": "git",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
},
"keywords": [ "keywords": [
"fetch", "fetch",
"typescript", "typescript",

View File

@ -3,6 +3,10 @@
"version": "1.0.0", "version": "1.0.0",
"description": "OpenAPI client for ts-petstore-client", "description": "OpenAPI client for ts-petstore-client",
"author": "OpenAPI-Generator Contributors", "author": "OpenAPI-Generator Contributors",
"repository": {
"type": "git",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
},
"keywords": [ "keywords": [
"fetch", "fetch",
"typescript", "typescript",

View File

@ -3,6 +3,10 @@
"version": "1.0.0", "version": "1.0.0",
"description": "OpenAPI client for ts-petstore-client", "description": "OpenAPI client for ts-petstore-client",
"author": "OpenAPI-Generator Contributors", "author": "OpenAPI-Generator Contributors",
"repository": {
"type": "git",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
},
"keywords": [ "keywords": [
"fetch", "fetch",
"typescript", "typescript",