openapi-typescript-codegen
Advanced tools
Comparing version
{ | ||
"name": "openapi-typescript-codegen", | ||
"version": "0.24.0", | ||
"version": "0.25.0", | ||
"description": "Library that generates Typescript clients based on the OpenAPI specification.", | ||
@@ -58,8 +58,9 @@ "author": "Ferdi Koomen", | ||
"eslint:fix": "eslint . --fix", | ||
"prepublishOnly": "npm run clean && npm run release", | ||
"codecov": "codecov --token=66c30c23-8954-4892-bef9-fbaed0a2e42b" | ||
"prepare": "npm run clean && npm run release", | ||
"codecov": "codecov --token=66c30c23-8954-4892-bef9-fbaed0a2e42b", | ||
"docker": "docker build -t eeelenbaas/openapi-typescript-codegen ." | ||
}, | ||
"dependencies": { | ||
"camelcase": "^6.3.0", | ||
"commander": "^10.0.0", | ||
"commander": "^11.0.0", | ||
"fs-extra": "^11.1.1", | ||
@@ -70,20 +71,20 @@ "handlebars": "^4.7.7", | ||
"devDependencies": { | ||
"@angular-devkit/build-angular": "15.2.5", | ||
"@angular/animations": "15.2.6", | ||
"@angular/cli": "15.2.5", | ||
"@angular/common": "15.2.6", | ||
"@angular/compiler": "15.2.6", | ||
"@angular/compiler-cli": "15.2.6", | ||
"@angular/core": "15.2.6", | ||
"@angular/forms": "15.2.6", | ||
"@angular/platform-browser": "15.2.6", | ||
"@angular/platform-browser-dynamic": "15.2.6", | ||
"@angular/router": "15.2.6", | ||
"@babel/cli": "7.21.0", | ||
"@babel/core": "7.21.4", | ||
"@babel/preset-env": "7.21.4", | ||
"@babel/preset-typescript": "7.21.4", | ||
"@rollup/plugin-commonjs": "24.0.1", | ||
"@rollup/plugin-node-resolve": "15.0.2", | ||
"@rollup/plugin-typescript": "11.1.0", | ||
"@angular-devkit/build-angular": "16.1.3", | ||
"@angular/animations": "16.1.3", | ||
"@angular/cli": "16.1.3", | ||
"@angular/common": "16.1.3", | ||
"@angular/compiler": "16.1.3", | ||
"@angular/compiler-cli": "16.1.3", | ||
"@angular/core": "16.1.3", | ||
"@angular/forms": "16.1.3", | ||
"@angular/platform-browser": "16.1.3", | ||
"@angular/platform-browser-dynamic": "16.1.3", | ||
"@angular/router": "16.1.3", | ||
"@babel/cli": "7.22.6", | ||
"@babel/core": "7.22.6", | ||
"@babel/preset-env": "7.22.6", | ||
"@babel/preset-typescript": "7.22.5", | ||
"@rollup/plugin-commonjs": "25.0.2", | ||
"@rollup/plugin-node-resolve": "15.1.0", | ||
"@rollup/plugin-typescript": "11.1.2", | ||
"@types/cross-spawn": "6.0.2", | ||
@@ -93,13 +94,13 @@ "@types/express": "4.17.17", | ||
"@types/glob": "8.1.0", | ||
"@types/jest": "29.5.0", | ||
"@types/node": "18.15.11", | ||
"@types/node-fetch": "2.6.3", | ||
"@types/jest": "29.5.2", | ||
"@types/node": "20.3.3", | ||
"@types/node-fetch": "2.6.4", | ||
"@types/qs": "6.9.7", | ||
"@typescript-eslint/eslint-plugin": "5.57.1", | ||
"@typescript-eslint/parser": "5.57.1", | ||
"@typescript-eslint/eslint-plugin": "5.61.0", | ||
"@typescript-eslint/parser": "5.61.0", | ||
"abort-controller": "3.0.0", | ||
"axios": "1.3.5", | ||
"axios": "1.4.0", | ||
"codecov": "3.8.3", | ||
"cross-spawn": "7.0.3", | ||
"eslint": "8.38.0", | ||
"eslint": "8.44.0", | ||
"eslint-config-prettier": "8.8.0", | ||
@@ -110,23 +111,23 @@ "eslint-plugin-prettier": "4.2.1", | ||
"form-data": "4.0.0", | ||
"glob": "10.0.0", | ||
"jest": "29.5.0", | ||
"jest-cli": "29.5.0", | ||
"glob": "10.3.1", | ||
"jest": "29.6.0", | ||
"jest-cli": "29.6.0", | ||
"node-fetch": "2.6.9", | ||
"prettier": "2.8.7", | ||
"puppeteer": "19.8.5", | ||
"qs": "6.11.1", | ||
"rimraf": "5.0.0", | ||
"rollup": "3.20.2", | ||
"prettier": "2.8.8", | ||
"puppeteer": "20.7.4", | ||
"qs": "6.11.2", | ||
"rimraf": "5.0.1", | ||
"rollup": "3.26.1", | ||
"rollup-plugin-terser": "7.0.2", | ||
"rxjs": "7.8.0", | ||
"rxjs": "7.8.1", | ||
"ts-node": "10.9.1", | ||
"tslib": "2.5.0", | ||
"typescript": "4.9.5", | ||
"zone.js": "0.13.0" | ||
"tslib": "2.6.0", | ||
"typescript": "5.1.6", | ||
"zone.js": "0.13.1" | ||
}, | ||
"overrides" : { | ||
"node-fetch": "2.6.9", | ||
"rollup": "3.20.2", | ||
"typescript": "4.9.5" | ||
"rollup": "3.26.1", | ||
"typescript": "5.1.6" | ||
} | ||
} |
@@ -6,2 +6,3 @@ # OpenAPI Typescript Codegen | ||
[![Coverage][coverage-image]][coverage-url] | ||
[![Coverage][coverage-image]][coverage-url] | ||
[![Downloads][downloads-image]][downloads-url] | ||
@@ -60,2 +61,17 @@ [![Build][build-image]][build-url] | ||
## Docker usage | ||
To build the Docker container, execute the following command: | ||
``` | ||
docker build . --tag openapi-typescript-codegen | ||
``` | ||
After this is done, you can execute the CLI commands: | ||
``` | ||
docker run openapi-typescript-codegen --help | ||
docker run openapi-typescript-codegen --input sample.yaml --output client | ||
``` | ||
Documentation | ||
@@ -62,0 +78,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
230499
0.67%918
0.44%107
17.58%+ Added
- Removed
Updated