10up / wp-scaffold

10up WordPress project scaffold.
MIT License
204 stars 48 forks source link

Upgrading all npm dependencies #140

Closed Antonio-Laguna closed 2 years ago

Antonio-Laguna commented 2 years ago

Description of the Change

This upgrades all dependencies. I'll go through each since there are not that many:

10up-toolkit

It was released over a month ago and it got sensible upgrades to HMR and fixes there which should benefit anyone. Given this is a template I feel the risk here is minimum.

husky

Husky jumps a few major versions in which lots of fixes and performance improvements happened. Breaking changes are only dropping old Node versions.

As a bonus, it has now a flag to avoid it being installed on CI environments which will speed CI significantly.

lint-staged

Similar to husky, the breaking changes are related to Node versions. They've migrated to ESM packages and dropped support for Node versions that have reached EOL.

Verification Process

This has been verified on current projects that all work without any further changes.

Checklist: