Remove dead exports found by knip

- Un-export HOMEBREW_COMMANDS, systemSetupHost, ToolKind, BinaryArchitecture,
  HopperDiagnostic -- only consumed within their own files
- Remove unused HopperUnavailableError class (never instantiated)
- Reformat knip.json entry/project arrays to multi-line
This commit is contained in:
morluto committed 2026-07-12 10:20:45 +08:00
1 parent 4c9224990e
commit 4dec415fc8
7 files changed
+17 -18

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ import { BinaryTargetError } from "./errors.js";
import { err, ok, type Result } from "./result.js";
/** CPU families understood by the supported executable loaders. */
export type BinaryArchitecture = "x86" | "x86_64" | "arm" | "arm64";
type BinaryArchitecture = "x86" | "x86_64" | "arm" | "arm64";
/**
* A canonical local target plus deterministic Hopper loader arguments.
* Explicit loader and architecture flags prevent Hopper from presenting modal