Skip to main content

rebuild-to-fix-lib-import-errors

When typecheck finds an error importing from a lib in the monorepo, rebuild the lib

Informações da origem

Repositório
LedgerHQ/ledger-live
Última atividade na origem
7 de outubro de 2026 às 16:51
Idioma detectado do SKILL.md
inglês
Estrelas
622
Forks
491

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
rebuild-to-fix-lib-import-errors
description
When typecheck finds an error importing from a lib in the monorepo, rebuild the lib
When typecheck finds an error importing from a lib in the monorepo rebuild the lib using the command below: ```shell nx run @ledgerhq/name_of_lib_here:build ``` ## Example ### `ledger-wallet-framework` has been updated and the import in `live-common` is erroring We run `typecheck` and get the following error: > src/families/tron/transaction.ts:2:10 - error TS2305: Module '"@ledgerhq/ledger-wallet-framework/account"' has no exported member 'getAccountCurrency'. > 2 import { getAccountCurrency } from "@ledgerhq/ledger-wallet-framework/account"; We need to rebuild `@ledgerhq/ledger-wallet-framework` ```shell nx run @ledgerhq/ledger-wallet-framework:build ```
Ver no GitHub