1
Fork 0

Remove sentry

My JS doesn't have errors, and the less tracking on the site the better!
This commit is contained in:
Jake Howard 2020-03-30 17:27:30 +01:00
parent a496d4e7c3
commit 0eb23e82cd
Signed by: jake
GPG key ID: 57AFB45680EDD477
5 changed files with 3 additions and 65 deletions

View file

@ -36,8 +36,6 @@
{{ partial "script.html" "js/jquery.js" }}
{{ partial "script_async.html" "js/sentry.js" }}
{{ if eq .Params.layout "flickr" }}
{{ partial "script_async.html" "js/lightgallery.js" }}
{{ end }}

60
package-lock.json generated
View file

@ -1089,63 +1089,6 @@
"physical-cpu-count": "^2.0.0"
}
},
"@sentry/browser": {
"version": "5.15.0",
"resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-5.15.0.tgz",
"integrity": "sha512-9sgqWGaoT5jb3vk8sgQ1bz1LzhUf3oKoDMp/c6vX0reuA6Vz+/jwOC7a/FPWtQir2PwRJfbak2QOxw8W6Mwa3g==",
"requires": {
"@sentry/core": "5.15.0",
"@sentry/types": "5.15.0",
"@sentry/utils": "5.15.0",
"tslib": "^1.9.3"
}
},
"@sentry/core": {
"version": "5.15.0",
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-5.15.0.tgz",
"integrity": "sha512-ujwHMwinPwuADoIBFjh1BiC6Li7RpEG3Mmo0MxOqKm7xKngkRUk5uH5e36roORnx+ngr/3NCe80QuvSqK7gQsw==",
"requires": {
"@sentry/hub": "5.15.0",
"@sentry/minimal": "5.15.0",
"@sentry/types": "5.15.0",
"@sentry/utils": "5.15.0",
"tslib": "^1.9.3"
}
},
"@sentry/hub": {
"version": "5.15.0",
"resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-5.15.0.tgz",
"integrity": "sha512-wIDcaIuaYpg+Ma01NfFQTOnZLDCKSx2D06TTBqlo93WfMFNgyEgdMbU5Fk1PFZzjj2AMtzlc9DJzAfvt1hZx3w==",
"requires": {
"@sentry/types": "5.15.0",
"@sentry/utils": "5.15.0",
"tslib": "^1.9.3"
}
},
"@sentry/minimal": {
"version": "5.15.0",
"resolved": "https://registry.npmjs.org/@sentry/minimal/-/minimal-5.15.0.tgz",
"integrity": "sha512-VBkMfR6ahmuJrx4V51BNYd6XzGZ7GB8sfnBufMzqK6MsKe+g5oSyXeqHFd4oFC0co0YlFIw7IphF2JZLwVs0zA==",
"requires": {
"@sentry/hub": "5.15.0",
"@sentry/types": "5.15.0",
"tslib": "^1.9.3"
}
},
"@sentry/types": {
"version": "5.15.0",
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-5.15.0.tgz",
"integrity": "sha512-MC96wUAHhzRuH3xo4Qd+EXTOap8+d+SWbAdLBukScxuwhOSY/HNRh1TW17CuAu7s1oXa7xxO2ZCdyamSZinIiQ=="
},
"@sentry/utils": {
"version": "5.15.0",
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-5.15.0.tgz",
"integrity": "sha512-td+wSBdVUPO3mEPcEHZwJiVEQ0+wplJCHBvM1PHqwQd+miB2mQAaiSkzdAAHzUpTeqPBI3rzjWPn59WkCcVF5Q==",
"requires": {
"@sentry/types": "5.15.0",
"tslib": "^1.9.3"
}
},
"@types/node": {
"version": "12.12.5",
"resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.5.tgz",
@ -10586,7 +10529,8 @@
"tslib": {
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz",
"integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ=="
"integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==",
"dev": true
},
"tty-browserify": {
"version": "0.0.0",

View file

@ -15,7 +15,6 @@
},
"dependencies": {
"@fortawesome/fontawesome-free": "5.12.1",
"@sentry/browser": "5.15.0",
"bootstrap": "4.4.1",
"clipboard": "2.0.6",
"jquery": "3.4.1",

View file

@ -19,7 +19,7 @@ cp $BASEDIR/node_modules/jquery/dist/jquery.min.js $STATIC_BUILD/js/jquery.js
cp $BASEDIR/node_modules/lightgallery/dist/js/lightgallery-all.min.js $STATIC_BUILD/js/lightgallery.js
cp $BASEDIR/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js $STATIC_BUILD/js/bootstrap.js
parcel build -d $STATIC_BUILD/js/ $STATIC_SRC/js/app.js $STATIC_SRC/js/sentry.js $STATIC_SRC/js/mermaid.js
parcel build -d $STATIC_BUILD/js/ $STATIC_SRC/js/app.js $STATIC_SRC/js/mermaid.js
cp -r $STATIC_SRC/scss $STATIC_BUILD/scss
hugo gen chromastyles --style=monokai > $STATIC_BUILD/css/highlight.css

View file

@ -1,3 +0,0 @@
'use strict';
require('@sentry/browser').init({ dsn: process.env.SENTRY_DSN });