@baeta/plugin-graphql 0.0.19 → 0.0.20

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 CHANGED
@@ -1,5 +1,16 @@
1
1
  # @baeta/plugin-graphql
2
2
 
3
+ ## 0.0.20
4
+
5
+ ### Patch Changes
6
+
7
+ - [#47](https://github.com/andreisergiu98/baeta/pull/47) [`eb7096d`](https://github.com/andreisergiu98/baeta/commit/eb7096d42a53b17bae0a8365eccb795e7ded02e9) Thanks [@andreisergiu98](https://github.com/andreisergiu98)! - update dependencies
8
+
9
+ - [#43](https://github.com/andreisergiu98/baeta/pull/43) [`670501b`](https://github.com/andreisergiu98/baeta/commit/670501b2b1cfb1126be3421293b8ccd597c6ffc2) Thanks [@andreisergiu98](https://github.com/andreisergiu98)! - bump dependencies
10
+
11
+ - Updated dependencies [[`eb7096d`](https://github.com/andreisergiu98/baeta/commit/eb7096d42a53b17bae0a8365eccb795e7ded02e9), [`670501b`](https://github.com/andreisergiu98/baeta/commit/670501b2b1cfb1126be3421293b8ccd597c6ffc2)]:
12
+ - @baeta/generator-sdk@0.0.6
13
+
3
14
  ## 0.0.19
4
15
 
5
16
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -180,7 +180,8 @@ function collectUsedTypes(doc) {
180
180
  if (node.arguments) {
181
181
  node.arguments.forEach(findRelated);
182
182
  }
183
- } else if (node.kind === _graphql.Kind.NAMED_TYPE && !isGraphQLPrimitive(node.name.value)) {
183
+ } else if (node.kind === _graphql.Kind.NAMED_TYPE && // Named type
184
+ !isGraphQLPrimitive(node.name.value)) {
184
185
  markAsUsed(node.name.value);
185
186
  }
186
187
  }
package/dist/index.js CHANGED
@@ -180,7 +180,8 @@ function collectUsedTypes(doc) {
180
180
  if (node.arguments) {
181
181
  node.arguments.forEach(findRelated);
182
182
  }
183
- } else if (node.kind === Kind.NAMED_TYPE && !isGraphQLPrimitive(node.name.value)) {
183
+ } else if (node.kind === Kind.NAMED_TYPE && // Named type
184
+ !isGraphQLPrimitive(node.name.value)) {
184
185
  markAsUsed(node.name.value);
185
186
  }
186
187
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baeta/plugin-graphql",
3
- "version": "0.0.19",
3
+ "version": "0.0.20",
4
4
  "homepage": "https://github.com/andreisergiu98/baeta#readme",
5
5
  "bugs": {
6
6
  "url": "https://github.com/andreisergiu98/baeta/issues"
@@ -8,7 +8,7 @@
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "https://github.com/andreisergiu98/baeta.git",
11
- "directory": "plugins/graphql"
11
+ "directory": "packages/plugin-graphql"
12
12
  },
13
13
  "license": "MIT",
14
14
  "author": "Andrei Pampu <pampu.andrei@pm.me>",
@@ -24,32 +24,32 @@
24
24
  "types": "tsc --noEmit"
25
25
  },
26
26
  "dependencies": {
27
- "@baeta/generator-sdk": "^0.0.5",
28
- "@graphql-codegen/core": "^2.6.8",
29
- "@graphql-codegen/plugin-helpers": "^3.1.2",
30
- "@graphql-codegen/typescript": "^2.8.7",
31
- "@graphql-codegen/visitor-plugin-common": "2.13.7",
32
- "@graphql-tools/apollo-engine-loader": "^7.3.22",
33
- "@graphql-tools/code-file-loader": "^7.3.16",
34
- "@graphql-tools/git-loader": "^7.2.16",
35
- "@graphql-tools/github-loader": "^7.3.23",
36
- "@graphql-tools/graphql-file-loader": "^7.5.14",
37
- "@graphql-tools/json-file-loader": "^7.4.15",
38
- "@graphql-tools/load": "^7.8.9",
39
- "@graphql-tools/prisma-loader": "^7.2.54",
40
- "@graphql-tools/url-loader": "^7.17.3",
41
- "@graphql-tools/utils": "^9.1.4",
27
+ "@baeta/generator-sdk": "^0.0.6",
28
+ "@graphql-codegen/core": "^3.1.0",
29
+ "@graphql-codegen/plugin-helpers": "^4.2.0",
30
+ "@graphql-codegen/typescript": "^3.0.3",
31
+ "@graphql-codegen/visitor-plugin-common": "3.1.0",
32
+ "@graphql-tools/apollo-engine-loader": "^7.3.26",
33
+ "@graphql-tools/code-file-loader": "^7.3.21",
34
+ "@graphql-tools/git-loader": "^7.2.20",
35
+ "@graphql-tools/github-loader": "^7.3.27",
36
+ "@graphql-tools/graphql-file-loader": "^7.5.16",
37
+ "@graphql-tools/json-file-loader": "^7.4.17",
38
+ "@graphql-tools/load": "^7.8.13",
39
+ "@graphql-tools/prisma-loader": "^7.2.66",
40
+ "@graphql-tools/url-loader": "^7.17.14",
41
+ "@graphql-tools/utils": "^9.2.1",
42
42
  "auto-bind": "^5.0.1",
43
43
  "change-case-all": "1.0.15",
44
44
  "parse-filepath": "^1.0.2"
45
45
  },
46
46
  "devDependencies": {
47
- "@baeta/build-tools": "^0.0.0",
47
+ "@baeta/builder": "^0.0.0",
48
48
  "@baeta/tsconfig": "^0.0.0",
49
- "@types/node": "^18.11.18",
49
+ "@types/node": "^18.15.11",
50
50
  "@types/parse-filepath": "1.0.0",
51
51
  "graphql": "^16.6.0",
52
- "typescript": "^4.9.4"
52
+ "typescript": "^4.9.5"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "graphql": "^16.6.0"