dsherret / dsherret/ts-morph

[Question] how to automatically get JavaScript source files by package.json file ?

Open
#928 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
6.2k
Forks
238
Avg merge
2m
Merged PRs (30d)
1

Description

Hi, I'm working on some TS/JS projects, and this tool really helped me, in the meantime I'm working with projects that may contain JS/TS or both of them, on that purpose I hope to find a way of getting JS files on project by passing the package.json path the same way as for tsconfig.json (I haven't found any function like addSourceFilesFromPackage as addSourceFilesFromTsConfig), currently I'm adding files using glob patterns.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.