@graphql-codegen/introspection 2.2.3 → 3.0.0-alpha-20230201095904-a984c0238
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/index.js +2 -2
- package/esm/index.js +2 -2
- package/package.json +3 -3
package/cjs/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.validate = exports.plugin = void 0;
|
|
4
|
-
const graphql_1 = require("graphql");
|
|
5
|
-
const plugin_helpers_1 = require("@graphql-codegen/plugin-helpers");
|
|
6
4
|
const path_1 = require("path");
|
|
5
|
+
const plugin_helpers_1 = require("@graphql-codegen/plugin-helpers");
|
|
7
6
|
const visitor_plugin_common_1 = require("@graphql-codegen/visitor-plugin-common");
|
|
7
|
+
const graphql_1 = require("graphql");
|
|
8
8
|
const plugin = async (schema, _documents, pluginConfig) => {
|
|
9
9
|
const cleanSchema = pluginConfig.federation ? (0, plugin_helpers_1.removeFederation)(schema) : schema;
|
|
10
10
|
const descriptions = (0, visitor_plugin_common_1.getConfigValue)(pluginConfig.descriptions, true);
|
package/esm/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { introspectionFromSchema } from 'graphql';
|
|
2
|
-
import { removeFederation } from '@graphql-codegen/plugin-helpers';
|
|
3
1
|
import { extname } from 'path';
|
|
2
|
+
import { removeFederation } from '@graphql-codegen/plugin-helpers';
|
|
4
3
|
import { getConfigValue } from '@graphql-codegen/visitor-plugin-common';
|
|
4
|
+
import { introspectionFromSchema } from 'graphql';
|
|
5
5
|
export const plugin = async (schema, _documents, pluginConfig) => {
|
|
6
6
|
const cleanSchema = pluginConfig.federation ? removeFederation(schema) : schema;
|
|
7
7
|
const descriptions = getConfigValue(pluginConfig.descriptions, true);
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-codegen/introspection",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0-alpha-20230201095904-a984c0238",
|
|
4
4
|
"description": "GraphQL Code Generator plugin for generating an introspection JSON file for a GraphQLSchema",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@graphql-codegen/plugin-helpers": "
|
|
10
|
-
"@graphql-codegen/visitor-plugin-common": "
|
|
9
|
+
"@graphql-codegen/plugin-helpers": "4.0.0-alpha-20230201095904-a984c0238",
|
|
10
|
+
"@graphql-codegen/visitor-plugin-common": "3.0.0-alpha-20230201095904-a984c0238",
|
|
11
11
|
"tslib": "~2.4.0"
|
|
12
12
|
},
|
|
13
13
|
"repository": {
|