graphql-codegen-plugin-helpers
Advanced tools
Comparing version 0.13.0-alpha.a51638ed to 0.14.0-alpha.5aabe967
@@ -1,2 +0,10 @@ | ||
import { Document, TemplateDocumentFileReference } from 'graphql-codegen-core'; | ||
import { AstNode, Document } from 'graphql-codegen-core'; | ||
export interface TemplateDocumentFileReference { | ||
relative: string; | ||
absolute: string; | ||
cwd: string; | ||
filename: string; | ||
extension: string; | ||
documents: AstNode[]; | ||
} | ||
export declare function buildFilesArray(parsedDocument: Document): TemplateDocumentFileReference[]; |
@@ -357,3 +357,4 @@ (function(e, a) { for(var i in a) e[i] = a[i]; }(exports, /******/ (function(modules) { // webpackBootstrap | ||
var localFileExists = fs.existsSync(localFilePath); | ||
var loadedModule = __webpack_require__(10)(localFileExists ? localFilePath : moduleName); | ||
var toLoad = localFileExists ? localFilePath : moduleName; | ||
var loadedModule = __webpack_require__(10)(toLoad); | ||
if (!(functionName in loadedModule)) { | ||
@@ -360,0 +361,0 @@ throw new Error(functionName + " couldn't be found in " + loadedModule); |
{ | ||
"name": "graphql-codegen-plugin-helpers", | ||
"version": "0.13.0-alpha.a51638ed", | ||
"version": "0.14.0-alpha.5aabe967", | ||
"description": "graphql-codegen-cli template for TypeScript typings for both client side and server side", | ||
@@ -13,3 +13,3 @@ "repository": "git@github.com:dotansimha/graphql-code-generator.git", | ||
"dependencies": { | ||
"graphql-codegen-core": "0.13.0-alpha.a51638ed" | ||
"graphql-codegen-core": "0.14.0-alpha.5aabe967" | ||
}, | ||
@@ -16,0 +16,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
109017
849
+ Addedansi-styles@3.2.1(transitive)
+ Addedchalk@2.4.1(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedgraphql-codegen-core@0.14.0-alpha.5aabe967(transitive)
+ Addedgraphql-tools@4.0.3(transitive)
+ Addedhas-flag@3.0.0(transitive)
+ Addedsupports-color@5.5.0(transitive)
- Removedgraphql-codegen-core@0.13.0-alpha.a51638ed(transitive)
- Removedgraphql-tools@4.0.2(transitive)