Describe the bug
Every dependency in the build-info module has a list of scopes such as Development / Production.
The bug appears for the following NPM projects:
- A:1 - Production direct dependency.
- B:1 - Development direct dependency which uses A:1 as a dependency.
After generating the build-info, the dependency A:1 will have a Production scope.
The right result should include Production and Development.