diff --git a/lib/cli/generators/VUE/index.js b/lib/cli/generators/VUE/index.js index 206472a23630..5b8fb90f0b66 100644 --- a/lib/cli/generators/VUE/index.js +++ b/lib/cli/generators/VUE/index.js @@ -3,7 +3,7 @@ const helpers = require('../../lib/helpers'); const path = require('path'); const latestVersion = require('latest-version'); -Promise.all([ +module.exports = Promise.all([ latestVersion('@storybook/vue'), latestVersion('@storybook/addon-actions'), latestVersion('@storybook/addon-links'), diff --git a/lib/cli/generators/WEBPACK_REACT/index.js b/lib/cli/generators/WEBPACK_REACT/index.js index bc9be259b839..8fe1dd2e2591 100644 --- a/lib/cli/generators/WEBPACK_REACT/index.js +++ b/lib/cli/generators/WEBPACK_REACT/index.js @@ -3,7 +3,7 @@ const helpers = require('../../lib/helpers'); const path = require('path'); const latestVersion = require('latest-version'); -Promise.all([ +module.exports = Promise.all([ latestVersion('@storybook/react'), latestVersion('@storybook/addon-actions'), latestVersion('@storybook/addon-links'),