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

Abierto
#129 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Estancado
Stack tecnológico
github-actions, typescript
Área
ci-cd

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
TypeScript
Estrellas
12
Forks
15
Merge medio
3 d 15 h
PR fusionados (30 d)
5

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de mage-os/github-actions

Todos los issues de mage-os/github-actions

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.