local-package

Link and unlink local packages between sibling repositories for testing.

66|9|Updated Aug 5, 2024
One-click install
npx skills add https://github.com/ClipboardHealth/core-utils --skill local-package
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: local-package
Source: https://github.com/ClipboardHealth/core-utils/tree/main/plugins/core/skills/local-package
Command: npx skills add https://github.com/ClipboardHealth/core-utils --skill local-package

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of linking and unlinking local packages between repositories for efficient testing and development workflows.

Core Features & Use Cases

  • Package Linking: Quickly create local links between sibling repositories' packages for immediate testing.
  • Package Unlinking: Easily revert to published versions after testing changes.
  • Use Case: Developers working on shared packages who want to test their changes in consuming apps without publishing to a registry can use this Skill to streamline their local development process.

Quick Start

Use the local-package skill to link the util-ts package between repositories and test your updates immediately.

Frequently Asked Questions about local-package

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test local package changes in a consuming app without publishing?

You can test local package changes without publishing by linking the local package directly into your consuming application's repository for immediate iteration and validation. This Skill streamlines that linking process.

What is the best way to link and unlink local packages across repositories?

The best way to manage local package links across repositories is to use straightforward commands that toggle local links, allowing you to quickly create links for testing and easily revert to published versions.

Can I use yalc and nx to streamline local package development?

Yes, you can use this Skill to streamline local package development and testing workflows that involve tools like yalc and nx, ensuring safe environment management while satisfying build and validation requirements.

How do I revert from a local package link back to the published version?

To revert from a local package link back to the published version, you use the package unlinking feature, which easily removes the local link and restores the consuming repository's dependency on the registry.

When do I need to set up local package linking for multi-repository projects?

You need local package linking for multi-repository projects when package changes in a shared repository must be tested in a consuming app, allowing developers to rapidly iterate without publishing to a registry.