orbit-app
@liner-engineering/orbit-app은 Liner의 멀티 테넌트 환경에서 테넌트 간 라우팅과 분석 로깅을 위한 패키지입니다.
설치
bash
pnpm add @liner-engineering/orbit-app모듈 구조
| 모듈 | 설명 |
|---|---|
| Tenant | 테넌트 간 라우팅 및 URL 생성 |
| Analytics | 분석 이벤트 로깅 |
Import
ts
// Tenant 모듈
import { TenantRouter, Tenant } from '@liner-engineering/orbit-app/tenant';
// Analytics 모듈
import {
TouchProductGatewayLogger,
TouchWebLinerLandingLogger,
TouchLinerDomainLogger,
useLinerTouchLog,
} from '@liner-engineering/orbit-app/analytics';
// 전체 import
import {
TenantRouter,
Tenant,
TouchProductGatewayLogger,
useLinerTouchLog,
} from '@liner-engineering/orbit-app';Peer Dependencies
| 의존성 | 버전 | 필수 |
|---|---|---|
| react | ^18.2.0 | 필수 |
| react-dom | ^18.2.0 | 필수 |
| next | ^15.5.7 | 필수 |
Dependencies
| 의존성 | 버전 | 용도 |
|---|---|---|
| js-cookie | ^3.0.5 | 쿠키 관리 |