Skip to content

Support PnP strategy in Yarn Berry #259

Open
@keynmol

Description

@keynmol

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

  1. Clone https://github.com/grafana/grafana
  2. cd packages/grafana-ui && docker run -it -v (pwd):/sources -w /sources sourcegraph/scip-typescript:latest scip-typescript index

considerations

  1. 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions