-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: update dependencies to avoid conflict in WP 6.6 #2318
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this @dkoo!
I left a few comments where I ran into some issues. In addition I had one other note worth bringing up that is likely unrelated to this PR, but is still worth mentioning:
I noticed a bunch of JS errors in console while smoke testing in customizer. This happen in both trunk
as well as the updated branches, and for both the current WP and 6.6
I find it strange that when I build/watch I get a bunch of deprecation warnings, e.g.:
But those are not caught with |
@miguelpeixe I think this is because the Theme repo uniquely uses If it's obtrusive, we can always silence the warnings in our Theme config. I'm fairly certain SASS wouldn't introduce a breaking change like this in a minor version, so the risk would be low. |
These mejs is not defined
errors are no longer happening
# [2.0.0-alpha.1](v1.92.0...v2.0.0-alpha.1) (2024-08-02) ### Bug Fixes * update dependencies to support `@wordpress/scripts` ([#2318](#2318)) ([1ee216c](1ee216c)) ### BREAKING CHANGES * Updates dependencies for compatibility with WordPress 6.6.*, but breaks JS in WordPress 6.5.* and below. If you need support for WP 6.5.*, please do not upgrade to this new major version. * chore: refactor for newspack-scripts dependency updates * refactor: use proxy script for eslint and stylelint scripts * chore: update newspack-scripts to v5.6.0-alpha.3 * fix: actually update newspack-scripts to v5.6.0-alpha.3 * chore: update newspack-scripts to v5.6.0-alpha.4 * fix: semantic-release script * fix: add missing Prettier config files * chore: update newspack-scripts to 5.6.0-alpha.5 * chore: update newspack-scripts to v5.6.0-alpha.7 * fix: reformat SCSS * chore: update newspack-scripts to v5.6.0-alpha.8 * fix: broken composer lockfile * chore: bump newspack-scripts to v5.5.2
🎉 This PR is included in version 2.0.0-alpha.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
# [2.0.0-epic-ras-acc.1](v1.93.0-epic-ras-acc.1...v2.0.0-epic-ras-acc.1) (2024-08-09) ### Bug Fixes * correct linting errors ([d3b74c7](d3b74c7)) * correct more linting errors ([593c246](593c246)) * update dependencies to support `@wordpress/scripts` ([#2318](#2318)) ([1ee216c](1ee216c)) ### BREAKING CHANGES * Updates dependencies for compatibility with WordPress 6.6.*, but breaks JS in WordPress 6.5.* and below. If you need support for WP 6.5.*, please do not upgrade to this new major version. * chore: refactor for newspack-scripts dependency updates * refactor: use proxy script for eslint and stylelint scripts * chore: update newspack-scripts to v5.6.0-alpha.3 * fix: actually update newspack-scripts to v5.6.0-alpha.3 * chore: update newspack-scripts to v5.6.0-alpha.4 * fix: semantic-release script * fix: add missing Prettier config files * chore: update newspack-scripts to 5.6.0-alpha.5 * chore: update newspack-scripts to v5.6.0-alpha.7 * fix: reformat SCSS * chore: update newspack-scripts to v5.6.0-alpha.8 * fix: broken composer lockfile * chore: bump newspack-scripts to v5.5.2
🎉 This PR is included in version 2.0.0-epic-ras-acc.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
# [2.0.0](v1.92.0...v2.0.0) (2024-08-13) ### Bug Fixes * update dependencies to support `@wordpress/scripts` ([#2318](#2318)) ([1ee216c](1ee216c)) ### BREAKING CHANGES * Updates dependencies for compatibility with WordPress 6.6.*, but breaks JS in WordPress 6.5.* and below. If you need support for WP 6.5.*, please do not upgrade to this new major version. * chore: refactor for newspack-scripts dependency updates * refactor: use proxy script for eslint and stylelint scripts * chore: update newspack-scripts to v5.6.0-alpha.3 * fix: actually update newspack-scripts to v5.6.0-alpha.3 * chore: update newspack-scripts to v5.6.0-alpha.4 * fix: semantic-release script * fix: add missing Prettier config files * chore: update newspack-scripts to 5.6.0-alpha.5 * chore: update newspack-scripts to v5.6.0-alpha.7 * fix: reformat SCSS * chore: update newspack-scripts to v5.6.0-alpha.8 * fix: broken composer lockfile * chore: bump newspack-scripts to v5.5.2
🎉 This PR is included in version 2.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
All Submissions:
Changes proposed in this Pull Request:
Refactoring required for changes in Automattic/newspack-scripts#209. Note that this PR will not pass CI tests and should NOT be merged until Automattic/newspack-scripts#209 is released as an NPM package, so this repo can install it as a dependency.
How to test the changes in this Pull Request:
Follow instructions in Automattic/newspack-scripts#209.
Other information: