Skip to content

Commit 1070f46

Browse files
committed
fix: use native createParsedCommandLine
fix #446, fix #448, fix #451
1 parent 708056e commit 1070f46

File tree

4 files changed

+177
-140
lines changed

4 files changed

+177
-140
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"@vexip-ui/eslint-config": "^1.2.1",
4444
"@vexip-ui/prettier-config": "^1.0.0",
4545
"@vexip-ui/scripts": "^1.4.1",
46-
"@vue/language-core": "^3.0.4",
46+
"@vue/language-core": "^3.1.5",
4747
"conventional-changelog-cli": "^5.0.0",
4848
"eslint": "^9.31.0",
4949
"execa": "^9.5.2",

packages/unplugin-dts/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
},
121121
"dependencies": {
122122
"@rollup/pluginutils": "^5.1.4",
123-
"@volar/typescript": "^2.4.17",
123+
"@volar/typescript": "^2.4.26",
124124
"compare-versions": "^6.1.1",
125125
"debug": "^4.4.0",
126126
"kolorist": "^1.8.0",
@@ -131,7 +131,7 @@
131131
"peerDependencies": {
132132
"@microsoft/api-extractor": ">=7",
133133
"@rspack/core": "^1",
134-
"@vue/language-core": "~3.0.1",
134+
"@vue/language-core": "~3.1.5",
135135
"esbuild": "*",
136136
"rolldown": "*",
137137
"rollup": ">=3",

packages/unplugin-dts/src/core/processor/vue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { proxyCreateProgram } from '@volar/typescript'
88
import ts from 'typescript'
99
import { slash } from '../utils'
1010

11-
export { createParsedCommandLine }
11+
export { createParsedCommandLine } from './ts'
1212

1313
export const createProgram = proxyCreateProgram(ts, ts.createProgram, (ts, options) => {
1414
const { configFilePath } = options.options

0 commit comments

Comments
 (0)