Package Public API

A new-architecture package (shared/, domain/, features/) exposes its API through barrels that contain nothing but `export *`, and keeps its private code in an internals location. Read this when creating a package under shared/, domain/ or features/, when editing any `index.*` file, or when a `lint:structure` check fails.

ledgerhq 8a70779 4.6 KB Updated

File contents

ledgerhq/ledger-live/tree/main/.agents/skills/package-public-api commit 8a707797c8

Frequently asked questions

npx skillmds@latest add ledgerhq/package-public-api