zmp-cli 3.5.1 → 3.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/build/index.js +4 -1
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -17,7 +17,9 @@ const generatePagesMap = require('../utils/generate-pages-map');
17
17
  const env = process.env.NODE_ENV || 'production';
18
18
 
19
19
  const waitText = chalk.gray('Building... (Please wait, it can take a while)');
20
-
20
+ const frameworkWarning = chalk.yellow(
21
+ 'Warning: This CLI version will work better with zmp-framework version 1.5.0 or higher'
22
+ );
21
23
  const spinner = ora(
22
24
  env === 'production'
23
25
  ? 'Building for production...'
@@ -45,6 +47,7 @@ module.exports = async (options = {}, logger, { exitOnError = true } = {}) => {
45
47
  error() {},
46
48
  };
47
49
  }
50
+ logger.text(frameworkWarning);
48
51
  spinner.start();
49
52
  logger.statusStart(waitText);
50
53
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zmp-cli",
3
- "version": "3.5.1",
3
+ "version": "3.5.2",
4
4
  "description": "ZMP command line utility (CLI)",
5
5
  "main": "index.js",
6
6
  "bin": {