@thzero/library_server_fastify 0.18.7 → 0.18.9
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/boot/index.js +9 -1
- package/package.json +5 -5
package/boot/index.js
CHANGED
|
@@ -297,17 +297,23 @@ class FastifyBootMain extends BootMain {
|
|
|
297
297
|
this._routes = [];
|
|
298
298
|
|
|
299
299
|
this._initPreRoutes(fastify);
|
|
300
|
+
|
|
301
|
+
console.log('----route.init-----------------------------------');
|
|
300
302
|
|
|
301
303
|
for (const pluginRoute of plugins)
|
|
302
304
|
await pluginRoute.initRoutes(this._routes);
|
|
303
305
|
|
|
304
306
|
await this._initRoutes();
|
|
305
|
-
|
|
306
307
|
for (const route of this._routes) {
|
|
307
308
|
console.log(route);
|
|
308
309
|
await route.init(injector, fastify, this._appConfig);
|
|
309
310
|
}
|
|
310
311
|
|
|
312
|
+
console.log('----route.init.complete--------------------------');
|
|
313
|
+
console.log();
|
|
314
|
+
|
|
315
|
+
console.log('----route.listing--------------------------------');
|
|
316
|
+
|
|
311
317
|
let methods;
|
|
312
318
|
for (let [key, value] of fastify.routes.entries()) {
|
|
313
319
|
methods = [];
|
|
@@ -315,6 +321,8 @@ class FastifyBootMain extends BootMain {
|
|
|
315
321
|
methods.push(item.method);
|
|
316
322
|
console.log([ key, methods ]);
|
|
317
323
|
}
|
|
324
|
+
|
|
325
|
+
console.log('----route.listing.complete-----------------------');
|
|
318
326
|
console.log();
|
|
319
327
|
|
|
320
328
|
// // usage metrics
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thzero/library_server_fastify",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.18.
|
|
4
|
+
"version": "0.18.9",
|
|
5
5
|
"version_major": 0,
|
|
6
6
|
"version_minor": 18,
|
|
7
|
-
"version_patch":
|
|
8
|
-
"version_date": "
|
|
7
|
+
"version_patch": 9,
|
|
8
|
+
"version_date": "06/01/2024",
|
|
9
9
|
"description": "An opinionated library of common functionality to bootstrap a Fastify based API application.",
|
|
10
10
|
"author": "thZero",
|
|
11
11
|
"license": "MIT",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"@fastify/cors": "^9.0.1",
|
|
31
31
|
"@fastify/helmet": "^11.1.1",
|
|
32
32
|
"@fastify/routes": "^5.1.0",
|
|
33
|
-
"@fastify/static": "^7.0.
|
|
33
|
+
"@fastify/static": "^7.0.4",
|
|
34
34
|
"async-mutex": "^0.5.0",
|
|
35
|
-
"fastify": "^4.
|
|
35
|
+
"fastify": "^4.27.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@thzero/library_common": "^0.18",
|