Closed cnotv closed 1 month ago
A Node update will be necessary as part of this.
A Node update will be necessary as part of this.
This has been already carried in the PR draft as first step.
Small note wether this point arises: the command vue upgrade
may not be sufficient for updating all the libraries, which have then be updated manually.
Setting this one in review, as upgrades have been done and need to be tested with on run, plus generated on script most of them.
As we are approaching the merging to master phase, I'll merge this PR into the Vue3 branch after rebase.
Closing in favor of https://github.com/rancher/dashboard/pull/11686/
Description
Update libraries and
vueconfig
as indicated in the finding. The goal is to have an updated and running configuration, not an actual running application as it will require other steps.Note: Node 16 is EOL and we'll have to update to ^18 (already done in draft PR)
TODO
vue.config
, plugins, middleware and all other importsvue-router
and Vue architectures to match new Vue3 APIsList of required changes
NOTE: These changes have been already partially solved in the draft PR!
Copied here for review purposes:
Copy Plugin has been initialized using an options object that does not match the API schema.
, now to be defined in pattern key as object configwhitespaces
https://github.com/vuejs/core/pull/1600#issuecomment-1030744888configuration.watchOptions.ignored should be a non-empty string
options has an unknown property 'before'
, replaced byonBeforeSetupMiddleware
options has an unknown property 'public'
devServer.public does not exists
https://github.com/vuejs/vue-cli/issues/6841TypeError: app.use is not a function
, new object over parametersCannot read properties of undefined (reading 'websocketProxies')
vue DeprecationWarning: 'https' option is deprecated
https://webpack.js.org/configuration/dev-server/#devserverhttp2Cannot add property htmlWebpackPluginAlterChunks, object is not extensible
Webpack 4/5 conflicts@rancher/components