@graphitation/graphql-codegen-supermassive-schema-extraction-plugin 1.0.8 → 1.1.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 CHANGED
@@ -1 +1 @@
1
- [{"/mnt/vss/_work/1/s/packages/graphql-codegen-supermassive-schema-extraction-plugin/src/index.ts":"1"},{"size":1178,"mtime":1666874921424,"results":"2","hashOfConfig":"3"},{"filePath":"4","messages":"5","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1mypjnl","/mnt/vss/_work/1/s/packages/graphql-codegen-supermassive-schema-extraction-plugin/src/index.ts",[]]
1
+ [{"/mnt/vss/_work/1/s/packages/graphql-codegen-supermassive-schema-extraction-plugin/src/index.ts":"1"},{"size":1174,"mtime":1669389829354,"results":"2","hashOfConfig":"3"},{"filePath":"4","messages":"5","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1mypjnl","/mnt/vss/_work/1/s/packages/graphql-codegen-supermassive-schema-extraction-plugin/src/index.ts",[]]
package/CHANGELOG.md CHANGED
@@ -1,12 +1,28 @@
1
1
  # Change Log - @graphitation/graphql-codegen-supermassive-schema-extraction-plugin
2
2
 
3
- This log was last generated on Thu, 27 Oct 2022 12:54:01 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 25 Nov 2022 15:30:47 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 1.1.1
8
+
9
+ Fri, 25 Nov 2022 15:30:47 GMT
10
+
11
+ ### Patches
12
+
13
+ - Hotfix: dependencies fixed after the supermassive split (jakubvejr@microsoft.com)
14
+
15
+ ## 1.1.0
16
+
17
+ Mon, 21 Nov 2022 14:12:11 GMT
18
+
19
+ ### Minor changes
20
+
21
+ - Supermassive split into multiple packages (jakubvejr@microsoft.com)
22
+
7
23
  ## 1.0.8
8
24
 
9
- Thu, 27 Oct 2022 12:54:01 GMT
25
+ Thu, 27 Oct 2022 12:54:10 GMT
10
26
 
11
27
  ### Patches
12
28
 
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_extractors = require("@graphitation/supermassive/lib/extractors");
49
+ var import_supermassive_extractors = require("@graphitation/supermassive-extractors");
50
50
  var import_path = require("path");
51
51
  const plugin = (schema) => {
52
- const tsContents = (0, import_extractors.extractImplicitTypesToTypescript)((0, import_graphql2.parse)((0, import_graphql2.printSchema)(schema)));
52
+ const tsContents = (0, import_supermassive_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/lib/extractors";
25
+ import { extractImplicitTypesToTypescript } from "@graphitation/supermassive-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": "1.0.8",
4
+ "version": "1.1.1",
5
5
  "main": "./lib/index",
6
6
  "repository": {
7
7
  "type": "git",
@@ -15,17 +15,15 @@
15
15
  "just": "monorepo-scripts"
16
16
  },
17
17
  "devDependencies": {
18
- "@graphitation/supermassive": "*",
19
18
  "@graphql-codegen/plugin-helpers": "^1.18.2",
20
19
  "@types/jest": "^26.0.22",
21
20
  "monorepo-scripts": "*"
22
21
  },
23
22
  "peerDependencies": {
24
- "@graphql-codegen/plugin-helpers": ">= 1.18.0 < 2",
25
- "typescript": "^4.4.3 <4.5.0",
26
- "@graphitation/supermassive": "^1.1.7"
23
+ "@graphql-codegen/plugin-helpers": ">= 1.18.0 < 2"
27
24
  },
28
25
  "dependencies": {
26
+ "@graphitation/supermassive-extractors": "^2.0.0",
29
27
  "typescript": "^4.4.3 <4.5.0"
30
28
  },
31
29
  "sideEffects": false,