Files
vps-tracker/packages/db/package.json
T
DenozordecandCursor 9df91bf2cc
Docker / build (push) Has been cancelled
fix(build): сборка @cfdm/db и @cfdm/shared в dist для production
Node в Docker не мог импортировать .ts из workspace-пакетов; exports
переключены на dist, добавлен tsc build и сборка в Dockerfile.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-27 23:36:15 +07:00

36 lines
787 B
JSON

{
"name": "@cfdm/db",
"version": "0.0.0",
"private": true,
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./schema": {
"types": "./dist/schema/index.d.ts",
"default": "./dist/schema/index.js"
},
"./repositories/*": {
"types": "./dist/repositories/*.d.ts",
"default": "./dist/repositories/*.js"
}
},
"scripts": {
"build": "tsc -p tsconfig.json"
},
"dependencies": {
"drizzle-orm": "^0.40.0",
"better-sqlite3": "^11.10.0"
},
"devDependencies": {
"drizzle-kit": "^0.30.0",
"@types/better-sqlite3": "^7.6.13",
"@types/node": "^22.10.0",
"typescript": "^5.9.2"
}
}