@graphitation/graphql-codegen-supermassive-schema-extraction-plugin 1.0.7 → 1.1.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.
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":1666693214341,"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":1669039470698,"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 Tue, 25 Oct 2022 10:26:10 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 21 Nov 2022 14:11:53 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 1.1.0
8
+
9
+ Mon, 21 Nov 2022 14:11:53 GMT
10
+
11
+ ### Minor changes
12
+
13
+ - Supermassive split into multiple packages (jakubvejr@microsoft.com)
14
+
15
+ ## 1.0.8
16
+
17
+ Thu, 27 Oct 2022 12:54:10 GMT
18
+
19
+ ### Patches
20
+
21
+ - Bump @graphitation/supermassive to v1.1.7
22
+
7
23
  ## 1.0.7
8
24
 
9
- Tue, 25 Oct 2022 10:26:10 GMT
25
+ Tue, 25 Oct 2022 10:26:19 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.7",
4
+ "version": "1.1.0",
5
5
  "main": "./lib/index",
6
6
  "repository": {
7
7
  "type": "git",
@@ -15,15 +15,13 @@
15
15
  "just": "monorepo-scripts"
16
16
  },
17
17
  "devDependencies": {
18
- "@graphitation/supermassive": "*",
18
+ "@graphitation/supermassive-extractors": "*",
19
19
  "@graphql-codegen/plugin-helpers": "^1.18.2",
20
20
  "@types/jest": "^26.0.22",
21
21
  "monorepo-scripts": "*"
22
22
  },
23
23
  "peerDependencies": {
24
- "@graphql-codegen/plugin-helpers": ">= 1.18.0 < 2",
25
- "typescript": "^4.4.3 <4.5.0",
26
- "@graphitation/supermassive": "^1.1.6"
24
+ "@graphql-codegen/plugin-helpers": ">= 1.18.0 < 2"
27
25
  },
28
26
  "dependencies": {
29
27
  "typescript": "^4.4.3 <4.5.0"