Skip to content

Commit c478151

Browse files
authored
Release 4.0.1 (#110)
* 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
1 parent 14b6d3d commit c478151

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# next release
22

3+
# 4.0.1
4+
5+
Fixes:
6+
- `Cannot find module 'prettier-plugin-organize-imports'` #109
7+
38
# 4.0.0
49

510
BREAKING_CHANGES:

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "swagger-typescript-api",
3-
"version": "4.0.0",
3+
"version": "4.0.1",
44
"description": "Create typescript api module from swagger schema",
55
"scripts": {
66
"cli:json": "node index.js -r -d -p ./swagger-test-cli.json -n swagger-test-cli.ts --extract-request-params --enum-names-as-values",
@@ -10,7 +10,7 @@
1010
"node": "node swagger-test-cli/generate.js",
1111
"node:debug": "node --nolazy swagger-test-cli/generate.js",
1212
"cli:help": "node index.js -h",
13-
"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",
13+
"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",
1414
"generate": "node tests/generate.js",
1515
"generate:debug": "node --nolazy tests/generate.js",
1616
"validate": "node tests/validate.js",

src/constants.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,5 @@ module.exports = {
4040
tabWidth: 2,
4141
trailingComma: "all",
4242
parser: "typescript",
43-
plugins: ["prettier-plugin-organize-imports"],
4443
},
4544
};

0 commit comments

Comments
 (0)