Spracherkennung für: .ts vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]
import { listChannelCatalogEntries } from "../../plugins/channel-catalog-registry.js";
import { resolveBundledChannelRootScope } from "./bundled-root.js";
const bundledChannelPluginIdsByRoot = new Map<string, string[]>();
export function listBundledChannelPluginIdsForRoot(
packageRoot: string,
env: NodeJS.ProcessEnv = process.env,
): string[] {
const cached = bundledChannelPluginIdsByRoot.get(packageRoot);
if (cached) {
return [...cached];
}
const loaded = listChannelCatalogEntries({ origin: "bundled", env })
.map((entry) => entry.pluginId)
.toSorted((left, right) => left.localeCompare(right));
bundledChannelPluginIdsByRoot.set(packageRoot, loaded);
return [...loaded];
}
export function listBundledChannelPluginIds(): string[] {
return listBundledChannelPluginIdsForRoot(resolveBundledChannelRootScope().cacheKey);
}
¤ Dauer der Verarbeitung: 0.16 Sekunden
(vorverarbeitet am 2026-04-27)
¤
*© Formatika GbR, Deutschland