@graphitation/graphql-codegen-supermassive-schema-extraction-plugin 0.2.0 → 1.0.1

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/.eslintcache ADDED
@@ -0,0 +1 @@
1
+ [{"/mnt/vss/_work/1/s/packages/graphql-codegen-supermassive-schema-extraction-plugin/src/index.ts":"1"},{"size":1178,"mtime":1664527807393,"results":"2","hashOfConfig":"3"},{"filePath":"4","messages":"5","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"limuds","/mnt/vss/_work/1/s/packages/graphql-codegen-supermassive-schema-extraction-plugin/src/index.ts",[]]
package/CHANGELOG.md CHANGED
@@ -1,12 +1,29 @@
1
1
  # Change Log - @graphitation/graphql-codegen-supermassive-schema-extraction-plugin
2
2
 
3
- This log was last generated on Wed, 20 Jul 2022 09:48:03 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 30 Sep 2022 08:56:05 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 1.0.1
8
+
9
+ Fri, 30 Sep 2022 08:56:05 GMT
10
+
11
+ ### Patches
12
+
13
+ - Bump @graphitation/supermassive to v1.1.0
14
+
15
+ ## 1.0.0
16
+
17
+ Wed, 20 Jul 2022 16:31:59 GMT
18
+
19
+ ### Major changes
20
+
21
+ - importExplicitTypesFromTypescript is imported separately (jakubvejr@microsoft.com)
22
+ - Bump @graphitation/supermassive to v1.0.0
23
+
7
24
  ## 0.2.0
8
25
 
9
- Wed, 20 Jul 2022 09:48:03 GMT
26
+ Wed, 20 Jul 2022 09:48:13 GMT
10
27
 
11
28
  ### Minor changes
12
29
 
package/lib/index.js CHANGED
@@ -46,10 +46,10 @@ __export(src_exports, {
46
46
  module.exports = __toCommonJS(src_exports);
47
47
  var import_typescript = __toESM(require("typescript"));
48
48
  var import_graphql2 = require("graphql");
49
- var import_supermassive = require("@graphitation/supermassive");
49
+ var import_extractors = require("@graphitation/supermassive/lib/extractors");
50
50
  var import_path = require("path");
51
51
  const plugin = (schema) => {
52
- const tsContents = (0, import_supermassive.extractImplicitTypesToTypescript)((0, import_graphql2.parse)((0, import_graphql2.printSchema)(schema)));
52
+ const tsContents = (0, import_extractors.extractImplicitTypesToTypescript)((0, import_graphql2.parse)((0, import_graphql2.printSchema)(schema)));
53
53
  const printer = import_typescript.default.createPrinter();
54
54
  return printer.printNode(import_typescript.default.EmitHint.SourceFile, tsContents, tsContents);
55
55
  };
package/lib/index.mjs CHANGED
@@ -22,7 +22,7 @@ var __async = (__this, __arguments, generator) => {
22
22
  // src/index.ts
23
23
  import ts from "typescript";
24
24
  import { printSchema, parse } from "graphql";
25
- import { extractImplicitTypesToTypescript } from "@graphitation/supermassive";
25
+ import { extractImplicitTypesToTypescript } from "@graphitation/supermassive/lib/extractors";
26
26
  import { extname } from "path";
27
27
  var plugin = (schema) => {
28
28
  const tsContents = extractImplicitTypesToTypescript(parse(printSchema(schema)));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@graphitation/graphql-codegen-supermassive-schema-extraction-plugin",
3
3
  "license": "MIT",
4
- "version": "0.2.0",
4
+ "version": "1.0.1",
5
5
  "main": "./lib/index",
6
6
  "repository": {
7
7
  "type": "git",
@@ -23,7 +23,7 @@
23
23
  "peerDependencies": {
24
24
  "@graphql-codegen/plugin-helpers": ">= 1.18.0 < 2",
25
25
  "typescript": "^4.4.3 <4.5.0",
26
- "@graphitation/supermassive": "^0.8.5"
26
+ "@graphitation/supermassive": "^1.1.0"
27
27
  },
28
28
  "dependencies": {
29
29
  "typescript": "^4.4.3 <4.5.0"