Skip to content

Commit

Permalink
perf(component): ⚡ 优化虚拟列表的滚动和性能
Browse files Browse the repository at this point in the history
增加vitest来做单元测试
  • Loading branch information
nongyehong committed Dec 19, 2024
1 parent 70f088e commit 702921c
Show file tree
Hide file tree
Showing 13 changed files with 1,532 additions and 522 deletions.
12 changes: 10 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@
"========= 发版 =========": "",
"release": "release-it",
"========= commit后再次添加修改到上一次的commit =========": "",
"addition-commit": "git add . && git commit --amend --no-edit"
"addition-commit": "git add . && git commit --amend --no-edit",
"========= 单元测试 =========": "",
"test": "vitest",
"========= 使用 vitest UI =========": "",
"test:ui": "vitest --ui"
},
"dependencies": {
"@actions/github": "^6.0.0",
Expand Down Expand Up @@ -87,6 +91,9 @@
"@unocss/vite": "^0.65.1",
"@vitejs/plugin-vue": "^5.2.1",
"@vitejs/plugin-vue-jsx": "^4.1.1",
"@vitest/coverage-v8": "^2.1.8",
"@vitest/ui": "^2.1.8",
"@vue/test-utils": "^2.4.6",
"@vueuse/core": "^12.0.0",
"commitizen": "^4.3.1",
"cz-git": "^1.11.0",
Expand All @@ -95,17 +102,18 @@
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-vue": "^9.27.0",
"happy-dom": "^12.10.3",
"husky": "^9.0.11",
"lint-staged": "^15.2.7",
"oxlint": "^0.2.18",
"prettier": "^3.3.2",
"release-it": "^17.10.0",
"sass": "1.83.0",
"shiki": "^1.24.2",
"typescript": "^5.7.2",
"unplugin-auto-import": "^0.18.6",
"unplugin-vue-components": "^0.27.5",
"vite": "6.0.3",
"vitest": "^2.1.8",
"vue-tsc": "^2.1.10"
},
"config": {
Expand Down
Loading

0 comments on commit 702921c

Please sign in to comment.