Compare commits

...

2 Commits

Author SHA1 Message Date
coopops 857425210e [C28-28][@ant] fix(email-relay): ts-node+typescript в dependencies (переживают prune --prod)
Прод-образ mono-base делает `pnpm prune --prod` (Dockerfile:74) — devDeps
вырезаются. ts-node был в devDependencies → в проде `sh: ts-node: not found`,
контейнер в restart-loop, /health не отвечал. controller держит ts-node в
dependencies — повторяем паттерн.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-09 10:32:52 +00:00
coopops 366c7fe9bd fix(sdk): генерировать schema.gql перед docs (predocs)
schema.gql gitignored и убран из поставки → в CI-checkout отсутствует.
prepublishOnly→docs читал его из репо и падал ENOENT при lerna publish.
predocs дёргает controller generate-schema (code-first, без HTTP/Mongo)
перед docs — работает и в CI, и локально.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-09 10:16:45 +00:00
3 changed files with 11 additions and 10 deletions
+4 -4
View File
@@ -14,14 +14,14 @@
},
"dependencies": {
"express": "^4.22.1",
"nodemailer": "^8.0.1"
"nodemailer": "^8.0.1",
"ts-node": "^10.9.2",
"typescript": "^5.0.0"
},
"devDependencies": {
"@types/express": "^4.17.21",
"@types/node": "^20.0.0",
"@types/nodemailer": "^6.4.14",
"nodemon": "^3.1.0",
"ts-node": "^10.9.2",
"typescript": "^5.0.0"
"nodemon": "^3.1.0"
}
}
+1
View File
@@ -40,6 +40,7 @@
"start": "esno src/index.ts",
"test": "vitest run --testTimeout 60000",
"typecheck": "tsc --noEmit",
"predocs": "pnpm -F @coopenomics/controller generate-schema",
"docs": "esno scripts/generate-index-comments.ts && typedoc",
"update:comments": "esno scripts/generate-index-comments.ts"
},
+6 -6
View File
@@ -1066,6 +1066,12 @@ importers:
nodemailer:
specifier: ^8.0.1
version: 8.0.4
ts-node:
specifier: ^10.9.2
version: 10.9.2(@swc/core@1.15.33(@swc/helpers@0.5.19))(@types/node@20.19.37)(typescript@5.9.3)
typescript:
specifier: ^5.0.0
version: 5.9.3
devDependencies:
'@types/express':
specifier: ^4.17.21
@@ -1079,12 +1085,6 @@ importers:
nodemon:
specifier: ^3.1.0
version: 3.1.14
ts-node:
specifier: ^10.9.2
version: 10.9.2(@swc/core@1.15.33(@swc/helpers@0.5.19))(@types/node@20.19.37)(typescript@5.9.3)
typescript:
specifier: ^5.0.0
version: 5.9.3
components/factory:
dependencies: