Consider moving `authsome` and `validations` config to standalone modules
In the course of upgrading Joi to v13, something triggered an error in node-config
:
RangeError: Maximum call stack size exceeded
at Config.Object.<anonymous>.util.attachProtoDeep (node_modules/config/lib/config.js:1094:32)
The recommendation is that the app config should only contain settings that easily serialize to JSON.
Perhaps authsome-mode-*
and pubsweet-validations-*
(e.g. authsome-mode-book
and pubsweet-validations-core
) would make sense as modules that could be imported where needed?