0.0.3 • Published 3 years ago

@shopify/repo-package-stats v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@shopify/repo-package-stats

Generate a CSV file of repositories that install specific packages across the Shopify organisation. Find the total number of repositories that install @shopify/polaris, total contributors, repo creation date, service tier and more!

StatusOwnerHelp
Experimental@polaris-teamNew issue

How to use

To collect data from Grok and GitHub we need authentication tokens.

Minerva authentication

To acces the data in Grok we need a MINERVA_TOKEN for OAUTH. Visit grok.shopifycloud.com/search and get it from the cookies.

GitHub authentication

To access the repository creation date and total contributors we need a GH_PAT for authentication. Visit the settings page to create a personal access token. After created you must enable SSO.

Get started

Once you have your tokens you can run:

npx @shopify/repo-package-stats @shopify/polaris MINERVA_TOKEN GH_PAT