package-exports
OfficialNavigate monorepo imports with ease.
Authororient-bot
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you understand and configure how packages are imported and resolved within the Orient monorepo, preventing module resolution errors and ensuring correct import paths.
Core Features & Use Cases
- Import Resolution: Clarifies the difference between importing from source (
src/) versus distribution (dist/) directories. package.jsonExports: Explains how to define entry points using theexportsfield for both basic and subpath exports.- Development vs. Production: Details how TypeScript path aliases are used during development and how package exports are used in production.
- Re-exporting: Provides strategies for creating barrel files and re-exporting modules from dependencies.
- Use Case: You're encountering "Cannot find module" errors when importing a package within the monorepo. This Skill guides you through checking your
package.jsonexports, ensuring the package is built, and verifying your import statements.
Quick Start
Use the package-exports skill to understand why importing '@orientbot/core' fails at runtime after a build.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: package-exports Download link: https://github.com/orient-bot/orient/archive/main.zip#package-exports Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.