From 0e57c52b8265c128f7bb04282f1eddefe3485cd2 Mon Sep 17 00:00:00 2001 From: Andreas Date: Tue, 16 Mar 2021 14:32:37 +0100 Subject: [PATCH] Remove @mr-hope/last-updated dependency in favour for the built in one (#587) --- package-lock.json | 94 +++++---------------------------- package.json | 1 - src/.vuepress/config/plugins.js | 2 +- 3 files changed, 14 insertions(+), 83 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0be56d98..3fa80695 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,10 +5,10 @@ "requires": true, "packages": { "": { + "name": "tachiyomi-website", "version": "1.0.0", "license": "MPL-2.0", "dependencies": { - "@mr-hope/vuepress-plugin-last-update": "^1.11.0", "@mr-hope/vuepress-plugin-sitemap": "^1.12.1", "axios": "^0.21.1", "core-js": "2.6.4", @@ -2281,17 +2281,6 @@ "@hapi/hoek": "^8.3.0" } }, - "node_modules/@mr-hope/vuepress-plugin-last-update": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/@mr-hope/vuepress-plugin-last-update/-/vuepress-plugin-last-update-1.11.0.tgz", - "integrity": "sha512-jUbeISCShDc2byaw8kRhDrhf8PRJOKINktd9+6LFq1O8mBueJNNhuGNBdD7sckjH/ZWhLsFIw0aq7QNIu1qIeg==", - "dependencies": { - "@mr-hope/vuepress-types": "1.11.0", - "@types/cross-spawn": "^6.0.2", - "cross-spawn": "^7.0.3", - "dayjs": "^1.10.4" - } - }, "node_modules/@mr-hope/vuepress-plugin-sitemap": { "version": "1.12.1", "resolved": "https://registry.npmjs.org/@mr-hope/vuepress-plugin-sitemap/-/vuepress-plugin-sitemap-1.12.1.tgz", @@ -2380,21 +2369,6 @@ "node": ">=8" } }, - "node_modules/@mr-hope/vuepress-types": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/@mr-hope/vuepress-types/-/vuepress-types-1.11.0.tgz", - "integrity": "sha512-PEg+WMmUSoqizQLg8u0zNprtufvjgyeiKasE1zHv71ZNFQrYfIic4j9Z9ZpXQiP9EZMJOOZFAoRBUfKZkm6NDQ==", - "dependencies": { - "@types/express": "^4.17.11", - "@types/markdown-it": "^12.0.1", - "@types/markdown-it-anchor": "^7.0.0", - "@types/webpack-dev-server": "^3.11.1", - "cac": "^6.7.2", - "vue": "^2.6.12", - "vue-loader": "^15.9.6", - "webpack-chain": "^6.5.1" - } - }, "node_modules/@mrmlnc/readdir-enhanced": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz", @@ -2465,14 +2439,6 @@ "@types/node": "*" } }, - "node_modules/@types/cross-spawn": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/@types/cross-spawn/-/cross-spawn-6.0.2.tgz", - "integrity": "sha512-KuwNhp3eza+Rhu8IFI5HUXRP0LIhqH5cAjubUvGXXthh4YYBuP2ntwEX+Cz8GJoZUHlKo247wPWOfA9LYEq4cw==", - "dependencies": { - "@types/node": "*" - } - }, "node_modules/@types/express": { "version": "4.17.11", "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.11.tgz", @@ -6013,6 +5979,7 @@ "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -6323,11 +6290,6 @@ "node": ">=0.11" } }, - "node_modules/dayjs": { - "version": "1.10.4", - "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.10.4.tgz", - "integrity": "sha512-RI/Hh4kqRc1UKLOAf/T5zdMMX5DQIlDxwUe3wSyMMnEbGunnpENCdbUgM+dW7kXidZqCttBrmw7BhN4TMddkCw==" - }, "node_modules/de-indent": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/de-indent/-/de-indent-1.0.2.tgz", @@ -11844,6 +11806,7 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, "engines": { "node": ">=8" } @@ -13789,6 +13752,7 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, "dependencies": { "shebang-regex": "^3.0.0" }, @@ -13800,6 +13764,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, "engines": { "node": ">=8" } @@ -16550,6 +16515,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, "dependencies": { "isexe": "^2.0.0" }, @@ -19238,17 +19204,6 @@ "@hapi/hoek": "^8.3.0" } }, - "@mr-hope/vuepress-plugin-last-update": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/@mr-hope/vuepress-plugin-last-update/-/vuepress-plugin-last-update-1.11.0.tgz", - "integrity": "sha512-jUbeISCShDc2byaw8kRhDrhf8PRJOKINktd9+6LFq1O8mBueJNNhuGNBdD7sckjH/ZWhLsFIw0aq7QNIu1qIeg==", - "requires": { - "@mr-hope/vuepress-types": "1.11.0", - "@types/cross-spawn": "^6.0.2", - "cross-spawn": "^7.0.3", - "dayjs": "^1.10.4" - } - }, "@mr-hope/vuepress-plugin-sitemap": { "version": "1.12.1", "resolved": "https://registry.npmjs.org/@mr-hope/vuepress-plugin-sitemap/-/vuepress-plugin-sitemap-1.12.1.tgz", @@ -19321,21 +19276,6 @@ } } }, - "@mr-hope/vuepress-types": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/@mr-hope/vuepress-types/-/vuepress-types-1.11.0.tgz", - "integrity": "sha512-PEg+WMmUSoqizQLg8u0zNprtufvjgyeiKasE1zHv71ZNFQrYfIic4j9Z9ZpXQiP9EZMJOOZFAoRBUfKZkm6NDQ==", - "requires": { - "@types/express": "^4.17.11", - "@types/markdown-it": "^12.0.1", - "@types/markdown-it-anchor": "^7.0.0", - "@types/webpack-dev-server": "^3.11.1", - "cac": "^6.7.2", - "vue": "^2.6.12", - "vue-loader": "^15.9.6", - "webpack-chain": "^6.5.1" - } - }, "@mrmlnc/readdir-enhanced": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz", @@ -19394,14 +19334,6 @@ "@types/node": "*" } }, - "@types/cross-spawn": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/@types/cross-spawn/-/cross-spawn-6.0.2.tgz", - "integrity": "sha512-KuwNhp3eza+Rhu8IFI5HUXRP0LIhqH5cAjubUvGXXthh4YYBuP2ntwEX+Cz8GJoZUHlKo247wPWOfA9LYEq4cw==", - "requires": { - "@types/node": "*" - } - }, "@types/express": { "version": "4.17.11", "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.11.tgz", @@ -22497,6 +22429,7 @@ "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, "requires": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -22745,11 +22678,6 @@ "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.19.0.tgz", "integrity": "sha512-X3bf2iTPgCAQp9wvjOQytnf5vO5rESYRXlPIVcgSbtT5OTScPcsf9eZU+B/YIkKAtYr5WeCii58BgATrNitlWg==" }, - "dayjs": { - "version": "1.10.4", - "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.10.4.tgz", - "integrity": "sha512-RI/Hh4kqRc1UKLOAf/T5zdMMX5DQIlDxwUe3wSyMMnEbGunnpENCdbUgM+dW7kXidZqCttBrmw7BhN4TMddkCw==" - }, "de-indent": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/de-indent/-/de-indent-1.0.2.tgz", @@ -27228,7 +27156,8 @@ "path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==" + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true }, "path-parse": { "version": "1.0.6", @@ -28872,6 +28801,7 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, "requires": { "shebang-regex": "^3.0.0" } @@ -28879,7 +28809,8 @@ "shebang-regex": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==" + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true }, "signal-exit": { "version": "3.0.3", @@ -31206,6 +31137,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, "requires": { "isexe": "^2.0.0" } diff --git a/package.json b/package.json index 7fec426e..723b33fa 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,6 @@ "webpack": "^4.44.2" }, "dependencies": { - "@mr-hope/vuepress-plugin-last-update": "^1.11.0", "@mr-hope/vuepress-plugin-sitemap": "^1.12.1", "axios": "^0.21.1", "core-js": "2.6.4", diff --git a/src/.vuepress/config/plugins.js b/src/.vuepress/config/plugins.js index 7f3eabe3..21f004e9 100644 --- a/src/.vuepress/config/plugins.js +++ b/src/.vuepress/config/plugins.js @@ -6,7 +6,7 @@ module.exports = [ }, ], [ - "@mr-hope/vuepress-plugin-last-update", + "@vuepress/last-updated", { transformer: (timestamp, lang) => { const moment = require("moment");