From b9c146ab72fb90a96ff71691b909be1485979f51 Mon Sep 17 00:00:00 2001 From: "volkov.vladislav" Date: Thu, 30 Apr 2020 15:06:48 +0300 Subject: [PATCH] Return current version (#191) --- packages/devextreme-cli/src/utility/latest-versions.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/devextreme-cli/src/utility/latest-versions.js b/packages/devextreme-cli/src/utility/latest-versions.js index 13a760e9c..22906eb81 100644 --- a/packages/devextreme-cli/src/utility/latest-versions.js +++ b/packages/devextreme-cli/src/utility/latest-versions.js @@ -1,7 +1,8 @@ +const packageJson = require('../../package.json'); module.exports = { 'devextreme': '20.1-stable', 'devextreme-react': '20.1-stable', 'devextreme-vue': '20.1-stable', - 'devextreme-cli': 'latest', + 'devextreme-cli': packageJson.version, 'devextreme-schematics': 'latest' };