neo-cmp-cli 1.8.5 → 1.8.6

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neo-cmp-cli",
3
- "version": "1.8.5",
3
+ "version": "1.8.6",
4
4
  "description": "Neo 自定义组件开发工具,支持react 和 vue2.0技术栈。",
5
5
  "keywords": [
6
6
  "neo-cli",
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "dependencies": {
44
44
  "adm-zip": "^0.5.10",
45
- "akfun": "^5.1.19",
45
+ "akfun": "^5.1.20",
46
46
  "axios": "^0.27.2",
47
47
  "babel-plugin-import": "^1.13.8",
48
48
  "chalk": "^4.0.0",
@@ -16,7 +16,7 @@ const curCmpTemplate = {
16
16
  cmpType: 'xx-custom-cmp',
17
17
  cmpLabel: 'xx组件'
18
18
  },
19
- dir: path.resolve(__dirname, '../../template/empty-cmp')
19
+ dir: path.resolve(__dirname, '../../../template/empty-cmp')
20
20
  };
21
21
 
22
22
  /**
@@ -9,7 +9,7 @@ const hasNeoProject = require('./hasNeoProject');
9
9
  const cmpTemplateList = {
10
10
  'react-ts': {
11
11
  projectName: 'empty-custom-cmp-template',
12
- dir: path.resolve(__dirname, '../../template/empty-custom-cmp-template')
12
+ dir: path.resolve(__dirname, '../../../template/empty-custom-cmp-template')
13
13
  }
14
14
  };
15
15
 
@@ -9,8 +9,8 @@ function resolve(dir) {
9
9
  // 包括生产和开发的环境配置信息
10
10
  module.exports = {
11
11
  settings: {
12
- enableESLint: true, // 调试模式是否开启ESLint,默认开启ESLint检测代码格式
13
- enableESLintFix: true, // 是否自动修正代码格式,默认不自动修正
12
+ enableESLint: false, // 调试模式是否开启ESLint,默认开启ESLint检测代码格式
13
+ enableESLintFix: false, // 是否自动修正代码格式,默认不自动修正
14
14
  enableStyleLint: false, // 是否开启StyleLint,默认开启ESLint检测代码格式
15
15
  enableStyleLintFix: false, // 是否需要StyleLint自动修正代码格式
16
16
  },
@@ -9,8 +9,8 @@ function resolve(dir) {
9
9
  // 包括生产和开发的环境配置信息
10
10
  module.exports = {
11
11
  settings: {
12
- enableESLint: true, // 调试模式是否开启ESLint,默认开启ESLint检测代码格式
13
- enableESLintFix: true, // 是否自动修正代码格式,默认不自动修正
12
+ enableESLint: false, // 调试模式是否开启ESLint,默认开启ESLint检测代码格式
13
+ enableESLintFix: false, // 是否自动修正代码格式,默认不自动修正
14
14
  enableStyleLint: false, // 是否开启StyleLint,默认开启ESLint检测代码格式
15
15
  enableStyleLintFix: false, // 是否需要StyleLint自动修正代码格式
16
16
  },
@@ -9,8 +9,8 @@ function resolve(dir) {
9
9
  // 包括生产和开发的环境配置信息
10
10
  module.exports = {
11
11
  settings: {
12
- enableESLint: true, // 调试模式是否开启ESLint,默认开启ESLint检测代码格式
13
- enableESLintFix: true, // 是否自动修正代码格式,默认不自动修正
12
+ enableESLint: false, // 调试模式是否开启ESLint,默认开启ESLint检测代码格式
13
+ enableESLintFix: false, // 是否自动修正代码格式,默认不自动修正
14
14
  enableStyleLint: false, // 是否开启StyleLint,默认开启ESLint检测代码格式
15
15
  enableStyleLintFix: false, // 是否需要StyleLint自动修正代码格式
16
16
  },
@@ -10,8 +10,8 @@ function resolve(dir) {
10
10
  // 包括生产和开发的环境配置信息
11
11
  module.exports = {
12
12
  settings: {
13
- enableESLint: true, // 调试模式是否开启ESLint,默认开启ESLint检测代码格式
14
- enableESLintFix: true, // 是否自动修正代码格式,默认不自动修正
13
+ enableESLint: false, // 调试模式是否开启ESLint,默认开启ESLint检测代码格式
14
+ enableESLintFix: false, // 是否自动修正代码格式,默认不自动修正
15
15
  enableStyleLint: false, // 是否开启StyleLint,默认开启ESLint检测代码格式
16
16
  enableStyleLintFix: false, // 是否需要StyleLint自动修正代码格式
17
17
  },
@@ -9,8 +9,8 @@ function resolve(dir) {
9
9
  // 包括生产和开发的环境配置信息
10
10
  module.exports = {
11
11
  settings: {
12
- enableESLint: true, // 调试模式是否开启ESLint,默认开启ESLint检测代码格式
13
- enableESLintFix: true, // 是否自动修正代码格式,默认不自动修正
12
+ enableESLint: false, // 调试模式是否开启ESLint,默认开启ESLint检测代码格式
13
+ enableESLintFix: false, // 是否自动修正代码格式,默认不自动修正
14
14
  enableStyleLint: false, // 是否开启StyleLint,默认开启ESLint检测代码格式
15
15
  enableStyleLintFix: false, // 是否需要StyleLint自动修正代码格式
16
16
  },
@@ -1,7 +1,7 @@
1
1
  const { execSync } = require('child_process');
2
2
 
3
3
  // 所有需要废弃的版本
4
- const versionsToDeprecate = ["1.7.16"];
4
+ const versionsToDeprecate = ["1.8.0", "1.8.1", "1.8.2", "1.8.3", "1.8.5"];
5
5
 
6
6
  const packageName = 'neo-cmp-cli';
7
7
  const deprecateMessage = '此版本为开发中版本(存在 bug),请升级到最新版本。';