Skip to content

Commit a1890ae

Browse files
committed
♻️ 모노레포로 프로젝트 구조 수정 완료
기존에 단일 프로젝트였던 구조를 apps,packaged로 분리해 모노레포로 수정했습니다. 유저의 웹사이트 배포시 apps/user-template관련 코드만 배포하고, 실제 wcx의 서비스 수정,배포시 apps/editor 코드만 배포함으로써 상황에 맞게 분리하기 위해 모노레포로 구조를 변경했습니다. 추가로 packages는 apps와 같이 프로젝트 개념이 아니라 apps에서 필요한 함수를 가져다 쓸 수 있는 라이브러리입니다.
1 parent ecd1d6d commit a1890ae

44 files changed

Lines changed: 4465 additions & 71 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,6 @@ jobs:
4545

4646
# 5. 빌드 유효성 검사 (3단계 Build Validation)
4747
- name: Run Build
48-
run: npm run build
48+
run: npx turbo run build --filter=editor
49+
# run: npm run build
50+

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
!.yarn/releases
1111
!.yarn/versions
1212

13+
node_modules
14+
.pnpm-store
15+
.turbo
1316
# testing
1417
/coverage
1518

@@ -39,3 +42,8 @@ yarn-error.log*
3942
# typescript
4043
*.tsbuildinfo
4144
next-env.d.ts
45+
46+
# 앱별 빌드 결과물 무시
47+
apps/*/out
48+
apps/*/.next
49+
apps/*/dist
File renamed without changes.
File renamed without changes.

apps/editor/package.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"name": "editor",
3+
"version": "0.1.0",
4+
"private": true,
5+
"scripts": {
6+
"dev": "next dev --turbopack",
7+
"build": "next build --turbopack",
8+
"start": "next start",
9+
"lint": "next lint",
10+
"lint:fix": "eslint . --ext ts,tsx --fix"
11+
},
12+
"dependencies": {
13+
"@repo/ui": "workspace:*",
14+
"@tanstack/react-query": "^5.90.8",
15+
"json-server": "^1.0.0-beta.3",
16+
"next": "15.5.6",
17+
"react": "19.1.0",
18+
"react-dom": "19.1.0",
19+
"zustand": "^5.0.8"
20+
},
21+
"devDependencies": {
22+
"@eslint/eslintrc": "^3",
23+
"@tailwindcss/postcss": "^4",
24+
"@tanstack/eslint-plugin-query": "^5.91.2",
25+
"@tanstack/react-query-devtools": "^5.90.2",
26+
"@types/node": "^20",
27+
"@types/react": "^19",
28+
"@types/react-dom": "^19",
29+
"@typescript-eslint/eslint-plugin": "^8.46.4",
30+
"@typescript-eslint/parser": "^8.46.4",
31+
"eslint": "^9.39.1",
32+
"eslint-config-next": "15.5.6",
33+
"eslint-plugin-immutable": "^1.0.0",
34+
"prettier": "^3.6.2",
35+
"prettier-plugin-tailwindcss": "^0.7.1",
36+
"tailwindcss": "^4",
37+
"typescript": "^5"
38+
}
39+
}

0 commit comments

Comments
 (0)