You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Looking at the
package.json
, I noticed that the TypeScript npm package is installed as a direct dependency.mongoose-adapter/package.json
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, makingnode_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.
The text was updated successfully, but these errors were encountered: