Closed paul-soporan closed 4 years ago
nice work, I think this also needs the sass-loader (optional peer-deps) and vuetify-loader (not sure if optional) as dependencies
Done.
sass-loader
has been added as an optional peer dependency to @vuetify/cli-plugin-utils
(https://github.com/vuetifyjs/vue-cli-plugins/blob/6f4321d6fa6b9707718f7c3a7b444cf9d32e42c5/packages/cli-plugin-utils/index.js#L97) and to vue-cli-plugin-vuetify
(https://github.com/vuetifyjs/vue-cli-plugins/blob/6f4321d6fa6b9707718f7c3a7b444cf9d32e42c5/packages/vue-cli-plugin-vuetify/util/helpers.js#L51).
vuetify-loader
has been added as an optional peer dependency to vue-cli-plugin-vuetify
(https://github.com/vuetifyjs/vue-cli-plugins/blob/6f4321d6fa6b9707718f7c3a7b444cf9d32e42c5/packages/vue-cli-plugin-vuetify/index.js#L14).
vue-cli-plugin-vuetify
depends onsemver
, but doesn't declare it as a dependency, which causes Yarn 2 PnP to throwError: A package is trying to access another package without the second one being listed as a dependency of the first one
when used inside a project.This PR adds
semver
as a dependency tovue-cli-plugin-vuetify
, as well as to@vuetify/cli-plugin-utils
(since I've noticed it has the same issue).This PR preserves the version of semver (
^6.3.0
) that is declared as adevDependency
in the rootpackage.json
(I didn't remove it because I'm not sure if it is used anywhere else).