@graphql-codegen/typescript-nhost 0.0.1 → 0.0.2-alpha-20230925184654-cf93e3a80

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/cjs/config.js CHANGED
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
package/cjs/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.plugin = void 0;
4
- const introspection_1 = require("@urql/introspection");
5
4
  const typescript_1 = require("@graphql-codegen/typescript");
5
+ const introspection_1 = require("@urql/introspection");
6
6
  const plugin = (schema, documents, config) => {
7
7
  // * We don't allow the other @graphql-codegen/typescript options as they could break the generator and the types.
8
8
  const { scalars } = config;
package/esm/config.js CHANGED
@@ -1 +0,0 @@
1
- export {};
package/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { getIntrospectedSchema, minifyIntrospectionQuery } from '@urql/introspection';
2
1
  import { plugin as typescriptPlugin } from '@graphql-codegen/typescript';
2
+ import { getIntrospectedSchema, minifyIntrospectionQuery } from '@urql/introspection';
3
3
  export const plugin = (schema, documents, config) => {
4
4
  // * We don't allow the other @graphql-codegen/typescript options as they could break the generator and the types.
5
5
  const { scalars } = config;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-codegen/typescript-nhost",
3
- "version": "0.0.1",
3
+ "version": "0.0.2-alpha-20230925184654-cf93e3a80",
4
4
  "description": "GraphQL Code Generator plugin for the Typescript Nhost SDK",
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"
@@ -10,7 +10,7 @@
10
10
  "@graphql-codegen/typescript": "^3.0.0",
11
11
  "@graphql-codegen/visitor-plugin-common": "3.0.0",
12
12
  "@urql/introspection": "^1.0.0",
13
- "tslib": "~2.5.0"
13
+ "tslib": "~2.6.0"
14
14
  },
15
15
  "repository": {
16
16
  "type": "git",
@@ -18,6 +18,9 @@
18
18
  "directory": "packages/plugins/typescript/nhost"
19
19
  },
20
20
  "license": "MIT",
21
+ "engines": {
22
+ "node": ">= 16.0.0"
23
+ },
21
24
  "main": "cjs/index.js",
22
25
  "module": "esm/index.js",
23
26
  "typings": "typings/index.d.ts",