Skip to main content

Crate pnpm_config

Crate pnpm_config 

Source

Structs§

AuditConfig
Settings for the pnpm audit command. See more: https://pnpm.io/settings#auditconfig
ExecutionEnv
Instructions for the runtime, such as the node version to use. See more: https://pnpm.io/settings#executionenvnodeversion
PackageExtension
Package extensions offer a way to extend the existing package definitions with additional information. For example, if react-redux should have react-dom in its peerDependencies but it has not, it is possible to patch react-redux using packageExtensions. See more: https://pnpm.io/settings#packageextensions
PeerDependencyMeta
When a user installs your package, warnings are emitted if packages specified in “peerDependencies” are not already installed. The “peerDependenciesMeta” field serves to provide more information on how your peer dependencies are utilized. Most commonly, it allows peer dependencies to be marked as optional. Metadata for this field is specified with a simple hash of the package name to a metadata object.
PeerDependencyRules
Rules for peer dependencies. See more: https://pnpm.io/settings#peerdependencyrules
PnpmWorkspace
A struct representing a pnpm-workspace.yaml config.
SupportedArchitectures
Specifies architectures for which you’d like to install optional dependencies, even if they don’t match the architecture of the system running the install. See more: https://pnpm.io/settings#supportedarchitectures
UpdateConfig
Configuration for package updates. See more: https://pnpm.io/settings#updateconfig

Enums§

CatalogMode
Controlls if and how dependencies are added to the default catalog, when running pnpm add. See more: https://pnpm.io/settings#catalogmode
Color
Controls colors in the output. See more: https://pnpm.io/settings#no-color
LinkWorkspacePackages
If this is enabled, locally available packages are linked to node_modules instead of being downloaded from the registry. See more: https://pnpm.io/settings#linkworkspacepackages
LogLevel
Any logs at or higher than the given level will be shown. See more: https://pnpm.io/settings#loglevel
NodeLinker
Defines what linker should be used for installing Node packages. See more: https://pnpm.io/settings#nodelinker
PackageImportMethod
Controls the way packages are imported from the store (if you want to disable symlinks inside node_modules, then you need to change the nodeLinker setting, not this one). See more: https://pnpm.io/settings#packageimportmethod
ResolutionMode
Determines how pnpm resolves dependencies. See more: https://pnpm.io/settings#resolutionmode
SavePrefix
Configure how versions of packages installed to a package.json file get prefixed. See more: https://pnpm.io/settings#saveprefix
SaveWorkspaceProtocol
This setting controls how dependencies that are linked from the workspace are added to package.json. See more: https://pnpm.io/settings#saveworkspaceprotocol
VerifyDepsBeforeRun
This setting allows the checking of the state of dependencies before running scripts. See more: https://pnpm.io/settings#verifydepsbeforerun