スキル一覧に戻る
ClipboardHealth

local-package

by ClipboardHealth

Clipboard's core libraries and utilities.

27🍴 3📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


Local Package Development

Use Clipboard's internal CLI (@clipboard-health/cli) to test package changes across repositories without publishing. The cbh local-package command wraps yalc to simplify linking packages between sibling repositories.

Prerequisites

See the CLI README for setup instructions.

Commands

From the consuming repository, link packages from sibling repos:

cbh local-package link --packages <package-names...>

Example:

cbh local-package link --packages ui-theme ui-components

This will:

  1. Find the package in sibling packages/* directories
  2. Build the package with nx
  3. Push the built package to yalc
  4. Update your package.json to use the yalc version

After testing, restore the published package versions:

cbh local-package unlink --packages <package-names...>

Example:

cbh local-package unlink --packages ui-theme ui-components

Workflow Example

To test changes to ui-theme in cbh-mobile-app:

  1. Make changes to ui-theme in cbh-core

  2. From cbh-mobile-app root, run:

    cbh local-package link --packages ui-theme
    
  3. Test your changes in cbh-mobile-app

  4. When done, unlink:

    cbh local-package unlink --packages ui-theme
    

Troubleshooting

  • Package not found: Ensure the package exists in a sibling repo's packages/ directory
  • Build fails: The package must have a valid nx build target
  • Changes not reflected: Run npm install after linking to pull in the yalc version

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です