Skip to content

InferNameOption

CLI-name inference control for ManifestSettings.inferName.

  • false (or omitted): do not infer the name.
  • true: infer, stripping a leading @scope/ from the name fallback.
  • { scope: 'keep' }: infer, keeping the full scoped name.
  • { scope: 'strip' }: infer, stripping the scope (explicit form of true).

scope is required in the object form: an empty {} is rejected so that an options object can never silently enable inference (use true for that).

Signatures

ts
type InferNameOption = boolean | { scope: "keep" | "strip"; };

See Also

Released under the MIT License.