@hyperfrontend/features/nx/executors/build

build

Nx build executor. A thin wrapper that builds a hyperfrontend feature connector by delegating to the SDK's headless hf build, run against the executing project's root directory. Registered via the package's executors.json.

Usage

{
  "targets": {
    "build": {
      "executor": "@hyperfrontend/features:build",
      "options": { "config": "./feature.config.json" }
    }
  }
}
OptionRequiredDescription
confignoPath to the feature config object.
outnoOutput directory for the built connector.
protocolnoSecurity envelope: none, v1, or v2.
namenoFeature name override.
versionnoFeature version override.
urlnoURL the generated connector loads the feature from.
contractnoPath to the contract file.

API Reference

Variables

§type

default

Build a hyperfrontend feature connector by delegating to the SDK's hf build.
Maps the executor options to headless CLI flags and runs the build against the executing project's root directory.