@gasket/plugin-fastify 7.0.3 → 7.0.6
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 +12 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -49,6 +49,18 @@ export default makeGasket({
|
|
|
49
49
|
});
|
|
50
50
|
```
|
|
51
51
|
|
|
52
|
+
## Actions
|
|
53
|
+
|
|
54
|
+
### getFastifyApp
|
|
55
|
+
|
|
56
|
+
Get the Fastify app instance.
|
|
57
|
+
|
|
58
|
+
```js
|
|
59
|
+
const app = actions.gasket.getFastifyApp();
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Each Gasket creates a single shared Fastify instance, ensuring consistent access to the same app instance wherever it's needed.
|
|
63
|
+
|
|
52
64
|
## Lifecycles
|
|
53
65
|
|
|
54
66
|
### fastify
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gasket/plugin-fastify",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.6",
|
|
4
4
|
"description": "Adds fastify support to your application",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"homepage": "https://github.com/godaddy/gasket/tree/main/packages/gasket-plugin-fastify",
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@gasket/core": "^7.0.
|
|
40
|
+
"@gasket/core": "^7.0.6",
|
|
41
41
|
"cross-env": "^7.0.3",
|
|
42
42
|
"eslint": "^8.56.0",
|
|
43
43
|
"eslint-config-godaddy": "^7.1.1",
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
"jest": {
|
|
73
73
|
"rootDir": "test"
|
|
74
74
|
},
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "90fec87372fb74755e92668a9158fc3c820dd37f"
|
|
76
76
|
}
|