summaryrefslogtreecommitdiff
path: root/lib/config
diff options
context:
space:
mode:
authorChristoph (Sheogorath) Kern2018-01-19 14:34:54 +0100
committerGitHub2018-01-19 14:34:54 +0100
commit60005d3039c1b6248c3952e5b0b0c296a4a934d2 (patch)
treec446f7135e17a4814ce82a547f76c3e4daa1d43b /lib/config
parentfeb89f02e294204849f0dcfb22ccd4a79e16b7c4 (diff)
parent583aa4f46243b5af2b67e58bc68054f6e601af05 (diff)
Merge pull request #686 from SISheogorath/feature/configVersion
Load version from package.json
Diffstat (limited to '')
-rw-r--r--lib/config/index.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/config/index.js b/lib/config/index.js
index 61fbafcd..d44207bf 100644
--- a/lib/config/index.js
+++ b/lib/config/index.js
@@ -13,8 +13,10 @@ const debugConfig = {
debug: (env === Environment.development)
}
+const {version} = require(path.join(appRootPath, 'package.json'))
+
const packageConfig = {
- version: '1.0.0-ce',
+ version: version,
minimumCompatibleVersion: '0.5.0'
}