Skip to content
This repository has been archived by the owner on Jun 15, 2020. It is now read-only.

A small node script to check dependency versions with yarn across multiple repos

Notifications You must be signed in to change notification settings

cultureamp/dependency-version-checker-archived

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dependency Version Checker

This is a CLI to check which version (or versions!) of a package are installed in various repos.

It uses the yarn.lock file in the repo as a source of truth.

Which repos does this check?

Setup

  1. Clone the repo.
  2. Run yarn install to install the dependencies.
  3. Create a Github Personal Access Token with repo permissions.
  4. Create a .envrc file, and set
export GITHUB_TOKEN="<YOUR PERSONAL ACCESS TOKEN HERE>"
  1. If you use direnv type direnv allow . to add this environment variable to your shell. Otherwise type source .envrc

Usage

yarn list-versions <package-name>
yarn list-versions react
yarn list-versions react react-dom
yarn list-versions @kaizen/component-library
yarn list-versions "@kaizen/*"
yarn list-versions "@kaizen/*" "@cultureamp/*"

About

A small node script to check dependency versions with yarn across multiple repos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%