ensure all dependencies are declared in package.json or defined locally
[ ] deps check [package] [--no-missing]
ensure all dependencies for package are declared in package.json or defined locally
[ ] deps check [--no-extraneous]
ensure all dependencies in package.json are used in a package
[ ] deps check [--validate-dev]
ensure no devDependencies in package.json are used in a package
I'm on the fence for --no-extraneous and --validate-dev. Splitting dep types in a monorepo gets weird, because if you have e.g. test helpers in packages/node_modules then their dependencies need to be prod deps, not dev deps.
I'm on the fence for
--no-extraneous
and--validate-dev
. Splitting dep types in a monorepo gets weird, because if you have e.g. test helpers inpackages/node_modules
then their dependencies need to be prod deps, not dev deps.