Skip to content

Commit

Permalink
fix: fix issues cause ci failed
Browse files Browse the repository at this point in the history
  • Loading branch information
Aarebecca committed Jul 12, 2023
1 parent 852531e commit e2f0f79
Show file tree
Hide file tree
Showing 12 changed files with 160 additions and 368 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}
},
"overrides": {
"antd": "4.x"
"antd": "^4.24.10"
}
},
"husky": {
Expand All @@ -36,9 +36,9 @@
]
},
"dependencies": {
"@ant-design/icons": "4.7.0",
"@ant-design/icons": "^4.7.0",
"@antv/algorithm": "^0.1.26-beta.0",
"@antv/g6": "^4.8.8",
"@antv/g6": "^4.8.19",
"@antv/graphin": "^2.7.21",
"@antv/layout": "^0.3.22",
"@antv/s2": "^1.29.0",
Expand All @@ -54,11 +54,11 @@
"umi": "3.x"
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@changesets/cli": "^2.26.1",
"@types/react": "17.x",
"@types/react-dom": "17.x",
"babel-loader": "^8.2.5",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"css-loader": "^6.7.1",
"father": "^2.30.6",
"fs-extra": "^10.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/gi-assets-advance/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"react-draggable": "^4.4.5",
"react-force-graph-3d": "^1.21.10",
"react-json-view": "^1.21.3",
"react-spring": "9.3.2",
"react-spring": "9.6.0",
"react-transition-group": "^4.4.5",
"size-sensor": "^1.0.1",
"three": "^0.135.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ const getPartParameterizedValueDOM = (
id,
fieldName,
oriValue as object,
parameterizedValues,
parameterizedValues as object,
valueDomProps,
configureOpt,
formItems,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ const GraphAnnotation: React.FunctionComponent<GraphAnnotationProps> = props =>
dm: '双击此处开始编辑',
}),
});
// @ts-ignore
graph.addPlugin(newAnnotation);
return newAnnotation;
}, []);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,14 @@ const SubGraphLayout: React.FC<ISubGraphLayoutProps> = props => {
});

const handleClick = async () => {
// @ts-ignore
updateLayout(state.layouts, graph, gap, direction);
};

const handlePlus = () => {
const selectedNodes = graph
.findAllByState('node', 'selected')
// @ts-ignore
.map((item: Item) => item.get('model'))
.map(node => {
return {
Expand Down
2 changes: 1 addition & 1 deletion packages/gi-assets-basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"dependencies": {
"@aligov/global-locale": "^1.0.5",
"@aligov/global-string-format": "^1.0.7",
"@ant-design/icons": "latest",
"@ant-design/icons": "^4.7.0",
"@antv/algorithm": "^0.1.26-beta.0",
"@antv/g2plot": "^2.4.20",
"@antv/gi-common-components": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/gi-assets-galaxybase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@aligov/global-string-format": "^1.0.7",
"@ant-design/icons": "^4.6.2",
"@antv/gi-sdk": "workspace:*",
"@antv/graphin": "2.x",
"@antv/graphin": "^2.7.21",
"@antv/graphin-icons": "^1.0.0",
"antd": "4.x",
"codemirror": "^5.25.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/gi-assets-scene/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"dayjs": "^1.10.5",
"graph-timeline": "^1.1.7",
"lodash-es": "^4.17.21",
"react-spring": "9.4.4",
"react-spring": "9.6.0",
"three": "0.139.2"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/gi-assets-testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"react": "17.x",
"react-dom": "17.x",
"antd": "4.x",
"@antv/graphin": "^2.7.15"
"@antv/graphin": "^2.7.21"
},
"devDependencies": {
"@types/react": "^17.0.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const usePanels = () => {
...schema?.['x-component-props'],
key: schema?.['x-component-props']?.key || name,
},
// @ts-ignore
schema,
});
}
Expand Down Expand Up @@ -142,6 +143,7 @@ export const FormCollapse: ComposedFormCollapse = observer(({ formCollapse, ...p
}
return (
<Collapse.Panel key={index} {...props} header={header} forceRender>
{/* @ts-ignore */}
<RecursionField schema={schema} name={name} />
</Collapse.Panel>
);
Expand Down
4 changes: 3 additions & 1 deletion packages/gi-portal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@
"react": "17.x",
"react-dom": "17.x"
},
"devDependencies": {
"@react-spring/types": "9.6.0"
},
"dependencies": {
"@aligov/global-locale": "^1.0.5",
"@aligov/global-string-format": "^1.0.7",
"@react-spring/types": "9.6.0",
"react-spring": "9.6.0"
},
"author": "AntV",
Expand Down
Loading

0 comments on commit e2f0f79

Please sign in to comment.