vue-cli icon indicating copy to clipboard operation
vue-cli copied to clipboard

update @apollographql dependencies

Open morsley opened this issue 6 years ago • 6 comments

What problem does this feature solve?

Ability to use vuejs in corporate environments with automated license checks for controls & compliance.

In particular, these dependencies cause friction for me on @vue/[email protected]:

What does the proposed API look like?

The project moved from graphql/graphql-language-service to graphql/graphiql.

The change may ultimately be upstream, but this project is where I feel it.

morsley avatar Jul 14 '20 18:07 morsley

A quick yarn why reveals the following:

=> Found "@apollographql/[email protected]"
info Reasons this module exists
   - "@vue#cli#@vue#cli-ui#vue-cli-plugin-apollo#apollo#apollo-language-server" depends on it
   - Hoisted from "@vue#cli#@vue#cli-ui#vue-cli-plugin-apollo#apollo#apollo-language-server#@apollographql#graphql-language-service-interface"

=> Found "@apollographql/[email protected]"
info Reasons this module exists
   - "@vue#cli#@vue#cli-ui#vue-cli-plugin-apollo#apollo#apollo-language-server#@apollographql#graphql-language-service-interface" depends on it
   - Hoisted from "@vue#cli#@vue#cli-ui#vue-cli-plugin-apollo#apollo#apollo-language-server#@apollographql#graphql-language-service-interface#@apollographql#graphql-language-service-parser"

=> Found "@apollographql/[email protected]"
info Reasons this module exists
   - "@vue#cli#@vue#cli-ui#vue-cli-plugin-apollo#apollo#apollo-language-server#@apollographql#graphql-language-service-interface" depends on it
   - Hoisted from "@vue#cli#@vue#cli-ui#vue-cli-plugin-apollo#apollo#apollo-language-server#@apollographql#graphql-language-service-interface#@apollographql#graphql-language-service-types"
   - Hoisted from "@vue#cli#@vue#cli-ui#vue-cli-plugin-apollo#apollo#apollo-language-server#@apollographql#graphql-language-service-interface#@apollographql#graphql-language-service-parser#@apollographql#graphql-language-service-types"
   - Hoisted from "@vue#cli#@vue#cli-ui#vue-cli-plugin-apollo#apollo#apollo-language-server#@apollographql#graphql-language-service-interface#@apollographql#graphql-language-service-utils#@apollographql#graphql-language-service-types"

=> Found "@apollographql/[email protected]"
info Reasons this module exists
   - "@vue#cli#@vue#cli-ui#vue-cli-plugin-apollo#apollo#apollo-language-server#@apollographql#graphql-language-service-interface" depends on it
   - Hoisted from "@vue#cli#@vue#cli-ui#vue-cli-plugin-apollo#apollo#apollo-language-server#@apollographql#graphql-language-service-interface#@apollographql#graphql-language-service-utils"

morsley avatar Jul 14 '20 19:07 morsley

It looks like #5663 was opened for the same issue, but closed without resolution and only points at one such link meanwhile my issue has four links. I'd like to offer patches and get this resolved, but I don't have experience navigating monorepos and github searches seem inadequate.

morsley avatar Jul 14 '20 20:07 morsley

is there an update on this issue? It's currently blocking the installation of the @vue/cli in enterprise environments.

antonioaguilar avatar Jul 28 '20 14:07 antonioaguilar

@sodatea I see you in #5663 pointed @antonioaguilar on which dependency needs to be updated. What led you to finding that? I'd like to get this pair of issues resolved.

morsley avatar Jul 28 '20 14:07 morsley

I looked at the first section of the yarn why output and then looked for the package.json of each package that appeared in the result to see which one was using the outdated dependency.

=> Found "@apollographql/[email protected]"
info Reasons this module exists
   - "@vue#cli#@vue#cli-ui#vue-cli-plugin-apollo#apollo#apollo-language-server" depends on it
   - Hoisted from "@vue#cli#@vue#cli-ui#vue-cli-plugin-apollo#apollo#apollo-language-server#@apollographql#graphql-language-service-interface"
                                                                     ^

haoqunjiang avatar Jul 29 '20 03:07 haoqunjiang

any ETA on this? these are red flags that I have to explain to our InfoSec team regularly.

ntregillus avatar Apr 28 '22 15:04 ntregillus