Gathering detailed insights and metrics for next-plugin-graphql-let
Gathering detailed insights and metrics for next-plugin-graphql-let
Gathering detailed insights and metrics for next-plugin-graphql-let
Gathering detailed insights and metrics for next-plugin-graphql-let
npm install next-plugin-graphql-let
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
7 Commits
1 Watching
1 Branches
1 Contributors
Updated on 28 Jan 2023
Minified
Minified + Gzipped
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
0%
2
Compared to previous day
Last week
1,000%
11
Compared to previous week
Last month
433.3%
16
Compared to previous month
Last year
40.2%
136
Compared to previous year
2
1
Automatically configures webpack for graphql-let usage in Next.js.
1npm install next-plugin-graphql-let
1// in next.config.js
2const createNextPluginGraphQLLet = require("next-plugin-graphql-let")
3
4const withNextPluginGraphQLLet = createNextPluginGraphQLLet()
5
6module.exports = withNextPluginGraphQLLet({
7 // next.js configuration
8})
1const createNextPluginGraphQLLet = require("next-plugin-graphql-let")
2
3const withNextPluginGraphQLLet = createNextPluginGraphQLLet()
4
5module.exports = withNextPluginGraphQLLet({
6 typescript: {
7 ignoreBuildErrors: true,
8 },
9 images: {
10 domains: ["avatars.githubusercontent.com"],
11 },
12 webpack(config, options) {
13 config.module.rules.push({
14 test: /\.ya?ml$/,
15 type: "json",
16 use: "yaml-loader",
17 })
18
19 return config
20 },
21})
You can use loader
to change webpack settings for the rule that uses graphql-let/loader
(regular GraphQL files) and schemaLoader
to change webpack settings for the rule that uses graphql-let/schema/loader
(GraphQL schema files) on:
1// in next.config.js
2const createNextPluginGraphQLLet = require("next-plugin-graphql-let")
3
4// these are the default tests
5const withNextPluginGraphQLLet = createNextPluginGraphQLLet({
6 loader: {
7 test: /\.graphql$/,
8 },
9 schemaLoader: {
10 test: /\.graphqls$/,
11 },
12})
13
14module.exports = withNextPluginGraphQLLet({
15 // next.js configuration
16})
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/7 approved changesets -- score normalized to 0
Reason
project is archived
Details
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
Details
Reason
39 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More