Skip to main content

Policies.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.2 by API Extractor/Documenter 7.57.2.