Skip to content

Latest commit

 

History

History
75 lines (39 loc) · 1.55 KB

File metadata and controls

75 lines (39 loc) · 1.55 KB
hide_title true
custom_edit_url
pagination_prev
pagination_next

Home > @microsoft/rush-lib > YarnOptionsConfiguration

YarnOptionsConfiguration class

Options that are only used when the yarn package manager is selected.

Signature:

export declare class YarnOptionsConfiguration extends PackageManagerOptionsConfigurationBase 

Extends: PackageManagerOptionsConfigurationBase

Remarks

It is valid to define these options in rush.json even if the yarn package manager is not being used.

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the YarnOptionsConfiguration class.

Properties

Property

Modifiers

Type

Description

ignoreEngines

readonly

boolean

If true, then Rush will add the "--ignore-engines" option when invoking Yarn. This allows "rush install" to succeed if there are dependencies with engines defined in package.json which do not match the current environment.

The default value is false.