Skip to content

Commit 4ff816f

Browse files
authoredMar 5, 2025··
Change parser dependencies to peerDependencies (#615)
* Change parser dependencies to peerDependencies * Create stale-seahorses-draw.md * fix
1 parent e208fa1 commit 4ff816f

File tree

4 files changed

+97
-34
lines changed

4 files changed

+97
-34
lines changed
 

‎.changeset/stale-seahorses-draw.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@intlify/eslint-plugin-vue-i18n": major
3+
---
4+
5+
Change parser dependencies to peerDependencies

‎lib/types/vue-parser-services.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { Rule } from 'eslint'
22
import type { RuleContext, SourceCode } from './eslint'
33
import type { AST as VAST } from 'vue-eslint-parser'
44
import type { TokenStore } from './types'
5-
import type { VElement } from 'vue-eslint-parser/ast'
5+
import type { VElement } from 'vue-eslint-parser/ast/index'
66

77
export interface TemplateListener {
88
[key: string]: ((node: never) => void) | undefined

‎package.json

+9-6
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,10 @@
7272
"is-language-code": "^3.1.0",
7373
"js-yaml": "^4.1.0",
7474
"json5": "^2.2.3",
75-
"jsonc-eslint-parser": "^2.3.0",
7675
"lodash": "^4.17.21",
7776
"parse5": "^7.1.2",
7877
"semver": "^7.5.4",
79-
"synckit": "^0.9.0",
80-
"vue-eslint-parser": "^9.3.1",
81-
"yaml-eslint-parser": "^1.2.2"
78+
"synckit": "^0.9.0"
8279
},
8380
"devDependencies": {
8481
"@changesets/changelog-github": "^0.5.0",
@@ -107,6 +104,7 @@
107104
"esquery": "^1.5.0",
108105
"jiti": "^1.21.0",
109106
"json-schema": "^0.4.0",
107+
"jsonc-eslint-parser": "^2.3.0",
110108
"lint-staged": "^15.0.0",
111109
"mocha": "^11.0.0",
112110
"monaco-editor": "^0.52.0",
@@ -120,10 +118,15 @@
120118
"typescript-eslint": "^7.11.0",
121119
"vitepress": "^1.0.2",
122120
"vue-eslint-editor": "^1.1.0",
123-
"vue-github-button": "^3.1.0"
121+
"vue-eslint-parser": "^10.0.0",
122+
"vue-github-button": "^3.1.0",
123+
"yaml-eslint-parser": "^1.2.2"
124124
},
125125
"peerDependencies": {
126-
"eslint": "^8.0.0 || ^9.0.0-0"
126+
"eslint": "^8.0.0 || ^9.0.0-0",
127+
"jsonc-eslint-parser": "^2.3.0",
128+
"vue-eslint-parser": "^9.3.1",
129+
"yaml-eslint-parser": "^1.2.2"
127130
},
128131
"publishConfig": {
129132
"access": "public"

‎pnpm-lock.yaml

+82-27
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.