@graphql-codegen/fragment-matcher 3.2.0 → 3.2.1-alpha-23d229715.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 (2) hide show
  1. package/index.d.ts +16 -16
  2. package/package.json +4 -3
package/index.d.ts CHANGED
@@ -14,17 +14,17 @@ import { PluginFunction, PluginValidateFn } from '@graphql-codegen/plugin-helper
14
14
  */
15
15
  export interface FragmentMatcherConfig {
16
16
  /**
17
- * @description Compatible only with JSON extension, allow you to choose the export type, either `module.exports` or `export default`. Allowed values are: `commonjs`, `es2015`.
17
+ * @description Compatible only with JSON extension, allow you to choose the export type, either `module.exports` or `export default`. Allowed values are: `commonjs`, `es2015`.
18
18
  * @default es2015
19
19
  *
20
20
  * @exampleMarkdown
21
21
  * ```yml
22
22
  * generates:
23
- * path/to/file.json:
24
- * plugins:
25
- * - fragment-matcher
26
- * config:
27
- * module: commonjs
23
+ * path/to/file.json:
24
+ * plugins:
25
+ * - fragment-matcher
26
+ * config:
27
+ * module: commonjs
28
28
  * ```
29
29
  */
30
30
  module?: 'commonjs' | 'es2015';
@@ -35,11 +35,11 @@ export interface FragmentMatcherConfig {
35
35
  * @exampleMarkdown
36
36
  * ```yml
37
37
  * generates:
38
- * path/to/file.ts:
39
- * plugins:
40
- * - fragment-matcher
41
- * config:
42
- * apolloClientVersion: 3
38
+ * path/to/file.ts:
39
+ * plugins:
40
+ * - fragment-matcher
41
+ * config:
42
+ * apolloClientVersion: 3
43
43
  * ```
44
44
  */
45
45
  apolloClientVersion?: 2 | 3;
@@ -50,11 +50,11 @@ export interface FragmentMatcherConfig {
50
50
  * @exampleMarkdown
51
51
  * ```yml
52
52
  * generates:
53
- * path/to/file.ts:
54
- * plugins:
55
- * - fragment-matcher
56
- * config:
57
- * useExplicitTyping: true
53
+ * path/to/file.ts:
54
+ * plugins:
55
+ * - fragment-matcher
56
+ * config:
57
+ * useExplicitTyping: true
58
58
  * ```
59
59
  */
60
60
  useExplicitTyping?: boolean;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@graphql-codegen/fragment-matcher",
3
- "version": "3.2.0",
3
+ "version": "3.2.1-alpha-23d229715.0",
4
4
  "description": "graphql-code-generate plugin for generating fragments matcher introspection file",
5
5
  "peerDependencies": {
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"
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 || ^16.0.0"
7
7
  },
8
8
  "dependencies": {
9
- "@graphql-codegen/plugin-helpers": "^2.3.0",
9
+ "@graphql-codegen/plugin-helpers": "2.4.0-alpha-23d229715.0",
10
10
  "tslib": "~2.3.0"
11
11
  },
12
12
  "repository": {
@@ -22,6 +22,7 @@
22
22
  "definition": "index.d.ts"
23
23
  },
24
24
  "exports": {
25
+ "./package.json": "./package.json",
25
26
  ".": {
26
27
  "require": "./index.js",
27
28
  "import": "./index.mjs"