From b2cdcb769fb1fefe1ee7072ca993d491b086d346 Mon Sep 17 00:00:00 2001 From: Futa Arai Date: Mon, 30 Dec 2024 12:40:31 +0900 Subject: [PATCH] add comments --- apps/slackbot-proxy/package.json | 2 ++ apps/slackbot-proxy/tsconfig.json | 1 + 2 files changed, 3 insertions(+) diff --git a/apps/slackbot-proxy/package.json b/apps/slackbot-proxy/package.json index 8683dda251f..eed918b0a31 100644 --- a/apps/slackbot-proxy/package.json +++ b/apps/slackbot-proxy/package.json @@ -29,6 +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)", "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" }, @@ -67,6 +68,7 @@ }, "// comments for devDependencies": { "@tsed/*": "v6.133.1 causes 'TypeError: Cannot read properties of undefined (reading 'prototype')' with `@Middleware()`", + "@tsed/core,exceptions": "force package to local node_modules in tsconfig.json since pnpm reads wrong hoisted tsed version (https://github.com/pnpm/pnpm/issues/7158)", "bootstrap": "v5.3.3 has a bug. refs: https://github.com/twbs/bootstrap/issues/39798" }, "devDependencies": { diff --git a/apps/slackbot-proxy/tsconfig.json b/apps/slackbot-proxy/tsconfig.json index 99f162278fc..d84bdf1495b 100644 --- a/apps/slackbot-proxy/tsconfig.json +++ b/apps/slackbot-proxy/tsconfig.json @@ -8,6 +8,7 @@ "baseUrl": ".", "paths": { "~/*": ["./src/*"], + // force package to local node_modules since pnpm reads wrong hoisted tsed version used in pdf-converter (https://github.com/pnpm/pnpm/issues/7158) "@tsed/core": ["./node_modules/@tsed/core"], "@tsed/schema": ["./node_modules/@tsed/schema"], "@tsed/exceptions": ["./node_modules/@tsed/exceptions"],