Skip to content

Commit ed5e5fc

Browse files
zaewcTkDodo
andauthored
fix(eslint-plugin-query): declare typescript as optional peer dependency (#10007)
* fix(eslint-plugin-query): declare typescript as optional peer dependency (#9846) * fix: Restrict typescript peer dependency to versions less than 6.0.0 * chore: update pnpm-lock * Update packages/eslint-plugin-query/package.json * update lockfile * Update TypeScript peer dependency in eslint-plugin-query Declare TypeScript as an optional peer dependency for eslint-plugin-query. --------- Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
1 parent 7ac4e20 commit ed5e5fc

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

.changeset/soft-cherries-hide.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@tanstack/eslint-plugin-query": patch
3+
---
4+
5+
fix(eslint-plugin-query): declare typescript as optional peer dependency

packages/eslint-plugin-query/package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@
6969
"npm-run-all2": "^5.0.0"
7070
},
7171
"peerDependencies": {
72-
"eslint": "^8.57.0 || ^9.0.0"
72+
"eslint": "^8.57.0 || ^9.0.0",
73+
"typescript": "^5.0.0"
74+
},
75+
"peerDependenciesMeta": {
76+
"typescript": {
77+
"optional": true
78+
}
7379
}
7480
}

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)