@graphql-toolkit/file-loading
Advanced tools
Comparing version 0.6.6-alpha-d93b7a6.0 to 0.6.6
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const graphql_1 = require("graphql"); | ||
const DEFAULT_IGNORED_SCHEMA_EXTENSIONS = ['spec', 'test', 'd', 'map']; | ||
const DEFAULT_SCHEMA_EXTENSIONS = ['gql', 'graphql', 'graphqls', 'ts', 'js']; | ||
const DEFAULT_IGNORED_RESOLVERS_EXTENSIONS = ['spec', 'test', 'd', 'gql', 'graphql', 'graphqls']; | ||
const DEFAULT_IGNORED_RESOLVERS_EXTENSIONS = ['spec', 'test', 'd', 'gql', 'graphql', 'graphqls', 'map']; | ||
const DEFAULT_RESOLVERS_EXTENSIONS = ['ts', 'js']; | ||
@@ -40,3 +41,3 @@ const DEFAULT_SCHEMA_EXPORT_NAMES = ['typeDefs', 'schema']; | ||
const LoadSchemaFilesDefaultOptions = { | ||
ignoredExtensions: [], | ||
ignoredExtensions: DEFAULT_IGNORED_SCHEMA_EXTENSIONS, | ||
extensions: DEFAULT_SCHEMA_EXTENSIONS, | ||
@@ -43,0 +44,0 @@ useRequire: false, |
import { print } from 'graphql'; | ||
const DEFAULT_IGNORED_SCHEMA_EXTENSIONS = ['spec', 'test', 'd', 'map']; | ||
const DEFAULT_SCHEMA_EXTENSIONS = ['gql', 'graphql', 'graphqls', 'ts', 'js']; | ||
const DEFAULT_IGNORED_RESOLVERS_EXTENSIONS = ['spec', 'test', 'd', 'gql', 'graphql', 'graphqls']; | ||
const DEFAULT_IGNORED_RESOLVERS_EXTENSIONS = ['spec', 'test', 'd', 'gql', 'graphql', 'graphqls', 'map']; | ||
const DEFAULT_RESOLVERS_EXTENSIONS = ['ts', 'js']; | ||
@@ -38,3 +39,3 @@ const DEFAULT_SCHEMA_EXPORT_NAMES = ['typeDefs', 'schema']; | ||
const LoadSchemaFilesDefaultOptions = { | ||
ignoredExtensions: [], | ||
ignoredExtensions: DEFAULT_IGNORED_SCHEMA_EXTENSIONS, | ||
extensions: DEFAULT_SCHEMA_EXTENSIONS, | ||
@@ -41,0 +42,0 @@ useRequire: false, |
{ | ||
"name": "@graphql-toolkit/file-loading", | ||
"version": "0.6.6-alpha-d93b7a6.0+d93b7a6", | ||
"version": "0.6.6", | ||
"description": "A set of utils for faster development of GraphQL tools", | ||
@@ -33,3 +33,3 @@ "repository": "git@github.com:dotansimha/graphql-toolkit.git", | ||
"dependencies": { | ||
"@graphql-toolkit/common": "0.6.6-alpha-d93b7a6.0+d93b7a6", | ||
"@graphql-toolkit/common": "0.6.6", | ||
"@kamilkisiela/graphql-tools": "4.0.6", | ||
@@ -41,3 +41,3 @@ "glob": "7.1.5" | ||
}, | ||
"gitHead": "d93b7a6241cc532aecabaf6a2030e60b8dffcb7c" | ||
"gitHead": "93d0ab1e4693b3417a98a53eb6dd14fd9a32cb28" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
388
22
35561
14
+ Added@graphql-toolkit/common@0.6.6(transitive)
+ Addedaggregate-error@3.0.1(transitive)
+ Addedclean-stack@2.2.0(transitive)
+ Addedindent-string@4.0.0(transitive)
+ Addedlodash@4.17.15(transitive)