@sentry/rollup-plugin 2.3.0 → 2.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/README.md +33 -29
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -58,34 +58,34 @@ export default {
|
|
|
58
58
|
|
|
59
59
|
## Options
|
|
60
60
|
|
|
61
|
-
- [`org`](#
|
|
62
|
-
- [`project`](#
|
|
63
|
-
- [`authToken`](#
|
|
64
|
-
- [`url`](#
|
|
65
|
-
- [`headers`](#
|
|
66
|
-
- [`debug`](#
|
|
67
|
-
- [`silent`](#
|
|
68
|
-
- [`errorHandler`](#
|
|
69
|
-
- [`telemetry`](#
|
|
70
|
-
- [`disable`](#
|
|
71
|
-
- [`sourcemaps`](#
|
|
72
|
-
- [`assets`](#
|
|
73
|
-
- [`ignore`](#
|
|
74
|
-
- [`rewriteSources`](#
|
|
75
|
-
- [`filesToDeleteAfterUpload`](#
|
|
76
|
-
- [`release`](#
|
|
77
|
-
- [`name`](#
|
|
78
|
-
- [`inject`](#
|
|
79
|
-
- [`create`](#
|
|
80
|
-
- [`finalize`](#
|
|
81
|
-
- [`dist`](#
|
|
82
|
-
- [`vcsRemote`](#
|
|
83
|
-
- [`setCommits`](#
|
|
84
|
-
- [`deploy`](#
|
|
85
|
-
- [`cleanArtifacts`](#
|
|
86
|
-
- [`uploadLegacySourcemaps`](#
|
|
87
|
-
- [`_experiments`](#
|
|
88
|
-
- [`injectBuildInformation`](#
|
|
61
|
+
- [`org`](#org)
|
|
62
|
+
- [`project`](#project)
|
|
63
|
+
- [`authToken`](#authtoken)
|
|
64
|
+
- [`url`](#url)
|
|
65
|
+
- [`headers`](#headers)
|
|
66
|
+
- [`debug`](#debug)
|
|
67
|
+
- [`silent`](#silent)
|
|
68
|
+
- [`errorHandler`](#errorhandler)
|
|
69
|
+
- [`telemetry`](#telemetry)
|
|
70
|
+
- [`disable`](#disable)
|
|
71
|
+
- [`sourcemaps`](#sourcemaps)
|
|
72
|
+
- [`assets`](#sourcemapsassets)
|
|
73
|
+
- [`ignore`](#sourcemapsignore)
|
|
74
|
+
- [`rewriteSources`](#sourcemapsrewritesources)
|
|
75
|
+
- [`filesToDeleteAfterUpload`](#sourcemapsfilestodeleteafterupload)
|
|
76
|
+
- [`release`](#release)
|
|
77
|
+
- [`name`](#releasename)
|
|
78
|
+
- [`inject`](#releaseinject)
|
|
79
|
+
- [`create`](#releasecreate)
|
|
80
|
+
- [`finalize`](#releasefinalize)
|
|
81
|
+
- [`dist`](#releasedist)
|
|
82
|
+
- [`vcsRemote`](#releasevcsremote)
|
|
83
|
+
- [`setCommits`](#releasesetcommits)
|
|
84
|
+
- [`deploy`](#releasedeploy)
|
|
85
|
+
- [`cleanArtifacts`](#releasecleanartifacts)
|
|
86
|
+
- [`uploadLegacySourcemaps`](#releaseuploadlegacysourcemaps)
|
|
87
|
+
- [`_experiments`](#_experiments)
|
|
88
|
+
- [`injectBuildInformation`](#_experimentsinjectbuildinformation)
|
|
89
89
|
|
|
90
90
|
### `org`
|
|
91
91
|
|
|
@@ -141,7 +141,7 @@ Suppresses all logs. Defaults to `false`.
|
|
|
141
141
|
|
|
142
142
|
Type: `(err: Error) => void`
|
|
143
143
|
|
|
144
|
-
When an error occurs during
|
|
144
|
+
When an error occurs during release creation or sourcemaps upload, the plugin will call this function.
|
|
145
145
|
|
|
146
146
|
By default, the plugin will simply throw an error, thereby stopping the bundling process. If an `errorHandler` callback is provided, compilation will continue, unless an error is thrown in the provided callback.
|
|
147
147
|
|
|
@@ -495,6 +495,10 @@ Defaults to `false`.
|
|
|
495
495
|
|
|
496
496
|
|
|
497
497
|
|
|
498
|
+
### Configuration File
|
|
499
|
+
|
|
500
|
+
As an additional configuration method, the Sentry Rollup plugin will pick up environment variables configured inside a `.env.sentry-build-plugin` file located in the current working directory when building your app.
|
|
501
|
+
|
|
498
502
|
## More information
|
|
499
503
|
|
|
500
504
|
- [Sentry Documentation](https://docs.sentry.io/quickstart/)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/rollup-plugin",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"description": "Official Sentry Rollup plugin",
|
|
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/rollup-plugin",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"prepack": "ts-node ./src/prepack.ts"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@sentry/bundler-plugin-core": "2.
|
|
52
|
+
"@sentry/bundler-plugin-core": "2.4.0",
|
|
53
53
|
"unplugin": "1.0.1"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
"@babel/preset-typescript": "7.17.12",
|
|
62
62
|
"@rollup/plugin-babel": "5.3.1",
|
|
63
63
|
"@rollup/plugin-node-resolve": "13.3.0",
|
|
64
|
-
"@sentry-internal/eslint-config": "2.
|
|
65
|
-
"@sentry-internal/sentry-bundler-plugin-tsconfig": "2.
|
|
64
|
+
"@sentry-internal/eslint-config": "2.4.0",
|
|
65
|
+
"@sentry-internal/sentry-bundler-plugin-tsconfig": "2.4.0",
|
|
66
66
|
"@swc/core": "^1.2.205",
|
|
67
67
|
"@swc/jest": "^0.2.21",
|
|
68
68
|
"@types/jest": "^28.1.3",
|
|
@@ -78,6 +78,6 @@
|
|
|
78
78
|
"extends": "../../package.json"
|
|
79
79
|
},
|
|
80
80
|
"engines": {
|
|
81
|
-
"node": ">=
|
|
81
|
+
"node": ">= 14"
|
|
82
82
|
}
|
|
83
83
|
}
|