XpmBuildConfiguration class
An individual xpm build configuration.
Signature
export declare class XpmBuildConfiguration
Remarks
Build configurations are initialised lazily and may inherit properties, dependencies, and actions from other configurations.
A configuration can exist in three states:
- Undefined: Name is known but instance not yet created.
- Instantiated: Object exists but not yet fully processed.
- Initialised: Inheritance resolved, properties evaluated, dependencies substituted, and actions prepared.
Inheritance is processed recursively with circular reference detection. Later inherited properties override earlier ones, and local properties override all inherited ones. Dependencies and actions are merged from all inherited configurations.
Constructors
|
Constructor |
Modifiers |
Description |
|---|---|---|
|
Constructs a build configuration instance. |
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
XpmActions | undefined |
The actions associated with this build configuration. | |
|
|
string |
(Optional) The resolved build folder relative path. | |
|
|
Set<string> |
Set of inherited configuration names for circular reference detection. | |
|
|
boolean |
Flag indicating whether the configuration has been initialised. | |
|
|
Logger |
The logger instance for output and diagnostics. | |
|
|
The variables used for substitution in this configuration. | ||
|
|
Retrieves the actions collection for this build configuration. | ||
|
|
string |
The build configuration name after substitution. | |
|
|
string |
Retrieves the build folder relative path for this configuration. | |
|
The resolved dependencies after substitutions. | |||
|
The resolved development dependencies after substitutions. | |||
|
string[] |
The list of inherited configuration names. | ||
|
|
boolean |
Indicates whether the configuration is hidden. | |
|
boolean |
Indicates whether this configuration originates from a template. | ||
|
The JSON build configuration content from package metadata. | |||
|
|
(Optional) The matrix parameter values for template-generated configurations. | ||
|
|
The parent build configurations collection. | ||
|
The resolved properties for this configuration. | |||
|
|
string |
(Optional) The template build configuration name, if derived from a template. |
Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
|
Computes the build folder relative path for this configuration. | |
|
| ||
|
|
Performs selective substitution on the inherits field only. | |
|
|
Performs template substitution on the entire build configuration JSON. | |
|
Completes the async initialisation of the build configuration. |
Generated via tsdoc2docusaurus 1.3.0-pre by API Extractor/Documenter 7.55.2.