openapi-typescript-codegen
Advanced tools
Comparing version
@@ -22,2 +22,3 @@ #!/usr/bin/env node | ||
.option('--exportSchemas <value>', 'Write schemas to disk', false) | ||
.option('--postfix <value>', 'Service name postfix', 'Service') | ||
.option('--request <value>', 'Path to custom request file') | ||
@@ -40,2 +41,3 @@ .parse(process.argv) | ||
exportSchemas: JSON.parse(params.exportSchemas) === true, | ||
postfix: params.postfix, | ||
request: params.request, | ||
@@ -42,0 +44,0 @@ }) |
{ | ||
"name": "openapi-typescript-codegen", | ||
"version": "0.11.8", | ||
"version": "0.12.0-alpha", | ||
"description": "Library that generates Typescript clients based on the OpenAPI specification.", | ||
@@ -59,3 +59,3 @@ "author": "Ferdi Koomen", | ||
"prettier:fix": "prettier \"./src/**/*.ts\" \"./bin/index.js\" \"./types/index.d.ts\" --write", | ||
"prepublish": "yarn run clean && yarn run release", | ||
"prepublishOnly": "yarn run clean && yarn run release", | ||
"codecov": "codecov --token=66c30c23-8954-4892-bef9-fbaed0a2e42b" | ||
@@ -69,2 +69,3 @@ }, | ||
"commander": "^8.3.0", | ||
"cross-blob": "^2.0.1", | ||
"form-data": "^4.0.0", | ||
@@ -78,6 +79,6 @@ "handlebars": "^4.7.6", | ||
"devDependencies": { | ||
"@babel/cli": "7.15.7", | ||
"@babel/core": "7.15.8", | ||
"@babel/preset-env": "7.15.8", | ||
"@babel/preset-typescript": "7.15.0", | ||
"@babel/cli": "7.16.0", | ||
"@babel/core": "7.16.0", | ||
"@babel/preset-env": "7.16.0", | ||
"@babel/preset-typescript": "7.16.0", | ||
"@rollup/plugin-commonjs": "21.0.1", | ||
@@ -88,8 +89,8 @@ "@rollup/plugin-node-resolve": "13.0.6", | ||
"@types/jest": "27.0.2", | ||
"@types/node": "16.11.6", | ||
"@types/node": "16.11.7", | ||
"@types/qs": "6.9.7", | ||
"@typescript-eslint/eslint-plugin": "5.2.0", | ||
"@typescript-eslint/parser": "5.2.0", | ||
"@typescript-eslint/eslint-plugin": "5.3.1", | ||
"@typescript-eslint/parser": "5.3.1", | ||
"codecov": "3.8.3", | ||
"eslint": "8.1.0", | ||
"eslint": "8.2.0", | ||
"eslint-config-prettier": "8.3.0", | ||
@@ -103,5 +104,5 @@ "eslint-plugin-prettier": "4.0.0", | ||
"prettier": "2.4.1", | ||
"puppeteer": "10.4.0", | ||
"puppeteer": "11.0.0", | ||
"qs": "6.10.1", | ||
"rollup": "2.58.3", | ||
"rollup": "2.59.0", | ||
"rollup-plugin-terser": "7.0.2", | ||
@@ -108,0 +109,0 @@ "rollup-plugin-typescript2": "0.30.0", |
@@ -50,2 +50,3 @@ # OpenAPI Typescript Codegen | ||
--exportSchemas <value> Write schemas to disk (default: false) | ||
--postfix <value> Service name postfix (default: "Service") | ||
--request <value> Path to custom request file | ||
@@ -463,6 +464,7 @@ -h, --help display help for command | ||
``` | ||
npm install @types/node-fetch --save-dev | ||
npm install abort-controller --save-dev | ||
npm install node-fetch --save-dev | ||
npm install form-data --save-dev | ||
npm install @types/node-fetch@2.x --save-dev | ||
npm install abort-controller@3.x --save-dev | ||
npm install cross-blob@2.x --save-dev | ||
npm install form-data@4.x --save-dev | ||
npm install node-fetch@2.x --save-dev | ||
``` | ||
@@ -469,0 +471,0 @@ |
Sorry, the diff of this file is too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
183428
0.22%658
0.46%494
0.41%12
9.09%+ Added
+ Added
+ Added
+ Added