Skip to content

Commit 48294bb

Browse files
authored
Merge pull request #239 from FrontEndDev-org/fix/v0.x
Fix/v0.x
2 parents dd70efc + 40897c5 commit 48294bb

File tree

8 files changed

+323
-442
lines changed

8 files changed

+323
-442
lines changed

package-lock.json

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

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -67,35 +67,35 @@
6767
"repository": "https://github.com/FrontEndDev-org/openapi-axios",
6868
"license": "MIT",
6969
"dependencies": {
70+
"@vitest/coverage-v8": "^0.32.0",
7071
"axios": "^1.4.0",
7172
"chalk": "^4.1.2",
7273
"lodash": "^4.17.21",
73-
"openapi-types": "^12.1.0",
74+
"openapi-types": "^12.1.3",
7475
"prettier": "^2.8.8",
7576
"strict-event-emitter": "^0.5.0",
76-
"try-flatten": "^1.1.0",
77+
"try-flatten": "^1.3.0",
7778
"zod": "^3.21.4"
7879
},
7980
"devDependencies": {
80-
"@commitlint/cli": "^17.6.3",
81-
"@commitlint/config-conventional": "^17.6.3",
81+
"@commitlint/cli": "^17.6.5",
82+
"@commitlint/config-conventional": "^17.6.5",
8283
"@commitlint/types": "^17.4.4",
83-
"@types/lodash": "^4.14.194",
84+
"@types/lodash": "^4.14.195",
8485
"@types/node": "^14.18.46",
85-
"@types/prettier": "^2.7.2",
86-
"@typescript-eslint/eslint-plugin": "^5.59.5",
87-
"@typescript-eslint/parser": "^5.59.5",
88-
"@vitest/coverage-c8": "^0.31.0",
89-
"eslint": "^8.40.0",
86+
"@types/prettier": "^2.7.3",
87+
"@typescript-eslint/eslint-plugin": "^5.59.11",
88+
"@typescript-eslint/parser": "^5.59.11",
89+
"eslint": "^8.42.0",
9090
"eslint-config-prettier": "^8.8.0",
9191
"eslint-define-config": "^1.20.0",
9292
"eslint-plugin-prettier": "^4.2.1",
9393
"husky": "^8.0.3",
9494
"lint-staged": "^13.2.2",
95-
"typescript": "^5.0.4",
96-
"vite": "^4.3.5",
95+
"typescript": "^5.1.3",
96+
"vite": "^4.3.9",
9797
"vite-plugin-dts": "^2.3.0",
9898
"vite-plugin-externalize-deps": "^0.6.0",
99-
"vitest": "^0.31.0"
99+
"vitest": "^0.32.0"
100100
}
101101
}

src/generators/Generator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import fs from 'fs';
22
import path from 'path';
3-
import * as process from 'process';
3+
import process from 'process';
44
import { Emitter } from 'strict-event-emitter';
55
import { normalizeError } from 'try-flatten';
66
import { DocumentParser } from '../parsers/DocumentParser';

src/generators/Reader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import axios from 'axios';
22
import fs from 'fs';
33
import path from 'path';
4-
import * as process from 'process';
4+
import process from 'process';
55
import type { AcceptDocument } from '../parsers/types';
66
import type { OpenAPIV3Document } from '../types/openapi';
77
import { isString } from '../utils/type-is';

src/generators/command.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import fs from 'fs';
22
import path from 'path';
3-
import * as process from 'process';
3+
import process from 'process';
44
import { tryFlatten } from 'try-flatten';
55
import { z } from 'zod';
66
import { Generator } from './Generator';

src/parsers/BaseParser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as process from 'process';
1+
import process from 'process';
22
import type { OpenAPIV3, OpenAPIV3Document } from '../types/openapi';
33
import { INTERNAL_TYPE_NAMES, JSON_MIME } from './const';
44
import { Named } from './Named';

tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"sourceMap": true,
77
"skipLibCheck": true,
88
"esModuleInterop": true,
9-
"isolatedModules": true,
109
"resolveJsonModule": true,
1110
"verbatimModuleSyntax": true,
1211
"useDefineForClassFields": true,

vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export default defineConfig({
2121
'process.env.PKG_VERSION': JSON.stringify(pkg.version),
2222
},
2323
build: {
24+
minify: false,
2425
sourcemap: true,
2526
copyPublicDir: false,
2627
reportCompressedSize: false,

0 commit comments

Comments
 (0)