mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-17 16:12:21 -06:00
7866ecae4b
* fix(release): accept npm 12 pack json * fix(release): share npm pack normalizer in plugin workflow
18 lines
400 B
TypeScript
18 lines
400 B
TypeScript
export type NpmPackBudgetResult = {
|
|
filename?: string;
|
|
unpackedSize?: number;
|
|
};
|
|
|
|
export type NpmPackBudgetResults =
|
|
| Iterable<NpmPackBudgetResult>
|
|
| NpmPackBudgetResult
|
|
| Record<string, NpmPackBudgetResult>;
|
|
|
|
export declare function collectPackUnpackedSizeErrors(
|
|
results: NpmPackBudgetResults,
|
|
options?: {
|
|
budgetBytes?: number;
|
|
missingDataMessage?: string;
|
|
},
|
|
): string[];
|