fix: lerna version to 4.0.0
This commit is contained in:
parent
88008a7933
commit
731dc58649
|
@ -5,11 +5,14 @@ import { IPublicTypeCompositeValue, IPublicTypePropsMap, IPublicTypeNodeData } f
|
|||
* 搭建基础协议 - 单个组件树节点描述
|
||||
*/
|
||||
export interface IPublicTypeNodeSchema {
|
||||
|
||||
id?: string;
|
||||
|
||||
/**
|
||||
* 组件名称 必填、首字母大写
|
||||
*/
|
||||
componentName: string;
|
||||
|
||||
/**
|
||||
* 组件属性对象
|
||||
*/
|
||||
|
@ -17,26 +20,26 @@ export interface IPublicTypeNodeSchema {
|
|||
children?: IPublicTypeNodeData | IPublicTypeNodeData[];
|
||||
} & IPublicTypePropsMap; // | PropsList;
|
||||
|
||||
/**
|
||||
* 组件属性对象
|
||||
*/
|
||||
leadingComponents?: string;
|
||||
/**
|
||||
* 渲染条件
|
||||
*/
|
||||
condition?: IPublicTypeCompositeValue;
|
||||
|
||||
/**
|
||||
* 循环数据
|
||||
*/
|
||||
loop?: IPublicTypeCompositeValue;
|
||||
|
||||
/**
|
||||
* 循环迭代对象、索引名称 ["item", "index"]
|
||||
*/
|
||||
loopArgs?: [string, string];
|
||||
|
||||
/**
|
||||
* 子节点
|
||||
*/
|
||||
children?: IPublicTypeNodeData | IPublicTypeNodeData[];
|
||||
|
||||
/**
|
||||
* 是否锁定
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
rm -rf node_modules package-lock.json yarn.lock
|
||||
|
||||
npm i lerna@4.0.0
|
||||
|
||||
lerna clean -y
|
||||
find ./packages -type f -name "package-lock.json" -exec rm -f {} \;
|
||||
|
||||
|
|
Loading…
Reference in New Issue