wing-ops/frontend
htlee 63645e9f85 refactor(phase4): HNS 물질정보 DB 이전 + 정적 데이터 정리
- HNS_SUBSTANCE 테이블 마이그레이션 SQL 추가 (002_hns_substance.sql)
- HNS 검색/상세 API 구현 (hnsRouter, hnsService)
- HNS 시드 스크립트 추가 (seedHns.ts, 20종 물질 데이터)
- 프론트엔드 HNSSubstanceView: 정적 HNS_SEARCH_DB → API 호출 전환
- HNSSearchSubstance 타입 common/types/hns.ts로 분리
- Mock 데이터 이동: data/ → common/mock/ (vesselMockData, backtrackMockData)
- layerDatabase.ts → common/services/layerService.ts 이동
- layerData.ts → common/data/layerData.ts 이동
- scat/index.ts 누락 수정 + .gitignore scat 규칙 수정

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 14:52:46 +09:00
..
public feat(auth): Google OAuth 로그인 연동 2026-02-27 16:42:59 +09:00
src refactor(phase4): HNS 물질정보 DB 이전 + 정적 데이터 정리 2026-02-28 14:52:46 +09:00
.env.example chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
eslint.config.js chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
index.html chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
package-lock.json refactor(frontend): 공통 모듈 common/ 분리 + OpenLayers 제거 + path alias 설정 2026-02-28 14:00:50 +09:00
package.json refactor(frontend): 공통 모듈 common/ 분리 + OpenLayers 제거 + path alias 설정 2026-02-28 14:00:50 +09:00
postcss.config.js chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
README.md chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
tailwind.config.js chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
tsconfig.app.json refactor(frontend): 공통 모듈 common/ 분리 + OpenLayers 제거 + path alias 설정 2026-02-28 14:00:50 +09:00
tsconfig.json chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
tsconfig.node.json chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
vite.config.ts refactor(frontend): 공통 모듈 common/ 분리 + OpenLayers 제거 + path alias 설정 2026-02-28 14:00:50 +09:00

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...

      // Remove tseslint.configs.recommended and replace with this
      tseslint.configs.recommendedTypeChecked,
      // Alternatively, use this for stricter rules
      tseslint.configs.strictTypeChecked,
      // Optionally, add this for stylistic rules
      tseslint.configs.stylisticTypeChecked,

      // Other configs...
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])

You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:

// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...
      // Enable lint rules for React
      reactX.configs['recommended-typescript'],
      // Enable lint rules for React DOM
      reactDom.configs.recommended,
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])