Commit Graph

3 Commits

Author SHA1 Message Date
fe96091989 chore: swap deps to Vite + React 18, remove Granite/Toss/RN 2026-04-27 08:22:59 +09:00
197bcc796a fix: 빌드 오류 수정 및 TypeScript 환경 설정 (JSA-56)
- build 스크립트를 ait build에서 직접 granite CLI 호출로 변경
  (ait build가 --no-cache 옵션을 granite에 전달하나 미지원 버그)
- typescript, @types/react, @types/react-dom, @types/webpack-env 설치
- @toss/tds-react-native 누락 peer dependency 설치
- tsconfig.json: ignoreDeprecations 및 webpack-env 타입 설정 추가
- require.context.ts: webpack/granite-js RequireContext 타입 호환 수정
- global.d.ts: 전역 타입 선언 파일 추가

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-02 04:19:30 +09:00
56bc71a71a feat: @apps-in-toss/analytics 이벤트 트래킹 구현 (JSA-32)
- src/analytics.ts: initAnalytics / trackGameEvent 유틸 추가
- _app.tsx: 앱 시작 시 Analytics.init 호출
- pages/index.tsx: app_open 이벤트 (플랫폼 시간, 보유 원소 수, 골드, 강화 레벨 합계)
- FusionScreen: fusion_completed (결과 tier/name, 골드 획득, 재료 ID)
- EvolutionScreen: enhancement_completed + level_up (원소 ID/이름, 새 레벨, 비용)
- ShopScreen: item_purchased (아이템 ID/이름, 가격, 희귀도)
- OfflineRewardModal: offline_reward_claimed (오프라인 시간, 골드, 원소 종류 수)
- package.json: @apps-in-toss/analytics ^2.3.0 명시적 추가

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-01 00:29:14 +09:00