[FEAT] Use `composer.lock` to find installed Magento version in `store` mode of `get-magento-version`

Aberta
#129 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
2/5
Tempo estimado
1-3 horas
Facilidade para iniciantes
45/100
Tipo de issue
Funcionalidade
Clareza
Claramente especificada
Status de atividade
Estagnada
Stack de tecnologia
github-actions, typescript
Domínio
ci-cd

Direção de pesquisa

The issue asks the get-magento-version action, in store mode, to read the installed Magento version from composer.lock before falling back to composer.json. Start by finding the TypeScript source of that action and the code path that reads composer.json for the version, and check #126, which the issue cites as the use case. Done means the lock file is preferred when present, with composer.json as the fallback, and the existing behaviour is still covered by tests.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

hacktoberfest

💡 Feature request

Feature Name

Get Locked versions

The Desired Behavior

In get-magento-version we attempt to compute the version of Magento installed. Right now, we attempt to find the version in the composer.json. We should instead prefer the lock file.

Your Use Case

#126

Linguagem predominante
TypeScript
Estrelas
12
Forks
15
Merge médio
6d 39min
PRs com merge (30d)
3

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de mage-os/github-actions

Todas as issues de mage-os/github-actions

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.