mirror of
https://github.com/ivabus/gui
synced 2025-06-07 15:50:27 +03:00

* remove unused components * remove pnpm * implementation of local dev pantry setup (#689)
8 lines
359 B
TypeScript
8 lines
359 B
TypeScript
import { hooks } from "@teaxyz/lib";
|
|
|
|
// Fetches the details for a package from the local pantry
|
|
export async function getPantryDetails(full_name: string) {
|
|
const packageYml = await hooks.usePantry().project(full_name).yaml();
|
|
const { ["display-name"]: display_name, entrypoint, provides } = packageYml;
|
|
return { display_name, entrypoint, provides };
|
|
}
|