pub fn parse_package_json_catalog_data(source: &str) -> PnpmCatalogDataExpand description
Parse Bun catalog sections from a root package.json file.
Bun accepts workspaces.catalog / workspaces.catalogs and the same
catalog / catalogs keys at package.json top level. The nested
workspaces form is preferred when both forms exist for the same section.