mirror of
https://github.com/ferdikoomen/openapi-typescript-codegen.git
synced 2025-12-08 20:16:21 +00:00
Adding reasolve until https://github.com/terser/terser/issues/858 is fixed
This commit is contained in:
parent
5f5159bdb7
commit
95e10851f1
@ -80,10 +80,8 @@
|
||||
"@types/express": "4.17.8",
|
||||
"@types/jest": "26.0.14",
|
||||
"@types/js-yaml": "3.12.5",
|
||||
"@types/mkdirp": "1.0.1",
|
||||
"@types/node": "14.11.8",
|
||||
"@types/node-fetch": "2.5.7",
|
||||
"@types/rimraf": "3.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "4.4.1",
|
||||
"@typescript-eslint/parser": "4.4.1",
|
||||
"codecov": "3.8.0",
|
||||
@ -103,5 +101,8 @@
|
||||
"rollup-plugin-terser": "7.0.2",
|
||||
"rollup-plugin-typescript2": "0.27.3",
|
||||
"typescript": "4.0.3"
|
||||
},
|
||||
"resolutions": {
|
||||
"terser": "5.3.5"
|
||||
}
|
||||
}
|
||||
|
||||
8
src/typings/camelcase.d.ts
vendored
Normal file
8
src/typings/camelcase.d.ts
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
declare module 'camelcase' {
|
||||
export default function camelcase(
|
||||
input: string,
|
||||
options?: {
|
||||
pascalCase?: boolean;
|
||||
}
|
||||
): string;
|
||||
}
|
||||
3
src/typings/mkdirp.d.ts
vendored
Normal file
3
src/typings/mkdirp.d.ts
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
declare module 'mkdirp' {
|
||||
export default function mkdirp(dir: string): Promise<string>;
|
||||
}
|
||||
3
src/typings/rimraf.d.ts
vendored
Normal file
3
src/typings/rimraf.d.ts
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
declare module 'rimraf' {
|
||||
export default function rimraf(path: string, callback: (error: Error) => void): void;
|
||||
}
|
||||
@ -16,13 +16,14 @@
|
||||
"strict": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"removeComments": true,
|
||||
"isolatedModules": true,
|
||||
"allowSyntheticDefaultImports": true
|
||||
"removeComments": true
|
||||
},
|
||||
|
||||
"files": [
|
||||
"./src/typings/hbs.d.ts"
|
||||
"./src/typings/hbs.d.ts",
|
||||
"./src/typings/camelcase.d.ts",
|
||||
"./src/typings/mkdirp.d.ts",
|
||||
"./src/typings/rimraf.d.ts"
|
||||
],
|
||||
|
||||
"include": [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user