Просмотр исходного кода

fix tsed/logger ci error in slackbot-proxy

Futa Arai 1 год назад
Родитель
Сommit
8c590004cb
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 1
      apps/slackbot-proxy/package.json
  2. 1 0
      apps/slackbot-proxy/tsconfig.json

+ 1 - 1
apps/slackbot-proxy/package.json

@@ -29,7 +29,7 @@
   },
   "// comments for dependencies": {
     "@tsed/*": "v6.133.1 causes 'TypeError: Cannot read properties of undefined (reading 'prototype')' with `@Middleware()`",
-    "@tsed/common,di,schema": "force package to local node_modules in tsconfig.json since pnpm reads wrong hoisted tsed version (https://github.com/pnpm/pnpm/issues/7158)",
+    "@tsed/common,di,logger,schema": "force package to local node_modules in tsconfig.json since pnpm reads wrong hoisted tsed version (https://github.com/pnpm/pnpm/issues/7158)",
     "read-pkg-up": "v8 doesn't support CommonJS anymore. https://github.com/sindresorhus/read-pkg-up/issues/17",
     "typeorm": "Upgrading to v0.3.x requires significant changes. https://github.com/tsedio/tsed/blob/production/docs/tutorials/typeorm.md"
   },

+ 1 - 0
apps/slackbot-proxy/tsconfig.json

@@ -14,6 +14,7 @@
       "@tsed/exceptions": ["./node_modules/@tsed/exceptions"],
       "@tsed/common": ["./node_modules/@tsed/common"],
       "@tsed/di": ["./node_modules/@tsed/di"],
+      "@tsed/logger": ["./node_modules/@tsed/logger"],
     },
 
     /* TODO: remove below flags for strict checking */