graphql-codegen-core
Advanced tools
Comparing version 0.19.0-alpha.59cd429f to 0.19.0-alpha.5bed8416
@@ -1,2 +0,2 @@ | ||
import { CodegenPlugin, DocumentFile, Types } from 'graphql-codegen-plugin-helpers'; | ||
import { CodegenPlugin, Types } from 'graphql-codegen-plugin-helpers'; | ||
import { DocumentNode } from 'graphql'; | ||
@@ -7,3 +7,3 @@ export declare function codegen(options: { | ||
schema: DocumentNode; | ||
documents: DocumentFile[]; | ||
documents: Types.DocumentFile[]; | ||
config: { | ||
@@ -10,0 +10,0 @@ [key: string]: any; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const graphql_codegen_plugin_helpers_1 = require("graphql-codegen-plugin-helpers"); | ||
const graphql_1 = require("graphql"); | ||
@@ -21,3 +20,2 @@ const merge_schemas_1 = require("./merge-schemas"); | ||
const pluginConfig = plugin[name]; | ||
graphql_codegen_plugin_helpers_1.debugLog(`[CLI] Running plugin: ${name}`); | ||
const result = await execute_plugin_1.executePlugin({ | ||
@@ -33,3 +31,2 @@ name, | ||
}, pluginPackage); | ||
graphql_codegen_plugin_helpers_1.debugLog(`[CLI] Completed executing plugin: ${name}`); | ||
output += result; | ||
@@ -36,0 +33,0 @@ } |
@@ -1,2 +0,2 @@ | ||
import { Types, DocumentFile, CodegenPlugin } from 'graphql-codegen-plugin-helpers'; | ||
import { Types, CodegenPlugin } from 'graphql-codegen-plugin-helpers'; | ||
import { DocumentNode } from 'graphql'; | ||
@@ -7,3 +7,3 @@ export interface ExecutePluginOptions { | ||
schema: DocumentNode; | ||
documents: DocumentFile[]; | ||
documents: Types.DocumentFile[]; | ||
outputFilename: string; | ||
@@ -10,0 +10,0 @@ allPlugins: Types.ConfiguredPlugin[]; |
@@ -1,2 +0,2 @@ | ||
import { CodegenPlugin, DocumentFile, Types } from 'graphql-codegen-plugin-helpers'; | ||
import { CodegenPlugin, Types } from 'graphql-codegen-plugin-helpers'; | ||
import { DocumentNode } from 'graphql'; | ||
@@ -7,3 +7,3 @@ export declare function codegen(options: { | ||
schema: DocumentNode; | ||
documents: DocumentFile[]; | ||
documents: Types.DocumentFile[]; | ||
config: { | ||
@@ -10,0 +10,0 @@ [key: string]: any; |
@@ -1,2 +0,1 @@ | ||
import { debugLog } from 'graphql-codegen-plugin-helpers'; | ||
import { visit } from 'graphql'; | ||
@@ -19,3 +18,2 @@ import { mergeSchemas } from './merge-schemas'; | ||
const pluginConfig = plugin[name]; | ||
debugLog(`[CLI] Running plugin: ${name}`); | ||
const result = await executePlugin({ | ||
@@ -31,3 +29,2 @@ name, | ||
}, pluginPackage); | ||
debugLog(`[CLI] Completed executing plugin: ${name}`); | ||
output += result; | ||
@@ -34,0 +31,0 @@ } |
@@ -1,2 +0,2 @@ | ||
import { Types, DocumentFile, CodegenPlugin } from 'graphql-codegen-plugin-helpers'; | ||
import { Types, CodegenPlugin } from 'graphql-codegen-plugin-helpers'; | ||
import { DocumentNode } from 'graphql'; | ||
@@ -7,3 +7,3 @@ export interface ExecutePluginOptions { | ||
schema: DocumentNode; | ||
documents: DocumentFile[]; | ||
documents: Types.DocumentFile[]; | ||
outputFilename: string; | ||
@@ -10,0 +10,0 @@ allPlugins: Types.ConfiguredPlugin[]; |
{ | ||
"name": "graphql-codegen-core", | ||
"version": "0.19.0-alpha.59cd429f", | ||
"version": "0.19.0-alpha.5bed8416", | ||
"license": "MIT", | ||
@@ -42,3 +42,3 @@ "repository": { | ||
"dependencies": { | ||
"graphql-codegen-plugin-helpers": "0.19.0-alpha.59cd429f", | ||
"graphql-codegen-plugin-helpers": "0.19.0-alpha.5bed8416", | ||
"graphql-toolkit": "0.2.6", | ||
@@ -45,0 +45,0 @@ "tslib": "1.9.3" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
25022
357
+ Addedgraphql-codegen-plugin-helpers@0.19.0-alpha.5bed8416(transitive)
- Removedgraphql-codegen-plugin-helpers@0.19.0-alpha.59cd429f(transitive)
- Removedts-log@2.1.4(transitive)