UNPKG

@pakk/core

Version:

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

19 lines 1.01 kB
import { PackageJson, WorkspacePackage } from '@alexaegis/workspace-tools'; import { NormalizedPakkContext } from '../../index.js'; import { PackageExportPathContext } from '../export/package-export-path-context.interface.js'; import { PackageExaminationResult, PakkFeature } from '../pakk-feature.type.js'; /** * Automatically copies the license file to the outDir so it can be part * of the distributed package. It uses the license file you defined in the * root of your project. Or if you wish to override it, place one into * the packages folder. */ export declare class AutoCopyLicense implements PakkFeature { readonly order = 4; private readonly context; private licensePath; constructor(context: NormalizedPakkContext, _options: unknown); examinePackage(workspacePackage: WorkspacePackage): Partial<PackageExaminationResult>; process(_packageJson: PackageJson, pathContext: PackageExportPathContext): Promise<void>; } //# sourceMappingURL=auto-copy-license.class.d.ts.map