UNPKG

@salesforce/plugin-release-management

Version:
32 lines (31 loc) 1.35 kB
import { FlagsConfig, SfdxCommand } from '@salesforce/command'; /** * The functionality of this command is taken entirely from https://github.com/salesforcecli/sfdx-cli/blob/v7.109.0/scripts/verify-tarballs */ export default class Verify extends SfdxCommand { static readonly description: string; static readonly examples: string[]; static readonly flagsConfig: FlagsConfig; private baseDir; private step; private totalSteps; run(): Promise<void>; execute(msg: string, validate: () => Promise<boolean>): Promise<boolean>; ensureNoWebDriverIO(): Promise<void>; ensureNoHerokuCliUtilNyc(): Promise<void>; /** * Ensure that the path lengths in the build tree are as windows safe as possible. * * The check fails if the path lengths DO NOT allow for a username longer than the --windows-username-buffer * * Warnings will be emitted for any path that does not allow for a username longer than 48 characters */ ensureWindowsPathLengths(): Promise<void>; ensureApexNode(): Promise<void>; ensurePluginGenerateTestTemplates(): Promise<void>; ensureTemplatesCommands(): Promise<void>; ensureNoDistTestsOrMaps(): Promise<void>; ensureNoUnexpectedFiles(): Promise<void>; ensureMdMessagesExist(): Promise<void>; ensureSfIsIncluded(): Promise<void>; }