Skip to main content

XpmPolicies.onlyStringDependencies property

Indicates whether dependencies are restricted to string-only notation.

Signature

onlyStringDependencies: boolean;

Remarks

Legacy behavior (before 0.16.0): dependencies could only be specified as strings (e.g., "@scope/package": "1.0.0").

Modern behavior (0.16.0+): dependencies can be specified as objects with additional metadata (e.g., platforms, repositories), providing richer dependency configuration.

Set to true for packages with minimumXpmRequired < 0.16.0.


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