Skip to content

Commit 5b519fd

Browse files
authored
Merge pull request #104 from inaiat/feat/fastify-v5
feat: fastify v5
2 parents 76b2ba5 + 142eba0 commit 5b519fd

8 files changed

+993
-1384
lines changed

BUILD_SHA

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f242a65ad6e681b7e51a175bc88c067bdcab744b
1+
f7f7fcdacfb4987ebad5e471233a1f1646210d9c

eslint.config.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import eslint from '@eslint/js'
2-
import functional from 'eslint-plugin-functional/flat'
2+
import functional from 'eslint-plugin-functional'
33
import n from 'eslint-plugin-n'
44
import unicorn from 'eslint-plugin-unicorn'
55
import tseslint from 'typescript-eslint'

package.json

+30-25
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
{
22
"name": "@inaiat/fastify-papr",
3-
"version": "7.0.2",
3+
"version": "8.0.0",
44
"description": "Fastify Papr Plugin Integration",
55
"type": "module",
66
"engines": {
77
"node": ">=20"
88
},
9-
"packageManager": "[email protected]",
10-
"exports": "./dist/index.js",
9+
"packageManager": "[email protected]",
10+
"exports": {
11+
".": {
12+
"import": "./dist/index.js",
13+
"require": "./dist/index.cjs"
14+
}
15+
},
1116
"types": "./dist/index.d.ts",
1217
"scripts": {
1318
"ts:loader": "FASTIFY_AUTOLOAD_TYPESCRIPT=true node --import=tsx/esm",
@@ -52,34 +57,34 @@
5257
],
5358
"homepage": "https://github.com/inaiat/fastify-papr.git",
5459
"dependencies": {
55-
"fastify-plugin": "^4.5.1",
60+
"fastify-plugin": ">=4.5",
5661
"papr": "^15.2.2"
5762
},
5863
"peerDependencies": {
59-
"fastify": "^4.27",
60-
"mongodb": "^6.7.0"
64+
"fastify": "^5.0.0",
65+
"mongodb": "6.7"
6166
},
6267
"devDependencies": {
63-
"@eslint/js": "^9.4.0",
64-
"@types/node": "^20.14.2",
68+
"@eslint/js": "^9.11.1",
69+
"@types/node": "^22.6.1",
6570
"@types/semver": "^7.5.8",
66-
"c8": "^9.1.0",
67-
"dprint": "^0.46.1",
68-
"eslint": "^9.4.0",
69-
"eslint-plugin-functional": "^6.5.1",
70-
"eslint-plugin-import": "^2.29.1",
71-
"eslint-plugin-n": "^17.8.1",
72-
"eslint-plugin-unicorn": "^53.0.0",
73-
"husky": "^9.0.11",
71+
"c8": "10.1.2",
72+
"dprint": "^0.47.2",
73+
"eslint": "^9.11.1",
74+
"eslint-plugin-functional": "^7.0.2",
75+
"eslint-plugin-import": "^2.30.0",
76+
"eslint-plugin-n": "^17.10.3",
77+
"eslint-plugin-unicorn": "^55.0.0",
78+
"husky": "^9.1.6",
7479
"istanbul-badges-readme": "^1.9.0",
75-
"mongodb-memory-server": "^9.3.0",
76-
"rimraf": "^5.0.7",
77-
"semver": "^7.6.2",
78-
"ts-node": "^10.9.2",
79-
"tsup": "^8.1.0",
80-
"tsx": "^4.13.2",
81-
"typescript": "^5.4.5",
82-
"typescript-eslint": "^7.12.0"
80+
"mongodb": "6.7",
81+
"mongodb-memory-server": "^10.0.1",
82+
"rimraf": "^6.0.1",
83+
"semver": "^7.6.3",
84+
"tsup": "^8.3.0",
85+
"tsx": "^4.19.1",
86+
"typescript": "^5.6.2",
87+
"typescript-eslint": "^8.7.0"
8388
},
8489
"files": [
8590
"dist"
@@ -92,7 +97,7 @@
9297
"clean": true,
9398
"bundle": true,
9499
"treeshake": true,
95-
"target": "node18",
100+
"target": "node20",
96101
"format": [
97102
"esm",
98103
"cjs"

0 commit comments

Comments
 (0)