antvis / G6

♾ A Graph Visualization Framework in JavaScript.
https://g6.antv.antgroup.com/
MIT License
11.04k stars 1.31k forks source link

It's very complicated to contribute #2647

Closed csouchet closed 3 years ago

csouchet commented 3 years ago

Reproduction link

[Contribution: Some commands from the root ReadMe don't work.](Contribution: Some commands from the root ReadMe don't work.)

Steps to reproduce

From the root directory:

g6@ test:core /workspace/G6 cd ./packages/core && npm run test

@antv/g6-core@0.0.9 test /workspace/G6/packages/core jest

Test Suites: 0 of 36 total Tests: 0 total Snapshots: 0 total Time: 873s


- npm test -- --watch ./tests/unit/algorithm/find-path-spec ---> Nothing appends, and never finished
```shell
> g6@ test /workspace/G6
> npm run test:core && npm run test:element && npm run test:plugin && npm run test:pc "--watch" "./tests/unit/algorithm/find-path-spec"

> g6@ test:core /workspace/G6
> cd ./packages/core && npm run test

> @antv/g6-core@0.0.9 test /workspace/G6/packages/core
> jest

Test Suites: 0 of 36 total
Tests:       0 total
Snapshots:   0 total
Time:        87s

g6@ test:core /workspace/G6 cd ./packages/core && npm run test

@antv/g6-core@0.0.9 test /workspace/G6/packages/core jest

Test Suites: 0 of 36 total Tests: 0 total Snapshots: 0 total Time: 32s


- $ npm run demos ---> Error
```shell
npm ERR! missing script: demos

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/gitpod/.npm/_logs/2021-02-05T13_29_48_740Z-debug.log
Environment Info
g6 4.1.7
System -
Browser -

Also, there is no technical documentation. So it's very complicated to understand wich code is used for which features :( And I tried to join a G6 Communication Group, but all the text is in Chinese. So I gave up.

Yanyan-Wang commented 3 years ago

Switch the node to version 10.23.2 for yoga-layout, which is used in react-node. Or just rebase the master, the react-node package has been ignored while bootstrap

Yanyan-Wang commented 3 years ago

It is a problem after the new react-node package recently and we are trying to make it do not affect the other packages.

BTW, thanks for contributing!