My customized hexo library
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"
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.
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
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.
affects: lib/hexo/locals.ts
require hexojs/hexo-util#308
- Add test cases for the changes.
- Passed the CI test.