UNPKG

@sentry/wizard

Version:

Sentry wizard helping you to configure your project

18 lines (17 loc) 1.19 kB
import type { PackageDotJson } from '../utils/package-json'; export declare function getRouteFilePath(filename: string, isTS: boolean): string; export declare function tryRevealAndGetManualInstructions(missingFilename: string, filePath: string): Promise<boolean>; export declare function runReactRouterReveal(force?: boolean): void; export declare function isReactRouterV7(packageJson: PackageDotJson): boolean; export declare function initializeSentryOnEntryClient(dsn: string, enableTracing: boolean, enableReplay: boolean, enableLogs: boolean, isTS: boolean): Promise<void>; export declare function instrumentRootRoute(isTS: boolean): Promise<void>; export declare function createServerInstrumentationFile(dsn: string, selectedFeatures: { performance: boolean; replay: boolean; logs: boolean; profiling: boolean; }): string; export declare function updatePackageJsonScripts(): Promise<void>; export declare function instrumentSentryOnEntryServer(isTS: boolean): Promise<void>; export declare function configureReactRouterVitePlugin(orgSlug: string, projectSlug: string): Promise<void>; export declare function configureReactRouterConfig(isTS: boolean): Promise<void>;