@pnpm/plugin-commands-publishing
Version:
The pack and publish commands of pnpm
25 lines (24 loc) • 966 B
TypeScript
import { Config } from '@pnpm/config';
import { ProjectManifest } from '@pnpm/types';
import { PublishRecursiveOpts } from './recursivePublish';
export declare function rcOptionsTypes(): Pick<any, never>;
export declare function cliOptionsTypes(): {
'dry-run': BooleanConstructor;
json: BooleanConstructor;
recursive: BooleanConstructor;
};
export declare const commandNames: string[];
export declare function help(): string;
export declare function handler(opts: Omit<PublishRecursiveOpts, 'workspaceDir'> & {
argv: {
original: string[];
};
engineStrict?: boolean;
recursive?: boolean;
workspaceDir?: string;
} & Pick<Config, 'allProjects' | 'gitChecks' | 'ignoreScripts' | 'publishBranch'>, params: string[]): Promise<void>;
export declare function fakeRegularManifest(opts: {
engineStrict?: boolean;
dir: string;
workspaceDir: string;
}, fn: (publishManifest: ProjectManifest) => Promise<void>): Promise<void>;