Skip to content

Commit

Permalink
fix(deps): switch to published hexo
Browse files Browse the repository at this point in the history
- 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
    - typicode/husky#884
- Revert af212dd
- Reapply 844a785
  • Loading branch information
Ming Di Leom committed Jan 7, 2024
1 parent af212dd commit 1e5847f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 1e5847f

Please sign in to comment.