Backend build: copy SQL schema files to dist for production start

Made-with: Cursor
This commit is contained in:
Michaël
2026-02-26 19:13:44 -03:00
parent d55db09b43
commit ecc4e6d4bb

View File

@@ -4,7 +4,7 @@
"private": true,
"type": "module",
"scripts": {
"build": "tsc",
"build": "tsc && cp src/db/*.sql dist/db/",
"start": "node dist/index.js",
"dev": "tsx watch src/index.ts",
"migrate": "tsx src/db/migrate.ts"