Skip to content

Commit

Permalink
Merge pull request #9535 from weseek/fix/157427-157741-slackbot-ci-fail
Browse files Browse the repository at this point in the history
fix slackbot proxy ci fail
  • Loading branch information
yuki-takei authored Dec 31, 2024
2 parents 2394931 + 3d3edba commit e6e1012
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 7 deletions.
1 change: 1 addition & 0 deletions apps/slackbot-proxy/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ module.exports = {

// set 'warn' temporarily -- 2022.07.13 Yuki Takei
'@typescript-eslint/no-explicit-any': ['warn'],
'@typescript-eslint/consistent-type-imports': 'off',
},
};
3 changes: 3 additions & 0 deletions apps/slackbot-proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand All @@ -39,6 +40,7 @@
"@slack/web-api": "^6.2.4",
"@tsed/common": "=6.43.0",
"@tsed/di": "=6.43.0",
"@tsed/logger": "=6.7.8",
"@tsed/platform-express": "=6.43.0",
"@tsed/schema": "=6.43.0",
"@tsed/swagger": "=6.43.0",
Expand Down Expand Up @@ -66,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": {
Expand Down
8 changes: 7 additions & 1 deletion apps/slackbot-proxy/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@

"baseUrl": ".",
"paths": {
"~/*": ["./src/*"]
"~/*": ["./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"],
"@tsed/common": ["./node_modules/@tsed/common"],
"@tsed/di": ["./node_modules/@tsed/di"],
},

/* TODO: remove below flags for strict checking */
Expand Down
25 changes: 19 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e6e1012

Please sign in to comment.