OneGraph / graphiql-explorer

Explorer plugin for GraphiQL
MIT License
907 stars 97 forks source link

Validating the `graphiql-explorer` package's license via the `license-checker-webpack-plugin` results in failure #76

Open mohib0306 opened 2 years ago

mohib0306 commented 2 years ago

Description:

In our application we validate the package's licenses using the license-checker-webpack-plugin before the production build.

While running the license checker on graphiql-explorer, it results in failure due to the incorrect value returned by its npm package description.

The error returned by the license checker looks like License: graphiql-explorer@0.6.3 has disallowed license SEE LICENSE IN LICENSE

If one checks the License section of https://www.npmjs.com/package/graphiql-explorer, you can see that the value SEE LICENSE IN LICENSE is not what the license checker is expecting.

A simple resolution to this issue will be updating the npm details page of the package with the correct license value.