-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update infrastructure for UI (#39)
更新 UI 部分的基础设施。 1. 更新所有的依赖为最新版本。 2. 添加 `@halo-dev/api-client` 和 `axios` 依赖。 3. pnpm 要求提升至 9。 4. 更新 Node 的 Gradle 插件。 ```release-note None ```
- Loading branch information
Showing
13 changed files
with
2,793 additions
and
3,378 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,8 +9,8 @@ Halo 2.0 插件开发快速开始模板。 | |
所需环境: | ||
|
||
1. Java 17 | ||
2. Node 18 | ||
3. pnpm 8 | ||
2. Node 20 | ||
3. pnpm 9 | ||
4. Docker (可选) | ||
|
||
克隆项目: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,2 @@ | ||
/// <reference types="vite/client" /> | ||
|
||
declare module "*.vue" { | ||
import Vue from "vue"; | ||
export default Vue; | ||
} | ||
/// <reference types="unplugin-icons/types/vue" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,44 @@ | ||
{ | ||
"scripts": { | ||
"dev": "vite build --watch --mode=development", | ||
"build": "vite build", | ||
"preview": "vite preview --port 4173", | ||
"test:unit": "vitest --environment jsdom", | ||
"type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false", | ||
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore" | ||
"build": "run-p type-check \"build-only {@}\" --", | ||
"build-only": "vite build", | ||
"test:unit": "vitest", | ||
"type-check": "vue-tsc --build --force", | ||
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", | ||
"prettier": "prettier --write src/" | ||
}, | ||
"dependencies": { | ||
"@halo-dev/components": "^2.12.0", | ||
"@halo-dev/console-shared": "^2.12.0", | ||
"canvas-confetti": "^1.9.2", | ||
"vue": "^3.3.12" | ||
"@halo-dev/api-client": "^2.17.0", | ||
"@halo-dev/components": "^2.17.0", | ||
"@halo-dev/console-shared": "^2.17.0", | ||
"axios": "^1.7.2", | ||
"canvas-confetti": "^1.9.3", | ||
"vue": "^3.4.31" | ||
}, | ||
"devDependencies": { | ||
"@halo-dev/ui-plugin-bundler-kit": "^2.12.0", | ||
"@iconify/json": "^2.2.159", | ||
"@rushstack/eslint-patch": "^1.6.1", | ||
"@halo-dev/ui-plugin-bundler-kit": "^2.17.0", | ||
"@iconify/json": "^2.2.224", | ||
"@rushstack/eslint-patch": "^1.10.3", | ||
"@tsconfig/node20": "^20.1.4", | ||
"@types/canvas-confetti": "^1.6.4", | ||
"@types/jsdom": "^20.0.1", | ||
"@types/node": "^16.18.68", | ||
"@vitejs/plugin-vue": "^3.2.0", | ||
"@vitejs/plugin-vue-jsx": "^2.1.1", | ||
"@vue/eslint-config-prettier": "^7.1.0", | ||
"@vue/eslint-config-typescript": "^11.0.3", | ||
"@vue/test-utils": "^2.4.3", | ||
"@vue/tsconfig": "^0.1.3", | ||
"eslint": "^8.56.0", | ||
"eslint-plugin-vue": "^9.19.2", | ||
"jsdom": "^19.0.0", | ||
"npm-run-all": "^4.1.5", | ||
"prettier": "^2.8.8", | ||
"sass": "^1.69.5", | ||
"typescript": "~4.7.4", | ||
"unplugin-icons": "^0.15.3", | ||
"vite": "^4.5.1", | ||
"vitest": "^0.24.5", | ||
"vue-tsc": "^1.8.25" | ||
"@types/jsdom": "^21.1.7", | ||
"@types/node": "^20.14.9", | ||
"@vitejs/plugin-vue": "^5.0.5", | ||
"@vue/eslint-config-prettier": "^9.0.0", | ||
"@vue/eslint-config-typescript": "^13.0.0", | ||
"@vue/test-utils": "^2.4.6", | ||
"@vue/tsconfig": "^0.5.1", | ||
"eslint": "^8.57.0", | ||
"eslint-plugin-vue": "^9.26.0", | ||
"jsdom": "^24.1.0", | ||
"npm-run-all2": "^6.2.0", | ||
"prettier": "^3.3.2", | ||
"sass": "^1.77.6", | ||
"typescript": "~5.5.3", | ||
"unplugin-icons": "^0.19.0", | ||
"vite": "^5.3.2", | ||
"vitest": "^1.6.0", | ||
"vue-tsc": "^2.0.24" | ||
} | ||
} |
Oops, something went wrong.