@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 CHANGED
@@ -1,6 +1,6 @@
1
- # [9.1.0](https://github.com/smartive/graphql-magic/compare/v9.0.0...v9.1.0) (2023-09-06)
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
- ### Features
4
+ ### Bug Fixes
5
5
 
6
- * Use graphql queries path ([#61](https://github.com/smartive/graphql-magic/issues/61)) ([8c85002](https://github.com/smartive/graphql-magic/commit/8c850028673ced969a61e25b664fac9596586388))
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartive/graphql-magic",
3
- "version": "9.1.0",
3
+ "version": "9.1.1",
4
4
  "description": "",
5
5
  "source": "src/index.ts",
6
6
  "type": "module",
@@ -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'],