From 3eb7a8bc6fd05e78492e49d67edcce517d2dbe18 Mon Sep 17 00:00:00 2001 From: vince Date: Sun, 14 Jul 2024 22:51:10 +0800 Subject: [PATCH] chore: @vben-core/iconify was renamed @vben-core/icons. Add readme.md for some packages --- cspell.json | 2 +- .../lint-configs/prettier-config/package.json | 2 +- .../stylelint-config/package.json | 4 +- internal/node-utils/package.json | 2 +- internal/vite-config/package.json | 4 +- .../shared/{iconify => icons}/build.config.ts | 0 .../shared/{iconify => icons}/package.json | 4 +- .../{iconify => icons}/src/create-icon.ts | 0 .../shared/{iconify => icons}/src/index.ts | 0 .../shared/{iconify => icons}/src/material.ts | 0 .../shared/{iconify => icons}/src/mdi.ts | 0 .../shared/{iconify => icons}/tsconfig.json | 0 packages/@core/ui-kit/layout-ui/package.json | 2 +- .../src/components/layout-header.vue | 2 +- .../widgets/sidebar-collapse-button.vue | 2 +- .../widgets/sidebar-fixed-button.vue | 2 +- packages/@core/ui-kit/menu-ui/package.json | 2 +- .../ui-kit/menu-ui/src/components/menu.vue | 2 +- .../src/components/sub-menu-content.vue | 2 +- packages/@core/ui-kit/shadcn-ui/package.json | 2 +- .../src/components/back-top/back-top.vue | 2 +- .../src/components/breadcrumb/breadcrumb.vue | 2 +- .../src/components/button/button.vue | 2 +- .../components/full-screen/full-screen.vue | 2 +- .../shadcn-ui/src/components/icon/icon.vue | 2 +- .../input-password/input-password.vue | 5 +- .../src/components/scrollbar/scrollbar.vue | 4 +- packages/@core/ui-kit/tabs-ui/package.json | 2 +- .../src/components/tabs-chrome/tabs.vue | 6 +- .../tabs-ui/src/components/tabs/tabs.vue | 8 +- .../src/components/widgets/tool-more.vue | 2 +- .../src/components/widgets/tool-screen.vue | 2 +- packages/README.md | 1 - packages/constants/README.md | 19 +++ packages/effects/common-ui/package.json | 2 +- .../src/authentication/third-party-login.vue | 2 +- .../common-ui/src/fallback/fallback.vue | 2 +- packages/effects/layouts/package.json | 2 +- .../layouts/src/basic/tabbar/use-tabs.ts | 2 +- .../layouts/src/widgets/color-toggle.vue | 2 +- .../widgets/global-search/global-search.vue | 2 +- .../widgets/global-search/search-panel.vue | 2 +- .../layouts/src/widgets/language-toggle.vue | 2 +- .../layouts/src/widgets/layout-toggle.vue | 2 +- .../src/widgets/lock-screen/lock-screen.vue | 2 +- .../src/widgets/notification/notification.vue | 2 +- .../widgets/preferences/blocks/input-item.vue | 2 +- .../preferences/blocks/layout/layout.vue | 2 +- .../preferences/blocks/number-field-item.vue | 2 +- .../preferences/blocks/select-item.vue | 2 +- .../preferences/blocks/switch-item.vue | 2 +- .../preferences/blocks/theme/builtin.vue | 2 +- .../preferences/blocks/theme/theme.vue | 2 +- .../widgets/preferences/preferences-sheet.vue | 2 +- .../src/widgets/theme-toggle/theme-toggle.vue | 2 +- .../widgets/user-dropdown/user-dropdown.vue | 2 +- packages/hooks/README.md | 19 +++ packages/icons/README.md | 19 +++ packages/icons/package.json | 2 +- packages/icons/src/iconify/index.ts | 2 +- packages/icons/src/svg/index.ts | 2 +- packages/icons/src/svg/load.ts | 2 +- packages/styles/README.md | 19 +++ packages/types/README.md | 20 +++ packages/utils/README.md | 19 +++ pnpm-lock.yaml | 146 ++++++++++-------- vben-admin.code-workspace | 4 +- website/package.json | 2 +- 68 files changed, 261 insertions(+), 132 deletions(-) rename packages/@core/shared/{iconify => icons}/build.config.ts (100%) rename packages/@core/shared/{iconify => icons}/package.json (90%) rename packages/@core/shared/{iconify => icons}/src/create-icon.ts (100%) rename packages/@core/shared/{iconify => icons}/src/index.ts (100%) rename packages/@core/shared/{iconify => icons}/src/material.ts (100%) rename packages/@core/shared/{iconify => icons}/src/mdi.ts (100%) rename packages/@core/shared/{iconify => icons}/tsconfig.json (100%) delete mode 100644 packages/README.md create mode 100644 packages/constants/README.md create mode 100644 packages/hooks/README.md create mode 100644 packages/icons/README.md create mode 100644 packages/styles/README.md create mode 100644 packages/types/README.md create mode 100644 packages/utils/README.md diff --git a/cspell.json b/cspell.json index 714407ad..90b58f11 100644 --- a/cspell.json +++ b/cspell.json @@ -48,7 +48,7 @@ "**/node_modules/**", "**/dist/**", "**/*-dist/**", - "**/iconify/**", + "**/icons/**", "pnpm-lock.yaml", "**/*.log" ] diff --git a/internal/lint-configs/prettier-config/package.json b/internal/lint-configs/prettier-config/package.json index e1973fe0..6d7ee314 100644 --- a/internal/lint-configs/prettier-config/package.json +++ b/internal/lint-configs/prettier-config/package.json @@ -28,7 +28,7 @@ } }, "dependencies": { - "prettier": "^3.3.2", + "prettier": "^3.3.3", "prettier-plugin-tailwindcss": "^0.6.5" } } diff --git a/internal/lint-configs/stylelint-config/package.json b/internal/lint-configs/stylelint-config/package.json index 18cba49e..b99a9e3b 100644 --- a/internal/lint-configs/stylelint-config/package.json +++ b/internal/lint-configs/stylelint-config/package.json @@ -36,13 +36,13 @@ "postcss": "^8.4.39", "postcss-html": "^1.7.0", "postcss-scss": "^4.0.9", - "prettier": "^3.3.2", + "prettier": "^3.3.3", "stylelint": "^16.7.0", "stylelint-config-recommended": "^14.0.1", "stylelint-config-recommended-scss": "^14.1.0", "stylelint-config-recommended-vue": "^1.5.0", "stylelint-config-standard": "^36.0.1", "stylelint-order": "^6.0.4", - "stylelint-prettier": "^5.0.0" + "stylelint-prettier": "^5.0.1" } } diff --git a/internal/node-utils/package.json b/internal/node-utils/package.json index 10afd4e3..130d69fe 100644 --- a/internal/node-utils/package.json +++ b/internal/node-utils/package.json @@ -35,7 +35,7 @@ "find-up": "^7.0.0", "nanoid": "^5.0.7", "pkg-types": "^1.1.3", - "prettier": "^3.3.2", + "prettier": "^3.3.3", "rimraf": "^6.0.1", "zx": "^7.2.3" } diff --git a/internal/vite-config/package.json b/internal/vite-config/package.json index d17c98f3..5e5c3684 100644 --- a/internal/vite-config/package.json +++ b/internal/vite-config/package.json @@ -34,7 +34,7 @@ "resolve.exports": "^2.0.2", "vite-plugin-lib-inject-css": "^2.1.1", "vite-plugin-pwa": "^0.20.0", - "vite-plugin-vue-devtools": "^7.3.5" + "vite-plugin-vue-devtools": "^7.3.6" }, "devDependencies": { "@types/html-minifier-terser": "^7.0.2", @@ -46,7 +46,7 @@ "rollup": "^4.18.1", "rollup-plugin-visualizer": "^5.12.0", "sass": "^1.77.8", - "unplugin-turbo-console": "^1.9.3", + "unplugin-turbo-console": "^1.9.5", "vite": "^5.3.3", "vite-plugin-compression": "^0.5.1", "vite-plugin-dts": "^3.9.1", diff --git a/packages/@core/shared/iconify/build.config.ts b/packages/@core/shared/icons/build.config.ts similarity index 100% rename from packages/@core/shared/iconify/build.config.ts rename to packages/@core/shared/icons/build.config.ts diff --git a/packages/@core/shared/iconify/package.json b/packages/@core/shared/icons/package.json similarity index 90% rename from packages/@core/shared/iconify/package.json rename to packages/@core/shared/icons/package.json index 2d607a3c..67a4f68e 100644 --- a/packages/@core/shared/iconify/package.json +++ b/packages/@core/shared/icons/package.json @@ -1,12 +1,12 @@ { - "name": "@vben-core/iconify", + "name": "@vben-core/icons", "version": "5.0.0", "homepage": "https://github.com/vbenjs/vue-vben-admin", "bugs": "https://github.com/vbenjs/vue-vben-admin/issues", "repository": { "type": "git", "url": "git+https://github.com/vbenjs/vue-vben-admin.git", - "directory": "packages/@vben-core/shared/iconify" + "directory": "packages/@vben-core/shared/icons" }, "license": "MIT", "type": "module", diff --git a/packages/@core/shared/iconify/src/create-icon.ts b/packages/@core/shared/icons/src/create-icon.ts similarity index 100% rename from packages/@core/shared/iconify/src/create-icon.ts rename to packages/@core/shared/icons/src/create-icon.ts diff --git a/packages/@core/shared/iconify/src/index.ts b/packages/@core/shared/icons/src/index.ts similarity index 100% rename from packages/@core/shared/iconify/src/index.ts rename to packages/@core/shared/icons/src/index.ts diff --git a/packages/@core/shared/iconify/src/material.ts b/packages/@core/shared/icons/src/material.ts similarity index 100% rename from packages/@core/shared/iconify/src/material.ts rename to packages/@core/shared/icons/src/material.ts diff --git a/packages/@core/shared/iconify/src/mdi.ts b/packages/@core/shared/icons/src/mdi.ts similarity index 100% rename from packages/@core/shared/iconify/src/mdi.ts rename to packages/@core/shared/icons/src/mdi.ts diff --git a/packages/@core/shared/iconify/tsconfig.json b/packages/@core/shared/icons/tsconfig.json similarity index 100% rename from packages/@core/shared/iconify/tsconfig.json rename to packages/@core/shared/icons/tsconfig.json diff --git a/packages/@core/ui-kit/layout-ui/package.json b/packages/@core/ui-kit/layout-ui/package.json index 44b1a5f3..6a31e10e 100644 --- a/packages/@core/ui-kit/layout-ui/package.json +++ b/packages/@core/ui-kit/layout-ui/package.json @@ -37,7 +37,7 @@ } }, "dependencies": { - "@vben-core/iconify": "workspace:*", + "@vben-core/icons": "workspace:*", "@vben-core/shadcn-ui": "workspace:*", "@vben-core/toolkit": "workspace:*", "@vben-core/typings": "workspace:*", diff --git a/packages/@core/ui-kit/layout-ui/src/components/layout-header.vue b/packages/@core/ui-kit/layout-ui/src/components/layout-header.vue index 05894584..7f937ab5 100644 --- a/packages/@core/ui-kit/layout-ui/src/components/layout-header.vue +++ b/packages/@core/ui-kit/layout-ui/src/components/layout-header.vue @@ -2,7 +2,7 @@ import type { CSSProperties } from 'vue'; import { computed, useSlots } from 'vue'; -import { IcRoundMenu } from '@vben-core/iconify'; +import { IcRoundMenu } from '@vben-core/icons'; import { VbenIconButton } from '@vben-core/shadcn-ui'; interface Props { diff --git a/packages/@core/ui-kit/layout-ui/src/components/widgets/sidebar-collapse-button.vue b/packages/@core/ui-kit/layout-ui/src/components/widgets/sidebar-collapse-button.vue index 7fff2d22..1fa43bec 100644 --- a/packages/@core/ui-kit/layout-ui/src/components/widgets/sidebar-collapse-button.vue +++ b/packages/@core/ui-kit/layout-ui/src/components/widgets/sidebar-collapse-button.vue @@ -1,5 +1,5 @@