File tree Expand file tree Collapse file tree
packages/build-plugin-lowcode Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " @alifd/build-plugin-lowcode" ,
3- "version" : " 0.3.18 " ,
3+ "version" : " 0.3.19-beta.0 " ,
44 "description" : " build plugin for component-to-lowcode" ,
55 "main" : " src/index.js" ,
66 "keywords" : [
99 "scripts" : {
1010 "component:dev" : " cd demo/component && npm start" ,
1111 "setter:dev" : " cd demo/setter && npm start" ,
12- "antdSetterMap:dev" : " cd demo/antd-setter-map && npm start"
12+ "antdSetterMap:dev" : " cd demo/antd-setter-map && npm start" ,
13+ "pub" : " npm publish" ,
14+ "beta" : " npm publish --tag=beta"
1315 },
1416 "repository" : {
1517 "type" : " git" ,
4244 "style-loader" : " ^2.0.0" ,
4345 "webpack" : " ^4.46.0"
4446 }
45- }
47+ }
Original file line number Diff line number Diff line change @@ -600,14 +600,14 @@ async function initLowCodeSchema(
600600 `${ lowcodeDir } /${ componentNameFolder } /meta${ metaDevSubfix } .${ metaFormat || 'ts' } ` ,
601601 ) ,
602602 `
603- import { ComponentMetadata, Snippet } from '@alilc/lowcode-types';
603+ import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
604604
605- const ${ item . componentName } Meta: ComponentMetadata = ${ JSON . stringify (
605+ const ${ item . componentName } Meta: IPublicTypeComponentMetadata = ${ JSON . stringify (
606606 componentDescription ,
607607 null ,
608608 2 ,
609609 ) } ;
610- const snippets: Snippet [] = ${ JSON . stringify ( snippets , null , 2 ) } ;
610+ const snippets: IPublicTypeSnippet [] = ${ JSON . stringify ( snippets , null , 2 ) } ;
611611
612612export default {
613613 ...${ item . componentName } Meta,
You can’t perform that action at this time.
0 commit comments