Skip to content

Change parser dependencies to peerDependencies #615

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/stale-seahorses-draw.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@intlify/eslint-plugin-vue-i18n": major
---

Change parser dependencies to peerDependencies
2 changes: 1 addition & 1 deletion lib/types/vue-parser-services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { Rule } from 'eslint'
import type { RuleContext, SourceCode } from './eslint'
import type { AST as VAST } from 'vue-eslint-parser'
import type { TokenStore } from './types'
import type { VElement } from 'vue-eslint-parser/ast'
import type { VElement } from 'vue-eslint-parser/ast/index'

export interface TemplateListener {
[key: string]: ((node: never) => void) | undefined
Expand Down
15 changes: 9 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,10 @@
"is-language-code": "^3.1.0",
"js-yaml": "^4.1.0",
"json5": "^2.2.3",
"jsonc-eslint-parser": "^2.3.0",
"lodash": "^4.17.21",
"parse5": "^7.1.2",
"semver": "^7.5.4",
"synckit": "^0.9.0",
"vue-eslint-parser": "^9.3.1",
"yaml-eslint-parser": "^1.2.2"
"synckit": "^0.9.0"
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
Expand Down Expand Up @@ -107,6 +104,7 @@
"esquery": "^1.5.0",
"jiti": "^1.21.0",
"json-schema": "^0.4.0",
"jsonc-eslint-parser": "^2.3.0",
"lint-staged": "^15.0.0",
"mocha": "^11.0.0",
"monaco-editor": "^0.52.0",
Expand All @@ -120,10 +118,15 @@
"typescript-eslint": "^7.11.0",
"vitepress": "^1.0.2",
"vue-eslint-editor": "^1.1.0",
"vue-github-button": "^3.1.0"
"vue-eslint-parser": "^10.0.0",
"vue-github-button": "^3.1.0",
"yaml-eslint-parser": "^1.2.2"
},
"peerDependencies": {
"eslint": "^8.0.0 || ^9.0.0-0"
"eslint": "^8.0.0 || ^9.0.0-0",
"jsonc-eslint-parser": "^2.3.0",
"vue-eslint-parser": "^9.3.1",
"yaml-eslint-parser": "^1.2.2"
},
"publishConfig": {
"access": "public"
Expand Down
109 changes: 82 additions & 27 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.