Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@microsoft/rush-lib

microsoft1.4mMIT5.153.1TypeScript support: included

A library for writing scripts that interact with the Rush tool

readme

@microsoft/rush-lib

This is a companion package for the Rush tool. See the @microsoft/rush package for details.

The rush-lib package implements the rush.json config file loader and some other helpful utilities. Tools that want to reuse this functionality can install rush-lib alone to avoid inadvertently adding another "rush" executable to the command-line path (which might interfere with the globally installed Rush).

The @microsoft/rush version number is always exactly equal to the @microsoft/rush-lib version number that it depends on.

API documentation for this package: https://rushjs.io/pages/advanced/api/

Rush is part of the Rush Stack family of projects.