Config file for custom scan roots
Right now stacklit scans from the current directory. For monorepos or projects with non-standard layouts, it would be useful to define scan roots in a config file.
Something like a .stacklit.yaml:
roots: - services/api - services/worker - packages/shared
Each root gets its own section in the output. The dependency graph still connects them but the file tree is scoped per root.
Related to the monorepo discussion: https://github.com/glincker/stacklit/discussions/23
Fixed in #38. .stacklitrc.json now takes roots, include and exclude (gitignore style globs). Root and nested .gitignore files and .stacklitignore are honoured, and a root that escapes the repo is rejected. See USAGE.md for the full list of keys and the STACKLIT_* env overrides.