@payloadcms/plugin-sentry 0.0.2 → 0.0.4
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 +2 -4
- package/package.json +3 -5
package/README.md
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
🚧 **WAIT! This repo is in the process of being built and not been tested for production use yet.**
|
|
2
|
-
|
|
3
1
|
# Sentry Plugin for Payload
|
|
4
2
|
|
|
5
3
|
This plugin seamlessly integrates [Sentry](https://sentry.io/) with [Payload](https://github.com/payloadcms/payload) for performance monitoring and error tracking.
|
|
@@ -21,7 +19,7 @@ This plugin seamlessly integrates [Sentry](https://sentry.io/) with [Payload](ht
|
|
|
21
19
|
|
|
22
20
|
```js
|
|
23
21
|
import { buildConfig } from 'payload/config';
|
|
24
|
-
import sentry from '@payloadcms/plugin-sentry';
|
|
22
|
+
import { sentry } from '@payloadcms/plugin-sentry';
|
|
25
23
|
import { Pages, Media } from './collections';
|
|
26
24
|
|
|
27
25
|
const config = buildConfig({
|
|
@@ -68,7 +66,7 @@ You can configure any of these options by passing them to the plugin under optio
|
|
|
68
66
|
|
|
69
67
|
```js
|
|
70
68
|
import { buildConfig } from 'payload/config';
|
|
71
|
-
import
|
|
69
|
+
import { sentry } from '@payloadcms/plugin-sentry';
|
|
72
70
|
import { Pages, Media } from './collections';
|
|
73
71
|
|
|
74
72
|
const config = buildConfig({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@payloadcms/plugin-sentry",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"homepage:": "https://payloadcms.com",
|
|
5
5
|
"repository": "git@github.com:payloadcms/plugin-sentry.git",
|
|
6
6
|
"description": "Sentry plugin for Payload",
|
|
@@ -34,9 +34,7 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@sentry/node": "^7.55.2",
|
|
36
36
|
"@sentry/types": "^7.54.0",
|
|
37
|
-
"express": "^4.18.2"
|
|
38
|
-
"node": "^18.2.0",
|
|
39
|
-
"src": "^1.1.2"
|
|
37
|
+
"express": "^4.18.2"
|
|
40
38
|
},
|
|
41
39
|
"devDependencies": {
|
|
42
40
|
"@payloadcms/eslint-config": "^0.0.1",
|
|
@@ -64,4 +62,4 @@
|
|
|
64
62
|
"ts-node": "^10.9.1",
|
|
65
63
|
"typescript": "^4.1.3"
|
|
66
64
|
}
|
|
67
|
-
}
|
|
65
|
+
}
|