-
Notifications
You must be signed in to change notification settings - Fork 207
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
Add Nuxt 3 migration project proposal #2311
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.
LGTM save the detail about the Node upgrade being optional. If we want to add wiggle room, we could say that the requirement should be that Node is upgradeable (not necessarily upgraded, if we need another implementation plan to cover dangling, non-Nuxt version related issues) to current LTS but not necessarily the latest node.
The pnpm upgrade seems 100% optional to me and is just a nice to have. I'd be fine if it didn't happen and was handled in a separate smaller implementation plan if it has complexities to handle.
- All the current functionality should work as expected. | ||
- All the dependencies should be either updated to latest versions that support | ||
Nuxt 3 or replaced with the ones that support Nuxt 3. | ||
- (Optional) Nuxt app should use node version 20, and pnpm version 8. |
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.
The pnpm
version upgrade does seem optional to me, but moving off of Node 16 should either be a mandatory requirement of this, either to actually do it or identify the specific things that need to be done beyond Nuxt 3 upgrades (even in passing, to set up a subsequent implementation plan). Node 16 reaching EOL while we're still on it introduces a significant risk of security issues that we should prioritise avoiding.
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'll update it to say:
- Nuxt app should migrate from node version 16 to the active LTS version 18 (or the current version 20, which will become active LTS on 2023-10-24.
- (Optional) Nuxt app should migrate to
pnpm
version 8
Just meant to leave a comment, not request review, as I think this is still in clarification (though I believe we can short-cut the rounds quickly on this one if Zack agrees as it's pretty straightforward).
0984698
to
25c5146
Compare
Full-stack documentation: https://docs.openverse.org/_preview/2311 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. |
I also think we can shortcut the rounds quickly. I agree with the changes to making the pnpm upgrade entirely optional / a separate project and defaulting to Node 18 as well. |
documentation/projects/proposals/nuxt_3_migration/20230604-project_proposal_nuxt_3_migration.md
Outdated
Show resolved
Hide resolved
Based on the suggestions in the comments to short-circuit this discussion, I added the changes regarding the node and pnpm versions, and moved this discussion to the Decision step. |
|
||
- Nuxt app should migrate from node version 16 to the active LTS version 18 (or the current version 20, which will become active LTS on 2023-10-24). |
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.
- Nuxt app should migrate from node version 16 to the active LTS version 18 (or the current version 20, which will become active LTS on 2023-10-24). | |
- Nuxt app should migrate from node version 16 to the active LTS version 18 (or the current version 20, which will become active LTS on 2023-10-24). |
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. I think this project would have been okay without a project plan, and having one that is concise and ads further clarification about specific version numbers for Node is useful. LGTM.
…ject_proposal_nuxt_3_migration.md
598f699
to
9d375cb
Compare
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. I also agree that this would have gone okay without a plan but I am glad we got to have the discussion about the Node version assumption and make it explicit. Thanks, Olga!
Fixes
Part of #411
Description
Tagging @sarayourfriend and @zackkrida for their experience with frontend.
Process
This discussion is following the Openverse decision-making process. Information
about this process can be found
on the Openverse documentation site.
Requested reviewers or participants will be following this process. If you are
being asked to give input on a specific detail, you do not need to familiarise
yourself with the process and follow it.
Current round
This discussion is currently in the Decision round.
The deadline for review of this round is 2023-06-07
Update index.md
).main
) or a parent feature branch.Developer Certificate of Origin
Developer Certificate of Origin