import type { PluginConfig , VerifyConditionsContext } from './types' ; import { verifyCodeArtifact } from './verify-ca-auth' ; import AggregateError from 'aggregate-error' ; export async function verifyConditions ( pluginConfig , context ) { const errors = await verifyCodeArtifact ( pluginConfig , context ) ; if ( errors . length > 0 ) { throw new AggregateError ( errors ) ; } }