How to collect package usage
In a monorepo
- Run Pure Index with the
--collect-usages
flag
- Depending on the project, you may need to configure Pure Index.
In different repositories
- Use the collectUsages function from JavaScript API.
--collect-usages
flag