The end-of-life for Node.js v18 is April 30, 2025, which is still about 10 months away, but there should be no harm in aligning with the same version used in WooCommerce core early!
This PR:
Upgrade to use Node.js v20
Bump dependencies
Add @wordpress/url to dev dependencies as it's no longer a dependency under @wordpress/scripts
Checks:
[x] Does your code follow the WordPress coding standards?
[ ] Have you written new tests for your changes, as applicable?
[x] Have you successfully run tests with your changes locally?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
Detailed test instructions:
Set Node.js to v20
Run npm install to see if it can finish without errors
Changes proposed in this Pull Request:
The end-of-life for Node.js v18 is April 30, 2025, which is still about 10 months away, but there should be no harm in aligning with the same version used in WooCommerce core early!
This PR:
@wordpress/url
to dev dependencies as it's no longer a dependency under@wordpress/scripts
Checks:
Detailed test instructions:
npm install
to see if it can finish without errorsnpm start
npm run dev
npm run build
npm run lint:js
Changelog entry