🐋 Docker and Gitea Workflow
All checks were successful
Deploy application / deploy (push) Successful in 19s

- Moved tsx to dependencies as node TS support is 💩
- Renamed start-once to run-once
- TODOs
This commit is contained in:
2025-01-26 17:41:44 +01:00
parent 2e73baf98b
commit aaa85e99cb
8 changed files with 89 additions and 7 deletions

View File

@ -6,7 +6,8 @@
"scripts": {
"preinstall": "npx only-allow pnpm",
"start": "dotenvx run --env-file=.env.local -- node --import=tsx ./src/main.ts | pino-pretty",
"start-once": "ONCE=true dotenvx run --env-file=.env.local -- node --import=tsx ./src/main.ts | pino-pretty",
"start-prod": "node --import=tsx ./src/main.ts",
"run-once": "ONCE=true dotenvx run --env-file=.env.local -- node --import=tsx ./src/main.ts | pino-pretty",
"test": "dotenvx run --env-file=.env.test.local -- node --experimental-vm-modules node_modules/jest/bin/jest.js | pino-pretty",
"format": "prettier --write \"./**/*.{js,mjs,ts,md,json}\""
},
@ -21,7 +22,8 @@
"dayjs": "^1.11.13",
"dotenv": "^16.4.7",
"pino": "^9.6.0",
"prettier": "^3.4.2"
"prettier": "^3.4.2",
"tsx": "^4.19.2"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
@ -32,7 +34,6 @@
"pino-pretty": "^13.0.0",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"tsx": "^4.19.2",
"typescript": "^5.7.3"
},
"prettier": {