mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 04:55:58 +03:00
[PR #537] [CLOSED] ci(pkg-pr-new): use commit SHA in comments to prevent duplicate deps #605
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#605
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/anomalyco/opentui/pull/537
Author: @remorses
Created: 1/16/2026
Status: ❌ Closed
Base:
main← Head:ci/pkg-pr-new-sha-comments📝 Commits (1)
426773cci(pkg-pr-new): use commit SHA in comments to prevent duplicate deps📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
.github/workflows/pkg-pr-new.yml(+1 -1)📄 Description
Adds
--commentWithShato pkg-pr-new publish command.This is required to prevent duplicate dependencies when installing preview packages. Without this, @opentui/react uses a URL with a PR number in its dependencies (e.g.
@opentui/core@0.0.0-pr.123), but if another commit is pushed, the resolved package changes while the URL stays the same.With
--commentWithSha, the URLs use commit hashes instead, so @opentui/react's dependency on @opentui/core will resolve to the exact same package, preventing duplicate @opentui/core entries in node_modules.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.