Search
Preparing search index...
The search index is not available
Yarn API
Home
Configuration
Features
CLI
Advanced
GitHub
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
plugin-nm
NodeModulesLinker
Globals
{"Generic Packages":{"@yarnpkg/core":"yarnpkg_core","@yarnpkg/fslib":"yarnpkg_fslib","@yarnpkg/json-proxy":"yarnpkg_json_proxy","@yarnpkg/libzip":"yarnpkg_libzip","@yarnpkg/nm":"yarnpkg_nm","@yarnpkg/parsers":"yarnpkg_parsers","@yarnpkg/pnp":"yarnpkg_pnp","@yarnpkg/pnpify":"yarnpkg_pnpify","@yarnpkg/sdks":"yarnpkg_sdks","@yarnpkg/shell":"yarnpkg_shell"},"Yarn Packages":{"@yarnpkg/builder":"yarnpkg_builder","@yarnpkg/cli":"yarnpkg_cli"},"Default Plugins":{"@yarnpkg/plugin-compat":"plugin_compat","@yarnpkg/plugin-dlx":"plugin_dlx","@yarnpkg/plugin-essentials":"plugin_essentials","@yarnpkg/plugin-file":"plugin_file","@yarnpkg/plugin-git":"plugin_git","@yarnpkg/plugin-github":"plugin_github","@yarnpkg/plugin-http":"plugin_http","@yarnpkg/plugin-init":"plugin_init","@yarnpkg/plugin-link":"plugin_link","@yarnpkg/plugin-nm":"plugin_nm","@yarnpkg/plugin-npm":"plugin_npm","@yarnpkg/plugin-npm-cli":"plugin_npm_cli","@yarnpkg/plugin-pack":"plugin_pack","@yarnpkg/plugin-patch":"plugin_patch","@yarnpkg/plugin-pnp":"plugin_pnp"},"Contrib Plugins":{"@yarnpkg/plugin-constraints":"plugin_constraints","@yarnpkg/plugin-exec":"plugin_exec","@yarnpkg/plugin-interactive-tools":"plugin_interactive_tools","@yarnpkg/plugin-stage":"plugin_stage","@yarnpkg/plugin-typescript":"plugin_typescript","@yarnpkg/plugin-version":"plugin_version","@yarnpkg/plugin-workspace-tools":"plugin_workspace_tools"}}
Class NodeModulesLinker
Hierarchy
NodeModulesLinker
Implements
Linker
Properties
installStateCache
Methods
findPackageLocation
findPackageLocator
isEnabled
makeInstaller
supportsPackage
Properties
Private
install
State
Cache
install
State
Cache
:
Map
<
string
,
Promise
<
InstallState
|
null
>
>
= new Map()
Methods
find
Package
Location
find
Package
Location
(
locator
:
Locator
, opts
:
LinkOptions
)
:
Promise
<
string
&
object
>
Parameters
locator:
Locator
opts:
LinkOptions
Returns
Promise
<
string
&
object
>
find
Package
Locator
find
Package
Locator
(
location
:
PortablePath
, opts
:
LinkOptions
)
:
Promise
<
null
|
Locator
>
Parameters
location:
PortablePath
opts:
LinkOptions
Returns
Promise
<
null
|
Locator
>
Private
is
Enabled
is
Enabled
(
opts
:
MinimalLinkOptions
)
:
boolean
Parameters
opts:
MinimalLinkOptions
Returns
boolean
make
Installer
make
Installer
(
opts
:
LinkOptions
)
:
NodeModulesInstaller
Parameters
opts:
LinkOptions
Returns
NodeModulesInstaller
supports
Package
supports
Package
(
pkg
:
Package
, opts
:
MinimalLinkOptions
)
:
boolean
Parameters
pkg:
Package
opts:
MinimalLinkOptions
Returns
boolean
plugin-
nm
"@yarnpkg/core"
Dir
Entry
Kind
Node
Modules
Mode
Node
Modules
Installer
Node
Modules
Linker
install
State
Cache
find
Package
Location
find
Package
Locator
is
Enabled
make
Installer
supports
Package
Pnp
Loose
Installer
Pnp
Loose
Linker
Bin
Symlink
Map
Custom
Package
Data
Dir
Entry
Install
State
Load
Manifest
Location
Node
Location
Root
Location
Tree
Locator
Key
Unbox
Promise
CONCURRENT_
OPERATION_
LIMIT
DOT_
BIN
INSTALL_
STATE_
FILE
NODE_
MODULES
STATE_
FILE_
VERSION
are
Real
Locators
Equal
atomic
File
Write
build
Location
Tree
copy
File
Promise
copy
Promise
create
Bin
Symlink
Map
extract
Custom
Package
Data
find
Install
State
get
Global
Hardlinks
Store
is
Link
Locator
parse
Location
persist
Bin
Symlinks
persist
Node
Modules
refine
Node
Modules
Roots
remove
Dir
symlink
Promise
write
Install
State
plugin
Generated using
TypeDoc