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 Updated 628 repo stars

File contents

ledgerhq/ledger-live commit 8a707797c8

Frequently asked questions

npx get-skill add ledgerhq/package-public-api