Conversation
|
@chungyo is attempting to deploy a commit to the Toss Team on Vercel. A member of the Team first needs to authorize it. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
문제
구조 분해 인자에
@param이 없어도docflow check가 문서 검증을 통과하는 문제를 수정합니다. 예를 들어 아래 함수를 검사하면 수정 전에는 성공 메시지와 종료 코드0을 반환합니다.기대 동작은 누락된 인자를 보고하고 종료 코드
1을 반환하는 것입니다. 수정 후에는 다음 진단이 출력됩니다.변경 내용
resolveDestructuredNames는 구조 분해 인자에 사용할 JSDoc root 이름을 찾지 못하면 빈 배열을 반환합니다. 이 때문에 해당 인자가 후속 누락 검사 대상에서 사라집니다.이 경우 실제 binding 문자열인
entry.name을 남겨 기존findMissingDocs가missing_param을 생성하도록 변경합니다. 문서에 없는 root 이름을 추측하지 않으며, 문서가 있는 인자의 virtual root와 중첩 속성 매핑은 기존 로직을 사용합니다.다음 3가지 회귀 테스트와 patch changeset을 추가합니다.
@param이 없는 경우검증
isValid: true로 실패했고, 수정 후 기존 테스트를 포함한FunctionValidator테스트 30개가 통과했습니다.yarn format:check,yarn lint,yarn build,yarn typecheck,yarn test: 모두 통과. CLI 패키지 테스트는 231개입니다.packages/cli/bin/cli.js를 각각 별도의 최소 workspace에서 실행해 아래 7가지 입력을 확인했습니다.1@param누락1000로컬 검증 환경: Node 22.23.1, Yarn 4.9.1,
node-moduleslinker. 의존성 및 lockfile 변경은 없습니다.