Skip to content

lokshunhung/canadyarn

Folders and files

NameName
Last commit message
Last commit date
Aug 21, 2020
Aug 21, 2020
Oct 2, 2020
Aug 21, 2020
Aug 21, 2020
Oct 2, 2020
Aug 21, 2020
Oct 2, 2020
Oct 2, 2020
Aug 21, 2020
Oct 2, 2020
Aug 21, 2020
Aug 21, 2020
Aug 21, 2020
Oct 24, 2023
Aug 21, 2020
Jan 26, 2024

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