Sibling

tcmts.cli.pack.Sibling · #mruqm666 · type

Another package of the codebase, and what its releases export.

export interface Sibling {
  name: string;
  /** its own definitions (hash → name), where this package is packed from */
  owned: Map<string, string>;
  /** what it exports as it is here, by hash: the rest of what it owns, a package using it carries */
  exports: Set<string>;
  /** its releases, newest first: what each exports, by hash */
  releases: { version: string; exported: Map<string, { subpath: string; name: string }> }[];
}

used by