Skip to content

Latest commit

 

History

History
69 lines (52 loc) · 2.49 KB

README.md

File metadata and controls

69 lines (52 loc) · 2.49 KB

Hexo logo

Hexo Monorepo

My customized hexo library

sync

yarn workspace hexo exec "git remote add upstream https://github.com/hexojs/hexo"
yarn workspace hexo-front-matter exec "git remote add upstream https://github.com/hexojs/hexo-front-matter"
yarn workspace warehouse exec "git remote add upstream https://github.com/hexojs/warehouse"
yarn workspace hexo-asset-link exec "git remote add upstream https://github.com/liolok/hexo-asset-link"
yarn workspace hexo-site exec "git remote add upstream https://github.com/hexojs/hexo-theme-unit-test"
yarn workspace hexo-util exec "git remote add upstream https://github.com/hexojs/hexo-util"
yarn workspace hexo-log exec "git remote add upstream https://github.com/hexojs/hexo-log"

Pull request document

hexo-cli

  1. #479
  2. #483

hexo-log

  1. hexojs/hexo-log#148

hexo-util

  1. hexojs/hexo-util#311

hexo-front-matter

  1. #70 closed due refactoring code style
  2. #71

hexo

What does it do?

feat(lint): add rule unused vars

affects: .eslintrc

  • turn error all unused vars, except start with underscore (_)

because there are so many variables that are not used, we need add prefix _ to them.

chore(deps-dev): update types, fix missing types

affects: package.json

  • add @types/mocha, @types/chai
  • add @types/sinon, @types/micromatch
  • update @types/bluebird, mocha, chai

fixed missing type for 'module' when testing standalone/single test

refactor: only running on 'hexojs/hexo'

affects: .github/workflows/benchmark.yml

  • upload flamegraph when running on 'hexojs/hexo'
  • comment PR when running on 'hexojs/hexo'

fixed CI for someone not having SURGE.sh token.

chore: update locals data

affects: lib/hexo/locals.ts require hexojs/hexo-util#308

Pull request tasks

  • Add test cases for the changes.
  • Passed the CI test.