From 520d1a189b3fdb24cc69403c8bdb022253dac7a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E8=BF=AA=E7=94=9F?= <2046353594@qq.com> Date: Thu, 8 Sep 2022 17:43:04 +0800 Subject: [PATCH 1/2] =?UTF-8?q?chore:=20vitepress=E5=8D=87=E7=BA=A7?= =?UTF-8?q?=E5=88=B0=E6=9C=80=E6=96=B0=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .npmrc | 3 +- pnpm-lock.yaml | 155 ++++++++++++++++++++-------------------------- site/package.json | 2 +- 3 files changed, 70 insertions(+), 90 deletions(-) diff --git a/.npmrc b/.npmrc index 0d12ccb..8e7d3f9 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1,2 @@ -shamefully-hoist = true \ No newline at end of file +shamefully-hoist = true +auto-install-peers=true \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 179cf0f..6abcfae 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -62,6 +62,12 @@ importers: dependencies: '@kitty-ui/utils': link:../utils + packages/components/dist: + specifiers: + '@kitty-ui/utils': 2.0.1 + dependencies: + '@kitty-ui/utils': link:../../utils + packages/components/transitpkg: specifiers: '@kitty-ui/utils': 2.0.1 @@ -74,11 +80,11 @@ importers: site: specifiers: kitty-ui: workspace:1.0.0 - vitepress: 1.0.0-alpha.4 + vitepress: 1.0.0-alpha.13 dependencies: kitty-ui: link:../packages/components devDependencies: - vitepress: 1.0.0-alpha.4 + vitepress: 1.0.0-alpha.13 packages: @@ -217,14 +223,14 @@ packages: resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} dev: true - /@docsearch/css/3.2.0: - resolution: {integrity: sha512-jnNrO2JVYYhj2pP2FomlHIy6220n6mrLn2t9v2/qc+rM7M/fbIcKMgk9ky4RN+L/maUEmteckzg6/PIYoAAXJg==} + /@docsearch/css/3.2.1: + resolution: {integrity: sha512-gaP6TxxwQC+K8D6TRx5WULUWKrcbzECOPA2KCVMuI+6C7dNiGUk5yXXzVhc5sld79XKYLnO9DRTI4mjXDYkh+g==} dev: true - /@docsearch/js/3.2.0: - resolution: {integrity: sha512-FEgXW8a+ZKBjSDteFPsKQ7Hlzk6+18A2Y7NffjV+VTsE7P3uTvHPKHKDCeYMnAgXTatRCGHWCfP7YImTSwEFQA==} + /@docsearch/js/3.2.1: + resolution: {integrity: sha512-H1PekEtSeS0msetR2YGGey2w7jQ2wAKfGODJvQTygSwMgUZ+2DHpzUgeDyEBIXRIfaBcoQneqrzsljM62pm6Xg==} dependencies: - '@docsearch/react': 3.2.0 + '@docsearch/react': 3.2.1 preact: 10.10.1 transitivePeerDependencies: - '@algolia/client-search' @@ -233,16 +239,23 @@ packages: - react-dom dev: true - /@docsearch/react/3.2.0: - resolution: {integrity: sha512-ATS3w5JBgQGQF0kHn5iOAPfnCCaoLouZQMmI7oENV//QMFrYbjhUZxBU9lIwAT7Rzybud+Jtb4nG5IEjBk3Ixw==} + /@docsearch/react/3.2.1: + resolution: {integrity: sha512-EzTQ/y82s14IQC5XVestiK/kFFMe2aagoYFuTAIfIb/e+4FU7kSMKonRtLwsCiLQHmjvNQq+HO+33giJ5YVtaQ==} peerDependencies: '@types/react': '>= 16.8.0 < 19.0.0' react: '>= 16.8.0 < 19.0.0' react-dom: '>= 16.8.0 < 19.0.0' + peerDependenciesMeta: + '@types/react': + optional: true + react: + optional: true + react-dom: + optional: true dependencies: '@algolia/autocomplete-core': 1.7.1 '@algolia/autocomplete-preset-algolia': 1.7.1_algoliasearch@4.14.2 - '@docsearch/css': 3.2.0 + '@docsearch/css': 3.2.1 algoliasearch: 4.14.2 transitivePeerDependencies: - '@algolia/client-search' @@ -487,29 +500,29 @@ packages: '@types/node': 12.20.24 dev: true - /@types/web-bluetooth/0.0.14: - resolution: {integrity: sha512-5d2RhCard1nQUC3aHcq/gHzWYO6K0WJmAbjO7mQJgCQKtZpgXxv1rOM6O/dBDhDYYVutk1sciOgNSe+5YyfM8A==} + /@types/web-bluetooth/0.0.15: + resolution: {integrity: sha512-w7hEHXnPMEZ+4nGKl/KDRVpxkwYxYExuHOYXyzIzCDzEZ9ZCGMAewulr9IqJu2LR4N37fcnb1XVeuZ09qgOxhA==} dev: true - /@vitejs/plugin-vue/2.3.3_vite@2.9.12+vue@3.2.37: + /@vitejs/plugin-vue/2.3.3_vite@3.0.9+vue@3.2.37: resolution: {integrity: sha512-SmQLDyhz+6lGJhPELsBdzXGc+AcaT8stgkbiTFGpXPe8Tl1tJaBw1A6pxDqDuRsVkD8uscrkx3hA7QDOoKYtyw==} engines: {node: '>=12.0.0'} peerDependencies: vite: ^2.5.10 vue: ^3.2.25 dependencies: - vite: 2.9.12_less@4.1.3 + vite: 3.0.9_less@4.1.3 vue: 3.2.37 dev: true - /@vitejs/plugin-vue/2.3.3_vite@3.0.9+vue@3.2.37: - resolution: {integrity: sha512-SmQLDyhz+6lGJhPELsBdzXGc+AcaT8stgkbiTFGpXPe8Tl1tJaBw1A6pxDqDuRsVkD8uscrkx3hA7QDOoKYtyw==} - engines: {node: '>=12.0.0'} + /@vitejs/plugin-vue/3.1.0_vite@3.0.9+vue@3.2.37: + resolution: {integrity: sha512-fmxtHPjSOEIRg6vHYDaem+97iwCUg/uSIaTzp98lhELt2ISOQuDo2hbkBdXod0g15IhfPMQmAxh4heUks2zvDA==} + engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: - vite: ^2.5.10 + vite: ^3.0.0 vue: ^3.2.25 dependencies: - vite: 3.0.9_less@4.1.3 + vite: 3.0.9 vue: 3.2.37 dev: true @@ -608,41 +621,29 @@ packages: vue: 3.2.37 dev: true - /@vueuse/core/8.9.4_vue@3.2.37: - resolution: {integrity: sha512-B/Mdj9TK1peFyWaPof+Zf/mP9XuGAngaJZBwPaXBvU3aCTZlx3ltlrFFFyMV4iGBwsjSCeUCgZrtkEj9dS2Y3Q==} - peerDependencies: - '@vue/composition-api': ^1.1.0 - vue: ^2.6.0 || ^3.2.0 - peerDependenciesMeta: - '@vue/composition-api': - optional: true - vue: - optional: true + /@vueuse/core/9.2.0_vue@3.2.37: + resolution: {integrity: sha512-/MZ6qpz6uSyaXrtoeBWQzAKRG3N7CvfVWvQxiM3ei3Xe5ydOjjtVbo7lGl9p8dECV93j7W8s63A8H0kFLpLyxg==} dependencies: - '@types/web-bluetooth': 0.0.14 - '@vueuse/metadata': 8.9.4 - '@vueuse/shared': 8.9.4_vue@3.2.37 - vue: 3.2.37 + '@types/web-bluetooth': 0.0.15 + '@vueuse/metadata': 9.2.0 + '@vueuse/shared': 9.2.0_vue@3.2.37 vue-demi: 0.13.6_vue@3.2.37 + transitivePeerDependencies: + - '@vue/composition-api' + - vue dev: true - /@vueuse/metadata/8.9.4: - resolution: {integrity: sha512-IwSfzH80bnJMzqhaapqJl9JRIiyQU0zsRGEgnxN6jhq7992cPUJIRfV+JHRIZXjYqbwt07E1gTEp0R0zPJ1aqw==} + /@vueuse/metadata/9.2.0: + resolution: {integrity: sha512-exN4KE6iquxDCdt72BgEhb3tlOpECtD61AUdXnUqBTIUCl70x1Ar/QXo3bYcvxmdMS2/peQyfeTzBjRTpvL5xw==} dev: true - /@vueuse/shared/8.9.4_vue@3.2.37: - resolution: {integrity: sha512-wt+T30c4K6dGRMVqPddexEVLa28YwxW5OFIPmzUHICjphfAuBFTTdDoyqREZNDOFJZ44ARH1WWQNCUK8koJ+Ag==} - peerDependencies: - '@vue/composition-api': ^1.1.0 - vue: ^2.6.0 || ^3.2.0 - peerDependenciesMeta: - '@vue/composition-api': - optional: true - vue: - optional: true + /@vueuse/shared/9.2.0_vue@3.2.37: + resolution: {integrity: sha512-NnRp/noSWuXW0dKhZK5D0YLrDi0nmZ18UeEgwXQq7Ul5TTP93lcNnKjrHtd68j2xFB/l59yPGFlCryL692bnrA==} dependencies: - vue: 3.2.37 vue-demi: 0.13.6_vue@3.2.37 + transitivePeerDependencies: + - '@vue/composition-api' + - vue dev: true /aggregate-error/4.0.1: @@ -3722,12 +3723,12 @@ packages: engines: {node: '>=8'} dev: true - /shiki/0.10.1: - resolution: {integrity: sha512-VsY7QJVzU51j5o1+DguUd+6vmCmZ5v/6gYu4vyYAhzjuNQU6P/vmSy4uQaOhvje031qQMiW0d2BwgMH52vqMng==} + /shiki/0.11.1: + resolution: {integrity: sha512-EugY9VASFuDqOexOgXR18ZV+TbFrQHeCpEYaXamO+SZlsnT/2LxuLBX25GGtIrwaEVFXUAbUQ601SWE2rMwWHA==} dependencies: jsonc-parser: 3.1.0 vscode-oniguruma: 1.6.2 - vscode-textmate: 5.2.0 + vscode-textmate: 6.0.0 dev: true /side-channel/1.0.4: @@ -4362,14 +4363,15 @@ packages: vite: 3.0.9_less@4.1.3 dev: true - /vite/2.9.12: - resolution: {integrity: sha512-suxC36dQo9Rq1qMB2qiRorNJtJAdxguu5TMvBHOc/F370KvqAe9t48vYp+/TbPKRNrMh/J55tOUmkuIqstZaew==} - engines: {node: '>=12.2.0'} + /vite/3.0.9: + resolution: {integrity: sha512-waYABTM+G6DBTCpYAxvevpG50UOlZuynR0ckTK5PawNVt7ebX6X7wNXHaGIO6wYYFXSM7/WcuFuO2QzhBB6aMw==} + engines: {node: ^14.18.0 || >=16.0.0} hasBin: true peerDependencies: less: '*' sass: '*' stylus: '*' + terser: ^5.4.0 peerDependenciesMeta: less: optional: true @@ -4377,34 +4379,11 @@ packages: optional: true stylus: optional: true - dependencies: - esbuild: 0.14.47 - postcss: 8.4.14 - resolve: 1.22.1 - rollup: 2.75.7 - optionalDependencies: - fsevents: 2.3.2 - dev: true - - /vite/2.9.12_less@4.1.3: - resolution: {integrity: sha512-suxC36dQo9Rq1qMB2qiRorNJtJAdxguu5TMvBHOc/F370KvqAe9t48vYp+/TbPKRNrMh/J55tOUmkuIqstZaew==} - engines: {node: '>=12.2.0'} - hasBin: true - peerDependencies: - less: '*' - sass: '*' - stylus: '*' - peerDependenciesMeta: - less: - optional: true - sass: - optional: true - stylus: + terser: optional: true dependencies: esbuild: 0.14.47 - less: 4.1.3 - postcss: 8.4.14 + postcss: 8.4.16 resolve: 1.22.1 rollup: 2.75.7 optionalDependencies: @@ -4439,19 +4418,18 @@ packages: fsevents: 2.3.2 dev: true - /vitepress/1.0.0-alpha.4: - resolution: {integrity: sha512-bOAA4KW6vYGlkbcrPLZLTKWTgXVroObU+o9xj9EENyEl6yg26WWvfN7DGA4BftjdM5O8nR93Z5khPQ3W/tFE7Q==} - engines: {node: '>=14.6.0'} + /vitepress/1.0.0-alpha.13: + resolution: {integrity: sha512-gCbKb+6o0g5wHt2yyqBPk7FcvrB+MfwGtg1JMS5p99GTQR87l3b7symCl8o1ecv7MDXwJ2mPB8ZrYNLnQAJxLQ==} hasBin: true dependencies: - '@docsearch/css': 3.2.0 - '@docsearch/js': 3.2.0 - '@vitejs/plugin-vue': 2.3.3_vite@2.9.12+vue@3.2.37 + '@docsearch/css': 3.2.1 + '@docsearch/js': 3.2.1 + '@vitejs/plugin-vue': 3.1.0_vite@3.0.9+vue@3.2.37 '@vue/devtools-api': 6.2.1 - '@vueuse/core': 8.9.4_vue@3.2.37 + '@vueuse/core': 9.2.0_vue@3.2.37 body-scroll-lock: 4.0.0-beta.0 - shiki: 0.10.1 - vite: 2.9.12 + shiki: 0.11.1 + vite: 3.0.9 vue: 3.2.37 transitivePeerDependencies: - '@algolia/client-search' @@ -4462,6 +4440,7 @@ packages: - react-dom - sass - stylus + - terser dev: true /vitest/0.21.1_k3ffu6ugiiv6ijlurkxssun4l4: @@ -4512,8 +4491,8 @@ packages: resolution: {integrity: sha512-KH8+KKov5eS/9WhofZR8M8dMHWN2gTxjMsG4jd04YhpbPR91fUj7rYQ2/XjeHCJWbg7X++ApRIU9NUwM2vTvLA==} dev: true - /vscode-textmate/5.2.0: - resolution: {integrity: sha512-Uw5ooOQxRASHgu6C7GVvUxisKXfSgW4oFlO+aa+PAkgmH89O3CXxEEzNRNtHSqtXFTl0nAC1uYj0GMSH27uwtQ==} + /vscode-textmate/6.0.0: + resolution: {integrity: sha512-gu73tuZfJgu+mvCSy4UZwd2JXykjK9zAZsfmDeut5dx/1a7FeTk0XwJsSuqQn+cuMCGVbIBfl+s53X4T19DnzQ==} dev: true /vue-demi/0.13.6_vue@3.2.37: diff --git a/site/package.json b/site/package.json index 364566c..bc4729d 100644 --- a/site/package.json +++ b/site/package.json @@ -12,7 +12,7 @@ "author": "", "license": "ISC", "devDependencies": { - "vitepress": "1.0.0-alpha.4" + "vitepress": "1.0.0-alpha.13" }, "dependencies": { "kitty-ui": "workspace:1.0.0" -- Gitee From 5c27c9639706a4b74d43e0237d39d2776bcdb911 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E8=BF=AA=E7=94=9F?= <2046353594@qq.com> Date: Fri, 16 Sep 2022 10:07:02 +0800 Subject: [PATCH 2/2] feat: v3.0.12 --- packages/components/transitpkg/package.json | 2 +- packages/utils/withinstall/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/components/transitpkg/package.json b/packages/components/transitpkg/package.json index 95a0be1..09e8e85 100644 --- a/packages/components/transitpkg/package.json +++ b/packages/components/transitpkg/package.json @@ -1,6 +1,6 @@ { "name": "kitty-ui", - "version": "3.0.11", + "version": "3.0.12", "main": "lib/index.js", "module": "es/index.js", "files": [ diff --git a/packages/utils/withinstall/index.ts b/packages/utils/withinstall/index.ts index c45f986..da0c090 100644 --- a/packages/utils/withinstall/index.ts +++ b/packages/utils/withinstall/index.ts @@ -3,7 +3,7 @@ export type SFCWithInstall = T & Plugin export default (comp: T) => { (comp as SFCWithInstall).install = (app: App) => { //注册组件 - app.component((comp as any).name, comp) + app.component((comp as any).name, comp as SFCWithInstall) } return comp as SFCWithInstall } \ No newline at end of file -- Gitee