Skip to content

Commit 576868a

Browse files
committed
chore: add moon.yml for monorepo integration
moon 모노레포 설정 추가 (t-ruby 프로젝트 Milestone -7 Phase 1)
1 parent 09af175 commit 576868a

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

moon.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# t-ruby 공식 문서 사이트 moon 설정
2+
# 문서: https://moonrepo.dev/docs/config/project
3+
4+
$schema: 'https://moonrepo.dev/schemas/project.json'
5+
6+
language: 'typescript'
7+
type: 'application'
8+
9+
# 프로젝트 메타데이터
10+
project:
11+
name: 't-ruby-docs'
12+
description: 'T-Ruby 공식 문서 사이트 (Docusaurus)'
13+
channel: '#t-ruby-docs'
14+
15+
# 태스크 정의
16+
tasks:
17+
# 개발 서버 시작
18+
start:
19+
command: 'pnpm start'
20+
local: true
21+
platform: 'node'
22+
23+
# 프로덕션 빌드
24+
build:
25+
command: 'pnpm build'
26+
inputs:
27+
- 'docs/**/*'
28+
- 'src/**/*'
29+
- 'i18n/**/*'
30+
- 'docusaurus.config.ts'
31+
- 'sidebars.ts'
32+
outputs:
33+
- 'build/**/*'
34+
platform: 'node'
35+
36+
# 타입 체크
37+
typecheck:
38+
command: 'pnpm typecheck'
39+
inputs:
40+
- 'src/**/*.ts'
41+
- 'src/**/*.tsx'
42+
- 'tsconfig.json'
43+
platform: 'node'
44+
45+
# 배포
46+
deploy:
47+
command: 'pnpm deploy'
48+
deps:
49+
- '~:build'
50+
platform: 'node'

0 commit comments

Comments
 (0)