Skip to content

Smarter auto-inference for JavaScript only repos #280

Open
@varungandhi-src

Description

@varungandhi-src

In some cases, we can still run into the problem where the current auto-inferred tsconfig.json doesn't actually index any JS files. Here's an auto-indexing log showing that:

+ '[' -n 2048 ']'
+ export NODE_OPTIONS=--max-old-space-size=2048
+ NODE_OPTIONS=--max-old-space-size=2048
+ scip-typescript index --infer-tsconfig
error: no files got indexed. To fix this problem, make sure that the TypeScript projects ["/data"] contain input files or reference other projects.

Can we be smarter in inferring the tsconfig.json to avoid this in more cases?

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