Skip to content

Commit 5070025

Browse files
committed
feat: upgrade volar
1 parent e4ce483 commit 5070025

File tree

4 files changed

+30
-18
lines changed

4 files changed

+30
-18
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@vue-macros/volar': patch
3+
---
4+
5+
upgrade volar

packages/volar/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,14 @@
5656
}
5757
},
5858
"dependencies": {
59-
"@volar/language-core": "1.0.22",
59+
"@volar/language-core": "1.0.24",
6060
"@vue-macros/common": "workspace:~",
6161
"@vue-macros/define-props": "workspace:~",
6262
"@vue-macros/short-vmodel": "workspace:~",
6363
"muggle-string": "^0.2.1"
6464
},
6565
"devDependencies": {
66-
"@volar/vue-language-core": "1.0.22",
66+
"@volar/vue-language-core": "1.0.24",
6767
"@vue/compiler-dom": "^3.2.45",
6868
"typescript": "^4.9.4",
6969
"vue-tsc": "^1.0.19"

packages/volar/src/define-model.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import type {
77
} from '@volar/language-core'
88
import type { Segment } from 'muggle-string'
99
import type {
10-
ResolvedVueCompilerOptions,
1110
Sfc,
11+
VueCompilerOptions,
1212
VueEmbeddedFile,
1313
VueLanguagePlugin,
1414
} from '@volar/vue-language-core'
@@ -135,7 +135,7 @@ function resolve({
135135
embeddedFile,
136136
}: {
137137
ts: typeof import('typescript/lib/tsserverlibrary')
138-
vueCompilerOptions: ResolvedVueCompilerOptions
138+
vueCompilerOptions: VueCompilerOptions
139139
sfc: Sfc
140140
embeddedFile: VueEmbeddedFile
141141
}) {

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)