hexojs / hexo

A fast, simple & powerful blog framework, powered by Node.js.
https://hexo.io
MIT License
38.82k stars 4.75k forks source link

WIP: refactor: refactor types #5483

Open D-Sketon opened 2 months ago

github-actions[bot] commented 2 months ago

How to test

git clone -b test/perf https://github.com/D-Sketon/hexo.git
cd hexo
npm install
npm test
github-actions[bot] commented 2 months ago

Flamegraph

https://b4479e8a302786dcb8f89469fbc71171dae025d4-14-hexo.surge.sh/flamegraph.html https://b4479e8a302786dcb8f89469fbc71171dae025d4-16-hexo.surge.sh/flamegraph.html https://b4479e8a302786dcb8f89469fbc71171dae025d4-18-hexo.surge.sh/flamegraph.html

coveralls commented 2 months ago

Pull Request Test Coverage Report for Build 8894902314

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
lib/box/index.ts 9 10 90.0%
<!-- Total: 178 179 99.44% -->
Totals Coverage Status
Change from base Build 8875175928: 0.006%
Covered Lines: 9443
Relevant Lines: 9492

💛 - Coveralls
D-Sketon commented 1 month ago

pending: warehouse new release

yoshinorin commented 1 month ago

@D-Sketon

pending: warehouse new release

Would you please submit a release PR to warehouse repository? I'll release a new one. Thanks :)

D-Sketon commented 1 month ago

@D-Sketon

pending: warehouse new release

Would you please submit a release PR to warehouse repository? I'll release a new one. Thanks :)

IMHO, it's better to fix https://github.com/hexojs/warehouse/issues/252 for better type support before release a new version. But I'm not sure how to fix it.