@baeta/plugin-graphql 0.0.19 → 0.0.21
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 +17 -0
- package/dist/index.cjs +2 -1
- package/dist/index.js +2 -1
- package/package.json +20 -20
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @baeta/plugin-graphql
|
|
2
2
|
|
|
3
|
+
## 0.0.21
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#52](https://github.com/andreisergiu98/baeta/pull/52) [`d88cca7`](https://github.com/andreisergiu98/baeta/commit/d88cca7c271ce99e6296396e2ada5e3a905f886a) Thanks [@andreisergiu98](https://github.com/andreisergiu98)! - update dependencies
|
|
8
|
+
|
|
9
|
+
## 0.0.20
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#47](https://github.com/andreisergiu98/baeta/pull/47) [`eb7096d`](https://github.com/andreisergiu98/baeta/commit/eb7096d42a53b17bae0a8365eccb795e7ded02e9) Thanks [@andreisergiu98](https://github.com/andreisergiu98)! - update dependencies
|
|
14
|
+
|
|
15
|
+
- [#43](https://github.com/andreisergiu98/baeta/pull/43) [`670501b`](https://github.com/andreisergiu98/baeta/commit/670501b2b1cfb1126be3421293b8ccd597c6ffc2) Thanks [@andreisergiu98](https://github.com/andreisergiu98)! - bump dependencies
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [[`eb7096d`](https://github.com/andreisergiu98/baeta/commit/eb7096d42a53b17bae0a8365eccb795e7ded02e9), [`670501b`](https://github.com/andreisergiu98/baeta/commit/670501b2b1cfb1126be3421293b8ccd597c6ffc2)]:
|
|
18
|
+
- @baeta/generator-sdk@0.0.6
|
|
19
|
+
|
|
3
20
|
## 0.0.19
|
|
4
21
|
|
|
5
22
|
### 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 &&
|
|
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 &&
|
|
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.
|
|
3
|
+
"version": "0.0.21",
|
|
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": "
|
|
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.
|
|
28
|
-
"@graphql-codegen/core": "^
|
|
29
|
-
"@graphql-codegen/plugin-helpers": "^
|
|
30
|
-
"@graphql-codegen/typescript": "^
|
|
31
|
-
"@graphql-codegen/visitor-plugin-common": "
|
|
32
|
-
"@graphql-tools/apollo-engine-loader": "^7.3.
|
|
33
|
-
"@graphql-tools/code-file-loader": "^7.3.
|
|
34
|
-
"@graphql-tools/git-loader": "^7.2.
|
|
35
|
-
"@graphql-tools/github-loader": "^7.3.
|
|
36
|
-
"@graphql-tools/graphql-file-loader": "^7.5.
|
|
37
|
-
"@graphql-tools/json-file-loader": "^7.4.
|
|
38
|
-
"@graphql-tools/load": "^7.8.
|
|
39
|
-
"@graphql-tools/prisma-loader": "^7.2.
|
|
40
|
-
"@graphql-tools/url-loader": "^7.17.
|
|
41
|
-
"@graphql-tools/utils": "^9.1
|
|
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.28",
|
|
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.69",
|
|
40
|
+
"@graphql-tools/url-loader": "^7.17.17",
|
|
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/
|
|
47
|
+
"@baeta/builder": "^0.0.0",
|
|
48
48
|
"@baeta/tsconfig": "^0.0.0",
|
|
49
|
-
"@types/node": "^18.11
|
|
49
|
+
"@types/node": "^18.15.11",
|
|
50
50
|
"@types/parse-filepath": "1.0.0",
|
|
51
51
|
"graphql": "^16.6.0",
|
|
52
|
-
"typescript": "^4.9.
|
|
52
|
+
"typescript": "^4.9.5"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"graphql": "^16.6.0"
|