@lokalise/fastify-extras 5.0.0 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/package.json +9 -20
package/README.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
1
|
# fastify-extras
|
|
2
2
|
|
|
3
3
|
Reusable plugins for fastify
|
|
4
|
+
|
|
5
|
+
## Dependency management
|
|
6
|
+
|
|
7
|
+
The following needs to be taken into consideration when adding new runtime dependency for the `fastify-extras` package:
|
|
8
|
+
|
|
9
|
+
* If dependency is an implementation detail, and end consumer is not expected to import and use the dependency directly, it should be a `dependency`;
|
|
10
|
+
* If dependency needs to be imported and used by consumer directly for it to function properly, it should be a `peerDependency`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lokalise/fastify-extras",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "Opinionated set of fastify plugins, commonly used in Lokalise",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Lokalise",
|
|
@@ -42,11 +42,7 @@
|
|
|
42
42
|
"version": "auto-changelog -p && git add CHANGELOG.md"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"fastify-plugin": "^4.4.0"
|
|
46
|
-
},
|
|
47
|
-
"peerDependencies": {
|
|
48
45
|
"@bugsnag/js": "^7.18.0",
|
|
49
|
-
"@fastify/request-context": "^4.2.0",
|
|
50
46
|
"@opentelemetry/api": "^1.3.0",
|
|
51
47
|
"@opentelemetry/exporter-trace-otlp-grpc": "^0.34.0",
|
|
52
48
|
"@opentelemetry/instrumentation": "^0.34.0",
|
|
@@ -55,28 +51,23 @@
|
|
|
55
51
|
"@opentelemetry/sdk-trace-node": "^1.8.0",
|
|
56
52
|
"@opentelemetry/semantic-conventions": "^1.8.0",
|
|
57
53
|
"@prisma/instrumentation": "^4.8.0",
|
|
54
|
+
"fastify-metrics": "^10.0.2",
|
|
55
|
+
"fastify-plugin": "^4.4.0"
|
|
56
|
+
},
|
|
57
|
+
"peerDependencies": {
|
|
58
|
+
"@fastify/request-context": "^4.2.0",
|
|
58
59
|
"fastify": "^4.10.2",
|
|
59
|
-
"fastify-metrics": "^10.0.1",
|
|
60
60
|
"newrelic": "^9.7.4",
|
|
61
61
|
"pino": "^8.8.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@bugsnag/js": "^7.18.0",
|
|
65
64
|
"@fastify/request-context": "^4.2.0",
|
|
66
65
|
"@lokalise/node-core": "^2.0.1",
|
|
67
|
-
"@opentelemetry/api": "^1.3.0",
|
|
68
|
-
"@opentelemetry/exporter-trace-otlp-grpc": "^0.34.0",
|
|
69
|
-
"@opentelemetry/instrumentation": "^0.34.0",
|
|
70
|
-
"@opentelemetry/resources": "^1.8.0",
|
|
71
|
-
"@opentelemetry/sdk-trace-base": "^1.8.0",
|
|
72
|
-
"@opentelemetry/sdk-trace-node": "^1.8.0",
|
|
73
|
-
"@opentelemetry/semantic-conventions": "^1.8.0",
|
|
74
|
-
"@prisma/instrumentation": "^4.8.0",
|
|
75
66
|
"@types/jest": "^29.2.5",
|
|
76
67
|
"@types/newrelic": "^9.4.0",
|
|
77
68
|
"@types/node": "^18.11.18",
|
|
78
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
79
|
-
"@typescript-eslint/parser": "^5.
|
|
69
|
+
"@typescript-eslint/eslint-plugin": "^5.48.0",
|
|
70
|
+
"@typescript-eslint/parser": "^5.48.0",
|
|
80
71
|
"auto-changelog": "^2.4.0",
|
|
81
72
|
"eslint": "^8.31.0",
|
|
82
73
|
"eslint-config-prettier": "^8.5.0",
|
|
@@ -84,7 +75,6 @@
|
|
|
84
75
|
"eslint-plugin-jest": "^27.2.0",
|
|
85
76
|
"eslint-plugin-prettier": "^4.2.1",
|
|
86
77
|
"fastify": "^4.11.0",
|
|
87
|
-
"fastify-metrics": "^10.0.1",
|
|
88
78
|
"jest": "^29.3.1",
|
|
89
79
|
"newrelic": "^9.7.4",
|
|
90
80
|
"pino": "^8.8.0",
|
|
@@ -92,8 +82,7 @@
|
|
|
92
82
|
"shx": "^0.3.4",
|
|
93
83
|
"ts-jest": "^29.0.3",
|
|
94
84
|
"ts-node": "^10.9.1",
|
|
95
|
-
"typescript": "4.9.4"
|
|
96
|
-
"undici": "^5.14.0"
|
|
85
|
+
"typescript": "4.9.4"
|
|
97
86
|
},
|
|
98
87
|
"engines": {
|
|
99
88
|
"node": ">=18"
|