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

[BUG] - Release workflow fails due to version conflict on @sipe-team/package-name #107

Closed
froggy1014 opened this issue Jan 21, 2025 · 0 comments · Fixed by #113
Closed
Assignees
Labels
bug Something isn't working

Comments

@froggy1014
Copy link
Contributor

froggy1014 commented Jan 21, 2025

Bug Description

Changeset의 config.json 파일은 올바르게 작성되어 있지만, ignore 옵션이 작동하지 않는 현상을 발견했습니다.

Steps to Reproduce

  1. Context: CI 환경에서 npx changeset publish를 실행할 때 발생합니다.
  2. Action:
    • .changeset/config.json 파일에 ignore 옵션을 추가했습니다.
    • npx changeset 명령어를 실행하여 @sipe-team/package-name이 리스팅되지 않는 것을 확인했습니다.

Actual Result

@sipe-team/package-nameignore 목록에 추가되었음에도 불구하고, .template에 있는 package.json 파일이 CI 환경에 npx changeset publish에 포함되어 배포가 시도됩니다.

Expected Result

ignore 목록에 추가된 패키지는 배포 과정에서 무시되어야 하며, CI 환경에서 발생하는 문제를 해결할 수 있어야 합니다.

Screenshots and Logs

Image

Environment Information

  • Browser: N/A
  • Operating System: N/A
  • Package Versions: Changesets version (specify the version if known)
  • Others: CI 환경에서 발생

Additional Notes

조치로 두 가지 생각해봤는데

  1. pnpm changeset version에 [--ignore에 플래그를 사용] (https://github.com/changesets/changesets/blob/main/docs/command-line-options.md#version) ❌
  2. .template/component/package.jsonprivate: true를 추가하고, 스크립트 실행 시 삭제
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant