Remove sentry from cljs

pull/645/head
Tienson Qin 2020-07-08 16:23:47 +08:00
parent c8d560097c
commit 5e99d735ba
4 changed files with 0 additions and 93 deletions

View File

@ -18,7 +18,6 @@
"clean": "/usr/bin/rm -rf target; /usr/bin/rm -rf ../resources/static/js/compiled; /usr/bin/rm -rf ../resources/static/js/cljs-runtime;"
},
"dependencies": {
"@sentry/react": "^5.19.0",
"diff": "^4.0.2",
"dropbox": "^5.2.0",
"localforage": "^1.7.3",

View File

@ -4,7 +4,6 @@
[frontend.page :as page]
[frontend.routes :as routes]
[frontend.util :as util]
[frontend.sentry :as sentry]
[reitit.frontend :as rf]
[frontend.config :as config]
[reitit.frontend.easy :as rfe]))
@ -27,9 +26,6 @@
;; this is called in the index.html and must be exported
;; so it is available even in :advanced release builds
(when-not config/dev?
(sentry/init!))
(handler/start! start)
;; popup to notify user, could be toggled in settings

View File

@ -1,8 +0,0 @@
(ns frontend.sentry
(:require ["@sentry/react" :as sentry]
[goog.object :as gobj]))
(defn init!
[]
((gobj/get sentry "init")
#js {:dsn "https://636e9174ffa148c98d2b9d3369661683@o416451.ingest.sentry.io/5311485"}))

View File

@ -24,69 +24,6 @@
postcss "7.0.27"
purgecss "^2.1.2"
"@sentry/browser@5.19.0":
version "5.19.0"
resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-5.19.0.tgz#9189b6633fe45e54325e40b39345d9eabd171e4a"
integrity sha512-Cz8PnzC5NGfpHIGCmHLgA6iDEBVELwo4Il/iFweXjs4+VL4biw62lI32Q4iLCCpmX0t5UvrWBOnju2v8zuFIjA==
dependencies:
"@sentry/core" "5.19.0"
"@sentry/types" "5.19.0"
"@sentry/utils" "5.19.0"
tslib "^1.9.3"
"@sentry/core@5.19.0":
version "5.19.0"
resolved "https://registry.yarnpkg.com/@sentry/core/-/core-5.19.0.tgz#31b08a0b46ae1ee6863447225b401ac2a777774c"
integrity sha512-ry1Zms6jrVQPEwmfywItyUhOgabPrykd8stR1x/u2t1YiISWlR813fE5nzdwgW5mxEitXz/ikTwvrfK3egsDWQ==
dependencies:
"@sentry/hub" "5.19.0"
"@sentry/minimal" "5.19.0"
"@sentry/types" "5.19.0"
"@sentry/utils" "5.19.0"
tslib "^1.9.3"
"@sentry/hub@5.19.0":
version "5.19.0"
resolved "https://registry.yarnpkg.com/@sentry/hub/-/hub-5.19.0.tgz#f38e7745a4980d9fa6c5baeca5605e7e6fecd5ac"
integrity sha512-UFaQLa1XAa02ZcxUmN9GdDpGs3vHK1LpOyYooimX8ttWa4KAkMuP+O5uXH1TJabry6o/cRwYisg2k6PBSy8gxw==
dependencies:
"@sentry/types" "5.19.0"
"@sentry/utils" "5.19.0"
tslib "^1.9.3"
"@sentry/minimal@5.19.0":
version "5.19.0"
resolved "https://registry.yarnpkg.com/@sentry/minimal/-/minimal-5.19.0.tgz#aa5a700618608ea79d270280fe77f04bbb44ed5a"
integrity sha512-3FHgirwOuOMF4VlwHboYObPT9c0S9b9y5FW0DGgNt8sJPezS00VaJti/38ZwOHQJ4fJ6ubt/Y3Kz0eBTVxMCCQ==
dependencies:
"@sentry/hub" "5.19.0"
"@sentry/types" "5.19.0"
tslib "^1.9.3"
"@sentry/react@^5.19.0":
version "5.19.0"
resolved "https://registry.yarnpkg.com/@sentry/react/-/react-5.19.0.tgz#090ba850df6bae3edc4cc07c27962b6c11cee4b1"
integrity sha512-PlEeqMKWYdYVwIw72wrH1CNQhTOyR0Tqbif787/vC4w1oeAjM9ENlU4MmNFz5cdEvUDnlRzgC2RRRZjJVnLlsw==
dependencies:
"@sentry/browser" "5.19.0"
"@sentry/types" "5.19.0"
"@sentry/utils" "5.19.0"
hoist-non-react-statics "^3.3.2"
tslib "^1.9.3"
"@sentry/types@5.19.0":
version "5.19.0"
resolved "https://registry.yarnpkg.com/@sentry/types/-/types-5.19.0.tgz#30c6a05040b644d90337ef8b50d9d59c0872744d"
integrity sha512-NlHLS9mwCEimKUA5vClAwVhXFLsqSF3VJEXU+K61fF6NZx8zfJi/HTrIBtoM4iNSAt9o4XLQatC1liIpBC06tg==
"@sentry/utils@5.19.0":
version "5.19.0"
resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-5.19.0.tgz#0e01f84aa67a1cf2ec71faab670230918ea7e9aa"
integrity sha512-EU/T9aJrI8isexRnyDx5InNw/HjSQ0nKI7YWdiwfFrJusqQ/uisnCGK7vw6gGHDgiAHMXW3TJ38NHpNBin6y7Q==
dependencies:
"@sentry/types" "5.19.0"
tslib "^1.9.3"
"@tailwindcss/custom-forms@^0.2.1":
version "0.2.1"
resolved "https://registry.yarnpkg.com/@tailwindcss/custom-forms/-/custom-forms-0.2.1.tgz#40e5ed1fff6d29d8ed1c508a0b2aaf8da96962e0"
@ -860,13 +797,6 @@ hmac-drbg@^1.0.0:
minimalistic-assert "^1.0.0"
minimalistic-crypto-utils "^1.0.1"
hoist-non-react-statics@^3.3.2:
version "3.3.2"
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45"
integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==
dependencies:
react-is "^16.7.0"
hot-patcher@^0.5.0:
version "0.5.0"
resolved "https://registry.yarnpkg.com/hot-patcher/-/hot-patcher-0.5.0.tgz#9d401424585aaf3a91646b816ceff40eb6a916b9"
@ -1375,11 +1305,6 @@ react-force-graph-2d@^1.16.3:
prop-types "^15.7.2"
react-kapsule "^2.1.9"
react-is@^16.7.0:
version "16.13.1"
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4"
integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==
react-is@^16.8.1:
version "16.12.0"
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.12.0.tgz#2cc0fe0fba742d97fd527c42a13bec4eeb06241c"
@ -1651,11 +1576,6 @@ ts-essentials@^2.0.3:
resolved "https://registry.yarnpkg.com/ts-essentials/-/ts-essentials-2.0.12.tgz#c9303f3d74f75fa7528c3d49b80e089ab09d8745"
integrity sha512-3IVX4nI6B5cc31/GFFE+i8ey/N2eA0CZDbo6n0yrz0zDX8ZJ8djmU1p+XRz7G3is0F3bB3pu2pAroFdAWQKU3w==
tslib@^1.9.3:
version "1.13.0"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.13.0.tgz#c881e13cc7015894ed914862d276436fa9a47043"
integrity sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q==
tty-browserify@0.0.0:
version "0.0.0"
resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6"