Skip to content

ManifestSettings ​

Discovery settings accepted by CLIBuilder.manifest.

Signatures ​

ts
interface ManifestSettings {}

Members ​

Properties ​

files ​

Candidate manifest filenames in priority order — NOT npm's files publish globs. Discovery probes each name per directory and takes the first that parses.

ts
files?: readonly string[];

from ​

Anchor discovery to a file/URL/path instead of cwd. Normally, pass import.meta.url. Pass import.meta whole as a compatibility form when a project tsconfig.json lib override drops the runtime's ambient ImportMeta extras and direct .url access does not type-check.

ts
from?: string | ImportMeta | URL;

inferName ​

Infer the CLI name from bin keys or name.

ts
inferName?: InferNameOption;

See Also ​

Released under the MIT License.