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

PnpmCustomData

PnpmCustomData: object

Type declaration

Functions

cleanNodeModules

getCustomDataKey

  • getCustomDataKey(): string

getNodeModulesListing

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

getNodeModulesLocation

  • getNodeModulesLocation(project: Project): string & object

getPackageLocation

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

getStoreLocation

  • getStoreLocation(project: Project): string & object

isPnpmVirtualCompatible

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

removeIfEmpty

Object literals

Const plugin

plugin: object

linkers

linkers: PnpmLinker[] = [PnpmLinker,]

Generated using TypeDoc