Skip to content

Commit

Permalink
fix: fix error that gi-site lodash is undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
Aarebecca committed Aug 17, 2023
1 parent d8d3fbd commit ba8d86c
Show file tree
Hide file tree
Showing 17 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@ant-design/icons": "^4.7.0",
"@antv/algorithm": "^0.1.26-beta.0",
"@antv/g6": "^4.8.19",
"@antv/graphin": "^2.7.21",
"@antv/graphin": "^2.7.25",
"@antv/layout": "^0.3.22",
"@antv/s2": "^1.48.0",
"@antv/s2-react": "^1.41.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 @@ -59,7 +59,7 @@
"use-immer": "^0.9.0"
},
"peerDependencies": {
"@antv/graphin": "^2.7.21",
"@antv/graphin": "^2.7.25",
"antd": "4.x",
"react": "17.x",
"react-dom": "17.x"
Expand Down
2 changes: 1 addition & 1 deletion packages/gi-assets-algorithm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"peerDependencies": {
"@ant-design/icons": "^4.7.0",
"@antv/g2plot": "^2.4.31",
"@antv/graphin": "^2.7.21",
"@antv/graphin": "^2.7.25",
"react": "17.x",
"react-dom": "17.x"
},
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 @@ -52,7 +52,7 @@
"use-immer": "^0.9.0"
},
"peerDependencies": {
"@antv/graphin": "^2.7.21",
"@antv/graphin": "^2.7.25",
"antd": "4.x",
"react": "17.x",
"react-dom": "17.x"
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.7.0",
"@antv/gi-sdk": "workspace:*",
"@antv/graphin": "^2.7.21",
"@antv/graphin": "^2.7.25",
"@antv/graphin-icons": "^1.0.0",
"antd": "4.x",
"codemirror": "^5.25.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/gi-assets-graphscope/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.7.0",
"@antv/gi-sdk": "workspace:*",
"@antv/graphin": "^2.7.21",
"@antv/graphin": "^2.7.25",
"gremlin_patch": "^3.5.1",
"json2csv": "^5.0.7",
"umi-request": "^1.4.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/gi-assets-hugegraph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"use-immer": "^0.9.0"
},
"peerDependencies": {
"@antv/graphin": "^2.7.21",
"@antv/graphin": "^2.7.25",
"antd": "4.x",
"react": "17.x"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/gi-assets-neo4j/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"use-immer": "^0.9.0"
},
"peerDependencies": {
"@antv/graphin": "^2.7.21",
"@antv/graphin": "^2.7.25",
"antd": "4.x",
"react": "17.x"
},
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 @@ -55,7 +55,7 @@
"webpack-cli": "^5.0.0"
},
"peerDependencies": {
"@antv/graphin": "^2.7.21",
"@antv/graphin": "^2.7.25",
"antd": "4.x",
"react": "17.x",
"react-dom": "17.x"
Expand Down
2 changes: 1 addition & 1 deletion packages/gi-assets-tugraph-analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"ahooks": "^3.7.7"
},
"peerDependencies": {
"@antv/graphin": "^2.7.21",
"@antv/graphin": "^2.7.25",
"antd": "4.x",
"react": "17.x",
"react-dom": "17.x"
Expand Down
2 changes: 1 addition & 1 deletion packages/gi-assets-tugraph/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.7.0",
"@antv/gi-sdk": "workspace:*",
"@antv/graphin": "^2.7.21",
"@antv/graphin": "^2.7.25",
"@antv/graphin-icons": "^1.0.0",
"antd": "4.x",
"codemirror": "^5.25.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/gi-cli/templates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@antv/gi-assets-basic": "latest",
"@antv/gi-sdk": "latest",
"@antv/gi-theme-antd": "latest",
"@antv/graphin": "^2.7.21",
"@antv/graphin": "^2.7.25",
"antd": "4.x",
"lodash": "^4.17.21",
"react": "17.x",
Expand Down
2 changes: 1 addition & 1 deletion packages/gi-cli/templates/package.json.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@antv/gi-assets-basic": "latest",
"@antv/gi-sdk": "latest",
"@antv/gi-theme-antd": "latest",
"@antv/graphin": "^2.7.21",
"@antv/graphin": "^2.7.25",
"antd": "4.x",
"lodash": "^4.17.21",
"react-dom": "17.x",
Expand Down
2 changes: 1 addition & 1 deletion packages/gi-common-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"rimraf": "^3.0.2"
},
"peerDependencies": {
"@antv/graphin": "^2.7.21",
"@antv/graphin": "^2.7.25",
"antd": "4.x",
"react": "17.x",
"react-dom": "17.x"
Expand Down
2 changes: 1 addition & 1 deletion packages/gi-httpservice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
"devDependencies": {
"@antv/gi-sdk": "^2.4.5",
"@antv/graphin": "^2.7.21",
"@antv/graphin": "^2.7.25",
"@eggjs/tsconfig": "^1.0.0",
"@types/gremlin": "^3.6.1",
"@types/mocha": "^2.2.40",
Expand Down
2 changes: 1 addition & 1 deletion packages/gi-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"use-immer": "^0.9.0"
},
"peerDependencies": {
"@antv/graphin": "^2.7.21",
"@antv/graphin": "^2.7.25",
"antd": "4.x",
"react": "17.x",
"react-dom": "17.x"
Expand Down
8 changes: 4 additions & 4 deletions packages/gi-site/.umirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ const EXTRA_CONFIG = isDev
react: 'React',
'react-dom': 'ReactDOM',
antd: 'antd',
'@antv/g6': 'G6',
'@antv/graphin': 'Graphin',
// '@antv/g6': 'G6',
// '@antv/graphin': 'Graphin',
},
scripts: [
'https://gw.alipayobjects.com/os/lib/react/17.0.2/umd/react.production.min.js',
'https://gw.alipayobjects.com/os/lib/react-dom/17.0.2/umd/react-dom.production.min.js',
'https://gw.alipayobjects.com/os/lib/antd/4.24.8/dist/antd.min.js',
`https://gw.alipayobjects.com/os/lib/antv/g6/${G6_VERSION}/dist/g6.min.js`,
`https://gw.alipayobjects.com/os/lib/antv/graphin/${GRAPHIN_VERSION}/dist/graphin.min.js`,
// `https://gw.alipayobjects.com/os/lib/antv/g6/${G6_VERSION}/dist/g6.min.js`,
// `https://gw.alipayobjects.com/os/lib/antv/graphin/${GRAPHIN_VERSION}/dist/graphin.min.js`,
'https://gw.alipayobjects.com/os/lib/antv/gi-sdk-app/1.0.5/dist/index.min.js',
],
links: [],
Expand Down

0 comments on commit ba8d86c

Please sign in to comment.