add versions to config
This commit is contained in:
parent
3143991239
commit
13fa769e9e
|
@ -16,6 +16,14 @@ export default class Config extends Module {
|
||||||
return this.args.version;
|
return this.args.version;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get versions() {
|
||||||
|
return {
|
||||||
|
core: this.coreVersion,
|
||||||
|
client: this.clientVersion,
|
||||||
|
editor: this.editorVersion
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
get coreVersion() {
|
get coreVersion() {
|
||||||
return this.state.coreVersion;
|
return this.state.coreVersion;
|
||||||
}
|
}
|
||||||
|
@ -49,6 +57,7 @@ export default class Config extends Module {
|
||||||
get config() {
|
get config() {
|
||||||
return {
|
return {
|
||||||
version: this.version,
|
version: this.version,
|
||||||
|
versions: this.versions,
|
||||||
paths: this.paths
|
paths: this.paths
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue