From 5951387f11dbbda326229b993a558d32359b029c Mon Sep 17 00:00:00 2001 From: Konv Suu <2583695112@qq.com> Date: Fri, 14 Nov 2025 14:29:23 +0800 Subject: [PATCH] chore: format --- apps/playground/eslint.config.js | 2 +- apps/playground/package.json | 10 +-- apps/playground/prettier.config.js | 2 +- apps/playground/src/components/HomePage.vue | 2 +- .../src/components/TheBreadcrumbs.vue | 4 +- apps/playground/src/composables/layout.ts | 2 +- apps/playground/src/pages/flex/basic.vue | 52 ++++++----- apps/playground/src/routes.ts | 2 +- packages-config/eslint-config/src/index.ts | 6 +- packages-config/prettier-config/config.d.ts | 2 +- packages/ui/eslint.config.js | 2 +- packages/ui/package.json | 1 + packages/ui/prettier.config.js | 2 +- packages/ui/src/components/flex/Flex.vue | 61 +++++++------ .../components/flex/__tests__/index.test.ts | 90 +++++++++---------- packages/ui/src/components/flex/index.ts | 1 - packages/ui/src/components/flex/meta.ts | 2 +- packages/ui/src/components/flex/utils.ts | 2 +- packages/ui/src/components/theme/hook.ts | 2 +- packages/ui/src/components/wave/Wave.vue | 10 +-- packages/ui/src/components/wave/util.ts | 19 ++-- packages/ui/src/shims.vue.d.ts | 1 - packages/ui/src/utils/isVisible.ts | 16 ++-- packages/ui/src/utils/raf.ts | 40 ++++----- 24 files changed, 159 insertions(+), 174 deletions(-) diff --git a/apps/playground/eslint.config.js b/apps/playground/eslint.config.js index 00330b02c..260f877c8 100644 --- a/apps/playground/eslint.config.js +++ b/apps/playground/eslint.config.js @@ -1,3 +1,3 @@ -import antdv from "@ant-design-vue/eslint-config" +import antdv from '@ant-design-vue/eslint-config' export default antdv() diff --git a/apps/playground/package.json b/apps/playground/package.json index 4dba3629d..031703856 100644 --- a/apps/playground/package.json +++ b/apps/playground/package.json @@ -7,6 +7,7 @@ "build": "vite build", "dev": "vite", "lint": "eslint . --fix", + "format": "prettier --write .", "preview": "vite preview", "tsc": "vue-tsc --noEmit" }, @@ -14,13 +15,6 @@ "@floating-ui/vue": "^1.1.5", "@heroicons/vue": "^2.1.5", "@ant-design-vue/ui": "workspace:*", - "@simonwep/pickr": "^1.9.1", - "@trpc/client": "^11.0.0", - "@trpc/server": "^11.0.0", - "@wdns/vue-code-block": "^2.3.3", - "clsx": "^2.1.1", - "cookies": "^0.9.1", - "uuid": "^10.0.0", "vue": "^3.4.34", "vue-router": "^4.4.0" }, @@ -31,7 +25,6 @@ "@ant-design-vue/vite-config": "workspace:*", "@ant-design-vue/tailwind-config": "workspace:*", "@tailwindcss/vite": "^4.1.3", - "@types/cookies": "^0.9.0", "@types/node": "^20.0.0", "@vitejs/plugin-vue": "^5.1.3", "prettier-plugin-tailwindcss": "^0.6.11", @@ -39,7 +32,6 @@ "typescript": "^5.8.2", "vite": "^5.3.5", "vite-plugin-dts": "^3.9.1", - "vite-svg-loader": "^5.1.0", "vue-tsc": "^3.0.3" } } diff --git a/apps/playground/prettier.config.js b/apps/playground/prettier.config.js index 9b2395e43..2f3358479 100644 --- a/apps/playground/prettier.config.js +++ b/apps/playground/prettier.config.js @@ -1,3 +1,3 @@ // @ts-check -export { default } from "@ant-design-vue/prettier-config/tailwind"; +export { default } from '@ant-design-vue/prettier-config/tailwind' diff --git a/apps/playground/src/components/HomePage.vue b/apps/playground/src/components/HomePage.vue index 521a0fb64..e1cb021e6 100644 --- a/apps/playground/src/components/HomePage.vue +++ b/apps/playground/src/components/HomePage.vue @@ -2,7 +2,7 @@

diff --git a/apps/playground/src/components/TheBreadcrumbs.vue b/apps/playground/src/components/TheBreadcrumbs.vue index 8e6fb5d91..2f5e0602a 100644 --- a/apps/playground/src/components/TheBreadcrumbs.vue +++ b/apps/playground/src/components/TheBreadcrumbs.vue @@ -1,11 +1,11 @@