Skip to content
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 Vue to v2.7.14 LTS + Vuetify v2.6.15 #333

Closed
wants to merge 8 commits into from

Conversation

spwoodcock
Copy link
Contributor

@spwoodcock spwoodcock commented Apr 26, 2023

This PR is built on top of #320, to allow for an easier single merge.
Apologies for this non-standard approach, but I couldn't think of a better way - these updates are reliant on the previous PR commits.

Closes #330.

  • I upgraded Vue, as in the title.
  • Also upgraded vue-i18n to the latest Vue2 version.
  • Vuetify was upgraded to v2.6.15. IMO, we shouldn't wait for Vuetify v2.7 LTS to be released, as Vuetify development can be painfully slow. It shouldn't really matter as 2.7 seems to be focused on "backports and deprecations from v3.0.0 to help developers prepare for v3 upgrade".

Additional considerations:

  • I pushed a version of package-lock.json generated from npm install using NPM v6, as v7 updates the lock file to lockfileVersion: 2. Ideally all developers should be using the same version of NPM, but this is hard to enforce. I considered updating engines.npm in package.json to have a maximum version and creating a .npmrc with engine-strict: true, but this may cause issues with downstream users.
    • NPM v6 can be used by running npm install inside a node:14 docker container.
    • NPM v6 is from 2018, so in future we could update to NPM v7-8 (lockfileVersion: 2), or NPM v8 (lockfileVersion: 3).
  • I also updated the vue.config.js devServer.port to 0.0.0.0, as it allows more flexibility than localhost.

@spwoodcock spwoodcock changed the title Update Vue to 2.7.14 LTS Wegue V2 upgrades + update Vue to 2.7.14 LTS Apr 26, 2023
@fschmenger
Copy link
Collaborator

Hi Sam,
thanks for providing this. The next 2 weeks will be busy here, then I hopefully will find a time slot to have a closer look.

I don`t see any problem with PRs being built on top of each other, we used to follow the same approach with all the vue template upgrades. So, even if this incorporates #320, could you reopen #320 again? This will give us the opportunity to review and merge in changes in a more fine grained way.

Cheers,
Felix

@spwoodcock spwoodcock changed the title Wegue V2 upgrades + update Vue to 2.7.14 LTS Update Vue to v2.7.14 LTS + Vuetify v2.6.15 Apr 27, 2023
@spwoodcock
Copy link
Contributor Author

No problem, I will re-open 👍
This PR is superseded by #334.

@spwoodcock
Copy link
Contributor Author

spwoodcock commented Jul 5, 2023

Merged master to only show specific commits - ready to test and merge.
Please add the Wegue V2 label.
I'm happy to rebase to make the history clearer - let me know.

@spwoodcock
Copy link
Contributor Author

Closed in favour of #335

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade to Vue 2 and Vuetify 2 LTS
3 participants