Options
All
  • Public
  • Public/Protected
  • All
Menu

Package plugin-constraints

@yarnpkg/plugin-constraints

This plugin adds support for constraints to Yarn.

Install

yarn plugin import constraints

Type aliases

EnforcedDependency

EnforcedDependency: object

Type declaration

EnforcedField

EnforcedField: object

Type declaration

  • fieldPath: string
  • fieldValue: string | null
  • workspace: Workspace

Functions

linkProjectToSession

  • linkProjectToSession(session: pl.type.Session, project: Project): void

Object literals

Const plugin

plugin: object

commands

commands: (ConstraintsQueryCommand | ConstraintsSourceCommand | ConstraintsCheckCommand)[] = [queryConstraints,sourceConstraints,constraints,]

configuration

configuration: object

constraintsPath

constraintsPath: object

default

default: string = `./constraints.pro`

description

description: string = `The path of the constraints file.`

type

type: ABSOLUTE_PATH = SettingsType.ABSOLUTE_PATH

Generated using TypeDoc