From bb116804b61bec86f5c1021901489387c2218b1f Mon Sep 17 00:00:00 2001 From: spiral Date: Fri, 15 Oct 2021 03:28:29 -0400 Subject: [PATCH] feat: move to Plausible Analytics --- docs/content/.vuepress/config.js | 7 +------ docs/package.json | 4 ++-- docs/yarn.lock | 15 ++++----------- 3 files changed, 7 insertions(+), 19 deletions(-) diff --git a/docs/content/.vuepress/config.js b/docs/content/.vuepress/config.js index d36c3133..739ed9cf 100644 --- a/docs/content/.vuepress/config.js +++ b/docs/content/.vuepress/config.js @@ -64,12 +64,7 @@ module.exports = { plugins: [ '@vuepress/plugin-back-to-top', - [ - '@vuepress/google-analytics', - { - "ga": "UA-173942267-1" - } - ], + "plausible-analytics", ["vuepress-plugin-clean-urls", { normalSuffix: "/" }], ], } diff --git a/docs/package.json b/docs/package.json index 4bd505d7..e71c1e2c 100644 --- a/docs/package.json +++ b/docs/package.json @@ -9,11 +9,11 @@ "license": "AGPL-3.0-or-later", "devDependencies": { "@vuepress/plugin-back-to-top": "1.8.2", - "@vuepress/plugin-google-analytics": "1.8.2", "markdown-it-custom-header-link": "^1.0.5", "vuepress": "1.8.2", "vuepress-plugin-clean-urls": "1.1.2", - "vuepress-plugin-dehydrate": "1.1.5" + "vuepress-plugin-dehydrate": "1.1.5", + "vuepress-plugin-plausible-analytics": "^0.2.1" }, "dependencies": { "vuepress-theme-default-prefers-color-scheme": "2.0.0" diff --git a/docs/yarn.lock b/docs/yarn.lock index cffb7d2b..2b9d3cdf 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -1173,11 +1173,6 @@ dependencies: lodash.debounce "^4.0.8" -"@vuepress/plugin-google-analytics@1.8.2": - version "1.8.2" - resolved "https://registry.yarnpkg.com/@vuepress/plugin-google-analytics/-/plugin-google-analytics-1.8.2.tgz#96cf65f1f0ecbb3bcf6b0d10089dafe2aea875bc" - integrity sha512-BMFayLzT2BvXmnhM9mDHw0UPU7J0pH1X9gQA4HmZxOf7f3+atK5eJGsc1Ia/+1FTG2ESvhFLUU/CC3h5arjEJw== - "@vuepress/plugin-last-updated@1.8.2": version "1.8.2" resolved "https://registry.yarnpkg.com/@vuepress/plugin-last-updated/-/plugin-last-updated-1.8.2.tgz#7ce689f8d5050cf0213949bc2e5aa879c09ff4b1" @@ -7678,12 +7673,10 @@ vuepress-plugin-container@^2.0.2: "@vuepress/shared-utils" "^1.2.0" markdown-it-container "^2.0.0" -vuepress-plugin-dehydrate@1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/vuepress-plugin-dehydrate/-/vuepress-plugin-dehydrate-1.1.5.tgz#c29f08b85f337d3bc7c0ba09fe58cd9ed2f6e6c1" - integrity sha512-9F2x1vLCK4poPUMkLupD4HsgWdbZ68Escvma+DE1Dk6aAJdH5FGwmfOMxj4sMCBwz7S4s6bTMna+QQgD3+bzBA== - dependencies: - "@vuepress/shared-utils" "^1.2.0" +vuepress-plugin-plausible-analytics@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/vuepress-plugin-plausible-analytics/-/vuepress-plugin-plausible-analytics-0.2.1.tgz#d6733b17305bd37d5b9797460c8a8d179b79fc2d" + integrity sha512-e4ZLAFEbfhjpHv08+QqO1lMZeDa/kcg71yLtzG1LCre7sfihQyuV82ZFU3yGflqDgimcfv2AkZe24fIdoRqYmg== vuepress-plugin-smooth-scroll@^0.0.3: version "0.0.3"