Docker / build (push) Has been cancelled
Node в Docker не мог импортировать .ts из workspace-пакетов; exports переключены на dist, добавлен tsc build и сборка в Dockerfile. Co-authored-by: Cursor <cursoragent@cursor.com>
36 lines
787 B
JSON
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"
|
|
}
|
|
}
|