aframevr / aframe-site

:a: Official A-Frame site.
https://aframe.io/
MIT License
99 stars 141 forks source link

Update to latest hexo version, node 14.0.0 minimum required (fix #533) #539

Open vincentfretin opened 2 days ago

vincentfretin commented 2 days ago

This closes #533

The github version of hexo-renderer-marked we used was for this PR that was merged https://github.com/hexojs/hexo-renderer-marked/pull/24 so latest version include the lowercase anchors. sanitize and tables options are deprecated, sanitize was false, and tables is now included with gfm option, see https://github.com/hexojs/hexo-renderer-marked/releases/tag/2.0.0

hexo-generator-feed I kept it to 1.2.0, I tested more recent version but got an error. I tested the feed is correctly rendered when I go to http://localhost:4000/feed.xml

hexo-filter-github-emojis I pinned the version to 1.4.4. I didn't test more recent version.

All the other plugins are the latest version.

Reading https://hexo.io/docs/one-command-deployment#Git the deploy key is repo, not repository.

I read all the changelogs and README, I didn't see any other breaking change worth mentioning for our use here.

vincentfretin commented 2 days ago

FYI I tested with node v22.3.0.

vincentfretin commented 2 days ago

I guess we don't really use the hexo-deployer-git plugin, but custom commands, see https://github.com/supermedium/a-frobot/blob/master/lib/deployAframeSite.js#L35-L38

vincentfretin commented 2 days ago

I guess we wait to update the robot as well https://github.com/supermedium/a-frobot/issues/2 before merging this PR.