feat: add file storage service and update configurations

refactor: migrate to tsup for builds and update tsconfigs
fix: update error handling and validation in payment service
chore: update package scripts and dependencies
docs: update README and env examples
This commit is contained in:
Yuu Ottosoka
2025-07-12 16:01:57 +03:00
parent c0c04bbdba
commit f9ecac94f2
67 changed files with 3308 additions and 695 deletions

View File

@@ -2,10 +2,13 @@
"name": "api",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"dev": "NODE_PATH=./src tsnd --respawn --transpile-only --exit-child src/index.ts",
"build": "tsc",
"start": "NODE_PATH=./dist node ./dist/index.js"
"dev": "tsx watch src/index.ts",
"build": "tsup",
"start": "node dist/index.js",
"check-types": "tsc --noEmit",
"clean": "rm -rf dist"
},
"dependencies": {
"@hono/node-server": "^1.15.0",
@@ -22,7 +25,9 @@
"zod-openapi": "^4.2.4"
},
"devDependencies": {
"ts-node-dev": "^2.0.0",
"typescript": "latest"
"@types/node": "^22.10.2",
"tsup": "^8.3.5",
"tsx": "^4.19.2",
"typescript": "^5.8.3"
}
}