api: объявить зависимости api и починить сборку

- apps/api: @nestjs/swagger, @nestjs/terminus, typeorm, dotenv и pg
объявлены
  зависимостями — без них api не собирался и не стартовал; pg убран из
  devDependencies корня, lodash и @types/multer объявлены там же
- список миграций генерируется и для пустой директории migrations/:
иначе
  api:build падал на db-migrations-list
- vitest/globals в types (web) и импорт expect в e2e-спеке: падал
typecheck
- yarn.lock приведён в соответствие с package.json: без этого не
проходит
  yarn install --frozen-lockfile в CI и при сборке образа api
This commit is contained in:
arswarog committed 2026-10-27 10:44:06 +03:00
1 parent dbd5762ecf
commit 8014a968b7
8 files changed
+1531 -50

No files matched your search

+3 -2
View File
@@ -1,5 +1,5 @@
{
"name": "@org/source",
"name": "@org/source",
"version": "0.0.0",
"private": true,
"workspaces": [
@@ -58,6 +58,7 @@
"@swc/core": "^1.15.8",
"@swc/helpers": "^0.5.18",
"@types/lodash": "^4.17.24",
"@types/multer": "^2.3.0",
"@types/node": "^20.19.9",
"@types/pg": "^8.20.0",
"@vitest/coverage-v8": "^4.0.0",
@@ -70,9 +71,9 @@
"eslint-plugin-unused-imports": "^4.4.1",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"lodash": "^4.17.21",
"npm-run-all": "^4.1.5",
"nx": "^22.5.1",
"pg": "^8.20.0",
"prettier": "^3.3.3",
"rimraf": "^6.1.3",
"sort-package-json": "^3.6.1",