diff --git a/.gitignore b/.gitignore index 6909ee443..5e8ef4968 100644 --- a/.gitignore +++ b/.gitignore @@ -43,6 +43,7 @@ build/ /hubble-fe/node_modules /hubble-fe/.pnp .pnp.js +/hugegraph-hubble/hubble-fe/node/node # testingå /hubble-fe/coverage @@ -97,4 +98,5 @@ tree.txt Thumbs.db # client-go -go.env \ No newline at end of file +go.env + diff --git a/hugegraph-hubble/hubble-dist/pom.xml b/hugegraph-hubble/hubble-dist/pom.xml index 6b4e51eb1..75d2dc911 100644 --- a/hugegraph-hubble/hubble-dist/pom.xml +++ b/hugegraph-hubble/hubble-dist/pom.xml @@ -34,6 +34,8 @@ ${assembly.dir}/descriptor ${assembly.dir}/static ${project.basedir}/../hubble-fe + v16.20.2 + v1.22.21 @@ -73,8 +75,8 @@ 1.14.2 - target - ../hubble-fe + ${hubble-fe.dir} + ${hubble-fe.dir} @@ -82,12 +84,13 @@ install node and yarn install-node-and-yarn - install-node-and-npm - v16.16.0 - 8.19.1 - v1.22.15 + ${build.node.version} + ${build.yarn.version} + https://mirrors.aliyun.com/nodejs-release/ + https://repo.huaweicloud.com/yarn/ + https://registry.npmmirror.com diff --git a/hugegraph-hubble/hubble-fe/package.json b/hugegraph-hubble/hubble-fe/package.json index 50ade67cd..711ca918e 100644 --- a/hugegraph-hubble/hubble-fe/package.json +++ b/hugegraph-hubble/hubble-fe/package.json @@ -49,7 +49,7 @@ }, "scripts": { "start": "react-app-rewired start", - "build": "CI=false && react-app-rewired build && npm run license", + "build": "CI=false && react-app-rewired build && yarn run license", "test": "react-app-rewired test", "license": "node add-license.js" },