Skip to content

Commit

Permalink
[Feature]: Sentry 세팅 (#81)
Browse files Browse the repository at this point in the history
* chore: sentry 패키지 기본 설치

* feat: Sentry ErrorBoundary 추가

* fix: sentry 관련 기본적인 세팅 완료

* fix: json 문법 수정

* fix: Chatbot 삭제

* fix: 브라우저 설정 환경에 따른 sentry 세팅

* fix: 필요없는 dev 세팅 환경 지우기
  • Loading branch information
eugene028 authored Aug 5, 2024
1 parent d05a763 commit 6956073
Show file tree
Hide file tree
Showing 7 changed files with 373 additions and 23 deletions.
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,14 @@
"react-router-dom": "^6.22.1",
"react-spinners": "^0.13.8",
"react-toastify": "^10.0.4",
"zustand": "^4.5.0",
"wowds-icons": "^0.1.0",
"wowds-tokens": "^0.0.9",
"wowds-ui": "^0.1.8",
"wowds-icons": "^0.1.0"
"zustand": "^4.5.0",
"wowds-ui": "^0.1.8"
},
"devDependencies": {
"@sentry/react": "^8.22.0",
"@sentry/vite-plugin": "^2.21.1",
"@storybook/addon-essentials": "^7.6.14",
"@storybook/addon-interactions": "^7.6.14",
"@storybook/addon-links": "^7.6.14",
Expand Down
272 changes: 271 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion src/constants/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ export const {
VITE_DEV_AUTH_TOKEN: DEV_AUTH_TOKEN,
VITE_ACCESS_TOKEN: ACCESS_TOKEN,
VITE_CLIENT_KEY: CLIENT_KEY,
REACT_APP_SECURE_LOCAL_STORAGE_HASH_KEY: SECURE_KEY
REACT_APP_SECURE_LOCAL_STORAGE_HASH_KEY: SECURE_KEY,
SENTRY_DSN_KEY: SENTRY_DSN_KEY,
SENTRY_AUTH_TOKEN: SENTRY_AUTH_TOKEN
} = import.meta.env;
Loading

0 comments on commit 6956073

Please sign in to comment.