Socket
Book a DemoInstallSign in
Socket

canadyarn

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

canadyarn

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

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

canadyarn

npm-badge license-badge jw-badge

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

Installation

  • Install canadyarn.

    $ yarn add --dev canadyarn
    
  • 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"
        }
    }
    
  • Run canadyarn.

    $ yarn run canadyarn
    

FAQs

Package last updated on 21 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts