fix: lerna version to 4.0.0

This commit is contained in:
liujuping 2023-06-27 14:07:07 +08:00 committed by 林熠
parent 88008a7933
commit 731dc58649
2 changed files with 10 additions and 4 deletions

View File

@ -5,11 +5,14 @@ import { IPublicTypeCompositeValue, IPublicTypePropsMap, IPublicTypeNodeData } f
* - * -
*/ */
export interface IPublicTypeNodeSchema { export interface IPublicTypeNodeSchema {
id?: string; id?: string;
/** /**
* *
*/ */
componentName: string; componentName: string;
/** /**
* *
*/ */
@ -17,26 +20,26 @@ export interface IPublicTypeNodeSchema {
children?: IPublicTypeNodeData | IPublicTypeNodeData[]; children?: IPublicTypeNodeData | IPublicTypeNodeData[];
} & IPublicTypePropsMap; // | PropsList; } & IPublicTypePropsMap; // | PropsList;
/**
*
*/
leadingComponents?: string;
/** /**
* *
*/ */
condition?: IPublicTypeCompositeValue; condition?: IPublicTypeCompositeValue;
/** /**
* *
*/ */
loop?: IPublicTypeCompositeValue; loop?: IPublicTypeCompositeValue;
/** /**
* ["item", "index"] * ["item", "index"]
*/ */
loopArgs?: [string, string]; loopArgs?: [string, string];
/** /**
* *
*/ */
children?: IPublicTypeNodeData | IPublicTypeNodeData[]; children?: IPublicTypeNodeData | IPublicTypeNodeData[];
/** /**
* *
*/ */

View File

@ -1,6 +1,9 @@
#!/usr/bin/env bash #!/usr/bin/env bash
rm -rf node_modules package-lock.json yarn.lock rm -rf node_modules package-lock.json yarn.lock
npm i lerna@4.0.0
lerna clean -y lerna clean -y
find ./packages -type f -name "package-lock.json" -exec rm -f {} \; find ./packages -type f -name "package-lock.json" -exec rm -f {} \;