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:
parent
332086d5e2
commit
a66fad3360
6 changed files with 648 additions and 669 deletions
|
|
@ -11,18 +11,18 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fastify/cookie": "^11.0.2",
|
"@fastify/cookie": "^11.0.2",
|
||||||
"@fastify/jwt": "^9.1.0",
|
"@fastify/jwt": "^9.1.0",
|
||||||
"@sinclair/typebox": "^0.34.40",
|
"@sinclair/typebox": "^0.34.41",
|
||||||
"@types/bcrypt": "^6.0.0",
|
"@types/bcrypt": "^6.0.0",
|
||||||
"bcrypt": "^6.0.0",
|
"bcrypt": "^6.0.0",
|
||||||
"better-sqlite3": "^11.10.0",
|
"better-sqlite3": "^11.10.0",
|
||||||
"fastify": "^5.0.0",
|
"fastify": "^5.6.1",
|
||||||
"fastify-plugin": "^5.0.1",
|
"fastify-plugin": "^5.1.0",
|
||||||
"joi": "^18.0.0",
|
"joi": "^18.0.1",
|
||||||
"otp": "^1.1.2",
|
"otp": "^1.1.2",
|
||||||
"uuidv7": "^1.0.2"
|
"uuidv7": "^1.0.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/better-sqlite3": "^7.6.13",
|
"@types/better-sqlite3": "^7.6.13",
|
||||||
"@types/node": "^22.1.0"
|
"@types/node": "^22.18.13"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -19,19 +19,19 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fastify/autoload": "^6.3.1",
|
"@fastify/autoload": "^6.3.1",
|
||||||
"@fastify/formbody": "^8.0.2",
|
"@fastify/formbody": "^8.0.2",
|
||||||
"@fastify/multipart": "^9.0.3",
|
"@fastify/multipart": "^9.3.0",
|
||||||
"@fastify/sensible": "^6.0.0",
|
"@fastify/sensible": "^6.0.3",
|
||||||
"@fastify/static": "^8.2.0",
|
"@fastify/static": "^8.3.0",
|
||||||
"@sinclair/typebox": "^0.34.40",
|
"@sinclair/typebox": "^0.34.41",
|
||||||
"confbox": "^0.2.2",
|
"confbox": "^0.2.2",
|
||||||
"fastify": "^5.0.0",
|
"fastify": "^5.6.1",
|
||||||
"fastify-cli": "^7.4.0",
|
"fastify-cli": "^7.4.0",
|
||||||
"fastify-plugin": "^5.0.0"
|
"fastify-plugin": "^5.1.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^22.1.0",
|
"@types/node": "^22.18.13",
|
||||||
"rollup-plugin-node-externals": "^8.0.1",
|
"rollup-plugin-node-externals": "^8.1.1",
|
||||||
"vite": "^7.0.6",
|
"vite": "^7.1.12",
|
||||||
"vite-tsconfig-paths": "^5.1.4"
|
"vite-tsconfig-paths": "^5.1.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -19,19 +19,19 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fastify/autoload": "^6.3.1",
|
"@fastify/autoload": "^6.3.1",
|
||||||
"@fastify/formbody": "^8.0.2",
|
"@fastify/formbody": "^8.0.2",
|
||||||
"@fastify/multipart": "^9.0.3",
|
"@fastify/multipart": "^9.3.0",
|
||||||
"@fastify/sensible": "^6.0.0",
|
"@fastify/sensible": "^6.0.3",
|
||||||
"@fastify/static": "^8.2.0",
|
"@fastify/static": "^8.3.0",
|
||||||
"fastify": "^5.0.0",
|
"fastify": "^5.6.1",
|
||||||
"fastify-cli": "^7.4.0",
|
"fastify-cli": "^7.4.0",
|
||||||
"fastify-plugin": "^5.0.0",
|
"fastify-plugin": "^5.1.0",
|
||||||
"raw-body": "^3.0.0",
|
"raw-body": "^3.0.1",
|
||||||
"sharp": "^0.34.2"
|
"sharp": "^0.34.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^22.1.0",
|
"@types/node": "^22.18.13",
|
||||||
"rollup-plugin-node-externals": "^8.0.1",
|
"rollup-plugin-node-externals": "^8.1.1",
|
||||||
"vite": "^7.0.6",
|
"vite": "^7.1.12",
|
||||||
"vite-tsconfig-paths": "^5.1.4"
|
"vite-tsconfig-paths": "^5.1.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,10 @@ const start = async () => {
|
||||||
};
|
};
|
||||||
|
|
||||||
const f: FastifyInstance = fastify({ logger: envToLogger.development });
|
const f: FastifyInstance = fastify({ logger: envToLogger.development });
|
||||||
|
process.on('SIGTERM', () => {
|
||||||
|
f.log.info('Requested to shutdown');
|
||||||
|
process.exit(134);
|
||||||
|
});
|
||||||
try {
|
try {
|
||||||
await f.register(app, {});
|
await f.register(app, {});
|
||||||
await f.listen({ port: 80, host: '0.0.0.0' });
|
await f.listen({ port: 80, host: '0.0.0.0' });
|
||||||
|
|
|
||||||
1247
src/pnpm-lock.yaml
generated
1247
src/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
|
|
@ -19,18 +19,18 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fastify/autoload": "^6.3.1",
|
"@fastify/autoload": "^6.3.1",
|
||||||
"@fastify/formbody": "^8.0.2",
|
"@fastify/formbody": "^8.0.2",
|
||||||
"@fastify/multipart": "^9.0.3",
|
"@fastify/multipart": "^9.3.0",
|
||||||
"@fastify/sensible": "^6.0.0",
|
"@fastify/sensible": "^6.0.3",
|
||||||
"@fastify/static": "^8.2.0",
|
"@fastify/static": "^8.3.0",
|
||||||
"@sinclair/typebox": "^0.34.40",
|
"@sinclair/typebox": "^0.34.41",
|
||||||
"fastify": "^5.0.0",
|
"fastify": "^5.6.1",
|
||||||
"fastify-cli": "^7.4.0",
|
"fastify-cli": "^7.4.0",
|
||||||
"fastify-plugin": "^5.0.0"
|
"fastify-plugin": "^5.1.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^22.1.0",
|
"@types/node": "^22.18.13",
|
||||||
"rollup-plugin-node-externals": "^8.0.1",
|
"rollup-plugin-node-externals": "^8.1.1",
|
||||||
"vite": "^7.0.6",
|
"vite": "^7.1.12",
|
||||||
"vite-tsconfig-paths": "^5.1.4"
|
"vite-tsconfig-paths": "^5.1.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue