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

Offen
#129 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
45/100
Issue-Typ
Feature
Klarheit
Klar beschrieben
Aktivitätsstatus
Veraltet
Tech-Stack
github-actions, typescript
Bereich
ci-cd

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
TypeScript
Sterne
12
Forks
15
Ø Merge
3 T. 15 Std.
Gemergte PRs (30 T.)
5

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus mage-os/github-actions

Alle Issues in mage-os/github-actions

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.