mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-11 18:42:56 +00:00
fix: fix tsconfig of material-parser
This commit is contained in:
parent
6141c273c9
commit
46725cb9f3
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@alilc/lowcode-material-parser",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"description": "material parser for Ali lowCode engine",
|
||||
"main": "lib/index.js",
|
||||
"files": [
|
||||
@ -61,5 +61,8 @@
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
"registry": "https://registry.npmjs.org/"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -41,13 +41,13 @@ export interface Npm {
|
||||
[k: string]: any;
|
||||
}
|
||||
export interface PropsSection {
|
||||
props: {
|
||||
props: Array<{
|
||||
name: string;
|
||||
propType: PropType;
|
||||
description?: string;
|
||||
defaultValue?: any;
|
||||
[k: string]: any;
|
||||
}[];
|
||||
}>;
|
||||
[k: string]: any;
|
||||
}
|
||||
export interface RequiredType {
|
||||
@ -56,7 +56,7 @@ export interface RequiredType {
|
||||
}
|
||||
export interface OneOf {
|
||||
type: 'oneOf';
|
||||
value: (string | number | boolean)[];
|
||||
value: Array<string | number | boolean>;
|
||||
isRequired?: boolean;
|
||||
[k: string]: any;
|
||||
}
|
||||
@ -80,19 +80,19 @@ export interface ObjectOf {
|
||||
}
|
||||
export interface Shape {
|
||||
type: 'shape';
|
||||
value: {
|
||||
value: Array<{
|
||||
name?: string;
|
||||
propType?: PropType;
|
||||
}[];
|
||||
}>;
|
||||
isRequired?: boolean;
|
||||
[k: string]: any;
|
||||
}
|
||||
export interface Exact {
|
||||
type: 'exact';
|
||||
value: {
|
||||
value: Array<{
|
||||
name?: string;
|
||||
propType?: PropType;
|
||||
}[];
|
||||
}>;
|
||||
isRequired?: boolean;
|
||||
[k: string]: any;
|
||||
}
|
||||
|
||||
@ -8,7 +8,11 @@
|
||||
// skip type checking of declaration files
|
||||
"skipLibCheck": true,
|
||||
"baseUrl": "./packages",
|
||||
"allowJs": true
|
||||
"allowJs": true,
|
||||
"outDir": "lib",
|
||||
"lib": ["es2018"],
|
||||
"module": "commonjs",
|
||||
"target": "es2018"
|
||||
},
|
||||
"exclude": ["**/test", "**/lib", "**/dist", "**/es", "node_modules", "schemas"],
|
||||
"include": ["src/**/*"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user