UNPKG

@sentry/wizard

Version:

Sentry wizard helping you to configure your project

16 lines (15 loc) 748 B
import { SourceMapUploadToolConfigurationOptions } from './types'; type configureSentryCLIOptions = SourceMapUploadToolConfigurationOptions & { defaultArtifactPath?: string; }; export declare function configureSentryCLI(options: configureSentryCLIOptions, configureSourcemapGenerationFlow?: () => Promise<void>, skipValidation?: boolean): Promise<void>; export declare function setupNpmScriptInCI(): Promise<void>; /** * Add the sentry:sourcemaps command to the prod build command in the package.json * - Detect the user's build command * - Append the sentry:sourcemaps command to it * * @param packageDotJson The package.json which will be modified. */ export declare function addSentryCommandToBuildCommand(): Promise<void>; export {};