Open
Description
context
In some cases if you have "extends": "@package"
in tsconfig.json
, auto-indexer doesn't work, failing with, for example, whereas building normally works:
error TS6053: File '@grafana/tsconfig' not found.
error: no files got indexed. To fix this problem, make sure that the TypeScript projects ["/sources"] contain input files or reference other projects.
repro
Quickest is
- Clone https://github.com/grafana/grafana
cd packages/grafana-ui && docker run -it -v (pwd):/sources -w /sources sourcegraph/scip-typescript:latest scip-typescript index
considerations
- It's not that
extends
doesn't work at all - the database for scip-typescript itself is perfectly indexable and it uses a shared config as well