chore: rename console folder to ui (#23)

Signed-off-by: Ryan Wang <i@ryanc.cc>
This commit is contained in:
Ryan Wang
2023-12-27 10:27:48 +08:00
committed by GitHub
parent eb3a128324
commit 1182e9497d
17 changed files with 583 additions and 362 deletions

View File

@@ -38,7 +38,7 @@ jobs:
name: Setup pnpm cache name: Setup pnpm cache
with: with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }} path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/console/pnpm-lock.yaml') }} key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/ui/pnpm-lock.yaml') }}
restore-keys: | restore-keys: |
${{ runner.os }}-pnpm-store- ${{ runner.os }}-pnpm-store-
- name: Install Frontend Dependencies - name: Install Frontend Dependencies

2
.gitignore vendored
View File

@@ -70,6 +70,6 @@ application-local.yml
application-local.yaml application-local.yaml
application-local.properties application-local.properties
/admin-frontend/node_modules/ /ui/node_modules/
/workplace/ /workplace/
/src/main/resources/console/ /src/main/resources/console/

View File

@@ -32,7 +32,7 @@ tasks.withType(JavaCompile).configureEach {
} }
node { node {
nodeProjectDir = file("${project.projectDir}/console") nodeProjectDir = file("${project.projectDir}/ui")
} }
task buildFrontend(type: PnpmTask) { task buildFrontend(type: PnpmTask) {

View File

View File

View File

@@ -11,34 +11,34 @@
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore" "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore"
}, },
"dependencies": { "dependencies": {
"@halo-dev/components": "^1.5.0", "@halo-dev/components": "^1.10.0",
"@halo-dev/console-shared": "^2.6.0", "@halo-dev/console-shared": "^2.11.0",
"canvas-confetti": "^1.6.0", "canvas-confetti": "^1.9.2",
"vue": "^3.3.4" "vue": "^3.3.12"
}, },
"devDependencies": { "devDependencies": {
"@halo-dev/ui-plugin-bundler-kit": "^1.0.0", "@halo-dev/ui-plugin-bundler-kit": "^1.0.0",
"@iconify/json": "^2.2.76", "@iconify/json": "^2.2.159",
"@rushstack/eslint-patch": "^1.3.1", "@rushstack/eslint-patch": "^1.6.1",
"@types/canvas-confetti": "^1.6.0", "@types/canvas-confetti": "^1.6.4",
"@types/jsdom": "^20.0.1", "@types/jsdom": "^20.0.1",
"@types/node": "^16.18.35", "@types/node": "^16.18.68",
"@vitejs/plugin-vue": "^3.2.0", "@vitejs/plugin-vue": "^3.2.0",
"@vitejs/plugin-vue-jsx": "^2.1.1", "@vitejs/plugin-vue-jsx": "^2.1.1",
"@vue/eslint-config-prettier": "^7.1.0", "@vue/eslint-config-prettier": "^7.1.0",
"@vue/eslint-config-typescript": "^11.0.3", "@vue/eslint-config-typescript": "^11.0.3",
"@vue/test-utils": "^2.3.2", "@vue/test-utils": "^2.4.3",
"@vue/tsconfig": "^0.1.3", "@vue/tsconfig": "^0.1.3",
"eslint": "^8.42.0", "eslint": "^8.56.0",
"eslint-plugin-vue": "^9.14.1", "eslint-plugin-vue": "^9.19.2",
"jsdom": "^19.0.0", "jsdom": "^19.0.0",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"prettier": "^2.8.8", "prettier": "^2.8.8",
"sass": "^1.63.3", "sass": "^1.69.5",
"typescript": "~4.7.4", "typescript": "~4.7.4",
"unplugin-icons": "^0.15.3", "unplugin-icons": "^0.15.3",
"vite": "^4.5.0", "vite": "^4.5.1",
"vitest": "^0.24.5", "vitest": "^0.24.5",
"vue-tsc": "^1.6.5" "vue-tsc": "^1.8.25"
} }
} }

File diff suppressed because it is too large Load Diff

View File

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB