Options
All
  • Public
  • Public/Protected
  • All
Menu

Package plugin-pnpm

@yarnpkg/plugin-pnpm

This plugin adds support for installing packages using symlinks, following a strategy inspired from the pnpm package manager.

Install

This plugin is included by default in Yarn.

Type aliases

Deferred

Deferred: object

Type declaration

  • promise: Promise<void>
  • reject: function
      • Parameters

        Returns void

  • resolve: function
      • (): void
      • Returns void

PnpmCustomData

PnpmCustomData: object

Type declaration

  • locatorByPath: Map<string, string>

Functions

getCustomDataKey

  • getCustomDataKey(): string

getNodeModulesListing

  • getNodeModulesListing(nmPath: PortablePath): Promise<Map<string & object, Dirent & object>>

getPackageLocation

  • getPackageLocation(locator: Locator, __namedParameters: object): string & object

getStoreLocation

  • getStoreLocation(project: Project): string & object

isPnpmVirtualCompatible

  • isPnpmVirtualCompatible(locator: Locator, __namedParameters: object): boolean

makeDeferred

Object literals

Const plugin

plugin: object

linkers

linkers: PnpmLinker[] = [PnpmLinker,]

Generated using TypeDoc