feat(shared): reworked shared library

Shared library is now access using `@shared/module`
This commit is contained in:
maix0 2025-06-16 23:16:34 +02:00 committed by Maieul BOYER
parent 1bc33ab912
commit 37403d304a
56 changed files with 366 additions and 970 deletions

View file

@ -10,8 +10,8 @@
"scripts": {
"test": "npm run build:ts && tsc -p test/tsconfig.json && FASTIFY_AUTOLOAD_TYPESCRIPT=1 node --test --experimental-test-coverage --loader ts-node/esm test/**/*.ts",
"start": "npm run build:ts && fastify start -l info dist/app.js",
"build:ts": "tsc",
"watch:ts": "tsc -w",
"build:ts": "tsc -d",
"watch:ts": "tsc -d -w",
"dev": "npm run build:ts && concurrently -k -p \"[{name}]\" -n \"TypeScript,App\" -c \"yellow.bold,cyan.bold\" \"npm:watch:ts\" \"npm:dev:start\"",
"dev:start": "fastify start --ignore-watch=.ts$ -w -l info -P dist/app.js"
},
@ -28,7 +28,8 @@
"fastify-cli": "^7.4.0",
"fastify-plugin": "^5.0.0",
"fastify-raw-body": "^5.0.0",
"sharp": "^0.34.2"
"sharp": "^0.34.2",
"utils": "file:../utils/"
},
"devDependencies": {
"@types/node": "^22.1.0",