Skip to content

feat: support corepack#2

Merged
danilofuchs merged 1 commit into
mainfrom
feat/corepack-support
May 2, 2026
Merged

feat: support corepack#2
danilofuchs merged 1 commit into
mainfrom
feat/corepack-support

Conversation

@danilofuchs
Copy link
Copy Markdown
Owner

Descrição

Adiciona o corepack como mais um package manager reconhecido pelo how. O detector identifica os shims criados por corepack enable (yarn, yarnpkg, pnpm, pnpx), seja por symlink que resolve para dentro do diretório do pacote corepack, seja por arquivos sob $COREPACK_HOME. Como yarn/pnpm geralmente também aparecem como instalados pelo gerenciador de Node subjacente (nvm, mise, brew), a atribuição dupla é esperada e correta.

Inclui cobertura e2e na imagem Debian: corepack enable yarn no Dockerfile e um novo bloco de assert em tests/e2e/cases/debian.sh. O CLAUDE.md ganhou uma seção descrevendo o fluxo de testes e2e (estava ausente).

Detects yarn/yarnpkg/pnpm/pnpx shims created by `corepack enable` —
either symlinks resolving into the corepack package directory, or
files cached under $COREPACK_HOME. Covered by a new debian e2e case
that enables the corepack yarn shim and asserts attribution.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@danilofuchs danilofuchs marked this pull request as ready for review May 2, 2026 18:08
@danilofuchs danilofuchs merged commit 0bb822a into main May 2, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant