Update Nuxt and related dependencies to v3.13.0#4807
Conversation
a4061cb to
2e79f38
Compare
|
The snapshots look identical to me 😕 |
82afdc2 to
8c3d74c
Compare
|
Full-stack documentation: https://docs.openverse.org/_preview/4807 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. |
|
@obulat I replaced the error snapshot, the original seemed to have an extra 1px of whitespace on the left side! |
There was a problem hiding this comment.
LGTM, and great! This includes an update to @nuxtjs/robots that fixes its robots rule parsing and should allow us to add query-param based rules, so crawlers know they don't need to land on the tag and creator collection pages, which should reduce some of the load we've seen to search.
|
BTW: I tried to play around with the robots settings, but I wasn't sure if it would end up breaking some bots. Slack and Twitter bot both ignore robots.txt to get embeds information, but apparently Discord's bot does not. It's hard to find comprehensive information about this, but I think to really resolve the issue we'd need to take a holistic look at our SEO goals and get input from someone more familiar with this stuff. On the other hand, the updates to the robots module are working great, so when/if we choose to make changes there, we'll have a great degree of flexibility now. |
Description
This PR updates Nuxt to the latest minor version. I tried using their reccommended
ov pnpx nuxi@latest upgrade --forcecommand to do the upgrade, but I had to update the version in our package.json first before the subdependencies would be updated in the lock file.This PR also makes a change to locales, renaming the
isofield tolanguage, in preparation of v9 of Nuxt-i18n: https://i18n.nuxtjs.org/docs/v9/guide/breaking-changes-in-v9#locale-iso-renamed-to-languageTesting Instructions
All the things should work. CI should pass, and a local frontend clickthrough should not show any issues.
Checklist
Update index.md).main) or a parent feature branch.ov just catalog/generate-docsfor catalogPRs) or the media properties generator (
ov just catalog/generate-docs media-propsfor the catalog or
ov just api/generate-docsfor the API) where applicable.Developer Certificate of Origin
Developer Certificate of Origin