UNPKG

@alexaegis/workspace-tools

Version:

Tools for working with javascript workspaces

12 lines 561 B
import { ObjectKeyOrder } from '@alexaegis/common'; /** * The types field in the exports object has to be the first one. This * sortingPreference normalizer ensures that. * * It's also recommended to have the 'default' key be the last. This is also * ensured here. * * @returns a sortingPreference that will always be suited for packageJson files */ export declare const normalizeSortingPreferenceForPackageJson: (sortingPreferences: ObjectKeyOrder) => ObjectKeyOrder; //# sourceMappingURL=normalize-sorting-preference-for-package-json.function.d.ts.map