paragon/dependent-usage-analyzer
Adam Stankiewicz b2755fbdfd
build: update analyze-dependents base branch to next (#3372)
2024-12-18 12:32:32 -05:00
..
tools docs: switch scope of the package to `openedx` in docs (#2979) 2023-12-29 16:56:54 +02:00
utils docs: switch scope of the package to `openedx` in docs (#2979) 2023-12-29 16:56:54 +02:00
.gitignore
README.md
checkout-dependents.sh build: update analyze-dependents base branch to next (#3372) 2024-12-18 12:32:32 -05:00
index.js docs: switch scope of the package to `openedx` in docs (#2979) 2023-12-29 16:56:54 +02:00
package.json feat: added npm workspaces (#2190) 2023-04-24 10:15:20 +03:00

README.md

Analyzing Paragon Dependents

Generate Paragon component usage information within dependent projects with this command line tool. This tool uses babel to parse a series of javascript projects as an abstract syntax tree and walks through it to gather information about usage of Paragon components (version and file line numbers).

Usage

Make sure you're in this dependent-usage-analyzer directory, and then:

npm install
npm run analyze path/to/projects -- --out path/to/output.json

Note: This tool assumes that any package.json file found represents the root directory of a project to analyze.