@smartive/graphql-magic 9.1.0 → 9.1.1
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 +3 -3
- package/dist/bin/gqm.cjs +1 -1
- package/package.json +1 -1
- package/src/bin/gqm/codegen.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
## [9.1.1](https://github.com/smartive/graphql-magic/compare/v9.1.0...v9.1.1) (2023-09-06)
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
###
|
|
4
|
+
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
6
|
+
* Codegen mutations ([#62](https://github.com/smartive/graphql-magic/issues/62)) ([ea87f2b](https://github.com/smartive/graphql-magic/commit/ea87f2ba5fb4540450a8ebd52a35fff40b0a1a3a))
|
package/dist/bin/gqm.cjs
CHANGED
|
@@ -1413,7 +1413,7 @@ var generateGraphqlClientTypes = async () => {
|
|
|
1413
1413
|
const graphqlQueriesPath = await getSetting("graphqlQueriesPath");
|
|
1414
1414
|
await (0, import_cli.generate)({
|
|
1415
1415
|
schema: `${generatedFolderPath}/schema.graphql`,
|
|
1416
|
-
documents: [graphqlQueriesPath],
|
|
1416
|
+
documents: [graphqlQueriesPath, `${generatedFolderPath}/client/mutations.ts`],
|
|
1417
1417
|
generates: {
|
|
1418
1418
|
[`${generatedFolderPath}/client/index.ts`]: {
|
|
1419
1419
|
plugins: ["typescript", "typescript-operations", "typescript-compatibility"]
|
package/package.json
CHANGED
package/src/bin/gqm/codegen.ts
CHANGED
|
@@ -25,7 +25,7 @@ export const generateGraphqlClientTypes = async () => {
|
|
|
25
25
|
const graphqlQueriesPath = await getSetting('graphqlQueriesPath');
|
|
26
26
|
await generate({
|
|
27
27
|
schema: `${generatedFolderPath}/schema.graphql`,
|
|
28
|
-
documents: [graphqlQueriesPath],
|
|
28
|
+
documents: [graphqlQueriesPath, `${generatedFolderPath}/client/mutations.ts`],
|
|
29
29
|
generates: {
|
|
30
30
|
[`${generatedFolderPath}/client/index.ts`]: {
|
|
31
31
|
plugins: ['typescript', 'typescript-operations', 'typescript-compatibility'],
|