Install TypeScript as part of `devDependencies`
Closed this issue ยท 3 comments
fdionisi commented
Looking at the package.json
, I noticed that the TypeScript npm package is installed as a direct dependency.
Lines 81 to 86 in dca7419
This means that every production installations of software depending on casbin-mongoose-adapter
will have an often superfluous module, making node_modules/
a little bit bigger.
I suggest moving TypeScript dependency to devDependencies
instead.
Before opening a PR, I wanted to ensure there is no hidden reason behind your initial decision.
github-actions commented
๐ This issue has been resolved in version 3.0.1 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐