@graphql-codegen/import-types-preset 2.1.8-alpha-ac95f9557.0 → 2.1.9

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 +13 -13
  2. package/package.json +5 -4
package/index.d.ts CHANGED
@@ -8,12 +8,12 @@ export declare type ImportTypesConfig = {
8
8
  * @exampleMarkdown
9
9
  * ```yml
10
10
  * generates:
11
- * path/to/file.ts:
12
- * preset: import-types
13
- * presetConfig:
14
- * typesPath: types.ts
15
- * plugins:
16
- * - typescript-operations
11
+ * path/to/file.ts:
12
+ * preset: import-types
13
+ * presetConfig:
14
+ * typesPath: types.ts
15
+ * plugins:
16
+ * - typescript-operations
17
17
  * ```
18
18
  */
19
19
  typesPath: string;
@@ -24,13 +24,13 @@ export declare type ImportTypesConfig = {
24
24
  * @exampleMarkdown
25
25
  * ```yml
26
26
  * generates:
27
- * src/:
28
- * preset: import-types
29
- * presetConfig:
30
- * typesPath: types.ts
31
- * importTypesNamespace: SchemaTypes
32
- * plugins:
33
- * - typescript-operations
27
+ * src/:
28
+ * preset: import-types
29
+ * presetConfig:
30
+ * typesPath: types.ts
31
+ * importTypesNamespace: SchemaTypes
32
+ * plugins:
33
+ * - typescript-operations
34
34
  * ```
35
35
  */
36
36
  importTypesNamespace?: string;
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@graphql-codegen/import-types-preset",
3
- "version": "2.1.8-alpha-ac95f9557.0",
3
+ "version": "2.1.9",
4
4
  "description": "GraphQL Code Generator preset for importing types to operation file",
5
5
  "peerDependencies": {
6
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/add": "^3.1.0",
10
- "@graphql-codegen/plugin-helpers": "^2.3.0",
11
- "@graphql-codegen/visitor-plugin-common": "2.5.1-alpha-ac95f9557.0",
9
+ "@graphql-codegen/add": "^3.1.1",
10
+ "@graphql-codegen/plugin-helpers": "^2.3.2",
11
+ "@graphql-codegen/visitor-plugin-common": "2.5.2",
12
12
  "tslib": "~2.3.0"
13
13
  },
14
14
  "repository": {
@@ -24,6 +24,7 @@
24
24
  "definition": "index.d.ts"
25
25
  },
26
26
  "exports": {
27
+ "./package.json": "./package.json",
27
28
  ".": {
28
29
  "require": "./index.js",
29
30
  "import": "./index.mjs"