@sentry/bundler-plugin-core
Advanced tools
Comparing version 2.0.0-alpha.6 to 2.0.0-alpha.7
@@ -20,11 +20,12 @@ import { Logger } from "./sentry/logger"; | ||
rewriteSources?: ((source: string, map: any) => string) | undefined; | ||
deleteAfterUpload?: string | string[] | undefined; | ||
deleteFilesAfterUpload?: string | string[] | undefined; | ||
} | undefined; | ||
release: { | ||
name: string | undefined; | ||
inject: boolean; | ||
create: boolean; | ||
finalize: boolean; | ||
vcsRemote: string; | ||
cleanArtifacts: boolean; | ||
name?: string | undefined; | ||
dist?: string | undefined; | ||
vcsRemote: string; | ||
setCommits?: (({ | ||
@@ -51,3 +52,2 @@ auto: true; | ||
} | undefined; | ||
cleanArtifacts: boolean; | ||
uploadLegacySourcemaps?: string | import("./types").IncludeEntry | (string | import("./types").IncludeEntry)[] | undefined; | ||
@@ -54,0 +54,0 @@ }; |
import { UnpluginOptions } from "unplugin"; | ||
import { Logger } from "../sentry/logger"; | ||
import { Hub, NodeClient } from "@sentry/node"; | ||
interface RewriteSourcesHook { | ||
(source: string, map: any): string; | ||
} | ||
interface DebugIdUploadPluginOptions { | ||
@@ -10,5 +13,7 @@ logger: Logger; | ||
dist?: string; | ||
rewriteSourcesHook?: RewriteSourcesHook; | ||
handleRecoverableError: (error: unknown) => void; | ||
sentryHub: Hub; | ||
sentryClient: NodeClient; | ||
deleteFilesAfterUpload?: string | string[]; | ||
sentryCliOptions: { | ||
@@ -24,4 +29,4 @@ url: string; | ||
} | ||
export declare function debugIdUploadPlugin({ assets, ignore, logger, releaseName, dist, handleRecoverableError, sentryHub, sentryClient, sentryCliOptions, }: DebugIdUploadPluginOptions): UnpluginOptions; | ||
export declare function prepareBundleForDebugIdUpload(bundleFilePath: string, uploadFolder: string, uniqueUploadName: string, logger: Logger): Promise<[void, void] | undefined>; | ||
export declare function debugIdUploadPlugin({ assets, ignore, logger, releaseName, dist, handleRecoverableError, sentryHub, sentryClient, sentryCliOptions, rewriteSourcesHook, deleteFilesAfterUpload, }: DebugIdUploadPluginOptions): UnpluginOptions; | ||
export declare function prepareBundleForDebugIdUpload(bundleFilePath: string, uploadFolder: string, chunkIndex: number, logger: Logger, rewriteSourcesHook: RewriteSourcesHook): Promise<[void, void] | undefined>; | ||
export {}; |
@@ -105,4 +105,2 @@ export interface Options { | ||
* Defaults to making all sources relative to `process.cwd()` while building. | ||
* | ||
* @hidden Not yet implemented. | ||
*/ | ||
@@ -116,6 +114,4 @@ rewriteSources?: (source: string, map: any) => string; | ||
* Use the `debug` option to print information about which files end up being deleted. | ||
* | ||
* @hidden Not yet implemented. | ||
*/ | ||
deleteAfterUpload?: string | string[]; | ||
deleteFilesAfterUpload?: string | string[]; | ||
}; | ||
@@ -122,0 +118,0 @@ /** |
{ | ||
"name": "@sentry/bundler-plugin-core", | ||
"version": "2.0.0-alpha.6", | ||
"version": "2.0.0-alpha.7", | ||
"description": "Sentry Bundler Plugin Core", | ||
@@ -70,4 +70,4 @@ "repository": "git://github.com/getsentry/sentry-javascript-bundler-plugins.git", | ||
"@rollup/plugin-replace": "^4.0.0", | ||
"@sentry-internal/eslint-config": "2.0.0-alpha.6", | ||
"@sentry-internal/sentry-bundler-plugin-tsconfig": "2.0.0-alpha.6", | ||
"@sentry-internal/eslint-config": "2.0.0-alpha.7", | ||
"@sentry-internal/sentry-bundler-plugin-tsconfig": "2.0.0-alpha.7", | ||
"@swc/core": "^1.2.205", | ||
@@ -74,0 +74,0 @@ "@swc/jest": "^0.2.21", |
@@ -13,6 +13,6 @@ <p align="center"> | ||
- [Rollup](https://github.com/getsentry/sentry-javascript-bundler-plugins/tree/main/packages/rollup-plugin) | ||
- [Vite](https://github.com/getsentry/sentry-javascript-bundler-plugins/tree/main/packages/vite-plugin) | ||
- [esbuild](https://github.com/getsentry/sentry-javascript-bundler-plugins/tree/main/packages/esbuild-plugin) | ||
- [Webpack](https://github.com/getsentry/sentry-javascript-bundler-plugins/tree/main/packages/webpack-plugin) | ||
- [Rollup](https://www.npmjs.com/package/@sentry/rollup-plugin) | ||
- [Vite](https://www.npmjs.com/package/@sentry/vite-plugin) | ||
- [esbuild](https://www.npmjs.com/package/@sentry/esbuild-plugin) | ||
- [Webpack](https://www.npmjs.com/package/@sentry/webpack-plugin) | ||
@@ -31,5 +31,3 @@ ### Features | ||
- [Sentry Documentation](https://docs.sentry.io/quickstart/) | ||
- [Troubleshooting Sourcemaps](https://docs.sentry.io/platforms/javascript/sourcemaps/troubleshooting_js/) | ||
- [Sentry CLI](https://docs.sentry.io/learn/cli/) | ||
- [Sentry Discord](https://discord.gg/Ww9hbqr) | ||
- [Sentry Stackoverflow](http://stackoverflow.com/questions/tagged/sentry) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
357771
3771
32