-
Notifications
You must be signed in to change notification settings - Fork 219
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
Update Nuxt to v.2.16.3 #952
Conversation
Size Change: -34.6 kB (-4%) Total Size: 847 kB
ℹ️ View Unchanged
|
Full-stack documentation: Ready https://WordPress.github.io/openverse/_preview/952 Please note that GitHub pages takes a little time to deploy newly pushed code, if the links above don't work or you see old versions, wait 5 minutes and try again. You can check the GitHub pages deployment action list to see the current status of the deployments. |
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.
I think the VR and e2e tests passing is proof enough that everything continues to work after the update. Thanks @obulat for the upstream fix!
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.
LGTM!
Fixes
Related to #411 by @obulat
Description
As the first step towards migrating to Nuxt 3, we need to update Nuxt to version 2.16. This update was blocked by inability to configure the
postcss-preset-env
. With the default settings, all the logical CSS properties we need to maintain the RTL layout were converted to the default. So, for example,margin-inline-start
was always converted tomargin-left
, instead of beingmargin-left
for LTR layouts, andmargin-right
for RTL layouts.This problem was fixed in Nuxt version 2.16.3.
Code changes made in this update:
build.postcss
innuxt.config
now usespostcssOptions
inner propertynuxt.config
is not needed anymorepostcss8
is used by default, so we no longer need a separate Nuxt module for it.typescript-build
has also been updated to version 3Testing Instructions
CI should pass
Checklist
Update index.md
).main
) ora parent feature branch.
errors.
Developer Certificate of Origin
Developer Certificate of Origin