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

20
apps/bot/tsup.config.ts Normal file
View File

@@ -0,0 +1,20 @@
import { defineConfig } from "tsup";
export default defineConfig({
entry: ["src/index.ts"],
format: ["esm"],
dts: false,
splitting: false,
sourcemap: true,
clean: true,
external: [
"@repo/config",
"@repo/db",
"@repo/logger",
"@repo/typescript-config",
],
treeshake: true,
minify: false,
target: "node18",
platform: "node",
});