Skip to content

Commit

Permalink
Update for Fastify v5 (#957)
Browse files Browse the repository at this point in the history
* update for fastify 5

* removed testing on node 14 and 16

* update workflow

* update fastify and tap

---------

Co-authored-by: Gürgün Dayıoğlu <[email protected]>
  • Loading branch information
synapse and gurgunday authored Sep 28, 2024
1 parent 3e4444b commit 4e5eb2a
Show file tree
Hide file tree
Showing 7 changed files with 7,252 additions and 12,139 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,8 @@ jobs:
strategy:
matrix:
next-version: [12, 13]
node-version: [ 14, 16, 18, 20 ]
node-version: [ 20, 22 ]
os: [ macos-latest, ubuntu-latest, windows-latest ]
exclude:
- next-version: 13
node-version: 14

steps:
- name: Check out repo
Expand Down
4 changes: 1 addition & 3 deletions .taprc
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
100: true
nyc-arg: ["--exclude=.next"]
timeout: 120

disable-coverage: true
files:
- test/**/*.test.js
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,6 @@ function fastifyNext (fastify, options, next) {
}

module.exports = fp(fastifyNext, {
fastify: '4.x',
fastify: '5.x',
name: '@fastify/nextjs'
})
Loading

0 comments on commit 4e5eb2a

Please sign in to comment.