swagger-typescript-api 13.0.6 → 13.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/configuration.js +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "swagger-typescript-api",
|
|
3
|
-
"version": "13.0.
|
|
3
|
+
"version": "13.0.7",
|
|
4
4
|
"description": "Generate TypeScript/JavaScript API from Swagger schema",
|
|
5
5
|
"homepage": "https://github.com/acacode/swagger-typescript-api",
|
|
6
6
|
"bugs": "https://github.com/acacode/swagger-typescript-api/issues",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@biomejs/biome": "1.8.1",
|
|
53
53
|
"@types/lodash": "4.17.5",
|
|
54
|
-
"@types/node": "20.14.
|
|
54
|
+
"@types/node": "20.14.5",
|
|
55
55
|
"axios": "1.7.2",
|
|
56
56
|
"shx": "0.3.4",
|
|
57
57
|
"vitest": "1.6.0"
|
package/src/configuration.js
CHANGED
|
@@ -429,7 +429,9 @@ class CodeGenConfig {
|
|
|
429
429
|
}
|
|
430
430
|
|
|
431
431
|
const getDefaultPrettierOptions = () => {
|
|
432
|
-
const prettier = cosmiconfigSync("prettier"
|
|
432
|
+
const prettier = cosmiconfigSync("prettier", {
|
|
433
|
+
searchStrategy: "global",
|
|
434
|
+
}).search();
|
|
433
435
|
|
|
434
436
|
if (prettier) {
|
|
435
437
|
return {
|