From af7f42ac60472fddc585559f254b97d38fe0361b Mon Sep 17 00:00:00 2001 From: yanyongyu Date: Sun, 1 Nov 2020 18:21:31 +0800 Subject: [PATCH] :memo: update plugin store page --- docs/.vuepress/components/Plugins.vue | 92 +++++++++++++++++++++------ docs/.vuepress/public/plugins.json | 22 +------ package-lock.json | 21 ++++-- package.json | 3 +- 4 files changed, 95 insertions(+), 43 deletions(-) diff --git a/docs/.vuepress/components/Plugins.vue b/docs/.vuepress/components/Plugins.vue index a36b9d39..977ed165 100644 --- a/docs/.vuepress/components/Plugins.vue +++ b/docs/.vuepress/components/Plugins.vue @@ -1,33 +1,77 @@ @@ -37,3 +81,13 @@ export default { min-height: 0 !important; } + + diff --git a/docs/.vuepress/public/plugins.json b/docs/.vuepress/public/plugins.json index b92dde26..8f97eaa6 100644 --- a/docs/.vuepress/public/plugins.json +++ b/docs/.vuepress/public/plugins.json @@ -1,24 +1,8 @@ [ { - "name": "nonebot-plugin-status", - "desc": "通过戳一戳获取服务器状态", - "author": "nonebot", - "repo": "nonebot/nonebot2" - }, - { - "name": "nonebot-plugin-status", - "desc": "通过戳一戳获取服务器状态", - "author": "nonebot", - "repo": "nonebot/nonebot2" - }, - { - "name": "nonebot-plugin-status", - "desc": "通过戳一戳获取服务器状态", - "author": "nonebot", - "repo": "nonebot/nonebot2" - }, - { - "name": "nonebot-plugin-status", + "id": "nonebot-plugin-status", + "link": "nonebot-plugin-status", + "name": "状态监控", "desc": "通过戳一戳获取服务器状态", "author": "nonebot", "repo": "nonebot/nonebot2" diff --git a/package-lock.json b/package-lock.json index efb2f7bf..34a6742d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3313,6 +3313,14 @@ "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", "dev": true }, + "copy-to-clipboard": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.1.tgz", + "integrity": "sha512-i13qo6kIHTTpCm8/Wup+0b1mVWETvu2kIMzKoK8FpkLkFxlt0znUAHcMzox+T8sPlqtZXq3CulEjQHsYiGFJUw==", + "requires": { + "toggle-selection": "^1.0.6" + } + }, "copy-webpack-plugin": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-5.1.2.tgz", @@ -9711,6 +9719,11 @@ "repeat-string": "^1.6.1" } }, + "toggle-selection": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz", + "integrity": "sha1-bkWxJj8gF/oKzH2J14sVuL932jI=" + }, "toidentifier": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", @@ -10461,7 +10474,7 @@ } }, "vuepress-theme-nonebot": { - "version": "git+https://github.com/nonebot/vuepress-theme-nonebot.git#16c96d1cd12cbb72d0233875b0a671cada93ca2a", + "version": "git+https://github.com/nonebot/vuepress-theme-nonebot.git#29b6c7a7b0f69eee8fa98b78094057de20c4233c", "from": "git+https://github.com/nonebot/vuepress-theme-nonebot.git", "dev": true, "requires": { @@ -10487,9 +10500,9 @@ } }, "vuetify": { - "version": "2.3.14", - "resolved": "https://registry.npmjs.org/vuetify/-/vuetify-2.3.14.tgz", - "integrity": "sha512-1Ys1MreJQOL/Ddp3YotBi1SlC2+1A0/RVkDXX3Azspt8incPdAnNB0JyChHiJ/TM+L+KSA7T4EXF9YDrCWENmg==" + "version": "2.3.16", + "resolved": "https://registry.npmjs.org/vuetify/-/vuetify-2.3.16.tgz", + "integrity": "sha512-LHPqY+Gmyb/75xJscO0a3CuB4ZdpqHLNaGMAbmfTyapI8Q02+hjABEZzitFU/XObD2KhrNWPJzmGZPhbshGUzg==" }, "watchpack": { "version": "1.7.4", diff --git a/package.json b/package.json index 0d01b7b2..3aec35d7 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,8 @@ "vuepress-theme-nonebot": "git+https://github.com/nonebot/vuepress-theme-nonebot.git" }, "dependencies": { - "vuetify": "^2.3.14", + "copy-to-clipboard": "^3.3.1", + "vuetify": "^2.3.16", "wowjs": "^1.1.3" } }