UNPKG

@pakk/core

Version:

The core library of pakk, that can manage your package.json for library development.

14 lines 786 B
import { PackageJson, RegularWorkspacePackage } from '@alexaegis/workspace-tools'; import { NormalizedPakkContext } from '../../internal/pakk.class.options.js'; import { PackageExaminationResult, PakkFeature } from '../pakk-feature.type.js'; import { AutoSortPackageJsonOptions } from './auto-sort-package-json.class.options.js'; export declare class AutoSort implements PakkFeature { readonly order = 7; private readonly context; private readonly options; private sortingNormalizer; constructor(context: NormalizedPakkContext, options?: AutoSortPackageJsonOptions); examinePackage(): Promise<Partial<PackageExaminationResult>>; postprocess(workspacePackage: RegularWorkspacePackage): PackageJson; } //# sourceMappingURL=auto-sort-package-json.class.d.ts.map