Skip to main content

BuildConfigurations._namesSet property

Set of all build configuration names for duplicate detection.

Signature

protected readonly _namesSet: Set<string>;

Remarks

This set provides O(1) existence checks for configuration names, enabling efficient validation during template expansion to prevent duplicate configurations.

Duplicate scenarios detected:

  1. Explicit duplicates in package.json with identical names.
  2. Template expansion conflicts where different templates generate the same concrete configuration name.
  3. Conflicts between template-generated names and explicitly defined configuration names.

Detection occurs during BuildConfigurations.initialise(), throwing ConfigurationError when duplicates are found to ensure configuration name uniqueness.


Generated via tsdoc2docusaurus 1.3.2 by API Extractor/Documenter 7.57.2.