chore(lockfile/icons): updated lockfile and fixed icons service shutdown

- Updated lockfile and packages version
- Updated icons service to stop on SIGTERM
This commit is contained in:
Maieul BOYER 2025-10-29 19:24:59 +01:00
parent 332086d5e2
commit a66fad3360
No known key found for this signature in database
6 changed files with 648 additions and 669 deletions

View file

@ -11,18 +11,18 @@
"dependencies": {
"@fastify/cookie": "^11.0.2",
"@fastify/jwt": "^9.1.0",
"@sinclair/typebox": "^0.34.40",
"@sinclair/typebox": "^0.34.41",
"@types/bcrypt": "^6.0.0",
"bcrypt": "^6.0.0",
"better-sqlite3": "^11.10.0",
"fastify": "^5.0.0",
"fastify-plugin": "^5.0.1",
"joi": "^18.0.0",
"fastify": "^5.6.1",
"fastify-plugin": "^5.1.0",
"joi": "^18.0.1",
"otp": "^1.1.2",
"uuidv7": "^1.0.2"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.13",
"@types/node": "^22.1.0"
"@types/node": "^22.18.13"
}
}

View file

@ -19,19 +19,19 @@
"dependencies": {
"@fastify/autoload": "^6.3.1",
"@fastify/formbody": "^8.0.2",
"@fastify/multipart": "^9.0.3",
"@fastify/sensible": "^6.0.0",
"@fastify/static": "^8.2.0",
"@sinclair/typebox": "^0.34.40",
"@fastify/multipart": "^9.3.0",
"@fastify/sensible": "^6.0.3",
"@fastify/static": "^8.3.0",
"@sinclair/typebox": "^0.34.41",
"confbox": "^0.2.2",
"fastify": "^5.0.0",
"fastify": "^5.6.1",
"fastify-cli": "^7.4.0",
"fastify-plugin": "^5.0.0"
"fastify-plugin": "^5.1.0"
},
"devDependencies": {
"@types/node": "^22.1.0",
"rollup-plugin-node-externals": "^8.0.1",
"vite": "^7.0.6",
"@types/node": "^22.18.13",
"rollup-plugin-node-externals": "^8.1.1",
"vite": "^7.1.12",
"vite-tsconfig-paths": "^5.1.4"
}
}

View file

@ -19,19 +19,19 @@
"dependencies": {
"@fastify/autoload": "^6.3.1",
"@fastify/formbody": "^8.0.2",
"@fastify/multipart": "^9.0.3",
"@fastify/sensible": "^6.0.0",
"@fastify/static": "^8.2.0",
"fastify": "^5.0.0",
"@fastify/multipart": "^9.3.0",
"@fastify/sensible": "^6.0.3",
"@fastify/static": "^8.3.0",
"fastify": "^5.6.1",
"fastify-cli": "^7.4.0",
"fastify-plugin": "^5.0.0",
"raw-body": "^3.0.0",
"sharp": "^0.34.2"
"fastify-plugin": "^5.1.0",
"raw-body": "^3.0.1",
"sharp": "^0.34.4"
},
"devDependencies": {
"@types/node": "^22.1.0",
"rollup-plugin-node-externals": "^8.0.1",
"vite": "^7.0.6",
"@types/node": "^22.18.13",
"rollup-plugin-node-externals": "^8.1.1",
"vite": "^7.1.12",
"vite-tsconfig-paths": "^5.1.4"
}
}

View file

@ -19,6 +19,10 @@ const start = async () => {
};
const f: FastifyInstance = fastify({ logger: envToLogger.development });
process.on('SIGTERM', () => {
f.log.info('Requested to shutdown');
process.exit(134);
});
try {
await f.register(app, {});
await f.listen({ port: 80, host: '0.0.0.0' });

1247
src/pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff

View file

@ -19,18 +19,18 @@
"dependencies": {
"@fastify/autoload": "^6.3.1",
"@fastify/formbody": "^8.0.2",
"@fastify/multipart": "^9.0.3",
"@fastify/sensible": "^6.0.0",
"@fastify/static": "^8.2.0",
"@sinclair/typebox": "^0.34.40",
"fastify": "^5.0.0",
"@fastify/multipart": "^9.3.0",
"@fastify/sensible": "^6.0.3",
"@fastify/static": "^8.3.0",
"@sinclair/typebox": "^0.34.41",
"fastify": "^5.6.1",
"fastify-cli": "^7.4.0",
"fastify-plugin": "^5.0.0"
"fastify-plugin": "^5.1.0"
},
"devDependencies": {
"@types/node": "^22.1.0",
"rollup-plugin-node-externals": "^8.0.1",
"vite": "^7.0.6",
"@types/node": "^22.18.13",
"rollup-plugin-node-externals": "^8.1.1",
"vite": "^7.1.12",
"vite-tsconfig-paths": "^5.1.4"
}
}