@sentry/bundler-plugin-core 3.3.0 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +1534 -1459
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.mjs +1552 -1478
- package/dist/esm/index.mjs.map +1 -1
- package/dist/types/build-plugin-manager.d.ts +126 -0
- package/dist/types/build-plugin-manager.d.ts.map +1 -0
- package/dist/types/debug-id-upload.d.ts +5 -24
- package/dist/types/debug-id-upload.d.ts.map +1 -1
- package/dist/types/index.d.ts +10 -29
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/logger.d.ts.map +1 -0
- package/dist/types/options-mapping.d.ts +1 -1
- package/dist/types/options-mapping.d.ts.map +1 -1
- package/dist/types/sentry/telemetry.d.ts +2 -2
- package/dist/types/sentry/telemetry.d.ts.map +1 -1
- package/dist/types/utils.d.ts +1 -0
- package/dist/types/utils.d.ts.map +1 -1
- package/package.json +4 -4
- package/dist/types/plugins/release-management.d.ts +0 -40
- package/dist/types/plugins/release-management.d.ts.map +0 -1
- package/dist/types/plugins/sourcemap-deletion.d.ts +0 -16
- package/dist/types/plugins/sourcemap-deletion.d.ts.map +0 -1
- package/dist/types/plugins/telemetry.d.ts +0 -13
- package/dist/types/plugins/telemetry.d.ts.map +0 -1
- package/dist/types/sentry/logger.d.ts.map +0 -1
- /package/dist/types/{sentry/logger.d.ts → logger.d.ts} +0 -0
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { Options, SentrySDKBuildFlags } from "./types";
|
|
2
|
+
export type SentryBuildPluginManager = ReturnType<typeof createSentryBuildPluginManager>;
|
|
3
|
+
/**
|
|
4
|
+
* Creates a build plugin manager that exposes primitives for everything that a Sentry JavaScript SDK or build tooling may do during a build.
|
|
5
|
+
*
|
|
6
|
+
* The build plugin manager's behavior strongly depends on the options that are passed in.
|
|
7
|
+
*/
|
|
8
|
+
export declare function createSentryBuildPluginManager(userOptions: Options, bundlerPluginMetaContext: {
|
|
9
|
+
/**
|
|
10
|
+
* E.g. `webpack` or `nextjs` or `turbopack`
|
|
11
|
+
*/
|
|
12
|
+
buildTool: string;
|
|
13
|
+
/**
|
|
14
|
+
* E.g. `[sentry-webpack-plugin]` or `[@sentry/nextjs]`
|
|
15
|
+
*/
|
|
16
|
+
loggerPrefix: string;
|
|
17
|
+
}): {
|
|
18
|
+
/**
|
|
19
|
+
* A logger instance that takes the options passed to the build plugin manager into account. (for silencing and log level etc.)
|
|
20
|
+
*/
|
|
21
|
+
logger: import("./logger").Logger;
|
|
22
|
+
/**
|
|
23
|
+
* Options after normalization. Includes things like the inferred release name.
|
|
24
|
+
*/
|
|
25
|
+
normalizedOptions: {
|
|
26
|
+
org: string | undefined;
|
|
27
|
+
project: string | undefined;
|
|
28
|
+
authToken: string | undefined;
|
|
29
|
+
url: string;
|
|
30
|
+
headers: Record<string, string> | undefined;
|
|
31
|
+
debug: boolean;
|
|
32
|
+
silent: boolean;
|
|
33
|
+
errorHandler: ((err: Error) => void) | undefined;
|
|
34
|
+
telemetry: boolean;
|
|
35
|
+
disable: boolean;
|
|
36
|
+
sourcemaps: {
|
|
37
|
+
disable?: boolean | undefined;
|
|
38
|
+
assets?: string | string[] | undefined;
|
|
39
|
+
ignore?: string | string[] | undefined;
|
|
40
|
+
rewriteSources?: ((source: string, map: any) => string) | undefined;
|
|
41
|
+
filesToDeleteAfterUpload?: string | string[] | Promise<string | string[] | undefined> | undefined;
|
|
42
|
+
} | undefined;
|
|
43
|
+
release: {
|
|
44
|
+
name: string | undefined;
|
|
45
|
+
inject: boolean;
|
|
46
|
+
create: boolean;
|
|
47
|
+
finalize: boolean;
|
|
48
|
+
vcsRemote: string;
|
|
49
|
+
setCommits: false | (import("./types").SetCommitsOptions & {
|
|
50
|
+
shouldNotThrowOnFailure?: boolean | undefined; /**
|
|
51
|
+
* E.g. `[sentry-webpack-plugin]` or `[@sentry/nextjs]`
|
|
52
|
+
*/
|
|
53
|
+
}) | undefined;
|
|
54
|
+
dist?: string | undefined;
|
|
55
|
+
deploy?: {
|
|
56
|
+
env: string;
|
|
57
|
+
started?: string | number | undefined;
|
|
58
|
+
finished?: string | number | undefined;
|
|
59
|
+
time?: number | undefined;
|
|
60
|
+
name?: string | undefined;
|
|
61
|
+
url?: string | undefined;
|
|
62
|
+
} | undefined;
|
|
63
|
+
uploadLegacySourcemaps?: string | import("./types").IncludeEntry | (string | import("./types").IncludeEntry)[] | undefined;
|
|
64
|
+
};
|
|
65
|
+
bundleSizeOptimizations: {
|
|
66
|
+
excludeDebugStatements?: boolean | undefined;
|
|
67
|
+
excludeTracing?: boolean | undefined;
|
|
68
|
+
excludeReplayCanvas?: boolean | undefined;
|
|
69
|
+
excludeReplayShadowDom?: boolean | undefined;
|
|
70
|
+
excludeReplayIframe?: boolean | undefined;
|
|
71
|
+
excludeReplayWorker?: boolean | undefined;
|
|
72
|
+
} | undefined;
|
|
73
|
+
reactComponentAnnotation: {
|
|
74
|
+
enabled?: boolean | undefined;
|
|
75
|
+
ignoredComponents?: string[] | undefined;
|
|
76
|
+
} | undefined;
|
|
77
|
+
_metaOptions: {
|
|
78
|
+
telemetry: {
|
|
79
|
+
metaFramework: string | undefined;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
applicationKey: string | undefined;
|
|
83
|
+
moduleMetadata: import("./types").ModuleMetadata | import("./types").ModuleMetadataCallback | undefined;
|
|
84
|
+
_experiments: {
|
|
85
|
+
injectBuildInformation?: boolean | undefined;
|
|
86
|
+
} & Record<string, unknown>;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* Magic strings and their replacement values that can be used for bundle size optimizations. This already takes
|
|
90
|
+
* into account the options passed to the build plugin manager.
|
|
91
|
+
*/
|
|
92
|
+
bundleSizeOptimizationReplacementValues: SentrySDKBuildFlags;
|
|
93
|
+
/**
|
|
94
|
+
* Metadata that should be injected into bundles if possible. Takes into account options passed to the build plugin manager.
|
|
95
|
+
*/
|
|
96
|
+
bundleMetadata: Record<string, unknown>;
|
|
97
|
+
/**
|
|
98
|
+
* Contains utility functions for emitting telemetry via the build plugin manager.
|
|
99
|
+
*/
|
|
100
|
+
telemetry: {
|
|
101
|
+
/**
|
|
102
|
+
* Emits a `Sentry Bundler Plugin execution` signal.
|
|
103
|
+
*/
|
|
104
|
+
emitBundlerPluginExecutionSignal(): Promise<void>;
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* Will potentially create a release based on the build plugin manager options.
|
|
108
|
+
*
|
|
109
|
+
* Also
|
|
110
|
+
* - finalizes the release
|
|
111
|
+
* - sets commits
|
|
112
|
+
* - uploads legacy sourcemaps
|
|
113
|
+
* - adds deploy information
|
|
114
|
+
*/
|
|
115
|
+
createRelease(): Promise<void>;
|
|
116
|
+
/**
|
|
117
|
+
* Uploads sourcemaps using the "Debug ID" method. This function takes a list of build artifact paths that will be uploaded
|
|
118
|
+
*/
|
|
119
|
+
uploadSourcemaps(buildArtifactPaths: string[]): Promise<void>;
|
|
120
|
+
/**
|
|
121
|
+
* Will delete artifacts based on the passed `sourcemaps.filesToDeleteAfterUpload` option.
|
|
122
|
+
*/
|
|
123
|
+
deleteArtifacts(): Promise<void>;
|
|
124
|
+
createDependencyOnBuildArtifacts: () => () => void;
|
|
125
|
+
};
|
|
126
|
+
//# sourceMappingURL=build-plugin-manager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-plugin-manager.d.ts","sourceRoot":"","sources":["../../src/build-plugin-manager.ts"],"names":[],"mappings":"AAqBA,OAAO,EAAE,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAMvD,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAEzF;;;;GAIG;AACH,wBAAgB,8BAA8B,CAC5C,WAAW,EAAE,OAAO,EACpB,wBAAwB,EAAE;IACxB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;CACtB;IAoNC;;OAEG;;IAGH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;+DA/NH;;mBAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgOH;;;OAGG;;IAGH;;OAEG;;IAIH;;OAEG;;QAED;;WAEG;;;IAcL;;;;;;;;OAQG;;IA+GH;;OAEG;yCACwC,MAAM,EAAE;IAwLnD;;OAEG;;;EA0CN"}
|
|
@@ -1,32 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { Client } from "@sentry/types";
|
|
4
|
-
import { HandleRecoverableErrorFn } from "./types";
|
|
1
|
+
import { SentryBuildPluginManager } from "./build-plugin-manager";
|
|
2
|
+
import { Logger } from "./logger";
|
|
5
3
|
interface RewriteSourcesHook {
|
|
6
4
|
(source: string, map: any): string;
|
|
7
5
|
}
|
|
8
6
|
interface DebugIdUploadPluginOptions {
|
|
9
|
-
|
|
10
|
-
assets?: string | string[];
|
|
11
|
-
ignore?: string | string[];
|
|
12
|
-
releaseName?: string;
|
|
13
|
-
dist?: string;
|
|
14
|
-
rewriteSourcesHook?: RewriteSourcesHook;
|
|
15
|
-
handleRecoverableError: HandleRecoverableErrorFn;
|
|
16
|
-
sentryScope: Scope;
|
|
17
|
-
sentryClient: Client;
|
|
18
|
-
sentryCliOptions: {
|
|
19
|
-
url: string;
|
|
20
|
-
authToken: string;
|
|
21
|
-
org?: string;
|
|
22
|
-
project: string;
|
|
23
|
-
vcsRemote: string;
|
|
24
|
-
silent: boolean;
|
|
25
|
-
headers?: Record<string, string>;
|
|
26
|
-
};
|
|
27
|
-
createDependencyOnSourcemapFiles: () => () => void;
|
|
7
|
+
sentryBuildPluginManager: SentryBuildPluginManager;
|
|
28
8
|
}
|
|
29
|
-
export declare function createDebugIdUploadFunction({
|
|
9
|
+
export declare function createDebugIdUploadFunction({ sentryBuildPluginManager, }: DebugIdUploadPluginOptions): (buildArtifactPaths: string[]) => Promise<void>;
|
|
30
10
|
export declare function prepareBundleForDebugIdUpload(bundleFilePath: string, uploadFolder: string, chunkIndex: number, logger: Logger, rewriteSourcesHook: RewriteSourcesHook): Promise<void>;
|
|
11
|
+
export declare function defaultRewriteSourcesHook(source: string): string;
|
|
31
12
|
export {};
|
|
32
13
|
//# sourceMappingURL=debug-id-upload.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debug-id-upload.d.ts","sourceRoot":"","sources":["../../src/debug-id-upload.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"debug-id-upload.d.ts","sourceRoot":"","sources":["../../src/debug-id-upload.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,UAAU,kBAAkB;IAE1B,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,GAAG,MAAM,CAAC;CACpC;AAED,UAAU,0BAA0B;IAClC,wBAAwB,EAAE,wBAAwB,CAAC;CACpD;AAED,wBAAgB,2BAA2B,CAAC,EAC1C,wBAAwB,GACzB,EAAE,0BAA0B,wBACO,MAAM,EAAE,mBAG3C;AAED,wBAAsB,6BAA6B,CACjD,cAAc,EAAE,MAAM,EACtB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,MAAM,EACd,kBAAkB,EAAE,kBAAkB,iBAgDvC;AAgJD,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAMhE"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,41 +1,21 @@
|
|
|
1
1
|
import { TransformResult, UnpluginOptions } from "unplugin";
|
|
2
|
-
import { Logger } from "./
|
|
2
|
+
import { Logger } from "./logger";
|
|
3
3
|
import { Options, SentrySDKBuildFlags } from "./types";
|
|
4
4
|
interface SentryUnpluginFactoryOptions {
|
|
5
5
|
releaseInjectionPlugin: (injectionCode: string) => UnpluginOptions;
|
|
6
6
|
componentNameAnnotatePlugin?: (ignoredComponents?: string[]) => UnpluginOptions;
|
|
7
7
|
moduleMetadataInjectionPlugin: (injectionCode: string) => UnpluginOptions;
|
|
8
8
|
debugIdInjectionPlugin: (logger: Logger) => UnpluginOptions;
|
|
9
|
-
debugIdUploadPlugin: (upload: (buildArtifacts: string[]) => Promise<void>, logger: Logger, webpack_forceExitOnBuildComplete?: boolean) => UnpluginOptions;
|
|
9
|
+
debugIdUploadPlugin: (upload: (buildArtifacts: string[]) => Promise<void>, logger: Logger, createDependencyOnBuildArtifacts: () => () => void, webpack_forceExitOnBuildComplete?: boolean) => UnpluginOptions;
|
|
10
10
|
bundleSizeOptimizationsPlugin: (buildFlags: SentrySDKBuildFlags) => UnpluginOptions;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
14
|
-
* - Release injection
|
|
15
|
-
* - Sourcemaps upload
|
|
16
|
-
*
|
|
17
|
-
* Release injection:
|
|
18
|
-
* Per default the sentry bundler plugin will inject a global `SENTRY_RELEASE` into each JavaScript/TypeScript module
|
|
19
|
-
* that is part of the bundle. On a technical level this is done by appending an import (`import "sentry-release-injector";`)
|
|
20
|
-
* to all entrypoint files of the user code (see `transformInclude` and `transform` hooks). This import is then resolved
|
|
21
|
-
* by the sentry plugin to a virtual module that sets the global variable (see `resolveId` and `load` hooks).
|
|
22
|
-
* If a user wants to inject the release into a particular set of modules they can use the `releaseInjectionTargets` option.
|
|
23
|
-
*
|
|
24
|
-
* Source maps upload:
|
|
25
|
-
*
|
|
26
|
-
* The sentry bundler plugin will also take care of uploading source maps to Sentry. This
|
|
27
|
-
* is all done in the `writeBundle` hook. In this hook the sentry plugin will execute the
|
|
28
|
-
* release creation pipeline:
|
|
29
|
-
*
|
|
30
|
-
* 1. Create a new release
|
|
31
|
-
* 2. Upload sourcemaps based on `include` and source-map-specific options
|
|
32
|
-
* 3. Associate a range of commits with the release (if `setCommits` is specified)
|
|
33
|
-
* 4. Finalize the release (unless `finalize` is disabled)
|
|
34
|
-
* 5. Add deploy information to the release (if `deploy` is specified)
|
|
35
|
-
*
|
|
36
|
-
* This release creation pipeline relies on Sentry CLI to execute the different steps.
|
|
13
|
+
* Creates an unplugin instance used to create Sentry plugins for Vite, Rollup, esbuild, and Webpack.
|
|
37
14
|
*/
|
|
38
15
|
export declare function sentryUnpluginFactory({ releaseInjectionPlugin, componentNameAnnotatePlugin, moduleMetadataInjectionPlugin, debugIdInjectionPlugin, debugIdUploadPlugin, bundleSizeOptimizationsPlugin, }: SentryUnpluginFactoryOptions): import("unplugin").UnpluginInstance<Options | undefined, true>;
|
|
16
|
+
/**
|
|
17
|
+
* @deprecated
|
|
18
|
+
*/
|
|
39
19
|
export declare function getBuildInformation(): {
|
|
40
20
|
deps: string[];
|
|
41
21
|
depsVersions: Record<string, number>;
|
|
@@ -81,7 +61,7 @@ export declare function createRollupModuleMetadataInjectionHooks(injectionCode:
|
|
|
81
61
|
map: import("magic-string").SourceMap;
|
|
82
62
|
} | null;
|
|
83
63
|
};
|
|
84
|
-
export declare function createRollupDebugIdUploadHooks(upload: (buildArtifacts: string[]) => Promise<void
|
|
64
|
+
export declare function createRollupDebugIdUploadHooks(upload: (buildArtifacts: string[]) => Promise<void>, _logger: Logger, createDependencyOnBuildArtifacts: () => () => void): {
|
|
85
65
|
writeBundle(outputOptions: {
|
|
86
66
|
dir?: string;
|
|
87
67
|
file?: string;
|
|
@@ -93,7 +73,8 @@ export declare function createComponentNameAnnotateHooks(ignoredComponents?: str
|
|
|
93
73
|
transform(this: void, code: string, id: string): Promise<TransformResult>;
|
|
94
74
|
};
|
|
95
75
|
export declare function getDebugIdSnippet(debugId: string): string;
|
|
96
|
-
export {
|
|
76
|
+
export type { Logger } from "./logger";
|
|
97
77
|
export type { Options, SentrySDKBuildFlags } from "./types";
|
|
98
|
-
export
|
|
78
|
+
export { replaceBooleanFlagsInCode, stringToUUID } from "./utils";
|
|
79
|
+
export { createSentryBuildPluginManager } from "./build-plugin-manager";
|
|
99
80
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAkB,eAAe,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAG5E,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAYvD,UAAU,4BAA4B;IACpC,sBAAsB,EAAE,CAAC,aAAa,EAAE,MAAM,KAAK,eAAe,CAAC;IACnE,2BAA2B,CAAC,EAAE,CAAC,iBAAiB,CAAC,EAAE,MAAM,EAAE,KAAK,eAAe,CAAC;IAChF,6BAA6B,EAAE,CAAC,aAAa,EAAE,MAAM,KAAK,eAAe,CAAC;IAC1E,sBAAsB,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,eAAe,CAAC;IAC5D,mBAAmB,EAAE,CACnB,MAAM,EAAE,CAAC,cAAc,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,EACnD,MAAM,EAAE,MAAM,EACd,gCAAgC,EAAE,MAAM,MAAM,IAAI,EAClD,gCAAgC,CAAC,EAAE,OAAO,KACvC,eAAe,CAAC;IACrB,6BAA6B,EAAE,CAAC,UAAU,EAAE,mBAAmB,KAAK,eAAe,CAAC;CACrF;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,sBAAsB,EACtB,2BAA2B,EAC3B,6BAA6B,EAC7B,sBAAsB,EACtB,mBAAmB,EACnB,6BAA6B,GAC9B,EAAE,4BAA4B,kEAgI9B;AAED;;GAEG;AAEH,wBAAgB,mBAAmB;;;;EAYlC;AAED;;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"AAAA,UAAU,aAAa;IACrB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,MAAM,GAAG;IACnB,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC;IAClD,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC;IAClD,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC;IACnD,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC;CACpD,CAAC;AAGF,wBAAgB,YAAY,CAAC,OAAO,EAAE,aAAa,GAAG,MAAM,CA2B3D"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Logger } from "./
|
|
1
|
+
import { Logger } from "./logger";
|
|
2
2
|
import { Options as UserOptions, SetCommitsOptions } from "./types";
|
|
3
3
|
export type NormalizedOptions = ReturnType<typeof normalizeUserOptions>;
|
|
4
4
|
export declare const SENTRY_SAAS_URL = "https://sentry.io";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"options-mapping.d.ts","sourceRoot":"","sources":["../../src/options-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"options-mapping.d.ts","sourceRoot":"","sources":["../../src/options-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAGpE,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAExE,eAAO,MAAM,eAAe,sBAAsB,CAAC;AAEnD,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8E5D;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,iBAAiB,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CA4BnF"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Client } from "@sentry/types";
|
|
2
2
|
import { NormalizedOptions } from "../options-mapping";
|
|
3
3
|
import { Scope } from "@sentry/core";
|
|
4
|
-
export declare function createSentryInstance(options: NormalizedOptions, shouldSendTelemetry: Promise<boolean>,
|
|
4
|
+
export declare function createSentryInstance(options: NormalizedOptions, shouldSendTelemetry: Promise<boolean>, buildTool: string): {
|
|
5
5
|
sentryScope: Scope;
|
|
6
6
|
sentryClient: Client;
|
|
7
7
|
};
|
|
8
|
-
export declare function setTelemetryDataOnScope(options: NormalizedOptions, scope: Scope,
|
|
8
|
+
export declare function setTelemetryDataOnScope(options: NormalizedOptions, scope: Scope, buildTool: string): void;
|
|
9
9
|
export declare function allowedToSendTelemetry(options: NormalizedOptions): Promise<boolean>;
|
|
10
10
|
/**
|
|
11
11
|
* Flushing the SDK client can fail. We never want to crash the plugin because of telemetry.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"telemetry.d.ts","sourceRoot":"","sources":["../../../src/sentry/telemetry.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvC,OAAO,EAAE,iBAAiB,EAAmB,MAAM,oBAAoB,CAAC;AACxE,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAQrC,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,iBAAiB,EAC1B,mBAAmB,EAAE,OAAO,CAAC,OAAO,CAAC,EACrC,
|
|
1
|
+
{"version":3,"file":"telemetry.d.ts","sourceRoot":"","sources":["../../../src/sentry/telemetry.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvC,OAAO,EAAE,iBAAiB,EAAmB,MAAM,oBAAoB,CAAC;AACxE,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAQrC,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,iBAAiB,EAC1B,mBAAmB,EAAE,OAAO,CAAC,OAAO,CAAC,EACrC,SAAS,EAAE,MAAM,GAChB;IAAE,WAAW,EAAE,KAAK,CAAC;IAAC,YAAY,EAAE,MAAM,CAAA;CAAE,CA4C9C;AAED,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,iBAAiB,EAC1B,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,MAAM,QAgDlB;AAED,wBAAsB,sBAAsB,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,OAAO,CAAC,CA2CzF;AAED;;GAEG;AACH,wBAAsB,kBAAkB,CAAC,YAAY,EAAE,MAAM,iBAO5D"}
|
package/dist/types/utils.d.ts
CHANGED
|
@@ -44,5 +44,6 @@ export declare function replaceBooleanFlagsInCode(code: string, replacementValue
|
|
|
44
44
|
code: string;
|
|
45
45
|
map: SourceMap;
|
|
46
46
|
} | null;
|
|
47
|
+
export declare function getTurborepoEnvPassthroughWarning(envVarName: string): string;
|
|
47
48
|
export {};
|
|
48
49
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAMA,OAAoB,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEtD;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,CAAC,GAAG,OAAO,EAAE,UAAU,EAAE,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,EAAE,CAE9D;AAED,KAAK,WAAW,GAAG,MAAM,CA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C;AAGD,wBAAgB,iCAAiC,CAAC,UAAU,EAAE,MAAM,UAInE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/bundler-plugin-core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.0",
|
|
4
4
|
"description": "Sentry Bundler Plugin Core",
|
|
5
5
|
"repository": "git://github.com/getsentry/sentry-javascript-bundler-plugins.git",
|
|
6
6
|
"homepage": "https://github.com/getsentry/sentry-javascript-bundler-plugins/tree/main/packages/bundler-plugin-core",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@babel/core": "^7.18.5",
|
|
56
|
-
"@sentry/babel-plugin-component-annotate": "3.
|
|
56
|
+
"@sentry/babel-plugin-component-annotate": "3.4.0",
|
|
57
57
|
"@sentry/cli": "2.42.2",
|
|
58
58
|
"dotenv": "^16.3.1",
|
|
59
59
|
"find-up": "^5.0.0",
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
"@rollup/plugin-json": "4.1.0",
|
|
69
69
|
"@rollup/plugin-node-resolve": "13.3.0",
|
|
70
70
|
"@rollup/plugin-replace": "^4.0.0",
|
|
71
|
-
"@sentry-internal/eslint-config": "3.
|
|
72
|
-
"@sentry-internal/sentry-bundler-plugin-tsconfig": "3.
|
|
71
|
+
"@sentry-internal/eslint-config": "3.4.0",
|
|
72
|
+
"@sentry-internal/sentry-bundler-plugin-tsconfig": "3.4.0",
|
|
73
73
|
"@sentry/core": "8.30.0",
|
|
74
74
|
"@sentry/types": "8.30.0",
|
|
75
75
|
"@sentry/utils": "8.30.0",
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { SentryCliCommitsOptions, SentryCliNewDeployOptions } from "@sentry/cli";
|
|
2
|
-
import { Scope } from "@sentry/core";
|
|
3
|
-
import { UnpluginOptions } from "unplugin";
|
|
4
|
-
import { Logger } from "../sentry/logger";
|
|
5
|
-
import { HandleRecoverableErrorFn, IncludeEntry } from "../types";
|
|
6
|
-
import { Client } from "@sentry/types";
|
|
7
|
-
interface ReleaseManagementPluginOptions {
|
|
8
|
-
logger: Logger;
|
|
9
|
-
releaseName: string;
|
|
10
|
-
shouldCreateRelease: boolean;
|
|
11
|
-
shouldFinalizeRelease: boolean;
|
|
12
|
-
include?: string | IncludeEntry | Array<string | IncludeEntry>;
|
|
13
|
-
setCommitsOption: SentryCliCommitsOptions | false | {
|
|
14
|
-
auto: true;
|
|
15
|
-
isDefault: true;
|
|
16
|
-
};
|
|
17
|
-
deployOptions?: SentryCliNewDeployOptions;
|
|
18
|
-
dist?: string;
|
|
19
|
-
handleRecoverableError: HandleRecoverableErrorFn;
|
|
20
|
-
sentryScope: Scope;
|
|
21
|
-
sentryClient: Client;
|
|
22
|
-
sentryCliOptions: {
|
|
23
|
-
url: string;
|
|
24
|
-
authToken: string;
|
|
25
|
-
org?: string;
|
|
26
|
-
project: string;
|
|
27
|
-
vcsRemote: string;
|
|
28
|
-
silent: boolean;
|
|
29
|
-
headers?: Record<string, string>;
|
|
30
|
-
};
|
|
31
|
-
createDependencyOnSourcemapFiles: () => () => void;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Creates a plugin that creates releases, sets commits, deploys and finalizes releases.
|
|
35
|
-
*
|
|
36
|
-
* Additionally, if legacy upload options are set, it uploads source maps in the legacy (non-debugId) way.
|
|
37
|
-
*/
|
|
38
|
-
export declare function releaseManagementPlugin({ logger, releaseName, include, dist, setCommitsOption, shouldCreateRelease, shouldFinalizeRelease, deployOptions, handleRecoverableError, sentryScope, sentryClient, sentryCliOptions, createDependencyOnSourcemapFiles, }: ReleaseManagementPluginOptions): UnpluginOptions;
|
|
39
|
-
export {};
|
|
40
|
-
//# sourceMappingURL=release-management.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"release-management.d.ts","sourceRoot":"","sources":["../../../src/plugins/release-management.ts"],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AAuB,CAAC,EACtC,MAAM,EACN,WAAW,EACX,OAAO,EACP,IAAI,EACJ,gBAAgB,EAChB,mBAAmB,EACnB,qBAAqB,EACrB,aAAa,EACb,sBAAsB,EACtB,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,gCAAgC,GACjC,EAAE,8BAA8B,GAAG,eAAe,CAyElD"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { UnpluginOptions } from "unplugin";
|
|
2
|
-
import { Logger } from "../sentry/logger";
|
|
3
|
-
import { Scope } from "@sentry/core";
|
|
4
|
-
import { Client } from "@sentry/types";
|
|
5
|
-
import { HandleRecoverableErrorFn } from "../types";
|
|
6
|
-
interface FileDeletionPlugin {
|
|
7
|
-
handleRecoverableError: HandleRecoverableErrorFn;
|
|
8
|
-
waitUntilSourcemapFileDependenciesAreFreed: () => Promise<void>;
|
|
9
|
-
sentryScope: Scope;
|
|
10
|
-
sentryClient: Client;
|
|
11
|
-
filesToDeleteAfterUpload: string | string[] | Promise<string | string[] | undefined> | undefined;
|
|
12
|
-
logger: Logger;
|
|
13
|
-
}
|
|
14
|
-
export declare function fileDeletionPlugin({ handleRecoverableError, sentryScope, sentryClient, filesToDeleteAfterUpload, waitUntilSourcemapFileDependenciesAreFreed, logger, }: FileDeletionPlugin): UnpluginOptions;
|
|
15
|
-
export {};
|
|
16
|
-
//# sourceMappingURL=sourcemap-deletion.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sourcemap-deletion.d.ts","sourceRoot":"","sources":["../../../src/plugins/sourcemap-deletion.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAG1C,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAEpD,UAAU,kBAAkB;IAC1B,sBAAsB,EAAE,wBAAwB,CAAC;IACjD,0CAA0C,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAChE,WAAW,EAAE,KAAK,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,wBAAwB,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS,CAAC,GAAG,SAAS,CAAC;IACjG,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,sBAAsB,EACtB,WAAW,EACX,YAAY,EACZ,wBAAwB,EACxB,0CAA0C,EAC1C,MAAM,GACP,EAAE,kBAAkB,GAAG,eAAe,CA2CtC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Scope } from "@sentry/core";
|
|
2
|
-
import { Client } from "@sentry/types";
|
|
3
|
-
import { UnpluginOptions } from "unplugin";
|
|
4
|
-
import { Logger } from "../sentry/logger";
|
|
5
|
-
interface TelemetryPluginOptions {
|
|
6
|
-
sentryClient: Client;
|
|
7
|
-
sentryScope: Scope;
|
|
8
|
-
shouldSendTelemetry: Promise<boolean>;
|
|
9
|
-
logger: Logger;
|
|
10
|
-
}
|
|
11
|
-
export declare function telemetryPlugin({ sentryClient, sentryScope, shouldSendTelemetry, logger, }: TelemetryPluginOptions): UnpluginOptions;
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=telemetry.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"telemetry.d.ts","sourceRoot":"","sources":["../../../src/plugins/telemetry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAa,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAG1C,UAAU,sBAAsB;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,KAAK,CAAC;IACnB,mBAAmB,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;IACtC,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,eAAe,CAAC,EAC9B,YAAY,EACZ,WAAW,EACX,mBAAmB,EACnB,MAAM,GACP,EAAE,sBAAsB,GAAG,eAAe,CAe1C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../src/sentry/logger.ts"],"names":[],"mappings":"AAAA,UAAU,aAAa;IACrB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,MAAM,GAAG;IACnB,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC;IAClD,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC;IAClD,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC;IACnD,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC;CACpD,CAAC;AAGF,wBAAgB,YAAY,CAAC,OAAO,EAAE,aAAa,GAAG,MAAM,CA2B3D"}
|
|
File without changes
|