From 1e5847fabb318c1015464744c27fcb726ca21d77 Mon Sep 17 00:00:00 2001 From: Ming Di Leom <2809763-curben@users.noreply.gitlab.com> Date: Sun, 7 Jan 2024 11:45:32 +0000 Subject: [PATCH] fix(deps): switch to published hexo - when installing from a git url, tsc command needs to be in the "prepare" lifecycle script. - [when installing from a git url,] If the package being installed contains a prepare script, its dependencies and devDependencies will be installed, and the prepare script will be run, before the package is packaged and installed. - https://docs.npmjs.com/cli/v10/commands/npm-install - hexo uses prepare script to install husky git hook - https://github.com/typicode/husky/issues/884 - Revert af212ddb8d21415be01b8cdcf54c6f45a2b0bde1 - Reapply 844a785718d9e359180089e8be5bbd55c8bab006 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a850d00..c94ea1f 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "renovate": "renovate --platform 'gitlab' --onboarding false --update-lock-files false --labels 'renovate' --recreate-closed true --require-config 'ignored' \"$CI_PROJECT_PATH\"" }, "dependencies": { - "hexo": "hexojs/hexo", + "hexo": "^7.0.0", "hexo-filter-nofollow": "hexojs/hexo-filter-nofollow", "hexo-generator-archive": "hexojs/hexo-generator-archive", "hexo-generator-index": "hexojs/hexo-generator-index",