@sentry/wizard
Version:
Sentry wizard helping you to configure your project
12 lines (11 loc) • 611 B
TypeScript
import { SourceMapUploadToolConfigurationOptions } from './types';
export declare function configureSentryCLI(options: SourceMapUploadToolConfigurationOptions, configureSourcemapGenerationFlow?: () => Promise<void>): 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>;