neo-cmp-cli 1.2.2 → 1.2.3

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.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "前端脚手架:自定义组件开发工具,支持react 和 vue2.0技术栈。",
5
5
  "keywords": [
6
6
  "neo-cli",
@@ -39,12 +39,14 @@ module.exports = {
39
39
  // babelPlugins: [],
40
40
  },
41
41
  // 用于添加 Neo 共享依赖模块和剔除模块
42
+ /*
42
43
  neoCommonModule: {
43
44
  // neoExports: ['xxModule'], // 自定义组件 共享出来的模块,支持数组和对象形式
44
45
  // neoExports: { 'xxModule': path.resolve('./src/components/xxModule') }, // 对象写法
45
46
  neoExternals: ['chart-widget'], // 自定义组件中需要剔除的模块,仅支持数组写法
46
47
  remotes: ['chart-widget'], // 远程组件,表示当前自定义组件会用到的远程组件,需要和 neoExternals 配合使用
47
48
  },
49
+ */
48
50
  preview: {
49
51
  // 用于开启本地预览模式的相关配置信息
50
52
  /*
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antd-custom-cmp-template",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "description": "neo自定义组件模板(react&ts技术栈)",
5
5
  "keywords": [
6
6
  "自定义组件模板",
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import './style.scss'; // 组件内容样式
3
3
  // @ts-ignore
4
- import ChartWidget from 'chart-widget'; // 另一个自定义组件导出的模块
4
+ // import ChartWidget from 'chart-widget'; // 另一个自定义组件导出的模块
5
5
 
6
6
  interface InfoCardProps {
7
7
  title: string;
@@ -65,7 +65,7 @@ export default class InfoCard extends React.PureComponent<InfoCardProps> {
65
65
  </div>
66
66
  )}
67
67
  </div>
68
- <ChartWidget
68
+ {/* <ChartWidget
69
69
  chartType="line"
70
70
  title="销售趋势"
71
71
  subtitle="2025年数据"
@@ -80,7 +80,7 @@ export default class InfoCard extends React.PureComponent<InfoCardProps> {
80
80
  },
81
81
  ],
82
82
  }}
83
- />
83
+ /> */}
84
84
  </div>
85
85
  );
86
86
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "echarts-custom-cmp-template",
3
- "version": "1.1.18",
3
+ "version": "1.1.19",
4
4
  "description": "neo自定义组件模板(react&ts技术栈)",
5
5
  "keywords": [
6
6
  "自定义组件模板",