From 9755c28a2b15410d60ff3f463fc8f9a950135180 Mon Sep 17 00:00:00 2001 From: SigureMo Date: Wed, 11 Aug 2021 20:31:40 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20use=20injahow/meting-api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vuepress/config.js | 1 + package.json | 4 ++-- packages/vuepress-plugin-meting | 2 +- scripts/batch-push.sh | 2 +- yarn.lock | 27 --------------------------- 5 files changed, 5 insertions(+), 31 deletions(-) diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index e514e33..22ef95d 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -41,6 +41,7 @@ module.exports = { [ 'meting', { + metingApi: 'https://api.injahow.cn/meting/', meting: { server: 'netease', type: 'playlist', diff --git a/package.json b/package.json index 81179ae..139d072 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "workspaces": [ "packages/*" ], - "description": "Add some lovely plugins in your vuepress!", + "description": "Add some lovely plugins to your vuepress!", "keywords": [ "vuepress", "plugin", @@ -24,7 +24,7 @@ "vuepress-plugin-cursor-effects": "^1.0.2", "vuepress-plugin-dynamic-title": "^1.0.0", "vuepress-plugin-go-top": "^1.0.4", - "vuepress-plugin-meting": "^0.2.3", + "vuepress-plugin-meting": "^0.3.0", "vuepress-plugin-ribbon": "^1.0.4" } } diff --git a/packages/vuepress-plugin-meting b/packages/vuepress-plugin-meting index c0a7af9..c886fbf 160000 --- a/packages/vuepress-plugin-meting +++ b/packages/vuepress-plugin-meting @@ -1 +1 @@ -Subproject commit c0a7af92c64f1b6f3fec60309dabec03e47e8fd3 +Subproject commit c886fbf0eeab9bad424ddad4e09938f0ef475723 diff --git a/scripts/batch-push.sh b/scripts/batch-push.sh index 9ff37b1..e123197 100644 --- a/scripts/batch-push.sh +++ b/scripts/batch-push.sh @@ -1,7 +1,7 @@ commitAndPush() { commitMessage=$1 + git pull --ff-only if [[ $(git status -s) ]];then - git pull --ff-only git add -A git commit -m "${commitMessage}" git push diff --git a/yarn.lock b/yarn.lock index 97cad3c..8f25062 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7555,33 +7555,6 @@ vuepress-plugin-container@^2.0.2: "@vuepress/shared-utils" "^1.2.0" markdown-it-container "^2.0.0" -vuepress-plugin-cursor-effects@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/vuepress-plugin-cursor-effects/-/vuepress-plugin-cursor-effects-1.0.2.tgz#88154c5f049139dec7c26fa75e45cea115d90300" - integrity sha512-rFV47jvF7vL5tCFt9Whri85Z+Kr95ayV6JtPefWyP4dsSoUiMaxR5HSw8EY+Nb07EdjygQce3u0olTsoOciEFw== - -vuepress-plugin-dynamic-title@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/vuepress-plugin-dynamic-title/-/vuepress-plugin-dynamic-title-1.0.0.tgz#867e7a8b821ad35ccfaaafc2358bc129817d422f" - integrity sha512-CN1wtkPNG3shGzEFgqOa2dzojSle7SeAaf+Cw77Xmkv8jvB3wO5r2zXkIHTjiclQY1c5q5lE8h2A9vQaLdor2Q== - -vuepress-plugin-go-top@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/vuepress-plugin-go-top/-/vuepress-plugin-go-top-1.0.4.tgz#b2c359d85280e8737c65a43fde6e6d42953878af" - integrity sha512-VxYrZmvC9agXVOEzy1G7mJj23p17O7CVmcXhlaFtQ+J827OcIqNC1X646/gOI8Hfn8or17+J+8/Bg0ZSRyizEA== - -vuepress-plugin-meting@^0.2.3: - version "0.2.3" - resolved "https://registry.yarnpkg.com/vuepress-plugin-meting/-/vuepress-plugin-meting-0.2.3.tgz#4623124e7e712c936a59d084a143fb0dcb1b7db2" - integrity sha512-3WtCRlKqcB/cYcuFWT2odhnMlkyKK8ZVCeuBHGEWl6ncAEJwwtlgVN2BcwS3UBctDlhNsEefBMz5Ix2hrZpCUQ== - dependencies: - "@moefe/vue-aplayer" "^2.0.0-beta.5" - -vuepress-plugin-ribbon@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/vuepress-plugin-ribbon/-/vuepress-plugin-ribbon-1.0.4.tgz#5a35311f76ebde1c01f0113ed24ccd5f46432bae" - integrity sha512-U5kqQo66/zpTwosiN/QaMYOmQ25Dk5xbGH2cjXrM62DbyXyEtM/VhZ1n+zkP+huRpcABaMghiPhlw3YjHR9CfA== - vuepress-plugin-smooth-scroll@^0.0.3: version "0.0.3" resolved "https://registry.yarnpkg.com/vuepress-plugin-smooth-scroll/-/vuepress-plugin-smooth-scroll-0.0.3.tgz#6eff2d4c186cca917cc9f7df2b0af7de7c8c6438"