@sentry/gatsby 6.18.1-beta.0 → 6.19.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/gatsby-browser.js +1 -1
- package/package.json +9 -7
package/gatsby-browser.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable no-console */
|
|
2
2
|
const Sentry = require('@sentry/gatsby');
|
|
3
3
|
|
|
4
|
-
exports.onClientEntry = function(_, pluginParams) {
|
|
4
|
+
exports.onClientEntry = function (_, pluginParams) {
|
|
5
5
|
const isIntialized = isSentryInitialized();
|
|
6
6
|
const areOptionsDefined = areSentryOptionsDefined(pluginParams);
|
|
7
7
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/gatsby",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.19.0",
|
|
4
4
|
"description": "Official Sentry SDK for Gatsby.js",
|
|
5
5
|
"repository": "git://github.com/getsentry/sentry-javascript.git",
|
|
6
6
|
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/gatsby",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"main": "dist/index.js",
|
|
17
17
|
"module": "esm/index.js",
|
|
18
|
-
"types": "
|
|
18
|
+
"types": "build/types/index.d.ts",
|
|
19
19
|
"files": [
|
|
20
20
|
"/dist",
|
|
21
21
|
"/esm",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"access": "public"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@sentry/react": "6.
|
|
30
|
-
"@sentry/tracing": "6.
|
|
29
|
+
"@sentry/react": "6.19.0",
|
|
30
|
+
"@sentry/tracing": "6.19.0",
|
|
31
31
|
"@sentry/webpack-plugin": "1.18.8"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
@@ -35,21 +35,23 @@
|
|
|
35
35
|
"react": "15.x || 16.x || 17.x"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@sentry/types": "6.
|
|
38
|
+
"@sentry/types": "6.19.0",
|
|
39
39
|
"@testing-library/react": "^10.4.9",
|
|
40
40
|
"react": "^17.0.0"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
|
-
"build": "run-p build:cjs build:esm",
|
|
43
|
+
"build": "run-p build:cjs build:esm build:types",
|
|
44
44
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
45
45
|
"build:dev": "run-s build",
|
|
46
46
|
"build:es5": "yarn build:cjs # *** backwards compatibility - remove in v7 ***",
|
|
47
47
|
"build:esm": "tsc -p tsconfig.esm.json",
|
|
48
|
-
"build:
|
|
48
|
+
"build:types": "tsc -p tsconfig.types.json",
|
|
49
|
+
"build:watch": "run-p build:cjs:watch build:esm:watch build:types:watch",
|
|
49
50
|
"build:cjs:watch": "tsc -p tsconfig.cjs.json --watch",
|
|
50
51
|
"build:dev:watch": "run-s build:watch",
|
|
51
52
|
"build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
|
|
52
53
|
"build:esm:watch": "tsc -p tsconfig.esm.json --watch",
|
|
54
|
+
"build:types:watch": "tsc -p tsconfig.types.json --watch",
|
|
53
55
|
"circularDepCheck": "madge --circular src/index.ts",
|
|
54
56
|
"clean": "rimraf dist esm build coverage",
|
|
55
57
|
"fix": "run-s fix:eslint fix:prettier",
|