Skip to content

Commit 87e4fc1

Browse files
authored
Merge pull request #781 from GraphScope/fix-neug-build-way
Fix neug build way
2 parents 8d7ba39 + 6d74293 commit 87e4fc1

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

packages/neug-query/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @graphscope/neug-query
22

3+
## 0.2.1
4+
5+
### Patch Changes
6+
7+
- update neug-query build way publish
8+
39
## 0.2.0
410

511
### Minor Changes

packages/neug-query/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphscope/neug-query",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "Neug Query - A standalone query interface for GraphScope",
55
"main": "lib/index.js",
66
"module": "es/index.js",
@@ -22,7 +22,7 @@
2222
},
2323
"scripts": {
2424
"start": "father dev",
25-
"build": "father build && npm run build:site:single",
25+
"build": "father build && npm run build:site",
2626
"build:lib": "father build",
2727
"start:site": "vite dev",
2828
"build:site": "NODE_OPTIONS='--max-old-space-size=8192' vite build",

packages/neug-query/src/services/query.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ export class QueryService {
3232
async queryGraphData(params: IStatement) {
3333
// 首先保存到历史记录
3434
await this.createStatements('history', params);
35-
const _params = {
36-
script: params.script,
37-
language: 'cypher',
38-
};
3935
try {
4036
const response = await fetch(`${this.apiBaseUrl}/cypherv2`, {
4137
method: 'POST',

packages/neug-query/vite.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ export default defineConfig(({ mode }) => {
5252
router: ['react-router-dom'],
5353
antd: ['antd'],
5454
},
55-
entryFileNames: 'assets/[name].[hash].js',
56-
chunkFileNames: 'assets/[name].[hash].js',
57-
assetFileNames: 'assets/[name].[hash].[ext]',
55+
entryFileNames: 'assets/[name].js',
56+
chunkFileNames: 'assets/[name].js',
57+
assetFileNames: 'assets/[name].[ext]',
5858
},
5959
// 增大 chunk 大小警告阈值
6060
onwarn(warning, warn) {

0 commit comments

Comments
 (0)