Skip to content

Commit d6009da

Browse files
authored
Update for fastify v5 (#24)
* Update for fastify v5 * no outdated node * allow fastify v4
1 parent 1e79429 commit d6009da

File tree

3 files changed

+2058
-1817
lines changed

3 files changed

+2058
-1817
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
node-version: [14.x, 16.x, 18.x, 20.x]
14+
node-version: [18.x, 20.x]
1515

1616
steps:
1717
- uses: actions/checkout@v3

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,34 +35,34 @@
3535
"ws": "^8.12.1"
3636
},
3737
"devDependencies": {
38-
"@fastify/cookie": "^8.3.0",
39-
"@mercuriusjs/federation": "^2.0.0",
40-
"@mercuriusjs/gateway": "^1.2.0",
38+
"@fastify/cookie": "^10.0.0",
39+
"@mercuriusjs/federation": "^4.0.0",
40+
"@mercuriusjs/gateway": "^4.0.1",
4141
"@types/cookie": "^0.5.1",
4242
"@types/node": "^14.18.37",
4343
"@types/readable-stream": "^2.3.15",
44-
"@types/tap": "^15.0.8",
45-
"@types/ws": "^8.5.4",
44+
"@types/tap": "^15.0.12",
45+
"@types/ws": "^8.5.12",
4646
"cross-env": "^7.0.3",
4747
"dotenv-cli": "^6.0.0",
48-
"fastify": "^4.16.0",
48+
"fastify": "^5.0.0",
4949
"graphql": "^16.6.0",
5050
"graphql-tag": "^2.12.6",
5151
"husky": "^8.0.3",
52-
"mercurius": "^14.0.0",
52+
"mercurius": "^15.0.0",
5353
"mqemitter": "^5.0.0",
5454
"prettier": "^2.8.4",
5555
"pretty-quick": "^3.1.3",
5656
"tap": "^16.3.4",
57-
"ts-node": "^10.9.1",
58-
"typescript": "^4.9.5"
57+
"ts-node": "^10.9.2",
58+
"typescript": "^5.6.2"
5959
},
6060
"peerDependencies": {
6161
"@mercuriusjs/federation": "^1 || ^2",
6262
"@mercuriusjs/gateway": "^1.2.0",
63-
"fastify": "^4.0.0",
63+
"fastify": "^4.0.0 || ^5.0.0",
6464
"graphql": "*",
65-
"mercurius": "^12 || ^13 || ^14"
65+
"mercurius": "^12 || ^13 || ^14 || ^15"
6666
},
6767
"peerDependenciesMeta": {
6868
"@mercuriusjs/federation": {
@@ -72,7 +72,7 @@
7272
"optional": true
7373
}
7474
},
75-
"packageManager": "pnpm@7.32.2",
75+
"packageManager": "pnpm@9.10.0",
7676
"engines": {
7777
"node": ">=14"
7878
}

0 commit comments

Comments
 (0)