@graphcommerce/graphql-codegen-relay-optimizer-plugin 9.0.0-canary.103 → 9.0.0-canary.104
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/CHANGELOG.md +2 -0
- package/dist/index.js +1 -1
- package/package.json +3 -3
- package/src/index.ts +2 -3
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
"use strict";
|
2
|
-
/* eslint-disable @typescript-eslint/no-non-null-assertion */
|
3
2
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
4
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
5
4
|
};
|
6
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
7
6
|
exports.plugin = void 0;
|
7
|
+
/* eslint-disable @typescript-eslint/no-non-null-assertion */
|
8
8
|
const CompilerContext_1 = __importDefault(require("@ardatan/relay-compiler/lib/core/CompilerContext"));
|
9
9
|
const IRPrinter_1 = require("@ardatan/relay-compiler/lib/core/IRPrinter");
|
10
10
|
const RelayParser_1 = require("@ardatan/relay-compiler/lib/core/RelayParser");
|
package/package.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"name": "@graphcommerce/graphql-codegen-relay-optimizer-plugin",
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
5
|
-
"version": "9.0.0-canary.
|
5
|
+
"version": "9.0.0-canary.104",
|
6
6
|
"description": "GraphQL Code Generator plugin for optimizing your GraphQL queries relay style.",
|
7
7
|
"type": "commonjs",
|
8
8
|
"main": "dist/index.js",
|
@@ -22,8 +22,8 @@
|
|
22
22
|
"typescript": "5.6.2"
|
23
23
|
},
|
24
24
|
"peerDependencies": {
|
25
|
-
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.
|
26
|
-
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.
|
25
|
+
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.104",
|
26
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.104"
|
27
27
|
},
|
28
28
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
29
29
|
"eslint": {
|
package/src/index.ts
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-non-null-assertion */
|
2
|
-
|
3
2
|
import CompilerContext from '@ardatan/relay-compiler/lib/core/CompilerContext'
|
4
3
|
import { print as relayPrint } from '@ardatan/relay-compiler/lib/core/IRPrinter'
|
5
4
|
import { transform as relayParserTransform } from '@ardatan/relay-compiler/lib/core/RelayParser'
|
@@ -8,8 +7,8 @@ import { transform as applyFragmentArgumentTransform } from '@ardatan/relay-comp
|
|
8
7
|
import { transformWithOptions as flattenTransformWithOptions } from '@ardatan/relay-compiler/lib/transforms/FlattenTransform'
|
9
8
|
import { transform as inlineFragmentsTransform } from '@ardatan/relay-compiler/lib/transforms/InlineFragmentsTransform'
|
10
9
|
import { transform as skipRedundantNodesTransform } from '@ardatan/relay-compiler/lib/transforms/SkipRedundantNodesTransform'
|
11
|
-
import type {
|
12
|
-
import type {
|
10
|
+
import type { PluginFunction, Types } from '@graphql-codegen/plugin-helpers'
|
11
|
+
import type { DefinitionNode, GraphQLSchema } from 'graphql'
|
13
12
|
import { parse, printSchema, visit } from 'graphql'
|
14
13
|
|
15
14
|
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|