Open
Description
When adding GraphiQL to a maven project using webjar using the following:
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>graphiql</artifactId>
<version>3.8.3</version>
<scope>runtime</scope>
</dependency>
I get the following version conflict:
Could not collect dependencies for project com.bol.axle-parade:gqltest-app:jar:development-SNAPSHOT
[ERROR] Could not resolve version conflict among [org.webjars.npm:graphiql:jar:3.8.3 -> org.webjars.npm:graphiql__react:jar:[0.28.2,0.29.0-0) -> org.webjars.npm:types__codemirror:jar:[5.60.8,6.0.0-0), org.webjars.npm:codemirror-graphql:jar:2.2.0 -> org.webjars.npm:types__codemirror:jar:[0.0.90,0.0.91-0)]
I noticed that codemirror-graphql
has @types/codemirror
pinned to "^0.0.90"
for three years now. Is this still relevant?
graphiql/packages/codemirror-graphql/package.json
Lines 46 to 50 in b495159
Maven also takes a long time to download all the dependencies. It would useful to have a fully contained dependency-free dist variant like swagger-ui-dist to avoid these problems.
Metadata
Metadata
Assignees
Labels
No labels