File tree Expand file tree Collapse file tree 5 files changed +217
-31
lines changed Expand file tree Collapse file tree 5 files changed +217
-31
lines changed Original file line number Diff line number Diff line change 108
108
109
109
# Cypress
110
110
cypress /videos
111
- cypress /screenshots
111
+ cypress /screenshots
112
+ # Sentry Config File
113
+ .env.sentry-build-plugin
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " client" ,
3
- "version" : " 1.9.4 -beta" ,
3
+ "version" : " 1.9.5 -beta" ,
4
4
"scripts" : {
5
5
"dev" : " npm-run-all --parallel dev:*" ,
6
6
"dev:run" : " FORCE_COLOR=1 vite" ,
30
30
"@nikolovlazar/chakra-ui-prose" : " ^1.2.1" ,
31
31
"@rollup/plugin-replace" : " ^4.0.0" ,
32
32
"@sentry/react" : " ^7.76.0" ,
33
+ "@sentry/vite-plugin" : " ^2.9.0" ,
33
34
"@tanstack/query-sync-storage-persister" : " ^4.0.10" ,
34
35
"@tanstack/react-query" : " ^4.20.4" ,
35
36
"@tanstack/react-query-devtools" : " ^4.0.10" ,
Original file line number Diff line number Diff line change @@ -25,16 +25,7 @@ if (window.location.host === "timetabl.vercel.app") {
25
25
if ( localStorage . getItem ( "consentedToWelcomeMessage" ) ) {
26
26
Sentry . init ( {
27
27
dsn : "https://3eaf1d52758e5e86de9d4d6a4958a5e3@o4506133038301184.ingest.sentry.io/4506133044723712" ,
28
- integrations : [
29
- new Sentry . BrowserTracing ( {
30
- // Set 'tracePropagationTargets' to control for which URLs distributed tracing should be enabled
31
- tracePropagationTargets : [
32
- "localhost" ,
33
- / ^ h t t p s : \/ \/ y o u r s e r v e r \. i o \/ a p i / ,
34
- ] ,
35
- } ) ,
36
- new Sentry . Replay ( ) ,
37
- ] ,
28
+ integrations : [ new Sentry . BrowserTracing ( ) , new Sentry . Replay ( ) ] ,
38
29
// Performance Monitoring
39
30
tracesSampleRate : 1.0 , // Capture 100% of the transactions
40
31
// Session Replay
Original file line number Diff line number Diff line change 1
1
import replace from "@rollup/plugin-replace" ;
2
+ import { sentryVitePlugin } from "@sentry/vite-plugin" ;
2
3
import react from "@vitejs/plugin-react" ;
3
4
import { injectManifest } from "rollup-plugin-workbox" ;
4
5
import { defineConfig } from "vitest/config" ;
@@ -30,6 +31,10 @@ export default defineConfig({
30
31
preventAssignment : true ,
31
32
} ) ,
32
33
react ( ) ,
34
+ sentryVitePlugin ( {
35
+ org : "hamzah-lc" ,
36
+ project : "timetabl" ,
37
+ } ) ,
33
38
] ,
34
39
build : { sourcemap : true } ,
35
40
server : {
You can’t perform that action at this time.
0 commit comments