@sentry/wizard
Version:
Sentry wizard helping you to configure your project
29 lines (28 loc) • 994 B
TypeScript
import type { SourceMapUploadToolConfigurationOptions } from './types';
/**
* only exported for testing
*/
export declare const DIST_DIR: string;
export declare function configureWrangler(options: SourceMapUploadToolConfigurationOptions): Promise<void>;
/**
* only exported for testing
*/
export declare function getSentryCliCommand(options: SourceMapUploadToolConfigurationOptions & {
outDir: string;
}): string;
/**
* Takes care of inserting the necessary arguments into the deploy command.
* Ensures that existing arguments and values are kept and that the
* wrangler deploy command is valid.
*
* only exported for testing
*/
export declare function safeInsertArgsToWranglerDeployCommand(deployCommand: string, outDir: string): string | undefined;
/**
* only exported for testing
*/
export declare function findOutDir(deployCommand: string): string;
/**
* Exported for testing
*/
export declare function getWranglerDeployCommand(deployCommand: string): string | undefined;