Skip to content

Commit c39baf3

Browse files
authored
chore(deps): include version range in peerDepenencies (#2087)
* chore(deps): include version range in peerDepenencies * chore(deps): more aggressively pin down versions
1 parent 9a19b7d commit c39baf3

File tree

13 files changed

+2506
-4212
lines changed

13 files changed

+2506
-4212
lines changed

.changeset/moody-fireants-matter.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
'@gqty/subscriptions': patch
3+
'@gqty/logger': patch
4+
'@gqty/react': patch
5+
'@gqty/solid': patch
6+
'@gqty/cli': patch
7+
---
8+
9+
include version range in peerDependencies

examples/gnt/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@
3333
"eslint-config-next": "^14.2.23",
3434
"postcss": "^8.5.1",
3535
"tailwindcss": "^3.4.17",
36-
"typescript": "^5.6.3",
37-
"utf-8-validate": "^5.0.10"
36+
"typescript": "^5.7.3"
3837
},
3938
"gqty": {
4039
"scalarTypes": {

examples/solid/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"postcss": "^8.5.1",
2424
"solid-devtools": "^0.29.2",
2525
"tailwindcss": "^3.4.17",
26-
"typescript": "^5.6.3",
26+
"typescript": "^5.7.3",
2727
"vite": "^5.4.3",
2828
"vite-plugin-solid": "^2.10.2"
2929
}

internal/test-utils/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"@jest/types": "^29.6.3",
5757
"@types/node": "^20.17.17",
5858
"esbuild": "^0.24.2",
59-
"typescript": "^5.6.3"
59+
"typescript": "^5.7.3"
6060
},
6161
"peerDependencies": {
6262
"graphql": "*"

package.json

+3-7
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"bob-ts": "^4.1.1",
3131
"bob-tsm": "^1.1.2",
3232
"bufferutil": "^4.0.9",
33-
"chalk": "^5.3.0",
33+
"chalk": "^5.4.1",
3434
"changesets-github-release": "^0.1.0",
3535
"concurrently": "^8.2.2",
3636
"esbuild": "^0.24.2",
@@ -42,12 +42,8 @@
4242
"ts-jest": "^29.2.5",
4343
"ts-node": "^10.9.2",
4444
"tsx": "^4.19.2",
45-
"typescript": "^5.6.3",
46-
"utf-8-validate": "^6.0.4",
45+
"typescript": "^5.7.3",
4746
"wait-on": "^7.2.0"
4847
},
49-
"engines": {
50-
"pnpm": "^8.10.0"
51-
},
52-
"packageManager": "[email protected]+sha256.01c01eeb990e379b31ef19c03e9d06a14afa5250b82e81303f88721c99ff2e6f"
48+
"packageManager": "[email protected]+sha512.499434c9d8fdd1a2794ebf4552b3b25c0a633abcee5bb15e7b5de90f32f47b513aca98cd5cfd001c31f0db454bc3804edccd578501e4ca293a6816166bbd9f81"
5349
}

packages/cli/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
"cosmiconfig": "^9.0.0",
8585
"cross-fetch": "^4.0.0",
8686
"fast-glob": "^3.3.3",
87-
"gqty": "workspace:^",
87+
"gqty": "workspace:^3.0.0",
8888
"graphql": "^16.9.0",
8989
"lodash-es": "^4.17.21",
9090
"micromatch": "^4.0.8",
@@ -103,7 +103,7 @@
103103
"p-lazy": "^3.1.0",
104104
"test-utils": "workspace:^",
105105
"tmp-promise": "^3.0.3",
106-
"typescript": "^5.6.3",
106+
"typescript": "^5.7.3",
107107
"wait-on": "^7.2.0"
108108
},
109109
"peerDependencies": {

packages/gqty/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
"test-utils": "workspace:^",
105105
"tsc-watch": "^6.2.1",
106106
"type-fest": "^4.24.0",
107-
"typescript": "^5.6.3",
107+
"typescript": "^5.7.3",
108108
"wait-on": "^7.2.0",
109109
"ws": "^8.18.0"
110110
},

packages/logger/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@
5050
"gqty": "workspace:^",
5151
"jest": "^29.7.0",
5252
"test-utils": "workspace:^",
53-
"typescript": "^5.6.3"
53+
"typescript": "^5.7.3"
5454
},
5555
"peerDependencies": {
56-
"gqty": "workspace:^"
56+
"gqty": "workspace:^3.0.0"
5757
},
5858
"engines": {
5959
"node": "^12.20.0 || >=14.13.0"

packages/logger/src/index.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import type { DebugEvent, GQtyClient, Selection } from 'gqty';
2+
import type { Plugin } from 'prettier';
23
import * as prettierBabel from 'prettier/plugins/babel';
34
import * as prettierEstree from 'prettier/plugins/estree';
45
import * as prettierGraphQL from 'prettier/plugins/graphql';
@@ -15,7 +16,7 @@ async function formatGraphQL(query: string) {
1516
async function formatJSON(value: unknown) {
1617
return await prettierFormat(JSON.stringify(value), {
1718
parser: 'json',
18-
plugins: [prettierBabel, prettierEstree],
19+
plugins: [prettierBabel, prettierEstree as Plugin],
1920
});
2021
}
2122

packages/react/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
"typescript-eslint": "^8.4.0"
122122
},
123123
"peerDependencies": {
124-
"gqty": "workspace:^",
124+
"gqty": "workspace:^3.0.0",
125125
"graphql": "*",
126126
"graphql-sse": "^2.5.4",
127127
"graphql-ws": "^5.16.2",

packages/solid/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@
4646
"date-fns": "^3.6.0",
4747
"jsdom": "^24.1.3",
4848
"test-utils": "workspace:^",
49-
"typescript": "^5.6.3",
49+
"typescript": "^5.7.3",
5050
"vite": "^5.4.14",
5151
"vite-plugin-solid": "^2.10.2",
5252
"vitest": "^2.0.5"
5353
},
5454
"peerDependencies": {
55-
"gqty": "workspace:^",
55+
"gqty": "workspace:^3.0.0",
5656
"solid-js": "^1.6.0"
5757
},
5858
"peerDependenciesMeta": {

packages/subscriptions/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@
4646
"gqty": "workspace:^",
4747
"graphql": "^16.9.0",
4848
"test-utils": "workspace:^",
49-
"typescript": "^5.6.3"
49+
"typescript": "^5.7.3"
5050
},
5151
"peerDependencies": {
52-
"gqty": "workspace:^",
52+
"gqty": "workspace:^3.0.0",
5353
"graphql": "*"
5454
},
5555
"peerDependenciesMeta": {

0 commit comments

Comments
 (0)