diff --git a/package-lock.json b/package-lock.json index b4904d88e..8cb7d9a8e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,6 +10,7 @@ "dependencies": { "hexo": "^7.3.0", "hexo-abbrlink": "^2.2.1", + "hexo-deployer-git": "^4.0.0", "hexo-filter-mathjax": "^0.9.0", "hexo-generator-archive": "^2.0.0", "hexo-generator-category": "^2.0.0", @@ -1145,6 +1146,125 @@ "node": ">=14" } }, + "node_modules/hexo-deployer-git": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/hexo-deployer-git/-/hexo-deployer-git-4.0.0.tgz", + "integrity": "sha512-28t1Q+4taB/UaBAP52W3mD/wcCwa2y2zBieUfBJFBZudbmVgiKJB5YedYILeyI5QByaUKAOwoupmdTbocdQ+CQ==", + "license": "MIT", + "dependencies": { + "bluebird": "^3.7.2", + "hexo-fs": "^4.0.0", + "hexo-util": "^2.7.0", + "luxon": "^3.0.4", + "nunjucks": "^3.2.3", + "picocolors": "^1.0.0" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/hexo-deployer-git/node_modules/dom-serializer": { + "version": "1.4.1", + "resolved": "https://registry.npmmirror.com/dom-serializer/-/dom-serializer-1.4.1.tgz", + "integrity": "sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==", + "license": "MIT", + "dependencies": { + "domelementtype": "^2.0.1", + "domhandler": "^4.2.0", + "entities": "^2.0.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "node_modules/hexo-deployer-git/node_modules/dom-serializer/node_modules/entities": { + "version": "2.2.0", + "resolved": "https://registry.npmmirror.com/entities/-/entities-2.2.0.tgz", + "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==", + "license": "BSD-2-Clause", + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/hexo-deployer-git/node_modules/domhandler": { + "version": "4.3.1", + "resolved": "https://registry.npmmirror.com/domhandler/-/domhandler-4.3.1.tgz", + "integrity": "sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==", + "license": "BSD-2-Clause", + "dependencies": { + "domelementtype": "^2.2.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "node_modules/hexo-deployer-git/node_modules/domutils": { + "version": "2.8.0", + "resolved": "https://registry.npmmirror.com/domutils/-/domutils-2.8.0.tgz", + "integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==", + "license": "BSD-2-Clause", + "dependencies": { + "dom-serializer": "^1.0.1", + "domelementtype": "^2.2.0", + "domhandler": "^4.2.0" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, + "node_modules/hexo-deployer-git/node_modules/entities": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/entities/-/entities-3.0.1.tgz", + "integrity": "sha512-WiyBqoomrwMdFG1e0kqvASYfnlb0lp8M5o5Fw2OFq1hNZxxcNk8Ik0Xm7LxzBhuidnZB/UtBqVCgUz3kBOP51Q==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/hexo-deployer-git/node_modules/hexo-util": { + "version": "2.7.0", + "resolved": "https://registry.npmmirror.com/hexo-util/-/hexo-util-2.7.0.tgz", + "integrity": "sha512-hQM3h34nhDg0bSe/Tg1lnpODvNkz7h2u0+lZGzlKL0Oufp+5KCAEUX9wal7/xC7ax3/cwEn8IuoU75kNpZLpJQ==", + "license": "MIT", + "dependencies": { + "bluebird": "^3.5.2", + "camel-case": "^4.0.0", + "cross-spawn": "^7.0.0", + "deepmerge": "^4.2.2", + "highlight.js": "^11.0.1", + "htmlparser2": "^7.0.0", + "prismjs": "^1.17.1", + "strip-indent": "^3.0.0" + }, + "engines": { + "node": ">=12.4.0" + } + }, + "node_modules/hexo-deployer-git/node_modules/htmlparser2": { + "version": "7.2.0", + "resolved": "https://registry.npmmirror.com/htmlparser2/-/htmlparser2-7.2.0.tgz", + "integrity": "sha512-H7MImA4MS6cw7nbyURtLPO1Tms7C5H602LRETv95z1MxO/7CP7rDVROehUYeYBUYEON94NXXDEPmZuq+hX4sog==", + "funding": [ + "https://github.com/fb55/htmlparser2?sponsor=1", + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "MIT", + "dependencies": { + "domelementtype": "^2.0.1", + "domhandler": "^4.2.2", + "domutils": "^2.8.0", + "entities": "^3.0.1" + } + }, "node_modules/hexo-filter-mathjax": { "version": "0.9.0", "resolved": "https://registry.npmmirror.com/hexo-filter-mathjax/-/hexo-filter-mathjax-0.9.0.tgz", @@ -1837,6 +1957,15 @@ "tslib": "^2.0.3" } }, + "node_modules/luxon": { + "version": "3.5.0", + "resolved": "https://registry.npmmirror.com/luxon/-/luxon-3.5.0.tgz", + "integrity": "sha512-rh+Zjr6DNfUYR3bPwJEnuwDdqMbxZW7LOQfUN4B54+Cl+0o5zaU9RJ6bcidfDtC1cWCZXQ+nvX8bf6bAji37QQ==", + "license": "MIT", + "engines": { + "node": ">=12" + } + }, "node_modules/marked": { "version": "4.3.0", "resolved": "https://registry.npmmirror.com/marked/-/marked-4.3.0.tgz", diff --git a/package.json b/package.json index fcb15ef44..14c117025 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "dependencies": { "hexo": "^7.3.0", "hexo-abbrlink": "^2.2.1", + "hexo-deployer-git": "^4.0.0", "hexo-filter-mathjax": "^0.9.0", "hexo-generator-archive": "^2.0.0", "hexo-generator-category": "^2.0.0", diff --git a/yarn.lock b/yarn.lock index ced469420..c6b35e7ca 100644 --- a/yarn.lock +++ b/yarn.lock @@ -609,6 +609,18 @@ hexo-cli@^4.3.2: resolve "^1.20.0" tildify "^2.0.0" +hexo-deployer-git@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/hexo-deployer-git/-/hexo-deployer-git-4.0.0.tgz" + integrity sha512-28t1Q+4taB/UaBAP52W3mD/wcCwa2y2zBieUfBJFBZudbmVgiKJB5YedYILeyI5QByaUKAOwoupmdTbocdQ+CQ== + dependencies: + bluebird "^3.7.2" + hexo-fs "^4.0.0" + hexo-util "^2.7.0" + luxon "^3.0.4" + nunjucks "^3.2.3" + picocolors "^1.0.0" + hexo-filter-mathjax@^0.9.0: version "0.9.0" resolved "https://registry.npmmirror.com/hexo-filter-mathjax/-/hexo-filter-mathjax-0.9.0.tgz" @@ -640,7 +652,7 @@ hexo-fs@^3.1.0: graceful-fs "^4.1.11" hexo-util "^2.0.0" -hexo-fs@^4.1.1, hexo-fs@^4.1.3: +hexo-fs@^4.0.0, hexo-fs@^4.1.1, hexo-fs@^4.1.3: version "4.1.3" resolved "https://registry.npmmirror.com/hexo-fs/-/hexo-fs-4.1.3.tgz" integrity sha512-Q92zQ5PlVDouvSWFLXQoFSTLIUIODikUJs2BfAXQglyOEjN1dOQn1Z5Nimk/7GHof17R5h/uObCQLnZAjzI2tg== @@ -789,6 +801,20 @@ hexo-util@^2.1.0: prismjs "^1.17.1" strip-indent "^3.0.0" +hexo-util@^2.7.0: + version "2.7.0" + resolved "https://registry.npmmirror.com/hexo-util/-/hexo-util-2.7.0.tgz" + integrity sha512-hQM3h34nhDg0bSe/Tg1lnpODvNkz7h2u0+lZGzlKL0Oufp+5KCAEUX9wal7/xC7ax3/cwEn8IuoU75kNpZLpJQ== + dependencies: + bluebird "^3.5.2" + camel-case "^4.0.0" + cross-spawn "^7.0.0" + deepmerge "^4.2.2" + highlight.js "^11.0.1" + htmlparser2 "^7.0.0" + prismjs "^1.17.1" + strip-indent "^3.0.0" + hexo-util@^3.0.1, hexo-util@^3.1.0, hexo-util@^3.3.0: version "3.3.0" resolved "https://registry.npmmirror.com/hexo-util/-/hexo-util-3.3.0.tgz" @@ -1051,6 +1077,11 @@ lower-case@^2.0.2: dependencies: tslib "^2.0.3" +luxon@^3.0.4: + version "3.5.0" + resolved "https://registry.npmmirror.com/luxon/-/luxon-3.5.0.tgz" + integrity sha512-rh+Zjr6DNfUYR3bPwJEnuwDdqMbxZW7LOQfUN4B54+Cl+0o5zaU9RJ6bcidfDtC1cWCZXQ+nvX8bf6bAji37QQ== + marked@^4.3.0: version "4.3.0" resolved "https://registry.npmmirror.com/marked/-/marked-4.3.0.tgz"