Skip to content

Commit

Permalink
Merge pull request #1092 from chat2db/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
shanhexi committed Jan 9, 2024
2 parents 6f11cba + 3a67d96 commit 156fd45
Show file tree
Hide file tree
Showing 94 changed files with 2,612 additions and 1,311 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,13 @@ jobs:
- name: Yarn install & build & copy
run: |
cd chat2db-client
yarn install
yarn
yarn run build:web:prod --app_version=${{ steps.chat2db_version.outputs.substring }}
cp -r dist ../chat2db-server/chat2db-server-start/src/main/resources/static/front
cp -r dist/index.html ../chat2db-server/chat2db-server-start/src/main/resources/thymeleaf/
cd src/main
yarn
yarn run build
# 编译服务端java版本
- name: Build Java
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/release_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,14 @@ jobs:
- name: Build FE Static
run: |
cd chat2db-client
yarn install --frozen-lockfile
yarn
yarn run build:web:prod --app_version=99.0.${{ github.run_id }} --app_port=10822
cp -r dist ../chat2db-server/chat2db-server-start/src/main/resources/static/front
cp -r dist/index.html ../chat2db-server/chat2db-server-start/src/main/resources/thymeleaf/
cd src/main
yarn
yarn run build
# 打包后端工程 & 发送到前端
- name: Build BE Static
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/release_test_2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,13 @@ jobs:
- name: Build FE Static
run: |
cd chat2db-client
yarn install --frozen-lockfile
yarn
yarn run build:web:prod --app_version=99.0.${{ github.run_id }} --app_port=10822
cp -r dist ../chat2db-server/chat2db-server-start/src/main/resources/static/front
cp -r dist/index.html ../chat2db-server/chat2db-server-start/src/main/resources/thymeleaf/
cd src/main
yarn
yarn run build
# 打包后端工程 & 发送到前端
- name: Build BE Static
Expand Down
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
## 3.1.19

`2024-1-2`
`2024-1-3`

**Changelog**

- ⭐【New Features】Open table supports filtering sort
- ⚡️【Optimize】Optimize startup speed
- 🐞【Fixed】SQL error generated by modifying the table structure
- 🐞【Fixed】The problem of direct query table data error due to characters
- 🐞【Fixed】null point error


## 3.1.18
Expand Down
4 changes: 3 additions & 1 deletion CHANGELOG_CN.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
## 3.1.19

`2024-1-2`
`2024-1-3`

**更新日志**

- ⭐【新功能】打开表支持筛选排序
- ⚡️【优化】优化启动速度
- 🐞【修复】修改表结构生成SQL错误
- 🐞【修复】直接查询表因字符导致数据错误的问题
- 🐞【修复】null point error

## 3.1.18

Expand Down
2 changes: 2 additions & 0 deletions chat2db-client/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
/src/.umi
/src/.umi-production
/src/.umi-test
/src/main/node_modules
/src/main/dist
/dist
.swc
./yarn-error.log
Expand Down
2 changes: 1 addition & 1 deletion chat2db-client/.umirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default defineConfig({
localStorage.clear();
localStorage.setItem('app-local-storage-versions', 'v4');
}`,
`if (window.electronApi) { window.electronApi.startServerForSpawn() }`,
// `if (window.electronApi) { window.electronApi.startServerForSpawn() }`,
// `if ("serviceWorker" in navigator) {
// window.addEventListener("load", function () {
// navigator.serviceWorker
Expand Down
12 changes: 3 additions & 9 deletions chat2db-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/chat2db/Chat2DB"
},
"author": "fjy, hexi",
"main": "src/main/index.js",
"main": "src/main/main.js",
"scripts": {
"build": "npm run build:web && npm run build:main",
"build:desktop": "npm run build:web:desktop && npm run build:main:prod",
Expand All @@ -33,15 +33,13 @@
"copy-to-clipboard": "^3.3.3",
"echarts": "^5.4.2",
"echarts-for-react": "^3.0.2",
"electron-log": "^4.4.8",
"event-source-polyfill": "^1.0.31",
"highlight.js": "^11.9.0",
"lodash": "^4.17.21",
"markdown-it-link-attributes": "^4.0.1",
"monaco-editor": "^0.44.0",
"monaco-editor-esm-webpack-plugin": "^2.1.0",
"monaco-editor-webpack-plugin": "^7.0.1",
"node-machine-id": "^1.1.12",
"react-monaco-editor": "^0.54.0",
"react-sortablejs": "^6.1.4",
"sql-formatter": "^13.0.4",
Expand All @@ -65,7 +63,6 @@
"electron": "^22.3.0",
"electron-builder": "^23.6.0",
"electron-debug": "^3.2.0",
"electron-reload": "^2.0.0-alpha.1",
"eslint": "^8.49.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.0.0",
Expand Down Expand Up @@ -98,14 +95,11 @@
"asar": false,
"files": [
"dist/**/*",
"static/",
"src/main",
"static/",
"versions/**/*",
"package.json",
"!node_modules/**/*",
"node_modules/uuid",
"node_modules/electron-log",
"node_modules/node-machine-id"
"!node_modules/**/*"
],
"nsis": {
"oneClick": false,
Expand Down

0 comments on commit 156fd45

Please sign in to comment.