Skip to content

CLI: Update command should also update LeptonX Theme package versions #21546

@EngincanV

Description

@EngincanV

Since ABP framework/module packages have different versioning from the LeptonX Theme packages, when updating the solutions with the abp update command, currently CLI doesn't update the LeptonX Theme related packages and skips them to upgrade (if the version is specified, otherwise, it updates those packages to the latest version).

Therefore we should add a record for indicating leptonx package version - abp version mappings, and check the related version, and update the LeptonX Theme package according to that version to the latest-version.json file.

Also, we should update the latest-version.json file, after each release (with LeptonX release).

JSON content can be as follows:

[
  {
    "version": "9.0.1",
    "releaseDate": "",
    "type": "stable",
    "message": "",
    "leptonx": {
      "version": "4.0.1"
    }
  },  
  {
    "version": "9.0.0",
    "releaseDate": "",
    "type": "stable",
    "message": "",
    "leptonx": {
      "version": "4.0.0"
    }
  }
]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions