VulcanJS / vulcan-npm

The full-stack JavaScript App Framework
https://vulcan-docs.vercel.app
MIT License
31 stars 8 forks source link

Check correct dependencies between local packages in Lerna #49

Closed eric-burel closed 3 years ago

eric-burel commented 3 years ago

Is your feature request related to a problem? Please describe. When developping Vulcan NPM, all local packages are known by other packages. It makes it difficult to detect when there is a missing dependency. For instance, say that @vulcanjs/graphql depends on @vulcanjs/i18n. During development, you won't have any problem, even if you forget to add the dependency to @vulcanjs/i18n in @vulcanjs/graphql package.json.

Describe the solution you'd like Find a way to detect missing dependencies as well as unused dependencies in a Lerna mono repo.

eric-burel commented 3 years ago

Fixed by adding a depcheck command that works with Lerna