From 12a523c7aa6410c6d39e74a7c20304d6c379fcd4 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 18 Sep 2021 14:27:35 +0200 Subject: [PATCH] website: remove sentry Signed-off-by: Jens Langhammer --- website/docusaurus.config.js | 7 +- website/package-lock.json | 277 ----------------------------------- website/package.json | 2 - website/src/sentry.jsx | 8 - 4 files changed, 1 insertion(+), 293 deletions(-) delete mode 100644 website/src/sentry.jsx diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 426517ac0..50e49ed1d 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -88,9 +88,6 @@ module.exports = { indexName: 'goauthentik', }, }, - clientModules: [ - require.resolve('./src/sentry.jsx'), - ], presets: [ [ "@docusaurus/preset-classic", @@ -125,6 +122,7 @@ module.exports = { + <%~ it.headTags %> <% it.metaAttributes.forEach((metaAttribute) => { %> <%~ metaAttribute %> @@ -141,9 +139,6 @@ module.exports = {
<%~ it.appHtml %>
-
- Custom markup -
<% it.scripts.forEach((script) => { %> <% }); %> diff --git a/website/package-lock.json b/website/package-lock.json index f797b5494..eaa139630 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -11,8 +11,6 @@ "@docusaurus/plugin-client-redirects": "2.0.0-beta.6", "@docusaurus/preset-classic": "2.0.0-beta.6", "@mdx-js/react": "^1.6.22", - "@sentry/react": "^6.12.0", - "@sentry/tracing": "^6.12.0", "clsx": "^1.1.1", "postcss": "^8.3.6", "rapidoc": "^9.1.0", @@ -2625,150 +2623,6 @@ "resolved": "https://registry.npmjs.org/@polka/url/-/url-1.0.0-next.15.tgz", "integrity": "sha512-15spi3V28QdevleWBNXE4pIls3nFZmBbUGrW9IVPwiQczuSb9n76TCB4bsk8TSel+I1OkHEdPhu5QKMfY6rQHA==" }, - "node_modules/@sentry/browser": { - "version": "6.12.0", - "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-6.12.0.tgz", - "integrity": "sha512-wsJi1NLOmfwtPNYxEC50dpDcVY7sdYckzwfqz1/zHrede1mtxpqSw+7iP4bHADOJXuF+ObYYTHND0v38GSXznQ==", - "dependencies": { - "@sentry/core": "6.12.0", - "@sentry/types": "6.12.0", - "@sentry/utils": "6.12.0", - "tslib": "^1.9.3" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@sentry/browser/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, - "node_modules/@sentry/core": { - "version": "6.12.0", - "resolved": "https://registry.npmjs.org/@sentry/core/-/core-6.12.0.tgz", - "integrity": "sha512-mU/zdjlzFHzdXDZCPZm8OeCw7c9xsbL49Mq0TrY0KJjLt4CJBkiq5SDTGfRsenBLgTedYhe5Z/J8Z+xVVq+MfQ==", - "dependencies": { - "@sentry/hub": "6.12.0", - "@sentry/minimal": "6.12.0", - "@sentry/types": "6.12.0", - "@sentry/utils": "6.12.0", - "tslib": "^1.9.3" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@sentry/core/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, - "node_modules/@sentry/hub": { - "version": "6.12.0", - "resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-6.12.0.tgz", - "integrity": "sha512-yR/UQVU+ukr42bSYpeqvb989SowIXlKBanU0cqLFDmv5LPCnaQB8PGeXwJAwWhQgx44PARhmB82S6Xor8gYNxg==", - "dependencies": { - "@sentry/types": "6.12.0", - "@sentry/utils": "6.12.0", - "tslib": "^1.9.3" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@sentry/hub/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, - "node_modules/@sentry/minimal": { - "version": "6.12.0", - "resolved": "https://registry.npmjs.org/@sentry/minimal/-/minimal-6.12.0.tgz", - "integrity": "sha512-r3C54Q1KN+xIqUvcgX9DlcoWE7ezWvFk2pSu1Ojx9De81hVqR9u5T3sdSAP2Xma+um0zr6coOtDJG4WtYlOtsw==", - "dependencies": { - "@sentry/hub": "6.12.0", - "@sentry/types": "6.12.0", - "tslib": "^1.9.3" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@sentry/minimal/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, - "node_modules/@sentry/react": { - "version": "6.12.0", - "resolved": "https://registry.npmjs.org/@sentry/react/-/react-6.12.0.tgz", - "integrity": "sha512-E8Nw9PPzP/EyMy64ksr9xcyYYlBmUA5ROnkPQp7o5wF0xf5/J+nMS1tQdyPnLQe2KUgHlN4kVs2HHft1m7mSYQ==", - "dependencies": { - "@sentry/browser": "6.12.0", - "@sentry/minimal": "6.12.0", - "@sentry/types": "6.12.0", - "@sentry/utils": "6.12.0", - "hoist-non-react-statics": "^3.3.2", - "tslib": "^1.9.3" - }, - "engines": { - "node": ">=6" - }, - "peerDependencies": { - "react": "15.x || 16.x || 17.x" - } - }, - "node_modules/@sentry/react/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, - "node_modules/@sentry/tracing": { - "version": "6.12.0", - "resolved": "https://registry.npmjs.org/@sentry/tracing/-/tracing-6.12.0.tgz", - "integrity": "sha512-u10QHNknPBzbWSUUNMkvuH53sQd5NaBo6YdNPj4p5b7sE7445Sh0PwBpRbY3ZiUUiwyxV59fx9UQ4yVnPGxZQA==", - "dependencies": { - "@sentry/hub": "6.12.0", - "@sentry/minimal": "6.12.0", - "@sentry/types": "6.12.0", - "@sentry/utils": "6.12.0", - "tslib": "^1.9.3" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@sentry/tracing/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, - "node_modules/@sentry/types": { - "version": "6.12.0", - "resolved": "https://registry.npmjs.org/@sentry/types/-/types-6.12.0.tgz", - "integrity": "sha512-urtgLzE4EDMAYQHYdkgC0Ei9QvLajodK1ntg71bGn0Pm84QUpaqpPDfHRU+i6jLeteyC7kWwa5O5W1m/jrjGXA==", - "engines": { - "node": ">=6" - } - }, - "node_modules/@sentry/utils": { - "version": "6.12.0", - "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-6.12.0.tgz", - "integrity": "sha512-oRHQ7TH5TSsJqoP9Gqq25Jvn9LKexXfAh/OoKwjMhYCGKGhqpDNUIZVgl9DWsGw5A5N5xnQyLOxDfyRV5RshdA==", - "dependencies": { - "@sentry/types": "6.12.0", - "tslib": "^1.9.3" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@sentry/utils/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, "node_modules/@sideway/address": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.2.tgz", @@ -17437,137 +17291,6 @@ "resolved": "https://registry.npmjs.org/@polka/url/-/url-1.0.0-next.15.tgz", "integrity": "sha512-15spi3V28QdevleWBNXE4pIls3nFZmBbUGrW9IVPwiQczuSb9n76TCB4bsk8TSel+I1OkHEdPhu5QKMfY6rQHA==" }, - "@sentry/browser": { - "version": "6.12.0", - "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-6.12.0.tgz", - "integrity": "sha512-wsJi1NLOmfwtPNYxEC50dpDcVY7sdYckzwfqz1/zHrede1mtxpqSw+7iP4bHADOJXuF+ObYYTHND0v38GSXznQ==", - "requires": { - "@sentry/core": "6.12.0", - "@sentry/types": "6.12.0", - "@sentry/utils": "6.12.0", - "tslib": "^1.9.3" - }, - "dependencies": { - "tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - } - } - }, - "@sentry/core": { - "version": "6.12.0", - "resolved": "https://registry.npmjs.org/@sentry/core/-/core-6.12.0.tgz", - "integrity": "sha512-mU/zdjlzFHzdXDZCPZm8OeCw7c9xsbL49Mq0TrY0KJjLt4CJBkiq5SDTGfRsenBLgTedYhe5Z/J8Z+xVVq+MfQ==", - "requires": { - "@sentry/hub": "6.12.0", - "@sentry/minimal": "6.12.0", - "@sentry/types": "6.12.0", - "@sentry/utils": "6.12.0", - "tslib": "^1.9.3" - }, - "dependencies": { - "tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - } - } - }, - "@sentry/hub": { - "version": "6.12.0", - "resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-6.12.0.tgz", - "integrity": "sha512-yR/UQVU+ukr42bSYpeqvb989SowIXlKBanU0cqLFDmv5LPCnaQB8PGeXwJAwWhQgx44PARhmB82S6Xor8gYNxg==", - "requires": { - "@sentry/types": "6.12.0", - "@sentry/utils": "6.12.0", - "tslib": "^1.9.3" - }, - "dependencies": { - "tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - } - } - }, - "@sentry/minimal": { - "version": "6.12.0", - "resolved": "https://registry.npmjs.org/@sentry/minimal/-/minimal-6.12.0.tgz", - "integrity": "sha512-r3C54Q1KN+xIqUvcgX9DlcoWE7ezWvFk2pSu1Ojx9De81hVqR9u5T3sdSAP2Xma+um0zr6coOtDJG4WtYlOtsw==", - "requires": { - "@sentry/hub": "6.12.0", - "@sentry/types": "6.12.0", - "tslib": "^1.9.3" - }, - "dependencies": { - "tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - } - } - }, - "@sentry/react": { - "version": "6.12.0", - "resolved": "https://registry.npmjs.org/@sentry/react/-/react-6.12.0.tgz", - "integrity": "sha512-E8Nw9PPzP/EyMy64ksr9xcyYYlBmUA5ROnkPQp7o5wF0xf5/J+nMS1tQdyPnLQe2KUgHlN4kVs2HHft1m7mSYQ==", - "requires": { - "@sentry/browser": "6.12.0", - "@sentry/minimal": "6.12.0", - "@sentry/types": "6.12.0", - "@sentry/utils": "6.12.0", - "hoist-non-react-statics": "^3.3.2", - "tslib": "^1.9.3" - }, - "dependencies": { - "tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - } - } - }, - "@sentry/tracing": { - "version": "6.12.0", - "resolved": "https://registry.npmjs.org/@sentry/tracing/-/tracing-6.12.0.tgz", - "integrity": "sha512-u10QHNknPBzbWSUUNMkvuH53sQd5NaBo6YdNPj4p5b7sE7445Sh0PwBpRbY3ZiUUiwyxV59fx9UQ4yVnPGxZQA==", - "requires": { - "@sentry/hub": "6.12.0", - "@sentry/minimal": "6.12.0", - "@sentry/types": "6.12.0", - "@sentry/utils": "6.12.0", - "tslib": "^1.9.3" - }, - "dependencies": { - "tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - } - } - }, - "@sentry/types": { - "version": "6.12.0", - "resolved": "https://registry.npmjs.org/@sentry/types/-/types-6.12.0.tgz", - "integrity": "sha512-urtgLzE4EDMAYQHYdkgC0Ei9QvLajodK1ntg71bGn0Pm84QUpaqpPDfHRU+i6jLeteyC7kWwa5O5W1m/jrjGXA==" - }, - "@sentry/utils": { - "version": "6.12.0", - "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-6.12.0.tgz", - "integrity": "sha512-oRHQ7TH5TSsJqoP9Gqq25Jvn9LKexXfAh/OoKwjMhYCGKGhqpDNUIZVgl9DWsGw5A5N5xnQyLOxDfyRV5RshdA==", - "requires": { - "@sentry/types": "6.12.0", - "tslib": "^1.9.3" - }, - "dependencies": { - "tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - } - } - }, "@sideway/address": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.2.tgz", diff --git a/website/package.json b/website/package.json index 7cdfa59c1..7da33cf7b 100644 --- a/website/package.json +++ b/website/package.json @@ -15,8 +15,6 @@ "@docusaurus/plugin-client-redirects": "2.0.0-beta.6", "@docusaurus/preset-classic": "2.0.0-beta.6", "@mdx-js/react": "^1.6.22", - "@sentry/react": "^6.12.0", - "@sentry/tracing": "^6.12.0", "clsx": "^1.1.1", "postcss": "^8.3.6", "rapidoc": "^9.1.0", diff --git a/website/src/sentry.jsx b/website/src/sentry.jsx deleted file mode 100644 index 822360b0d..000000000 --- a/website/src/sentry.jsx +++ /dev/null @@ -1,8 +0,0 @@ -import * as Sentry from "@sentry/react"; -import { Integrations } from "@sentry/tracing"; - -Sentry.init({ - dsn: "https://339d36db58e6476aa0430aaff4e0610c@sentry.beryju.org/9", - integrations: [new Integrations.BrowserTracing()], - tracesSampleRate: 0.6, -});