commercialhaskell / commercialhaskell/stack
`dot`\`ls dependencies` targets: respect project package components
Open
component: dot
component: ls dependencies
type: enhancement
- Dominant language
- Haskell
- Stars
- 4.1k
- Forks
- 850
- Avg merge
- 10h 37m
- Merged PRs (30d)
- 4
Description
### General summary/comments (optional)
`stack ls dependencies [TARGET] --depth 1` also return packages which are not in scope
### Steps to reproduce
Use project which has library and exe component.
Ask for `--depth 1` dependencies of exe and it will also return the packages of library.
Those packages are not in scope for exe. Only for library.
### Stack version
1.7..1
Contributor guide
Assessment
This issue has not been assessed yet.