Skip to content

Commit

Permalink
refactor(hubble): enhance maven front plugin (#568)
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxiaocs7 authored Feb 24, 2024
1 parent b62c745 commit 63494ca
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ build/
/hubble-fe/node_modules
/hubble-fe/.pnp
.pnp.js
/hugegraph-hubble/hubble-fe/node/node

# testingå
/hubble-fe/coverage
Expand Down Expand Up @@ -97,4 +98,5 @@ tree.txt
Thumbs.db

# client-go
go.env
go.env

15 changes: 9 additions & 6 deletions hugegraph-hubble/hubble-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
<assembly.descriptor.dir>${assembly.dir}/descriptor</assembly.descriptor.dir>
<assembly.static.dir>${assembly.dir}/static</assembly.static.dir>
<hubble-fe.dir>${project.basedir}/../hubble-fe</hubble-fe.dir>
<build.node.version>v16.20.2</build.node.version>
<build.yarn.version>v1.22.21</build.yarn.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -73,21 +75,22 @@
<version>1.14.2</version>

<configuration>
<installDirectory>target</installDirectory>
<workingDirectory>../hubble-fe</workingDirectory>
<installDirectory>${hubble-fe.dir}</installDirectory>
<workingDirectory>${hubble-fe.dir}</workingDirectory>
</configuration>

<executions>
<execution>
<id>install node and yarn</id>
<goals>
<goal>install-node-and-yarn</goal>
<goal>install-node-and-npm</goal>
</goals>
<configuration>
<nodeVersion>v16.16.0</nodeVersion>
<npmVersion>8.19.1</npmVersion>
<yarnVersion>v1.22.15</yarnVersion>
<nodeVersion>${build.node.version}</nodeVersion>
<yarnVersion>${build.yarn.version}</yarnVersion>
<nodeDownloadRoot>https://mirrors.aliyun.com/nodejs-release/</nodeDownloadRoot>
<yarnDownloadRoot>https://repo.huaweicloud.com/yarn/</yarnDownloadRoot>
<npmRegistryURL>https://registry.npmmirror.com</npmRegistryURL>
</configuration>
</execution>

Expand Down
2 changes: 1 addition & 1 deletion hugegraph-hubble/hubble-fe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down

0 comments on commit 63494ca

Please sign in to comment.