Skip to content
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

v2 #189

Merged
merged 22 commits into from
Aug 5, 2024
Merged

v2 #189

merged 22 commits into from
Aug 5, 2024

Conversation

okinawaa
Copy link
Member

@okinawaa okinawaa commented Jul 14, 2024

Overview

  1. fix [Bug] 잘못 노출된 불필요 인터페이스 점진적 제거가 필요합니다 #158

  2. fix [Feature]: 정해진 일관된 이름 짓기 규칙에 알맞게 함수명 수정하기  #170

  3. 불필요한 함수 제거

  4. 함수명 수정

  5. 잘못 export된 함수들 수정

PR Checklist

📝 major version update squash merge를 사용하지 않습니다

  • I read and included theses actions below
  1. I have read the Contributing Guide
  2. I have written documents and tests, if needed.

@okinawaa okinawaa requested a review from raon0211 as a code owner July 14, 2024 07:51
Copy link

vercel bot commented Jul 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
es-hangul ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 5, 2024 6:37pm

Copy link

changeset-bot bot commented Jul 14, 2024

🦋 Changeset detected

Latest commit: 4c3e9f9

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@codecov-commenter
Copy link

codecov-commenter commented Jul 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.82%. Comparing base (78cde66) to head (3c5299d).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #189      +/-   ##
==========================================
+ Coverage   97.61%   99.82%   +2.21%     
==========================================
  Files          32       29       -3     
  Lines         629      583      -46     
  Branches      146      141       -5     
==========================================
- Hits          614      582      -32     
+ Misses         14        1      -13     
+ Partials        1        0       -1     

@manudeli
Copy link
Member

changesets/changesets#665 참고하기 좋은 이슈인 것 같아서 남겨요

@manudeli
Copy link
Member

squash merge를 반드시 사용하지 않아야 합니다. 리마인드

@manudeli
Copy link
Member

manudeli commented Aug 4, 2024

squash merge를 반드시 사용하지 않아야 합니다. 리마인드

매우 중요해서 리마인드

okinawaa and others added 6 commits August 4, 2024 20:06
* remove extrachHangul

* Create cyan-tigers-sneeze.md

---------

Co-authored-by: Jonghyeon Ko <[email protected]>
…angul이라는 글자를 제거합니다 (#184)

* dissemble관련 메서드에서 hangul이름을 제거합니다

* 누락된 부분 수정

* resolve conflit

* Create late-beers-hang.md

* diassembleHangul to diassemble

---------

Co-authored-by: Jonghyeon Ko <[email protected]>
* remove acronymize

* Create weak-walls-sniff.md

---------

Co-authored-by: Jonghyeon Ko <[email protected]>
* getChoseong분리

* write test code

* getChoseong import

* remove useless import statemenet

* remove unused file
…도 함수로 분리합니다. (#193)

* canBe series를 별도 함수로 분리합니다

* add change set
* feat: 문자열에서 한글을 추출해주는 extractHangul 함수를 제거합니다 (#185)

* remove extrachHangul

* Create cyan-tigers-sneeze.md

---------

Co-authored-by: Jonghyeon Ko <[email protected]>

* feat: disassembleHangul, disassemble, disassembleHangulToGroup 함수에서 hangul이라는 글자를 제거합니다 (#184)

* dissemble관련 메서드에서 hangul이름을 제거합니다

* 누락된 부분 수정

* resolve conflit

* Create late-beers-hang.md

* diassembleHangul to diassemble

---------

Co-authored-by: Jonghyeon Ko <[email protected]>

* remove hangulIncludes (#188)

* feat: 한글의 두음을 반환해주는 acronymizeHangul 함수를 제거합니다. (#180)

* remove acronymize

* Create weak-walls-sniff.md

---------

Co-authored-by: Jonghyeon Ko <[email protected]>

* feat: getChoseng을 utils에서 별도 함수로 분리합니다. (#192)

* getChoseong분리

* write test code

* getChoseong import

* remove useless import statemenet

* remove unused file

* feat: `canBeChoseong`, `canBeJungseong`, `canBeJongseong` 을 utils에서 별도 함수로 분리합니다. (#193)

* canBe series를 별도 함수로 분리합니다

* add change set

* feat: `hasBatchim` 을 utils에서 별도 함수로 분리합니다. (#195)

* hasBatchim

* resolve type error

* add change set

* hasProperty, hasValueInReadOnlyStringList를 internal folder 로 옮깁니다

* resolve test error

* move with test code

* feat: choseongIncludes함수를 제거합니다. (#197)

* remove choseongIncludes

Co-authored-by: 서동휘 <[email protected]>

* fix: remove 한글

* fix: amountToMoneyCurrency로 함수명 변경

* fix: amountToHangul로 함수명 수정

* fix: conflict

* fix: filepath

* fix: import 방식 변경 및 CHANGELOG restore

* Create kind-birds-provide.md

---------

Co-authored-by: 박찬혁 <[email protected]>
Co-authored-by: Jonghyeon Ko <[email protected]>
Co-authored-by: 서동휘 <[email protected]>
okinawaa and others added 2 commits August 6, 2024 02:10
Co-authored-by: 서동휘 <[email protected]>
Co-authored-by: minsuKang <[email protected]>
Co-authored-by: chaerim kim <[email protected]>
README.md Outdated Show resolved Hide resolved
Co-authored-by: Jonghyeon Ko <[email protected]>
```typescript
function getChoseong(
// 초성을 추출 할 한글 문자열
word: string
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

반드시 단어가 아니기 때문에 word보다 좋은 변수명이 된다면 좋을 거 같아요

Suggested change
word: string
xxx: string

hasBatchim(
str: string,
// 홑받침 여부를 확인할지 여부
options?: { single?: boolean }
Copy link
Member

@manudeli manudeli Aug 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

아래처럼은 어떨까요? single만 대응되는 것이 한쪽으로 치우친 거 같아서 두 쪽 다 공평히 대응되면 좋을 거 같아요

Suggested change
options?: { single?: boolean }
options?: { only?: 'single' | 'double' }

export function assembleHangul(words: string[]) {
const disassembled = disassembleHangul(words.join('')).split('');
return disassembled.reduce(binaryAssembleHangul);
export function assemble(words: string[]) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

assemble이 현재의 disassemble & 현재의 comineCharacter인 거 같아요

현재의 comineCharacter이 오히려 disassemble의 반대의 기능인 거 같아서 assemble로 이름 바꾸는 걸 생각해보면 좋을 거 같아요

  • comineCharacter => assemble
  • assemble 제거 하면 어떨까해요

Copy link
Member

@manudeli manudeli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀🚀🚀🚀🚀

@okinawaa okinawaa merged commit 4c3e9f9 into main Aug 5, 2024
9 of 10 checks passed
@github-actions github-actions bot mentioned this pull request Aug 5, 2024
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants