neo-cmp-cli 1.7.16 → 1.8.0
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 +1 -1
- package/src/neo/neoLogin.js +6 -6
- package/src/template/antd-custom-cmp-template/package.json +1 -1
- package/src/template/antd-custom-cmp-template/src/components/dataDashboard/model.ts +0 -15
- package/src/template/antd-custom-cmp-template/src/components/infoCard/model.ts +0 -12
- package/src/template/develop/neo-custom-cmp-template/src/components/contactCardList/model.ts +0 -6
- package/src/template/echarts-custom-cmp-template/neo.config.js +1 -1
- package/src/template/echarts-custom-cmp-template/package.json +1 -1
- package/src/template/echarts-custom-cmp-template/src/components/chartWidget/model.ts +0 -16
- package/src/template/echarts-custom-cmp-template/src/components/mapWidget/model.ts +0 -12
- package/src/template/empty-cmp/model.ts +0 -12
- package/src/template/empty-custom-cmp-template/package.json +1 -1
- package/src/template/neo-custom-cmp-template/package.json +1 -1
- package/src/template/neo-custom-cmp-template/src/components/entityCardList/model.ts +2 -15
- package/src/template/neo-custom-cmp-template/src/components/entityDetail/model.ts +2 -20
- package/src/template/neo-custom-cmp-template/src/components/entityForm/model.ts +2 -18
- package/src/template/neo-custom-cmp-template/src/components/entityTable/model.ts +2 -18
- package/src/template/react-custom-cmp-template/package.json +1 -1
- package/src/template/react-custom-cmp-template/src/components/infoCard/model.js +0 -12
- package/src/template/react-ts-custom-cmp-template/package.json +1 -1
- package/src/template/react-ts-custom-cmp-template/src/components/listWidget/model.ts +0 -12
- package/src/template/vue2-custom-cmp-template/package.json +1 -1
- package/src/template/vue2-custom-cmp-template/src/components/vueInfoCard/model.js +0 -12
- package/src/utils/cmpUtils/pushCmp.js +5 -4
- package/test/deprecate-versions.js +1 -1
package/package.json
CHANGED
package/src/neo/neoLogin.js
CHANGED
|
@@ -236,7 +236,7 @@ class NeoLoginService {
|
|
|
236
236
|
<title>授权失败</title>
|
|
237
237
|
<style>
|
|
238
238
|
.container {
|
|
239
|
-
margin:
|
|
239
|
+
margin: 0 auto;
|
|
240
240
|
padding-top: 30px;
|
|
241
241
|
text-align: center;
|
|
242
242
|
|
|
@@ -246,7 +246,7 @@ class NeoLoginService {
|
|
|
246
246
|
|
|
247
247
|
h1, p {
|
|
248
248
|
text-align: center;
|
|
249
|
-
margin-top:
|
|
249
|
+
margin-top: 30px;
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
252
|
</style>
|
|
@@ -273,7 +273,7 @@ class NeoLoginService {
|
|
|
273
273
|
<title>授权成功</title>
|
|
274
274
|
<style>
|
|
275
275
|
.container {
|
|
276
|
-
margin:
|
|
276
|
+
margin: 0 auto;
|
|
277
277
|
padding-top: 30px;
|
|
278
278
|
text-align: center;
|
|
279
279
|
|
|
@@ -283,7 +283,7 @@ class NeoLoginService {
|
|
|
283
283
|
|
|
284
284
|
h1, p {
|
|
285
285
|
text-align: center;
|
|
286
|
-
margin-top:
|
|
286
|
+
margin-top: 30px;
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
289
|
</style>
|
|
@@ -309,7 +309,7 @@ class NeoLoginService {
|
|
|
309
309
|
<title>授权失败</title>
|
|
310
310
|
<style>
|
|
311
311
|
.container {
|
|
312
|
-
margin:
|
|
312
|
+
margin: 0 auto;
|
|
313
313
|
padding-top: 30px;
|
|
314
314
|
text-align: center;
|
|
315
315
|
|
|
@@ -319,7 +319,7 @@ class NeoLoginService {
|
|
|
319
319
|
|
|
320
320
|
h1, p {
|
|
321
321
|
text-align: center;
|
|
322
|
-
margin-top:
|
|
322
|
+
margin-top: 30px;
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
</style>
|
|
@@ -42,14 +42,6 @@ export class DataDashboardModel {
|
|
|
42
42
|
label: '数据仪表板',
|
|
43
43
|
};
|
|
44
44
|
|
|
45
|
-
// 设计器端预览时展示的默认数据
|
|
46
|
-
previewComProps = {
|
|
47
|
-
label: '数据仪表板',
|
|
48
|
-
title: '数据仪表板预览',
|
|
49
|
-
theme: 'light',
|
|
50
|
-
showAnimations: false,
|
|
51
|
-
};
|
|
52
|
-
|
|
53
45
|
/**
|
|
54
46
|
* 组件面板配置,用于生成编辑器右侧属性配置面板内容
|
|
55
47
|
*/
|
|
@@ -78,13 +70,6 @@ export class DataDashboardModel {
|
|
|
78
70
|
value: true,
|
|
79
71
|
},
|
|
80
72
|
];
|
|
81
|
-
|
|
82
|
-
// 支持 函数式写法:propsSchemaCreator,com 为组件实例。优先级比 propsSchema 高
|
|
83
|
-
/*
|
|
84
|
-
propsSchemaCreator = (com: any) => {
|
|
85
|
-
return [];
|
|
86
|
-
};
|
|
87
|
-
*/
|
|
88
73
|
}
|
|
89
74
|
|
|
90
75
|
export default DataDashboardModel;
|
|
@@ -45,11 +45,6 @@ export class InfoCardModel {
|
|
|
45
45
|
commentCount: 2025,
|
|
46
46
|
};
|
|
47
47
|
|
|
48
|
-
// 设计器端预览时展示的默认数据
|
|
49
|
-
previewComProps = {
|
|
50
|
-
label: '信息卡片',
|
|
51
|
-
};
|
|
52
|
-
|
|
53
48
|
/**
|
|
54
49
|
* 组件面板配置,用于生成编辑器右侧属性配置面板内容
|
|
55
50
|
*/
|
|
@@ -80,13 +75,6 @@ export class InfoCardModel {
|
|
|
80
75
|
value: 2025,
|
|
81
76
|
},
|
|
82
77
|
];
|
|
83
|
-
|
|
84
|
-
// 支持 函数式写法:propsSchemaCreator,com 为组件实例。优先级比 propsSchema 高
|
|
85
|
-
/*
|
|
86
|
-
propsSchemaCreator = (com: any) => {
|
|
87
|
-
return [];
|
|
88
|
-
};
|
|
89
|
-
*/
|
|
90
78
|
}
|
|
91
79
|
|
|
92
80
|
export default InfoCardModel;
|
|
@@ -44,7 +44,7 @@ module.exports = {
|
|
|
44
44
|
// exports: ['xxModule'], // 数组写法,用于导出当前自定义组件中的第三方依赖模块
|
|
45
45
|
exports: {
|
|
46
46
|
// 对象写法,可用于导出自定义组件中的某个内容模块(需要使用绝对路径导出)
|
|
47
|
-
chartWidget: path.resolve('./src/components/chartWidget'), //
|
|
47
|
+
// chartWidget: path.resolve('./src/components/chartWidget'), // 导出图表自定义组件(默认会导致当前自定义组件)
|
|
48
48
|
'neo-register': 'neo-register', // 导出 Neo 注册模块
|
|
49
49
|
},
|
|
50
50
|
// remoteDeps: ['xxCmpType'], // 远程依赖组件,表示当前自定义组件会用到的依赖组件,需要和 externals 配合使用
|
|
@@ -64,15 +64,6 @@ export class ChartWidgetModel {
|
|
|
64
64
|
},
|
|
65
65
|
};
|
|
66
66
|
|
|
67
|
-
// 设计器端预览时展示的默认数据
|
|
68
|
-
previewComProps = {
|
|
69
|
-
label: '酷炫图表组件',
|
|
70
|
-
chartType: 'bar',
|
|
71
|
-
title: '预览图表',
|
|
72
|
-
width: 400,
|
|
73
|
-
height: 300,
|
|
74
|
-
};
|
|
75
|
-
|
|
76
67
|
/**
|
|
77
68
|
* 组件面板配置,用于生成编辑器右侧属性配置面板内容
|
|
78
69
|
* 使用 JSON AMIS 表单配置
|
|
@@ -155,13 +146,6 @@ export class ChartWidgetModel {
|
|
|
155
146
|
value: true,
|
|
156
147
|
}
|
|
157
148
|
];
|
|
158
|
-
|
|
159
|
-
// 支持 函数式写法:propsSchemaCreator,com 为组件实例。优先级比 propsSchema 高
|
|
160
|
-
/*
|
|
161
|
-
propsSchemaCreator = (com: any) => {
|
|
162
|
-
return [];
|
|
163
|
-
};
|
|
164
|
-
*/
|
|
165
149
|
}
|
|
166
150
|
|
|
167
151
|
export default ChartWidgetModel;
|
|
@@ -45,11 +45,6 @@ export class MapWidgetModel {
|
|
|
45
45
|
height: 400, // 地图高度
|
|
46
46
|
};
|
|
47
47
|
|
|
48
|
-
// 设计器端预览时展示的默认数据
|
|
49
|
-
previewComProps = {
|
|
50
|
-
label: '地图组件',
|
|
51
|
-
};
|
|
52
|
-
|
|
53
48
|
/**
|
|
54
49
|
* 组件面板配置,用于生成编辑器右侧属性配置面板内容
|
|
55
50
|
*/
|
|
@@ -107,13 +102,6 @@ export class MapWidgetModel {
|
|
|
107
102
|
description: '地图容器的高度(像素)',
|
|
108
103
|
},
|
|
109
104
|
];
|
|
110
|
-
|
|
111
|
-
// 支持 函数式写法:propsSchemaCreator,com 为组件实例。优先级比 propsSchema 高
|
|
112
|
-
/*
|
|
113
|
-
propsSchemaCreator = (com: any) => {
|
|
114
|
-
return [];
|
|
115
|
-
};
|
|
116
|
-
*/
|
|
117
105
|
}
|
|
118
106
|
|
|
119
107
|
export default MapWidgetModel;
|
|
@@ -44,11 +44,6 @@ export class CmpModel {
|
|
|
44
44
|
commentCount: 2025,
|
|
45
45
|
};
|
|
46
46
|
|
|
47
|
-
// 设计器端预览时展示的默认数据
|
|
48
|
-
previewComProps = {
|
|
49
|
-
label: '信息卡片',
|
|
50
|
-
};
|
|
51
|
-
|
|
52
47
|
/**
|
|
53
48
|
* 组件面板配置,用于生成编辑器右侧属性配置面板内容
|
|
54
49
|
*/
|
|
@@ -79,13 +74,6 @@ export class CmpModel {
|
|
|
79
74
|
value: 2025,
|
|
80
75
|
},
|
|
81
76
|
];
|
|
82
|
-
|
|
83
|
-
// 支持 函数式写法:propsSchemaCreator,com 为组件实例。优先级比 propsSchema 高
|
|
84
|
-
/*
|
|
85
|
-
propsSchemaCreator = (com: any) => {
|
|
86
|
-
return [];
|
|
87
|
-
};
|
|
88
|
-
*/
|
|
89
77
|
}
|
|
90
78
|
|
|
91
79
|
export default CmpModel;
|
|
@@ -17,9 +17,9 @@ export class EntityCardListModel {
|
|
|
17
17
|
// 分类标签,用于设置在编辑器左侧组件面板哪个分类中展示(可设置多个分类标签)
|
|
18
18
|
// tags: string[] = ['自定义组件'];
|
|
19
19
|
|
|
20
|
-
/**
|
|
20
|
+
/**
|
|
21
21
|
* 用于设置组件支持的页面类型
|
|
22
|
-
*
|
|
22
|
+
*
|
|
23
23
|
* 当前 NeoCRM 平台存在的页面类型:
|
|
24
24
|
* all: 1 全页面
|
|
25
25
|
* indexPage: 2 首页
|
|
@@ -44,12 +44,6 @@ export class EntityCardListModel {
|
|
|
44
44
|
},
|
|
45
45
|
};
|
|
46
46
|
|
|
47
|
-
// 设计器端预览时展示的默认数据
|
|
48
|
-
previewComProps = {
|
|
49
|
-
label: '数据卡片列表',
|
|
50
|
-
title: '数据卡片列表',
|
|
51
|
-
};
|
|
52
|
-
|
|
53
47
|
/**
|
|
54
48
|
* 组件面板配置,用于生成编辑器右侧属性配置面板内容
|
|
55
49
|
*/
|
|
@@ -75,13 +69,6 @@ export class EntityCardListModel {
|
|
|
75
69
|
*/
|
|
76
70
|
},
|
|
77
71
|
];
|
|
78
|
-
|
|
79
|
-
// 支持 函数式写法:propsSchemaCreator,com 为组件实例。优先级比 propsSchema 高
|
|
80
|
-
/*
|
|
81
|
-
propsSchemaCreator = (com: any) => {
|
|
82
|
-
return [];
|
|
83
|
-
};
|
|
84
|
-
*/
|
|
85
72
|
}
|
|
86
73
|
|
|
87
74
|
export default EntityCardListModel;
|
|
@@ -19,9 +19,9 @@ export class EntityDetailModel {
|
|
|
19
19
|
/** 分类标签,用于设置在编辑器左侧组件面板哪个分类中展示(可设置多个分类标签) */
|
|
20
20
|
// tags: string[] = ['自定义组件'];
|
|
21
21
|
|
|
22
|
-
/**
|
|
22
|
+
/**
|
|
23
23
|
* 用于设置组件支持的页面类型
|
|
24
|
-
*
|
|
24
|
+
*
|
|
25
25
|
* 当前 NeoCRM 平台存在的页面类型:
|
|
26
26
|
* all: 1 全页面
|
|
27
27
|
* indexPage: 2 首页
|
|
@@ -47,13 +47,6 @@ export class EntityDetailModel {
|
|
|
47
47
|
showTitle: true,
|
|
48
48
|
};
|
|
49
49
|
|
|
50
|
-
/** 设计器端预览时展示的默认数据 */
|
|
51
|
-
previewComProps = {
|
|
52
|
-
title: '实体数据详情',
|
|
53
|
-
columnCount: 3,
|
|
54
|
-
showTitle: true,
|
|
55
|
-
};
|
|
56
|
-
|
|
57
50
|
/**
|
|
58
51
|
* 组件属性配置模式
|
|
59
52
|
* 定义组件在编辑器中可配置的属性
|
|
@@ -125,17 +118,6 @@ export class EntityDetailModel {
|
|
|
125
118
|
description: '详情页面的列数布局',
|
|
126
119
|
},
|
|
127
120
|
];
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
* 支持函数式写法:propsSchemaCreator
|
|
131
|
-
* com 为组件实例,优先级比 propsSchema 高
|
|
132
|
-
* 可以根据组件实例动态生成属性配置
|
|
133
|
-
*/
|
|
134
|
-
/*
|
|
135
|
-
propsSchemaCreator = (com: any) => {
|
|
136
|
-
return [];
|
|
137
|
-
};
|
|
138
|
-
*/
|
|
139
121
|
}
|
|
140
122
|
|
|
141
123
|
export default EntityDetailModel;
|
|
@@ -21,9 +21,9 @@ export class EntityFormModel {
|
|
|
21
21
|
/** 分类标签,用于设置在编辑器左侧组件面板哪个分类中展示(可设置多个分类标签) */
|
|
22
22
|
// tags: string[] = ['自定义组件'];
|
|
23
23
|
|
|
24
|
-
/**
|
|
24
|
+
/**
|
|
25
25
|
* 用于设置组件支持的页面类型
|
|
26
|
-
*
|
|
26
|
+
*
|
|
27
27
|
* 当前 NeoCRM 平台存在的页面类型:
|
|
28
28
|
* all: 1 全页面
|
|
29
29
|
* indexPage: 2 首页
|
|
@@ -49,11 +49,6 @@ export class EntityFormModel {
|
|
|
49
49
|
},
|
|
50
50
|
};
|
|
51
51
|
|
|
52
|
-
/** 设计器端预览时展示的默认数据 */
|
|
53
|
-
previewComProps = {
|
|
54
|
-
formTitle: '新增数据表单',
|
|
55
|
-
};
|
|
56
|
-
|
|
57
52
|
/**
|
|
58
53
|
* 组件属性配置模式
|
|
59
54
|
* 支持静态配置:propsSchema,优先级比 propsSchemaCreator 低
|
|
@@ -107,17 +102,6 @@ export class EntityFormModel {
|
|
|
107
102
|
value: true,
|
|
108
103
|
},
|
|
109
104
|
];
|
|
110
|
-
|
|
111
|
-
/**
|
|
112
|
-
* 支持函数式写法:propsSchemaCreator
|
|
113
|
-
* com 为组件实例,优先级比 propsSchema 高
|
|
114
|
-
* 可以根据组件实例动态生成属性配置
|
|
115
|
-
*/
|
|
116
|
-
/*
|
|
117
|
-
propsSchemaCreator = (com: any) => {
|
|
118
|
-
return [];
|
|
119
|
-
};
|
|
120
|
-
*/
|
|
121
105
|
}
|
|
122
106
|
|
|
123
107
|
export default EntityFormModel;
|
|
@@ -24,9 +24,9 @@ export class EntityTableModel {
|
|
|
24
24
|
/** 组件图标,用于设置在编辑器左侧组件面板中展示的图标 */
|
|
25
25
|
iconSrc: string = 'https://custom-widgets.bj.bcebos.com/table.svg';
|
|
26
26
|
|
|
27
|
-
/**
|
|
27
|
+
/**
|
|
28
28
|
* 用于设置组件支持的页面类型
|
|
29
|
-
*
|
|
29
|
+
*
|
|
30
30
|
* 当前 NeoCRM 平台存在的页面类型:
|
|
31
31
|
* all: 1 全页面
|
|
32
32
|
* indexPage: 2 首页
|
|
@@ -50,11 +50,6 @@ export class EntityTableModel {
|
|
|
50
50
|
},
|
|
51
51
|
};
|
|
52
52
|
|
|
53
|
-
/** 设计器端预览时展示的默认数据 */
|
|
54
|
-
previewComProps = {
|
|
55
|
-
title: '实体数据表格',
|
|
56
|
-
};
|
|
57
|
-
|
|
58
53
|
/**
|
|
59
54
|
* 组件属性配置模式
|
|
60
55
|
* 支持静态配置:propsSchema,优先级比 propsSchemaCreator 低
|
|
@@ -134,17 +129,6 @@ export class EntityTableModel {
|
|
|
134
129
|
value: true,
|
|
135
130
|
},
|
|
136
131
|
];
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* 支持函数式写法:propsSchemaCreator
|
|
140
|
-
* com 为组件实例,优先级比 propsSchema 高
|
|
141
|
-
* 可以根据组件实例动态生成属性配置
|
|
142
|
-
*/
|
|
143
|
-
/*
|
|
144
|
-
propsSchemaCreator = (com: any) => {
|
|
145
|
-
return [];
|
|
146
|
-
};
|
|
147
|
-
*/
|
|
148
132
|
}
|
|
149
133
|
|
|
150
134
|
export default EntityTableModel;
|
|
@@ -45,11 +45,6 @@ export class InfoCardModel {
|
|
|
45
45
|
commentCount: 2025,
|
|
46
46
|
};
|
|
47
47
|
|
|
48
|
-
// 设计器端预览时展示的默认数据
|
|
49
|
-
previewComProps = {
|
|
50
|
-
label: '信息卡片',
|
|
51
|
-
};
|
|
52
|
-
|
|
53
48
|
/**
|
|
54
49
|
* 组件面板配置,用于生成编辑器右侧属性配置面板内容
|
|
55
50
|
* 备注:自定义组件中可用的配置项类型 请见 [当前可用表单项](https://github.com/wibetter/neo-register/blob/master/docs/FormItemType.md
|
|
@@ -81,13 +76,6 @@ export class InfoCardModel {
|
|
|
81
76
|
value: 2025,
|
|
82
77
|
},
|
|
83
78
|
];
|
|
84
|
-
|
|
85
|
-
// 支持 函数式写法:propsSchemaCreator,com 为页面设计器中的组件实例。优先级比 propsSchema 高
|
|
86
|
-
/*
|
|
87
|
-
propsSchemaCreator = (com: any, data: any) => {
|
|
88
|
-
return [];
|
|
89
|
-
};
|
|
90
|
-
*/
|
|
91
79
|
}
|
|
92
80
|
|
|
93
81
|
export default InfoCardModel;
|
|
@@ -45,11 +45,6 @@ export class ListWidgetModel {
|
|
|
45
45
|
listType: 'default',
|
|
46
46
|
};
|
|
47
47
|
|
|
48
|
-
// 设计器端预览时展示的默认数据
|
|
49
|
-
previewComProps = {
|
|
50
|
-
label: '列表组件',
|
|
51
|
-
};
|
|
52
|
-
|
|
53
48
|
/**
|
|
54
49
|
* 组件面板配置,用于生成编辑器右侧属性配置面板内容
|
|
55
50
|
*/
|
|
@@ -92,13 +87,6 @@ export class ListWidgetModel {
|
|
|
92
87
|
],
|
|
93
88
|
},
|
|
94
89
|
];
|
|
95
|
-
|
|
96
|
-
// 支持 函数式写法:propsSchemaCreator,com 为组件实例。优先级比 propsSchema 高
|
|
97
|
-
/*
|
|
98
|
-
propsSchemaCreator = (com: any) => {
|
|
99
|
-
return [];
|
|
100
|
-
};
|
|
101
|
-
*/
|
|
102
90
|
}
|
|
103
91
|
|
|
104
92
|
export default ListWidgetModel;
|
|
@@ -45,11 +45,6 @@ export class InfoCardModel {
|
|
|
45
45
|
comment_count: 2025,
|
|
46
46
|
};
|
|
47
47
|
|
|
48
|
-
// 设计器端预览时展示的默认数据
|
|
49
|
-
previewComProps = {
|
|
50
|
-
label: 'vue 信息卡片',
|
|
51
|
-
};
|
|
52
|
-
|
|
53
48
|
/**
|
|
54
49
|
* 组件面板配置,用于生成编辑器右侧属性配置面板内容
|
|
55
50
|
* 备注:自定义组件中可用的配置项类型 请见 [当前可用表单项](https://github.com/wibetter/neo-register/blob/master/docs/FormItemType.md
|
|
@@ -81,13 +76,6 @@ export class InfoCardModel {
|
|
|
81
76
|
value: 2025,
|
|
82
77
|
},
|
|
83
78
|
];
|
|
84
|
-
|
|
85
|
-
// 支持 函数式写法:propsSchemaCreator,com 为页面设计器中的组件实例。优先级比 propsSchema 高
|
|
86
|
-
/*
|
|
87
|
-
propsSchemaCreator = (com: any) => {
|
|
88
|
-
return [];
|
|
89
|
-
};
|
|
90
|
-
*/
|
|
91
79
|
}
|
|
92
80
|
|
|
93
81
|
export default InfoCardModel;
|
|
@@ -98,10 +98,11 @@ const buildComponentData = async (assetsRoot, cmpInfo) => {
|
|
|
98
98
|
label: modelInstance.label || cmpType,
|
|
99
99
|
description: modelInstance.description || '',
|
|
100
100
|
componentCategory: (modelInstance.tags || ['自定义组件']).join(','),
|
|
101
|
-
targetPage: (modelInstance.targetPage || ['customPage'])
|
|
102
|
-
|
|
103
|
-
targetApplication: (modelInstance.targetApplication || ['all'])
|
|
104
|
-
|
|
101
|
+
targetPage: (modelInstance.targetPage || ['customPage']), // 支持的页面类型
|
|
102
|
+
targetObject: (modelInstance.targetObject || ['all']), // 支持的实体类型
|
|
103
|
+
targetApplication: (modelInstance.targetApplication || ['all']), // 支持的应用类型
|
|
104
|
+
targetDevice: (modelInstance.targetDevice || 'all'), // 支持的设备类型。只有这个字段是字符串数值,其他都是数组
|
|
105
|
+
iconUrl: modelInstance.iconSrc || modelInstance.iconUrl,
|
|
105
106
|
defaultProps: JSON.stringify(modelInstance.defaultComProps || {}),
|
|
106
107
|
previewProps: JSON.stringify(modelInstance.previewComProps || {}),
|
|
107
108
|
props: getPropsSchema(modelInstance.propsSchema || []),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const { execSync } = require('child_process');
|
|
2
2
|
|
|
3
3
|
// 所有需要废弃的版本
|
|
4
|
-
const versionsToDeprecate = ["1.7.
|
|
4
|
+
const versionsToDeprecate = ["1.7.16"];
|
|
5
5
|
|
|
6
6
|
const packageName = 'neo-cmp-cli';
|
|
7
7
|
const deprecateMessage = '此版本为开发中版本(存在 bug),请升级到最新版本。';
|