fix(build): сборка @cfdm/db и @cfdm/shared в dist для production
Docker / build (push) Has been cancelled

Node в Docker не мог импортировать .ts из workspace-пакетов; exports
переключены на dist, добавлен tsc build и сборка в Dockerfile.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Denozordec
2026-06-27 23:36:15 +07:00
co-authored by Cursor
parent 0de0538218
commit 9df91bf2cc
8 changed files with 101 additions and 32 deletions
+2 -2
View File
@@ -4,9 +4,9 @@
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "tsx watch src/index.ts",
"dev": "pnpm --filter @cfdm/shared build && pnpm --filter @cfdm/db build && tsx watch src/index.ts",
"dev:legacy": "node index.js",
"build": "tsc -p tsconfig.json",
"build": "pnpm --filter @cfdm/shared build && pnpm --filter @cfdm/db build && tsc -p tsconfig.json",
"start": "node dist/index.js",
"start:legacy": "node index.js",
"test": "vitest run"