Skip to content

Commit b403435

Browse files
committed
fix: deps on @vue/compiler-sfc instead of vue to avoid version conflicts
1 parent b7b719e commit b403435

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

package.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,8 @@
5252
"prepare": "simple-git-hooks"
5353
},
5454
"peerDependencies": {
55-
"eslint": "^8.50.0",
56-
"vue": "^3.3.0"
57-
},
58-
"peerDependenciesMeta": {
59-
"vue": {
60-
"optional": true
61-
}
55+
"@vue/compiler-sfc": "^3.3.0",
56+
"eslint": "^8.50.0"
6257
},
6358
"devDependencies": {
6459
"@antfu/eslint-config": "^2.3.4",

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { Linter } from 'eslint'
2-
import type { SFCBlock } from 'vue/compiler-sfc'
3-
import { parse } from 'vue/compiler-sfc'
2+
import type { SFCBlock } from '@vue/compiler-sfc'
3+
import { parse } from '@vue/compiler-sfc'
44

55
interface Block extends Linter.ProcessorFile {
66
wrapper: TextWrapper

0 commit comments

Comments
 (0)