vite-plugin-dts
Advanced tools
Comparing version 0.6.0 to 0.7.0
@@ -20,2 +20,4 @@ import { Plugin } from 'vite'; | ||
copyDtsFiles?: boolean; | ||
noEmitOnError?: boolean; | ||
logDiagnostics?: boolean; | ||
beforeWriteFile?: (filePath: string, content: string) => void | TransformWriteFile; | ||
@@ -25,3 +27,2 @@ } | ||
export default _default; | ||
export { PluginOptions }; | ||
export { PluginOptions, _default as default }; |
@@ -18,6 +18,6 @@ { | ||
"@types/jest": "^27.0.1", | ||
"@typescript-eslint/eslint-plugin": "^4.29.1", | ||
"@typescript-eslint/parser": "^4.29.1", | ||
"@typescript-eslint/eslint-plugin": "^4.29.2", | ||
"@typescript-eslint/parser": "^4.29.2", | ||
"@vitejs/plugin-vue": "^1.4.0", | ||
"@vue/compiler-sfc": "^3.2.2", | ||
"@vue/compiler-sfc": "^3.2.4", | ||
"chalk": "^4.1.2", | ||
@@ -40,7 +40,7 @@ "commitizen": "^4.2.4", | ||
"semver": "^7.3.5", | ||
"ts-jest": "^27.0.4", | ||
"tsup": "^4.13.1", | ||
"ts-jest": "^27.0.5", | ||
"tsup": "^4.14.0", | ||
"typescript": "4.3.5", | ||
"vite": "^2.4.3", | ||
"vue": "^3.1.1" | ||
"vue": "^3.2.4" | ||
}, | ||
@@ -86,3 +86,3 @@ "engines": { | ||
"types": "dist/index.d.ts", | ||
"version": "0.6.0" | ||
"version": "0.7.0" | ||
} |
@@ -87,2 +87,10 @@ # vite-plugin-dts | ||
// Whether emit nothing when has any diagnostic | ||
// Default: false | ||
noEmitOnError?: boolean | ||
// Whether log diagnostic informations | ||
// Default: false | ||
logDiagnostics?: boolean | ||
// Before declaration file be writed hook | ||
@@ -89,0 +97,0 @@ // You can transform declaration file-path and content through it |
@@ -87,2 +87,10 @@ # vite-plugin-dts | ||
// 出现类型诊断信息时不生成类型文件 | ||
// 默认值: false | ||
noEmitOnError?: boolean | ||
// 是否打印类型诊断信息 | ||
// 默认值: false | ||
logDiagnostics?: boolean | ||
// 类型声明文件被写入前的钩子 | ||
@@ -89,0 +97,0 @@ // 可以在钩子里转换文件路径和文件内容 |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3869
115
138690
7