2 Commits

Author SHA1 Message Date
vakabunga
50154f304c chore: adds copy of migration file to prod 2026-03-12 22:25:52 +03:00
vakabunga
8625f7f6cf chore: adds .gitattributes for consistent line endings across machines 2026-03-12 22:11:21 +03:00
2 changed files with 9 additions and 1 deletions

6
.gitattributes vendored Normal file
View File

@@ -0,0 +1,6 @@
# Единые правила переносов строк для всех машин
* text=auto eol=lf
# Windows-скрипты — исключение, им нужен CRLF
*.bat text eol=crlf
*.cmd text eol=crlf

View File

@@ -6,7 +6,9 @@
"dev": "tsx watch src/app.ts",
"build": "tsc",
"start": "node dist/app.js",
"migrate": "tsx src/db/migrate.ts"
"migrate": "tsx src/db/migrate.ts",
"migrate:prod": "node dist/db/migrate.js",
"migrate:prod": "node dist/db/migrate.js"
},
"dependencies": {
"@family-budget/shared": "*",