Open tomjn opened 1 year ago
It's in the .nvmrc
file but nowhere else. The whole Node setup needs updating to Node 20 too.
Updating to node 20 is a huge rabbit hole.
I tried making a start and I think my recommendation is a to update the build tooling to use wp-scripts instead, as well as it's eslint, stylelint and other configs. Updating the HM webpack helpers and coding standards is too difficult at this point IMO.
We will need to remove react-sortable-hoc
with @dnd-kit
as well because the former is no longer maintained.
As Rob pointed out, the GitHub Actions workflow for the build is not failing either, everything is green. Needs looking into.
Authorship specifies no Node requirements, and will fail if using modern NodeJS. To fix this the
package.json
should specify the range of Node versions that are supported in theengines
section, and it should be mentioned in the readme file