From 18c4209da2ad32798a4752da60386b1e730c2049 Mon Sep 17 00:00:00 2001 From: SWARVY Date: Wed, 14 Aug 2024 23:18:55 +0900 Subject: [PATCH] chore(time): rename time service 'time' to 'kgu-plus' (#97) --- apps/{time => kgu-plus}/.eslintrc.cjs | 0 apps/{time => kgu-plus}/.gitignore | 0 apps/{time => kgu-plus}/README.md | 0 apps/{time => kgu-plus}/next.config.mjs | 0 apps/{time => kgu-plus}/package.json | 2 +- apps/{time => kgu-plus}/postcss.config.js | 0 apps/{time => kgu-plus}/public/logo.webp | Bin apps/{time => kgu-plus}/public/not_found.webp | Bin apps/{time => kgu-plus}/src/app/PageLayout.tsx | 0 apps/{time => kgu-plus}/src/app/favicon.ico | Bin apps/{time => kgu-plus}/src/app/globals.css | 0 apps/{time => kgu-plus}/src/app/layout.tsx | 2 +- apps/{time => kgu-plus}/src/app/page.tsx | 0 apps/{time => kgu-plus}/src/app/timetable/page.tsx | 0 apps/{time => kgu-plus}/src/shared/atoms/modal.ts | 0 apps/{time => kgu-plus}/src/shared/constants/day.ts | 0 .../src/shared/constants/index.ts | 0 .../src/shared/constants/modal-key.ts | 0 .../{time => kgu-plus}/src/shared/constants/path.ts | 0 apps/{time => kgu-plus}/src/shared/hooks/index.ts | 0 .../src/shared/hooks/useEditableSearchParams.ts | 0 .../src/shared/hooks/useModalAction.ts | 0 .../src/shared/hooks/useModalState.ts | 0 .../src/shared/hooks/useOutsideClick.ts | 0 apps/{time => kgu-plus}/src/shared/types/common.ts | 0 apps/{time => kgu-plus}/src/shared/types/index.ts | 1 + .../src/shared/types/modal-key.ts | 0 apps/{time => kgu-plus}/src/shared/ui/Modal.tsx | 0 apps/{time => kgu-plus}/src/shared/ui/index.ts | 0 .../src/shared/utils/Providers.tsx | 0 apps/{time => kgu-plus}/src/shared/utils/index.ts | 0 apps/{time => kgu-plus}/src/widgets/home/index.ts | 0 .../src/widgets/home/ui/HomeCard.tsx | 0 .../{time => kgu-plus}/src/widgets/home/ui/index.ts | 0 apps/{time => kgu-plus}/src/widgets/menu/index.ts | 0 .../src/widgets/menu/ui/Footer.tsx | 0 apps/{time => kgu-plus}/src/widgets/menu/ui/Nav.tsx | 2 +- .../{time => kgu-plus}/src/widgets/menu/ui/index.ts | 0 .../src/widgets/time-table/index.ts | 0 .../src/widgets/time-table/model/constants/grade.ts | 0 .../src/widgets/time-table/model/constants/index.ts | 0 .../widgets/time-table/model/constants/lecture.ts | 0 .../widgets/time-table/model/constants/period.ts | 0 .../widgets/time-table/model/constants/region.ts | 0 .../src/widgets/time-table/model/hooks/index.ts | 0 .../time-table/model/hooks/useTimeTableParams.ts | 0 .../src/widgets/time-table/model/index.ts | 0 .../time-table/model/util/getFormattedTime.ts | 0 .../src/widgets/time-table/model/util/index.ts | 0 .../src/widgets/time-table/types/day-status.ts | 0 .../src/widgets/time-table/types/grade.ts | 0 .../src/widgets/time-table/types/index.ts | 0 .../src/widgets/time-table/types/lecture.ts | 0 .../src/widgets/time-table/types/period.ts | 0 .../src/widgets/time-table/types/region.ts | 0 .../src/widgets/time-table/ui/TimeTable.tsx | 0 .../widgets/time-table/ui/TimeTableContainer.tsx | 0 .../src/widgets/time-table/ui/TimeTableFilter.tsx | 0 .../src/widgets/time-table/ui/TimeTableHeader.tsx | 5 ++++- .../src/widgets/time-table/ui/TimeTableLayout.tsx | 0 .../src/widgets/time-table/ui/TimeTableModal.tsx | 0 .../src/widgets/time-table/ui/index.ts | 0 apps/{time => kgu-plus}/tailwind.config.ts | 0 apps/{time => kgu-plus}/tsconfig.json | 0 64 files changed, 8 insertions(+), 4 deletions(-) rename apps/{time => kgu-plus}/.eslintrc.cjs (100%) rename apps/{time => kgu-plus}/.gitignore (100%) rename apps/{time => kgu-plus}/README.md (100%) rename apps/{time => kgu-plus}/next.config.mjs (100%) rename apps/{time => kgu-plus}/package.json (95%) rename apps/{time => kgu-plus}/postcss.config.js (100%) rename apps/{time => kgu-plus}/public/logo.webp (100%) rename apps/{time => kgu-plus}/public/not_found.webp (100%) rename apps/{time => kgu-plus}/src/app/PageLayout.tsx (100%) rename apps/{time => kgu-plus}/src/app/favicon.ico (100%) rename apps/{time => kgu-plus}/src/app/globals.css (100%) rename apps/{time => kgu-plus}/src/app/layout.tsx (96%) rename apps/{time => kgu-plus}/src/app/page.tsx (100%) rename apps/{time => kgu-plus}/src/app/timetable/page.tsx (100%) rename apps/{time => kgu-plus}/src/shared/atoms/modal.ts (100%) rename apps/{time => kgu-plus}/src/shared/constants/day.ts (100%) rename apps/{time => kgu-plus}/src/shared/constants/index.ts (100%) rename apps/{time => kgu-plus}/src/shared/constants/modal-key.ts (100%) rename apps/{time => kgu-plus}/src/shared/constants/path.ts (100%) rename apps/{time => kgu-plus}/src/shared/hooks/index.ts (100%) rename apps/{time => kgu-plus}/src/shared/hooks/useEditableSearchParams.ts (100%) rename apps/{time => kgu-plus}/src/shared/hooks/useModalAction.ts (100%) rename apps/{time => kgu-plus}/src/shared/hooks/useModalState.ts (100%) rename apps/{time => kgu-plus}/src/shared/hooks/useOutsideClick.ts (100%) rename apps/{time => kgu-plus}/src/shared/types/common.ts (100%) rename apps/{time => kgu-plus}/src/shared/types/index.ts (63%) rename apps/{time => kgu-plus}/src/shared/types/modal-key.ts (100%) rename apps/{time => kgu-plus}/src/shared/ui/Modal.tsx (100%) rename apps/{time => kgu-plus}/src/shared/ui/index.ts (100%) rename apps/{time => kgu-plus}/src/shared/utils/Providers.tsx (100%) rename apps/{time => kgu-plus}/src/shared/utils/index.ts (100%) rename apps/{time => kgu-plus}/src/widgets/home/index.ts (100%) rename apps/{time => kgu-plus}/src/widgets/home/ui/HomeCard.tsx (100%) rename apps/{time => kgu-plus}/src/widgets/home/ui/index.ts (100%) rename apps/{time => kgu-plus}/src/widgets/menu/index.ts (100%) rename apps/{time => kgu-plus}/src/widgets/menu/ui/Footer.tsx (100%) rename apps/{time => kgu-plus}/src/widgets/menu/ui/Nav.tsx (95%) rename apps/{time => kgu-plus}/src/widgets/menu/ui/index.ts (100%) rename apps/{time => kgu-plus}/src/widgets/time-table/index.ts (100%) rename apps/{time => kgu-plus}/src/widgets/time-table/model/constants/grade.ts (100%) rename apps/{time => kgu-plus}/src/widgets/time-table/model/constants/index.ts (100%) rename apps/{time => kgu-plus}/src/widgets/time-table/model/constants/lecture.ts (100%) rename apps/{time => kgu-plus}/src/widgets/time-table/model/constants/period.ts (100%) rename apps/{time => kgu-plus}/src/widgets/time-table/model/constants/region.ts (100%) rename apps/{time => kgu-plus}/src/widgets/time-table/model/hooks/index.ts (100%) rename apps/{time => kgu-plus}/src/widgets/time-table/model/hooks/useTimeTableParams.ts (100%) rename apps/{time => kgu-plus}/src/widgets/time-table/model/index.ts (100%) rename apps/{time => kgu-plus}/src/widgets/time-table/model/util/getFormattedTime.ts (100%) rename apps/{time => kgu-plus}/src/widgets/time-table/model/util/index.ts (100%) rename apps/{time => kgu-plus}/src/widgets/time-table/types/day-status.ts (100%) rename apps/{time => kgu-plus}/src/widgets/time-table/types/grade.ts (100%) rename apps/{time => kgu-plus}/src/widgets/time-table/types/index.ts (100%) rename apps/{time => kgu-plus}/src/widgets/time-table/types/lecture.ts (100%) rename apps/{time => kgu-plus}/src/widgets/time-table/types/period.ts (100%) rename apps/{time => kgu-plus}/src/widgets/time-table/types/region.ts (100%) rename apps/{time => kgu-plus}/src/widgets/time-table/ui/TimeTable.tsx (100%) rename apps/{time => kgu-plus}/src/widgets/time-table/ui/TimeTableContainer.tsx (100%) rename apps/{time => kgu-plus}/src/widgets/time-table/ui/TimeTableFilter.tsx (100%) rename apps/{time => kgu-plus}/src/widgets/time-table/ui/TimeTableHeader.tsx (57%) rename apps/{time => kgu-plus}/src/widgets/time-table/ui/TimeTableLayout.tsx (100%) rename apps/{time => kgu-plus}/src/widgets/time-table/ui/TimeTableModal.tsx (100%) rename apps/{time => kgu-plus}/src/widgets/time-table/ui/index.ts (100%) rename apps/{time => kgu-plus}/tailwind.config.ts (100%) rename apps/{time => kgu-plus}/tsconfig.json (100%) diff --git a/apps/time/.eslintrc.cjs b/apps/kgu-plus/.eslintrc.cjs similarity index 100% rename from apps/time/.eslintrc.cjs rename to apps/kgu-plus/.eslintrc.cjs diff --git a/apps/time/.gitignore b/apps/kgu-plus/.gitignore similarity index 100% rename from apps/time/.gitignore rename to apps/kgu-plus/.gitignore diff --git a/apps/time/README.md b/apps/kgu-plus/README.md similarity index 100% rename from apps/time/README.md rename to apps/kgu-plus/README.md diff --git a/apps/time/next.config.mjs b/apps/kgu-plus/next.config.mjs similarity index 100% rename from apps/time/next.config.mjs rename to apps/kgu-plus/next.config.mjs diff --git a/apps/time/package.json b/apps/kgu-plus/package.json similarity index 95% rename from apps/time/package.json rename to apps/kgu-plus/package.json index 16da39e3..0d0e96b4 100644 --- a/apps/time/package.json +++ b/apps/kgu-plus/package.json @@ -1,5 +1,5 @@ { - "name": "@clab/time", + "name": "@clab-platforms/kgu-plus", "private": true, "scripts": { "dev": "next dev --port 6004", diff --git a/apps/time/postcss.config.js b/apps/kgu-plus/postcss.config.js similarity index 100% rename from apps/time/postcss.config.js rename to apps/kgu-plus/postcss.config.js diff --git a/apps/time/public/logo.webp b/apps/kgu-plus/public/logo.webp similarity index 100% rename from apps/time/public/logo.webp rename to apps/kgu-plus/public/logo.webp diff --git a/apps/time/public/not_found.webp b/apps/kgu-plus/public/not_found.webp similarity index 100% rename from apps/time/public/not_found.webp rename to apps/kgu-plus/public/not_found.webp diff --git a/apps/time/src/app/PageLayout.tsx b/apps/kgu-plus/src/app/PageLayout.tsx similarity index 100% rename from apps/time/src/app/PageLayout.tsx rename to apps/kgu-plus/src/app/PageLayout.tsx diff --git a/apps/time/src/app/favicon.ico b/apps/kgu-plus/src/app/favicon.ico similarity index 100% rename from apps/time/src/app/favicon.ico rename to apps/kgu-plus/src/app/favicon.ico diff --git a/apps/time/src/app/globals.css b/apps/kgu-plus/src/app/globals.css similarity index 100% rename from apps/time/src/app/globals.css rename to apps/kgu-plus/src/app/globals.css diff --git a/apps/time/src/app/layout.tsx b/apps/kgu-plus/src/app/layout.tsx similarity index 96% rename from apps/time/src/app/layout.tsx rename to apps/kgu-plus/src/app/layout.tsx index a0db8e33..90a4a5db 100644 --- a/apps/time/src/app/layout.tsx +++ b/apps/kgu-plus/src/app/layout.tsx @@ -9,7 +9,7 @@ import './globals.css'; const inter = Noto_Sans_KR({ subsets: ['latin'] }); export const metadata: Metadata = { - title: '경기타임', + title: '경기플러스', description: '경기대학교에 계신 모든 순간을 도와드릴게요.', icons: { icon: '/favicon.ico', diff --git a/apps/time/src/app/page.tsx b/apps/kgu-plus/src/app/page.tsx similarity index 100% rename from apps/time/src/app/page.tsx rename to apps/kgu-plus/src/app/page.tsx diff --git a/apps/time/src/app/timetable/page.tsx b/apps/kgu-plus/src/app/timetable/page.tsx similarity index 100% rename from apps/time/src/app/timetable/page.tsx rename to apps/kgu-plus/src/app/timetable/page.tsx diff --git a/apps/time/src/shared/atoms/modal.ts b/apps/kgu-plus/src/shared/atoms/modal.ts similarity index 100% rename from apps/time/src/shared/atoms/modal.ts rename to apps/kgu-plus/src/shared/atoms/modal.ts diff --git a/apps/time/src/shared/constants/day.ts b/apps/kgu-plus/src/shared/constants/day.ts similarity index 100% rename from apps/time/src/shared/constants/day.ts rename to apps/kgu-plus/src/shared/constants/day.ts diff --git a/apps/time/src/shared/constants/index.ts b/apps/kgu-plus/src/shared/constants/index.ts similarity index 100% rename from apps/time/src/shared/constants/index.ts rename to apps/kgu-plus/src/shared/constants/index.ts diff --git a/apps/time/src/shared/constants/modal-key.ts b/apps/kgu-plus/src/shared/constants/modal-key.ts similarity index 100% rename from apps/time/src/shared/constants/modal-key.ts rename to apps/kgu-plus/src/shared/constants/modal-key.ts diff --git a/apps/time/src/shared/constants/path.ts b/apps/kgu-plus/src/shared/constants/path.ts similarity index 100% rename from apps/time/src/shared/constants/path.ts rename to apps/kgu-plus/src/shared/constants/path.ts diff --git a/apps/time/src/shared/hooks/index.ts b/apps/kgu-plus/src/shared/hooks/index.ts similarity index 100% rename from apps/time/src/shared/hooks/index.ts rename to apps/kgu-plus/src/shared/hooks/index.ts diff --git a/apps/time/src/shared/hooks/useEditableSearchParams.ts b/apps/kgu-plus/src/shared/hooks/useEditableSearchParams.ts similarity index 100% rename from apps/time/src/shared/hooks/useEditableSearchParams.ts rename to apps/kgu-plus/src/shared/hooks/useEditableSearchParams.ts diff --git a/apps/time/src/shared/hooks/useModalAction.ts b/apps/kgu-plus/src/shared/hooks/useModalAction.ts similarity index 100% rename from apps/time/src/shared/hooks/useModalAction.ts rename to apps/kgu-plus/src/shared/hooks/useModalAction.ts diff --git a/apps/time/src/shared/hooks/useModalState.ts b/apps/kgu-plus/src/shared/hooks/useModalState.ts similarity index 100% rename from apps/time/src/shared/hooks/useModalState.ts rename to apps/kgu-plus/src/shared/hooks/useModalState.ts diff --git a/apps/time/src/shared/hooks/useOutsideClick.ts b/apps/kgu-plus/src/shared/hooks/useOutsideClick.ts similarity index 100% rename from apps/time/src/shared/hooks/useOutsideClick.ts rename to apps/kgu-plus/src/shared/hooks/useOutsideClick.ts diff --git a/apps/time/src/shared/types/common.ts b/apps/kgu-plus/src/shared/types/common.ts similarity index 100% rename from apps/time/src/shared/types/common.ts rename to apps/kgu-plus/src/shared/types/common.ts diff --git a/apps/time/src/shared/types/index.ts b/apps/kgu-plus/src/shared/types/index.ts similarity index 63% rename from apps/time/src/shared/types/index.ts rename to apps/kgu-plus/src/shared/types/index.ts index 6a664ea1..aa8259b2 100644 --- a/apps/time/src/shared/types/index.ts +++ b/apps/kgu-plus/src/shared/types/index.ts @@ -1,2 +1,3 @@ export * from './common'; export * from './modal-key'; +export * from './utility-type'; diff --git a/apps/time/src/shared/types/modal-key.ts b/apps/kgu-plus/src/shared/types/modal-key.ts similarity index 100% rename from apps/time/src/shared/types/modal-key.ts rename to apps/kgu-plus/src/shared/types/modal-key.ts diff --git a/apps/time/src/shared/ui/Modal.tsx b/apps/kgu-plus/src/shared/ui/Modal.tsx similarity index 100% rename from apps/time/src/shared/ui/Modal.tsx rename to apps/kgu-plus/src/shared/ui/Modal.tsx diff --git a/apps/time/src/shared/ui/index.ts b/apps/kgu-plus/src/shared/ui/index.ts similarity index 100% rename from apps/time/src/shared/ui/index.ts rename to apps/kgu-plus/src/shared/ui/index.ts diff --git a/apps/time/src/shared/utils/Providers.tsx b/apps/kgu-plus/src/shared/utils/Providers.tsx similarity index 100% rename from apps/time/src/shared/utils/Providers.tsx rename to apps/kgu-plus/src/shared/utils/Providers.tsx diff --git a/apps/time/src/shared/utils/index.ts b/apps/kgu-plus/src/shared/utils/index.ts similarity index 100% rename from apps/time/src/shared/utils/index.ts rename to apps/kgu-plus/src/shared/utils/index.ts diff --git a/apps/time/src/widgets/home/index.ts b/apps/kgu-plus/src/widgets/home/index.ts similarity index 100% rename from apps/time/src/widgets/home/index.ts rename to apps/kgu-plus/src/widgets/home/index.ts diff --git a/apps/time/src/widgets/home/ui/HomeCard.tsx b/apps/kgu-plus/src/widgets/home/ui/HomeCard.tsx similarity index 100% rename from apps/time/src/widgets/home/ui/HomeCard.tsx rename to apps/kgu-plus/src/widgets/home/ui/HomeCard.tsx diff --git a/apps/time/src/widgets/home/ui/index.ts b/apps/kgu-plus/src/widgets/home/ui/index.ts similarity index 100% rename from apps/time/src/widgets/home/ui/index.ts rename to apps/kgu-plus/src/widgets/home/ui/index.ts diff --git a/apps/time/src/widgets/menu/index.ts b/apps/kgu-plus/src/widgets/menu/index.ts similarity index 100% rename from apps/time/src/widgets/menu/index.ts rename to apps/kgu-plus/src/widgets/menu/index.ts diff --git a/apps/time/src/widgets/menu/ui/Footer.tsx b/apps/kgu-plus/src/widgets/menu/ui/Footer.tsx similarity index 100% rename from apps/time/src/widgets/menu/ui/Footer.tsx rename to apps/kgu-plus/src/widgets/menu/ui/Footer.tsx diff --git a/apps/time/src/widgets/menu/ui/Nav.tsx b/apps/kgu-plus/src/widgets/menu/ui/Nav.tsx similarity index 95% rename from apps/time/src/widgets/menu/ui/Nav.tsx rename to apps/kgu-plus/src/widgets/menu/ui/Nav.tsx index 3d16480d..0f8d06a0 100644 --- a/apps/time/src/widgets/menu/ui/Nav.tsx +++ b/apps/kgu-plus/src/widgets/menu/ui/Nav.tsx @@ -45,7 +45,7 @@ const Nav = () => { height={200} className="size-8" /> -

경기타임

+

경기플러스