Skip to content

Commit

Permalink
Release 4.0.1 (#110)
Browse files Browse the repository at this point in the history
* fix: handling x-omitempty property for definition properties (#68)

* docs: update CHANGELOG

* chore: fix test:all script for travis.yml

* fix: problem of prettier-plugin-organize-imports

* bump: up version to 4.0.1
  • Loading branch information
js2me authored Jan 12, 2021
1 parent 14b6d3d commit c478151
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# next release

# 4.0.1

Fixes:
- `Cannot find module 'prettier-plugin-organize-imports'` #109

# 4.0.0

BREAKING_CHANGES:
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "swagger-typescript-api",
"version": "4.0.0",
"version": "4.0.1",
"description": "Create typescript api module from swagger schema",
"scripts": {
"cli:json": "node index.js -r -d -p ./swagger-test-cli.json -n swagger-test-cli.ts --extract-request-params --enum-names-as-values",
Expand All @@ -10,7 +10,7 @@
"node": "node swagger-test-cli/generate.js",
"node:debug": "node --nolazy swagger-test-cli/generate.js",
"cli:help": "node index.js -h",
"test:all": "npm-run-all generate validate test:routeTypes test:noClient test:defaultAsSuccess test:responses test:templates test:unionEnums test:specProperty test:js test:moduleNameIndex test:modular test:extractRequestParams test:enumNamesAsValues --continue-on-error",
"test:all": "node ./node_modules/npm-run-all/bin/npm-run-all/index.js generate validate test:routeTypes test:noClient test:defaultAsSuccess test:responses test:templates test:unionEnums test:specProperty test:js test:moduleNameIndex test:modular test:extractRequestParams test:enumNamesAsValues --continue-on-error",
"generate": "node tests/generate.js",
"generate:debug": "node --nolazy tests/generate.js",
"validate": "node tests/validate.js",
Expand Down
1 change: 0 additions & 1 deletion src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,5 @@ module.exports = {
tabWidth: 2,
trailingComma: "all",
parser: "typescript",
plugins: ["prettier-plugin-organize-imports"],
},
};

0 comments on commit c478151

Please sign in to comment.