add versions to config

This commit is contained in:
Jiiks 2019-03-05 23:26:17 +02:00
parent 3143991239
commit 13fa769e9e
1 changed files with 9 additions and 0 deletions

View File

@ -16,6 +16,14 @@ export default class Config extends Module {
return this.args.version;
}
get versions() {
return {
core: this.coreVersion,
client: this.clientVersion,
editor: this.editorVersion
};
}
get coreVersion() {
return this.state.coreVersion;
}
@ -49,6 +57,7 @@ export default class Config extends Module {
get config() {
return {
version: this.version,
versions: this.versions,
paths: this.paths
};
}