Skip to content

lokshunhung/canadyarn

Repository files navigation

canadyarn

npm-badge license-badge jw-badge

🍁 Check specific packages to have a single resolved version in yarn.lock

Installation

  1. Install canadyarn.

    $ yarn add --dev canadyarn
  1. Add the key "checkSingleVersionDependencies" to package.json file,
    specify the names of packages to check as a string array,
    and add canadyarn as a runnable script.

    Example:

    {
        "checkSingleVersionDependencies": [
            "react",
            "react-native",
            "typescript"
        ],
        "scripts": {
            "canadyarn": "canadyarn"
        }
    }
  1. Run canadyarn.

    $ yarn run canadyarn

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •