Skip to main content

XpmPolicies.shareNpmDependencies property

Indicates whether npm dependencies are shared across installations.

Signature

shareNpmDependencies: boolean;

Remarks

Legacy behavior (before 0.14.0): npm dependencies were shared in a global location, similar to how npm itself works with global node_modules.

Modern behavior (0.14.0+): npm dependencies are installed locally per xpm package, providing better isolation and avoiding version conflicts.

Set to true for packages with minimumXpmRequired < 0.14.0.


Generated via tsdoc2docusaurus 1.3.0-pre by API Extractor/Documenter 7.55.2.