@graphql-codegen/schema-ast 2.2.1-alpha-b24e050a5.0 → 2.3.0

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.
Files changed (3) hide show
  1. package/index.js +1 -1
  2. package/index.mjs +1 -1
  3. package/package.json +2 -2
package/index.js CHANGED
@@ -11,7 +11,7 @@ const plugin = async (schema, _documents, { commentDescriptions = false, include
11
11
  if (includeDirectives) {
12
12
  return graphql.print(transformedSchemaAndAst.ast);
13
13
  }
14
- return graphql.printSchema(transformedSchemaAndAst.schema, { commentDescriptions: commentDescriptions });
14
+ return graphql.printSchema(transformedSchemaAndAst.schema, { commentDescriptions });
15
15
  };
16
16
  const validate = async (_schema, _documents, _config, outputFile, allPlugins) => {
17
17
  const singlePlugin = allPlugins.length === 1;
package/index.mjs CHANGED
@@ -7,7 +7,7 @@ const plugin = async (schema, _documents, { commentDescriptions = false, include
7
7
  if (includeDirectives) {
8
8
  return print(transformedSchemaAndAst.ast);
9
9
  }
10
- return printSchema(transformedSchemaAndAst.schema, { commentDescriptions: commentDescriptions });
10
+ return printSchema(transformedSchemaAndAst.schema, { commentDescriptions });
11
11
  };
12
12
  const validate = async (_schema, _documents, _config, outputFile, allPlugins) => {
13
13
  const singlePlugin = allPlugins.length === 1;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@graphql-codegen/schema-ast",
3
- "version": "2.2.1-alpha-b24e050a5.0",
3
+ "version": "2.3.0",
4
4
  "description": "GraphQL Code Generator plugin for generating a .graphql file from a given schema",
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"
7
7
  },
8
8
  "dependencies": {
9
- "@graphql-codegen/plugin-helpers": "2.2.0-alpha-b24e050a5.0",
9
+ "@graphql-codegen/plugin-helpers": "^2.3.0",
10
10
  "@graphql-tools/utils": "^8.1.1",
11
11
  "tslib": "~2.3.0"
12
12
  },