ljlm0402 / typescript-express-starter

📘 Quick and Easy TypeScript Express Starter
http://npm.im/typescript-express-starter
MIT License
2.73k stars 420 forks source link

Fix jest version, Remove types package #160

Closed ljlm0402 closed 2 years ago

ljlm0402 commented 2 years ago

Describe the Bug (버그 설명)

There are a bunch of dependencies that cause issues.
"ts-jest": "^27.0.7", "jest": "^27.0.6", "@types/jest": "^26.0.24" They are not compatiable with each other, so during npm installation you will encounter an error.

I have fixed them. Currently used, "@types/jest": "27.4.x", "jest": "27.4.x", "ts-jest": "^27.1.4". According to Jest official website, they suggest to use to similar @types version as jest itself. https://jestjs.io/docs/getting-started#using-typescript-via-ts-jest

Also I have removed, "@types/dotenv": "^8.2.0", "@types/helmet": "^4.0.0", "@types/winston": "^2.4.4", as types are now shipped with the package itself.

by Tamzid Karim

Version to Reproduce (현재 사용한 버전)

Steps to Reproduce (재현 순서)

Expected Behavior (예상 동작)

Actual Behavior (실제 동작)

Additional Context (추가 사항)

Capture screen (캡쳐 화면)