Socket
Book a DemoInstallSign in
Socket

@kadena-dev/rush-fix-versions

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kadena-dev/rush-fix-versions

Tool to assist with making consistent versions across rush monorepo

latest
npmnpm
Version
0.0.7
Version published
Maintainers
2
Created
Source

@kadena-dev/rush-fix-versions

Tool to assist with making consistent versions across rush monorepo

kadena.js logo

Package allows to align versions to align with ensureConsistentVersions=true option in rush.json

Integrate with rush

To use this as a command (e.g. rush fix-versions) you can add this as a autoinstalled package and add fix-versions command to the command-line.json.

For reference see maintaining autoinstallers

  • initialize the autoinstaller
    rush init-autoinstaller --name rush-fix-versions
    
  • add @kadena-dev/rush-fix-versions to the autoinstallers/rush-fix-versions/package.json
  • update the lockfile for the autoinstaller
    cd common/autoinstallers/rush-fix-versions
    rush update-autoinstaller --name rush-fix-versions
    
  • add the fix-versions command to command-line.json
    {
      "commandKind": "global",
      "name": "fix-versions",
      "summary": "Runs fix-versions to get consistent versions across projects",
      "safeForSimultaneousRushProcesses": false,
      "autoinstallerName": "rush-fix-versions",
      // This will invoke ./common/autoinstallers/rush-fix-versions/node_modules/.bin/rush-fix-versions
      "shellCommand": "rush-fix-versions"
    },
    
  • Now execute rush fix-versions and it'll present you the versions that are misaligned

Keywords

rush

FAQs

Package last updated on 04 Aug 2023

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