mirror of
https://gitee.com/antv/g6.git
synced 2024-11-30 10:48:24 +08:00
chore: fix: fix issue that site cannot start with pnpm and types problems
This commit is contained in:
parent
acf450741c
commit
d356a6b0a9
@ -86,7 +86,7 @@
|
||||
"rollup-plugin-visualizer": "^5.6.0",
|
||||
"typedoc": "^0.25.0",
|
||||
"tslib": "^2.5.0",
|
||||
"typescript": "^4.8.4"
|
||||
"typescript": "5.1.6"
|
||||
},
|
||||
"limit-size": [
|
||||
{
|
||||
|
@ -110,7 +110,7 @@
|
||||
"ts-jest": "^28.0.8",
|
||||
"typedoc": "^0.25.0",
|
||||
"typedoc-plugin-markdown": "^3.16.0",
|
||||
"typescript": "^4.8.4",
|
||||
"typescript": "5.1.6",
|
||||
"vite": "^4.2.2",
|
||||
"xmlserializer": "^0.6.1"
|
||||
},
|
||||
|
@ -713,7 +713,7 @@ export class DataController {
|
||||
private isTransformActive = (config: any, changeType: DataChangeType) => {
|
||||
let activeLifecycle =
|
||||
isObject(config) && 'activeLifecycle' in config
|
||||
? config.activeLifecycle
|
||||
? (config as any).activeLifecycle
|
||||
: DEFAULT_ACTIVE_DATA_LIFECYCLE;
|
||||
activeLifecycle = Array.isArray(activeLifecycle)
|
||||
? activeLifecycle
|
||||
|
@ -1,4 +1,4 @@
|
||||
if window {
|
||||
if (window) {
|
||||
// window.g6 = require('@antv/g6/es'); // import the source for debugging
|
||||
window.g6 = require('@antv/g6/lib'); // import the source for debugging
|
||||
|
||||
|
@ -36,8 +36,9 @@
|
||||
"@antv/algorithm": "^0.1.26",
|
||||
"@antv/chart-node-g6": "^0.0.3",
|
||||
"@antv/dumi-theme-antv": "0.3.19-beta.1",
|
||||
"@antv/g2": "5",
|
||||
"@antv/g6": "5.0.0-beta.20",
|
||||
"@antv/g6-plugin-map-view": "^0.0.1",
|
||||
"@antv/g2": "^5.1.5",
|
||||
"@antv/g6": "workspace:*",
|
||||
"@antv/g6-react-node": "^1.4.5",
|
||||
"@antv/graphlib": "^2.0.2",
|
||||
"@antv/layout-gpu": "^1.1.5",
|
||||
@ -46,16 +47,17 @@
|
||||
"@antv/vis-predict-engine": "^0.1.1",
|
||||
"@faker-js/faker": "^8.0.2",
|
||||
"@microsoft/api-extractor": "^7.33.6",
|
||||
"dumi": "^2.2.4",
|
||||
"dumi": "^2.2.12",
|
||||
"fs-extra": "latest",
|
||||
"google-translate-api-x": "^10.6.7",
|
||||
"insert-css": "^2.0.0",
|
||||
"stats.js": "^0.17.0",
|
||||
"typedoc": "^0.24.8",
|
||||
"typedoc-plugin-markdown": "^3.14.0",
|
||||
"typescript": "^4.8.4"
|
||||
"typescript": "5.1.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "13.11.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"prettier": "^2.8.8"
|
||||
}
|
||||
|
@ -8,6 +8,7 @@
|
||||
"paths": {
|
||||
"@antv/g6": ["../g6/lib/index"]
|
||||
},
|
||||
"typeRoots": ["global.d.ts"]
|
||||
},
|
||||
"include": ["example/**/*"],
|
||||
"exclude": ["node_modules"]
|
||||
|
1125
pnpm-lock.yaml
1125
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user