-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve monorepo builds #457
Conversation
✅ Deploy Preview for biseo-preview ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@@ -1,6 +1,6 @@ | |||
{ | |||
"extends": ["@commitlint/config-conventional"], | |||
"rules": { | |||
"header-max-length": [2, "always", 50] | |||
"header-max-length": [2, "always", 72] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
그냥 이참에 commitlint 최대자 제한을 72
자로 늘렸어요
72
자가 recommended length더라고요
https://github.com/conventional-changelog/commitlint/blob/master/docs/reference-rules.md
@@ -10,14 +10,15 @@ | |||
"web": "pnpm -F @biseo/web", | |||
"api": "dotenv -- pnpm -F @biseo/api", | |||
"interface": "pnpm -F @biseo/interface", | |||
"dev": "dotenv -- pnpm -r --stream dev", | |||
"dev": "dotenv -- pnpm -r --stream --parallel dev", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@biseo/interface
에 dev
(build watch) script가 추가됨에 따라 이 명령이 끝나지 않으므로 --parallel
옵션을 주어 동시에 실행되도록 함
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
고생하셨습니다!
요약 *
기존의 모노레포 빌드 방식을 개선합니다.
tsconfig
의module
및target
을NodeNext
또는ESNext
로 변경tsconfig.build.json
삭제@biseo/interface
의dev
동작 방식을 build watch 방식으로 변경@/*
) 가능해짐eslint
의import/resolver
관련 문제 해결이후 Task *
@biseo/web/*
->@/*
)