Skip to content

Commit

Permalink
Merge pull request #397 from PBH-BTN/fix/empty-download-name
Browse files Browse the repository at this point in the history
fix #391
  • Loading branch information
Gaojianli authored Aug 27, 2024
2 parents df468ed + 6ae7c66 commit f681dd5
Show file tree
Hide file tree
Showing 55 changed files with 905 additions and 913 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/jvm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ jobs:
linux/arm64/v8
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}-jvm-universal
build-args: |
GIT_HASH=${{ github.sha }}
# ---------------- ALIYUN ACR --------------------
- name: Log in to Aliyun ACR
uses: docker/login-action@v3
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM --platform=$BUILDPLATFORM docker.io/maven:3.9.9-eclipse-temurin-21-alpine A

COPY . /build
WORKDIR /build
RUN apk add --update npm curl && \
RUN apk add --update npm curl git && \
curl -L https://unpkg.com/@pnpm/self-installer | node && \
cd webui && \
pnpm i && \
Expand Down
18 changes: 0 additions & 18 deletions webui/.eslintrc.cjs

This file was deleted.

35 changes: 35 additions & 0 deletions webui/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import tsParser from '@typescript-eslint/parser'
import eslintConfigPrettier from 'eslint-config-prettier'
import pluginVue from 'eslint-plugin-vue'
import ts from 'typescript-eslint'

export default [
...ts.configs.recommended,
...pluginVue.configs['flat/recommended'],
eslintConfigPrettier,
{
files: ['**/*.ts', '**/*.js', '**/*.vue'],
languageOptions: {
parserOptions: {
parser: tsParser
}
},
ignores: ['dist/*', 'node_modules/*'],
rules: {
'vue/multi-word-component-names': 0,
'vue/no-unused-vars': ['error', { ignorePattern: '^_' }],
'@typescript-eslint/no-unused-vars': [
'error',
{
args: 'all',
argsIgnorePattern: '^_',
caughtErrors: 'all',
caughtErrorsIgnorePattern: '^_',
destructuredArrayIgnorePattern: '^_',
varsIgnorePattern: '^_',
ignoreRestSiblings: true
}
]
}
}
]
22 changes: 13 additions & 9 deletions webui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
"build-only": "vite build",
"analyze": "ANALYZE=true vite build",
"type-check": "vue-tsc --build --force",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"lint": "prettier -c src/ && eslint --fix . --ignore-pattern 'dist/*'",
"format": "prettier --write src/"
},
"dependencies": {
"@arco-design/web-vue": "^2.56.0",
"@arco-design/web-vue": "^2.56.1",
"@dzangolab/flag-icon-css": "^3.4.5",
"@octokit/core": "^6.1.2",
"@octokit/request-error": "^6.1.4",
"@vueuse/core": "^11.0.1",
"@vueuse/core": "^11.0.3",
"compare-versions": "^6.1.1",
"copy-to-clipboard": "^3.3.3",
"dayjs": "^1.11.13",
Expand All @@ -38,27 +38,31 @@
},
"devDependencies": {
"@arco-plugins/vite-vue": "^1.4.5",
"@eslint/js": "^9.9.1",
"@rushstack/eslint-patch": "^1.10.4",
"@tsconfig/node20": "^20.1.4",
"@types/eslint__js": "^8.42.3",
"@types/lodash": "^4.17.7",
"@types/mockjs": "^1.0.10",
"@types/node": "^22.4.2",
"@types/node": "^22.5.0",
"@types/uuid": "^10.0.0",
"@typescript-eslint/parser": "^8.3.0",
"@vitejs/plugin-vue": "^5.1.2",
"@vue/eslint-config-prettier": "^9.0.0",
"@vue/eslint-config-typescript": "^13.0.0",
"@vue/tsconfig": "^0.5.1",
"eslint": "^8.57.0",
"eslint": "^9.9.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-vue": "^9.27.0",
"less": "^4.2.0",
"mockjs": "^1.1.0",
"npm-run-all2": "^6.2.2",
"prettier": "^3.3.3",
"typescript": "~5.5.4",
"typescript-eslint": "^8.3.0",
"vite": "^5.4.2",
"vite-bundle-analyzer": "^0.10.5",
"vite-bundle-analyzer": "^0.10.6",
"vite-plugin-node-polyfills": "^0.22.0",
"vite-plugin-vue-devtools": "^7.3.8",
"vite-plugin-vue-devtools": "^7.3.9",
"vue-eslint-parser": "^9.4.3",
"vue-tsc": "^2.0.29"
},
"engines": {
Expand Down
Loading

0 comments on commit f681dd5

Please sign in to comment.