UNPKG

graphql-codegen-typescript-mock-data

Version:

GraphQL Codegen plugin for building mock data

1,229 lines (628 loc) β€’ 32.5 kB
# v5.0.2 (Wed Aug 13 2025) #### πŸ› Bug Fix - Fix type errors in generated code for nested input objects with @oneOf directive [#194](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/194) (dcal@atlassian.com) #### Authors: 1 - Daniel Playfair Cal ([@hedgepigdaniel](https://github.com/hedgepigdaniel)) --- # v5.0.1 (Sat Jul 19 2025) #### πŸ› Bug Fix - fix: add issue templates [#191](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/191) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v5.0.0 (Thu Jun 26 2025) #### πŸ’₯ Breaking Change - feat: upgrade to @faker-js/faker v9 [#187](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/187) ([@bmulholland](https://github.com/bmulholland)) #### Authors: 1 - Brendan Mulholland ([@bmulholland](https://github.com/bmulholland)) --- # v4.4.0 (Thu Apr 03 2025) #### πŸš€ Enhancement - feature(scalars): support distinction between input and output generator configs [#182](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/182) ([@argvniyx-enroute](https://github.com/argvniyx-enroute)) #### Authors: 1 - Ricardo Vela ([@argvniyx-enroute](https://github.com/argvniyx-enroute)) --- # v4.3.2 (Wed Feb 26 2025) #### πŸ› Bug Fix - build(deps): bump cross-spawn from 7.0.3 to 7.0.6 [#177](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/177) ([@dependabot[bot]](https://github.com/dependabot[bot]) [@ardeois](https://github.com/ardeois)) #### Authors: 2 - [@dependabot[bot]](https://github.com/dependabot[bot]) - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v4.3.1 (Wed Feb 26 2025) #### πŸ› Bug Fix - Fix: handling useImplementingTypes and defaultNullableToNull [#181](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/181) ([@mateusz-slab](https://github.com/mateusz-slab) [@ardeois](https://github.com/ardeois)) #### Authors: 2 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) - Mateusz ZieliΕ„ski ([@mateusz-slab](https://github.com/mateusz-slab)) --- # v4.3.0 (Wed Feb 26 2025) #### πŸš€ Enhancement - feat: add includedTypes and excludedTypes options for selective mock generation [#179](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/179) ([@huseyinbuyukdere](https://github.com/huseyinbuyukdere) huseyin_buyukdere@epam.com) #### Authors: 2 - HΓΌseyin BΓΌyΓΌkdere ([@huseyinbuyukdere](https://github.com/huseyinbuyukdere)) - huseyinbuyukdere (huseyin_buyukdere@epam.com) --- # v4.2.0 (Thu Feb 06 2025) #### πŸš€ Enhancement - Add support for oneOf directive [#180](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/180) ([@thomasobrien99](https://github.com/thomasobrien99)) #### Authors: 1 - [@thomasobrien99](https://github.com/thomasobrien99) --- # v4.1.0 (Fri Sep 20 2024) #### πŸš€ Enhancement - feat: rename types in config [#171](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/171) (sander.vanriessen@bettyblocks.com [@SanderVanRiessen](https://github.com/SanderVanRiessen)) #### Authors: 2 - [@SanderVanRiessen](https://github.com/SanderVanRiessen) - s.vanriessen (sander.vanriessen@bettyblocks.com) --- # v4.0.1 (Thu Sep 12 2024) #### πŸ› Bug Fix - build(deps): bump dset from 3.1.3 to 3.1.4 [#170](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/170) ([@dependabot[bot]](https://github.com/dependabot[bot])) #### Authors: 1 - [@dependabot[bot]](https://github.com/dependabot[bot]) --- # v4.0.0 (Wed Sep 04 2024) #### πŸ’₯ Breaking Change - feat: update and use `faker` as default generator [#169](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/169) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v3.8.0 (Fri May 17 2024) #### πŸš€ Enhancement - feat(terminateCircularRelationships): Add 'immediate' as a value for the terminateCircularRelationships option [#161](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/161) ([@rpereira-anchor](https://github.com/rpereira-anchor)) #### Authors: 1 - Ricardo Pereira ([@rpereira-anchor](https://github.com/rpereira-anchor)) --- # v3.7.2 (Wed Apr 17 2024) #### πŸ› Bug Fix - fix: upgrade auto [#158](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/158) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v3.7.1 (Thu Dec 21 2023) #### πŸ› Bug Fix - fix: type error when using typesPrefix and terminateCircularRelationships [#151](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/151) ([@Miyaboom](https://github.com/Miyaboom)) #### Authors: 1 - [@Miyaboom](https://github.com/Miyaboom) --- # v3.7.0 (Mon Nov 27 2023) #### πŸš€ Enhancement - feat: support casting enum values as types [#150](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/150) ([@rickdunkin](https://github.com/rickdunkin)) #### Authors: 1 - Rick Dunkin ([@rickdunkin](https://github.com/rickdunkin)) --- # v3.6.0 (Fri Nov 17 2023) #### πŸš€ Enhancement - feat(config): add import type support [#148](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/148) (shaun@integrate.co [@ardeois](https://github.com/ardeois)) #### Authors: 2 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) - Shaun Sweet ([@shaun-sweet](https://github.com/shaun-sweet)) --- # v3.5.4 (Fri Nov 17 2023) #### πŸ› Bug Fix - fix: Error when using useImplementingTypes and terminateCircularRelationships at the same time [#141](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/141) ([@Swanoo](https://github.com/Swanoo) [@ardeois](https://github.com/ardeois)) #### Authors: 2 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) - FranΓ§ois DANGUY ([@Swanoo](https://github.com/Swanoo)) --- # v3.5.3 (Fri Nov 17 2023) #### πŸ› Bug Fix - build(deps): bump @babel/traverse from 7.17.3 to 7.23.2 [#146](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/146) ([@dependabot[bot]](https://github.com/dependabot[bot]) [@ardeois](https://github.com/ardeois)) #### Authors: 2 - [@dependabot[bot]](https://github.com/dependabot[bot]) - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v3.5.2 (Fri Nov 17 2023) #### πŸ› Bug Fix - build(deps-dev): bump graphql from 16.3.0 to 16.8.1 [#144](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/144) ([@dependabot[bot]](https://github.com/dependabot[bot])) #### Authors: 1 - [@dependabot[bot]](https://github.com/dependabot[bot]) --- # v3.5.1 (Thu Oct 12 2023) #### πŸ› Bug Fix - fix: update stale bot [#145](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/145) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v3.5.0 (Wed Apr 19 2023) #### πŸš€ Enhancement - implement defaultNullableToNull config option (#128) [#130](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/130) ([@gurschitz](https://github.com/gurschitz)) #### Authors: 1 - Gerald Urschitz ([@gurschitz](https://github.com/gurschitz)) --- # v3.4.2 (Wed Apr 19 2023) #### πŸ› Bug Fix - allow `listElementCount` to be 0 in config [#129](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/129) ([@gurschitz](https://github.com/gurschitz)) #### Authors: 1 - Gerald Urschitz ([@gurschitz](https://github.com/gurschitz)) --- # v3.4.1 (Thu Apr 13 2023) #### πŸ› Bug Fix - hotfix/maord support use implementing types [#127](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/127) ([@maordaniel](https://github.com/maordaniel)) #### Authors: 1 - Maor Daniel ([@maordaniel](https://github.com/maordaniel)) --- # v3.4.0 (Tue Apr 11 2023) #### πŸš€ Enhancement - add support for useImplementingTypes [#125](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/125) ([@maordaniel](https://github.com/maordaniel)) #### Authors: 1 - Maor Daniel ([@maordaniel](https://github.com/maordaniel)) --- # v3.3.1 (Tue Mar 21 2023) #### πŸ› Bug Fix - fix: relationships overrides via fieldGeneration config [#123](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/123) ([@gurschitz](https://github.com/gurschitz)) #### Authors: 1 - Gerald Urschitz ([@gurschitz](https://github.com/gurschitz)) --- # v3.3.0 (Thu Mar 16 2023) #### πŸš€ Enhancement - fix: enum values update [#120](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/120) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v3.2.2 (Thu Feb 02 2023) #### πŸ› Bug Fix - Allow custom field generation for Enum types [#111](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/111) ([@emab](https://github.com/emab) [@ardeois](https://github.com/ardeois)) #### Authors: 2 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) - Eddy Brown ([@emab](https://github.com/emab)) --- # v3.2.1 (Wed Feb 01 2023) #### πŸ› Bug Fix - Updated readme to reflect the renaming of typenames to typeNames [#112](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/112) ([@lkloeppel](https://github.com/lkloeppel)) #### Authors: 1 - Lukas Kloeppel ([@lkloeppel](https://github.com/lkloeppel)) --- # v3.2.0 (Fri Jan 27 2023) #### πŸš€ Enhancement - fix: Change the relationshipsToOmit data structure from Array to Set [#109](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/109) (jonghak.seo@creatrip.com [@Jonghakseo](https://github.com/Jonghakseo)) #### Authors: 2 - JongHak Seo ([@Jonghakseo](https://github.com/Jonghakseo)) - Jonghak Seo (jonghak.seo@creatrip.com) --- # v3.1.1 (Thu Jan 26 2023) #### πŸ› Bug Fix - build(deps): bump ua-parser-js from 0.7.32 to 0.7.33 [#108](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/108) ([@dependabot[bot]](https://github.com/dependabot[bot])) #### Authors: 1 - [@dependabot[bot]](https://github.com/dependabot[bot]) --- # v3.1.0 (Thu Jan 26 2023) #### πŸš€ Enhancement - Add per field generation [#106](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/106) ([@emab](https://github.com/emab) [@ardeois](https://github.com/ardeois)) #### Authors: 2 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) - Eddy Brown ([@emab](https://github.com/emab)) --- # v3.0.0 (Thu Jan 26 2023) #### πŸ’₯ Breaking Change - Rename `typenames` to `typeNames` [#105](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/105) ([@emab](https://github.com/emab) [@ardeois](https://github.com/ardeois)) #### Authors: 2 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) - Eddy Brown ([@emab](https://github.com/emab)) --- # v2.7.1 (Mon Jan 09 2023) #### πŸ› Bug Fix - build(deps): bump json5 from 1.0.1 to 1.0.2 [#107](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/107) ([@dependabot[bot]](https://github.com/dependabot[bot])) #### Authors: 1 - [@dependabot[bot]](https://github.com/dependabot[bot]) --- # v2.7.0 (Wed Dec 07 2022) #### πŸš€ Enhancement - fix(enumValues): update behaviour to match typescript plugin [#103](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/103) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v2.6.0 (Thu Nov 17 2022) #### πŸš€ Enhancement - feat: Handle custom generators for faker [#101](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/101) ([@Morphyish](https://github.com/Morphyish)) #### Authors: 1 - Thomas Sauques ([@Morphyish](https://github.com/Morphyish)) --- # v2.5.2 (Thu Sep 29 2022) #### πŸ› Bug Fix - fix: faker dynamicValues data generation [#96](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/96) ([@JimmyPaolini](https://github.com/JimmyPaolini)) #### Authors: 1 - Jimmy Paolini ([@JimmyPaolini](https://github.com/JimmyPaolini)) --- # v2.5.1 (Thu Sep 29 2022) #### πŸ› Bug Fix - fix: custom generator for native scalars [#95](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/95) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v2.5.0 (Thu Sep 29 2022) #### πŸš€ Enhancement - feat: add generatorLibrary options and allow faker to select [#93](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/93) ([@MH4GF](https://github.com/MH4GF) [@ardeois](https://github.com/ardeois)) #### Authors: 2 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) - Hirotaka Miyagi ([@MH4GF](https://github.com/MH4GF)) --- # v2.4.1 (Thu Sep 29 2022) #### πŸ› Bug Fix - fix: listElementCount sometimes undefined [#94](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/94) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v2.4.0 (Mon Sep 19 2022) #### πŸš€ Enhancement - feat: listElementCount option [#88](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/88) ([@JimmyPaolini](https://github.com/JimmyPaolini)) #### Authors: 1 - Jimmy Paolini ([@JimmyPaolini](https://github.com/JimmyPaolini)) --- # v2.3.0 (Mon Sep 19 2022) #### πŸš€ Enhancement - feat: dynamic generation mode [#86](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/86) ([@JimmyPaolini](https://github.com/JimmyPaolini)) #### Authors: 1 - Jimmy Paolini ([@JimmyPaolini](https://github.com/JimmyPaolini)) --- # (Thu Jul 28 2022) #### πŸ”© Dependency Updates - build(deps): bump moment from 2.29.2 to 2.29.4 [#84](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/84) ([@dependabot[bot]](https://github.com/dependabot[bot])) #### Authors: 1 - [@dependabot[bot]](https://github.com/dependabot[bot]) --- # v2.2.4 (Wed Jul 27 2022) #### πŸ› Bug Fix - fix: add tslib dependency [#83](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/83) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v2.2.3 (Tue Apr 12 2022) #### πŸ› Bug Fix - build(deps): bump moment from 2.24.0 to 2.29.2 [#80](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/80) ([@dependabot[bot]](https://github.com/dependabot[bot])) #### Authors: 1 - [@dependabot[bot]](https://github.com/dependabot[bot]) --- # v2.2.2 (Tue Apr 12 2022) #### πŸ› Bug Fix - build(deps): bump minimist from 1.2.5 to 1.2.6 [#81](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/81) ([@dependabot[bot]](https://github.com/dependabot[bot])) #### Authors: 1 - [@dependabot[bot]](https://github.com/dependabot[bot]) --- # (Mon Mar 21 2022) #### πŸ› Bug Fix - fix: add stale bot [#79](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/79) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v2.2.0 (Mon Mar 21 2022) #### πŸš€ Enhancement - feat: relationshipsToOmit bug when terminateCircularRelationships is true [#78](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/78) ([@Jonghakseo](https://github.com/Jonghakseo) [@ardeois](https://github.com/ardeois)) #### Authors: 2 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) - JongHak Seo ([@Jonghakseo](https://github.com/Jonghakseo)) --- # v2.1.4 (Fri Mar 04 2022) #### πŸ› Bug Fix - fix: update dependencies [#76](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/76) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v2.1.3 (Fri Mar 04 2022) #### πŸ› Bug Fix - fix: never preserve underscores for enum values [#75](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/75) ([@VilhelmNielsen](https://github.com/VilhelmNielsen)) #### Authors: 1 - Sebastian Vilhelm Nielsen ([@VilhelmNielsen](https://github.com/VilhelmNielsen)) --- # v2.1.2 (Fri Feb 18 2022) #### πŸ› Bug Fix - fix: wrong type generated when terminateCircularRelationships is true [#70](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/70) ([@BenStirrup](https://github.com/BenStirrup) [@ardeois](https://github.com/ardeois)) #### Authors: 2 - Benjamin Stirrup ([@BenStirrup](https://github.com/BenStirrup)) - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v2.1.1 (Fri Feb 18 2022) #### ⚠️ Pushed to `main` - feat: dependency update ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v2.1.0 (Fri Feb 18 2022) #### πŸš€ Enhancement - fix: #69 [#71](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/71) ([@bokuweb](https://github.com/bokuweb) [@ardeois](https://github.com/ardeois)) #### Authors: 2 - bokuweb ([@bokuweb](https://github.com/bokuweb)) - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v2.0.0 (Thu Nov 04 2021) #### πŸ’₯ Breaking Change - feat: remove eslint-disable line [#68](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/68) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v1.8.5 (Mon Oct 25 2021) #### πŸ› Bug Fix - fix: don't recase `__typename` [#64](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/64) ([@VilhelmNielsen](https://github.com/VilhelmNielsen) [@ardeois](https://github.com/ardeois)) #### Authors: 2 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) - Sebastian Vilhelm Nielsen ([@VilhelmNielsen](https://github.com/VilhelmNielsen)) --- # v1.8.4 (Mon Oct 25 2021) #### πŸ› Bug Fix - fix: update github build triggers [#65](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/65) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v1.8.3 (Wed Oct 20 2021) #### πŸ› Bug Fix - fix: rename master branch to main [#63](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/63) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v1.8.1 (Wed Oct 20 2021) #### ⚠️ Pushed to `master` - fix: manual bump ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v1.8.0 (Wed Oct 20 2021) #### πŸš€ Enhancement - feat: add `typesTransformUnderscore` config option [#61](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/61) ([@VilhelmNielsen](https://github.com/VilhelmNielsen)) #### Authors: 1 - Sebastian Vilhelm Nielsen ([@VilhelmNielsen](https://github.com/VilhelmNielsen)) --- # v1.7.2 (Tue Sep 21 2021) #### πŸ› Bug Fix - build(deps): bump semver-regex from 3.1.2 to 3.1.3 [#59](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/59) ([@dependabot[bot]](https://github.com/dependabot[bot])) #### Authors: 1 - [@dependabot[bot]](https://github.com/dependabot[bot]) --- # v1.7.1 (Tue Sep 07 2021) #### πŸ› Bug Fix - fix: dependency update [#58](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/58) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v1.7.0 (Tue Sep 07 2021) #### πŸš€ Enhancement - fix: generate Query and Mutation mocks [#57](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/57) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v1.6.0 (Tue Sep 07 2021) #### πŸš€ Enhancement - feat: add enumsPrefix option [#56](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/56) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v1.5.10 (Tue Sep 07 2021) #### πŸ› Bug Fix - fix(typesPrefix): use typesPrefix in imports [#55](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/55) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # (Tue Sep 07 2021) #### πŸ”© Dependency Updates - build(deps): bump path-parse from 1.0.6 to 1.0.7 [#52](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/52) ([@dependabot[bot]](https://github.com/dependabot[bot])) #### Authors: 1 - [@dependabot[bot]](https://github.com/dependabot[bot]) --- # v1.5.8 (Tue Sep 07 2021) #### πŸ› Bug Fix - fix: wrong generation of typenames [#53](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/53) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v1.5.7 (Wed Jun 23 2021) #### πŸ› Bug Fix - feat: add support for interface type [#48](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/48) ([@aki77](https://github.com/aki77) [@ardeois](https://github.com/ardeois)) #### Authors: 2 - [@aki77](https://github.com/aki77) - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # (Thu Jun 10 2021) #### πŸ”© Dependency Updates - build(deps): bump ws from 7.2.3 to 7.4.6 [#49](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/49) ([@dependabot[bot]](https://github.com/dependabot[bot])) #### Authors: 1 - [@dependabot[bot]](https://github.com/dependabot[bot]) --- # (Thu Jun 10 2021) #### πŸ”© Dependency Updates - build(deps): bump glob-parent from 5.1.1 to 5.1.2 [#50](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/50) ([@dependabot[bot]](https://github.com/dependabot[bot])) #### Authors: 1 - [@dependabot[bot]](https://github.com/dependabot[bot]) --- # v1.5.4 (Wed May 12 2021) #### πŸ› Bug Fix - fix: update graphql peer dependency [#47](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/47) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v1.5.3 (Tue May 11 2021) #### πŸ› Bug Fix - build(deps): bump hosted-git-info from 2.8.8 to 2.8.9 [#46](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/46) ([@dependabot[bot]](https://github.com/dependabot[bot])) #### Authors: 1 - [@dependabot[bot]](https://github.com/dependabot[bot]) --- # v1.5.2 (Tue May 11 2021) #### πŸ› Bug Fix - build(deps): bump lodash from 4.17.20 to 4.17.21 [#45](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/45) ([@dependabot[bot]](https://github.com/dependabot[bot])) #### Authors: 1 - [@dependabot[bot]](https://github.com/dependabot[bot]) --- # v1.5.1 (Tue Apr 13 2021) #### πŸ› Bug Fix - build(deps): bump gitlog from 4.0.3 to 4.0.4 [#44](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/44) ([@dependabot[bot]](https://github.com/dependabot[bot])) #### Authors: 1 - [@dependabot[bot]](https://github.com/dependabot[bot]) --- # v1.5.0 (Mon Apr 12 2021) #### πŸš€ Enhancement - fix: update type case in `import` [#43](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/43) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v1.4.1 (Wed Mar 31 2021) #### πŸ› Bug Fix - build(deps): bump y18n from 4.0.0 to 4.0.1 [#41](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/41) ([@dependabot[bot]](https://github.com/dependabot[bot])) #### Authors: 1 - [@dependabot[bot]](https://github.com/dependabot[bot]) --- # v1.4.0 (Thu Jan 28 2021) #### πŸš€ Enhancement - Added support for custom generator function [#39](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/39) ([@marucjmar](https://github.com/marucjmar) [@ardeois](https://github.com/ardeois)) #### πŸ› Bug Fix - build(deps): bump ini from 1.3.5 to 1.3.8 [#37](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/37) ([@dependabot[bot]](https://github.com/dependabot[bot])) #### Authors: 3 - [@dependabot[bot]](https://github.com/dependabot[bot]) - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) - Marcin Lazar ([@marucjmar](https://github.com/marucjmar)) --- # v1.3.4 (Thu Oct 15 2020) #### πŸ› Bug Fix - fix: add __typename to return type [#35](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/35) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # (Tue Oct 13 2020) #### πŸ› Bug Fix - docs: fix license link [#34](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/34) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # (Tue Oct 13 2020) #### πŸ› Bug Fix - fix: add codeql analysis [#32](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/32) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v1.3.1 (Tue Oct 13 2020) #### πŸ› Bug Fix - fix: update dependencies [#33](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/33) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v1.3.0 (Tue Oct 13 2020) #### πŸš€ Enhancement - Add terminateCircularRelationships option [#31](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/31) ([@ford-outreach](https://github.com/ford-outreach)) #### Authors: 1 - Ford Filer ([@ford-outreach](https://github.com/ford-outreach)) --- # v1.2.1 (Thu Sep 24 2020) #### ⚠️ Pushed to `master` - docs: fix typo ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v1.2.0 (Thu Sep 24 2020) #### πŸš€ Enhancement - feat(scalars): add support for custom scalar with arguments [#30](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/30) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v1.1.0 (Mon Aug 10 2020) #### πŸš€ Enhancement - Add config for prefixing types [#29](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/29) ([@RicardoTrindade](https://github.com/RicardoTrindade)) #### Authors: 1 - Ricardo Trindade ([@RicardoTrindade](https://github.com/RicardoTrindade)) --- # (Fri Jul 17 2020) #### πŸ› Bug Fix - doc: update mock name [#27](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/27) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v1.0.0 (Tue Jul 14 2020) #### πŸ’₯ Breaking Change - feat: use `indefinite` to find the correct article [#26](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/26) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v0.5.0 (Tue Jul 14 2020) #### πŸš€ Enhancement - feat: add `scalars` config option for custom GraphQL [scalar -> casual] mappings [#21](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/21) ([@3nvi](https://github.com/3nvi) [@ardeois](https://github.com/ardeois)) #### Authors: 2 - Aggelos Arvanitakis ([@3nvi](https://github.com/3nvi)) - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v0.4.2 (Tue Jul 14 2020) #### πŸ› Bug Fix - feat: allow users to specify the `prefix` of mock builders [#25](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/25) ([@3nvi](https://github.com/3nvi)) #### Authors: 1 - Aggelos Arvanitakis ([@3nvi](https://github.com/3nvi)) --- # v0.4.1 (Tue Jun 09 2020) #### πŸ› Bug Fix - fix: add support for custom scalar [#19](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/19) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v0.4.0 (Tue Jun 09 2020) #### πŸš€ Enhancement - Issue #16: default typename casing to pascalCase and add configuration option [#18](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/18) ([@mdazy](https://github.com/mdazy) matthieu.dazy@emerson.com) #### Authors: 2 - [@mdazy](https://github.com/mdazy) - Matthieu Dazy (matthieu.dazy@emerson.com) --- # v0.3.1 (Sun Apr 05 2020) #### πŸ› Bug Fix - fix: disable eslint rule `no-prototype-builtins` [#12](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/12) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v0.3.0 (Sun Apr 05 2020) #### πŸš€ Enhancement - Bugfix/Feature: pascalCase; Bugfix: recursive nesting [#9](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/9) ([@bohdanbirdie](https://github.com/bohdanbirdie)) #### Authors: 1 - Bohdan Ptyts ([@bohdanbirdie](https://github.com/bohdanbirdie)) --- # v0.2.1 (Fri Apr 03 2020) #### πŸ› Bug Fix - fix: add precommit hooks [#11](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/11) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v0.2.0 (Fri Apr 03 2020) #### πŸš€ Enhancement - feat: update all dependencies [#10](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/10) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v0.1.4 (Fri Apr 03 2020) #### πŸ› Bug Fix - Fixes broken dependency `toPascalCase` [#7](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/7) ([@keesvanlierop](https://github.com/keesvanlierop)) #### Authors: 1 - Kees van Lierop ([@keesvanlierop](https://github.com/keesvanlierop)) --- # v0.1.3 (Tue Nov 26 2019) #### πŸ› Bug Fix - fix: add \_\_typename property [#6](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/6) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v0.1.2 (Thu Nov 14 2019) #### πŸ› Bug Fix - fix: handle input-object-type definitions [#5](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/5) ([@YevheniiMelikov](https://github.com/YevheniiMelikov)) #### Authors: 1 - Yevhenii Melikov ([@YevheniiMelikov](https://github.com/YevheniiMelikov)) --- # v0.1.1 (Tue Oct 29 2019) #### πŸ› Bug Fix - fix: move graphql to peer dependencies [#4](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/4) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v0.1.0 (Tue Oct 29 2019) #### πŸš€ Enhancement - build: first release [#3](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/3) ([@ardeois](https://github.com/ardeois)) #### Authors: 1 - Corentin Ardeois ([@ardeois](https://github.com/ardeois)) --- # v0.0.5 (Tue Oct 29 2019) --- # v0.0.4 (Tue Oct 29 2019) --- # v0.0.3 (Tue Oct 29 2019) #### πŸ› Bug Fix - chore: setup build with publishing scripts [#1](https://github.com/ardeois/graphql-codegen-typescript-mock-data/pull/1) (cardeois@landr.com) #### ⚠️ Pushed to master - build: first release (cardeois@landr.com) - chore: update circleci build (cardeois@landr.com) - docs: update readme (cardeois@landr.com) - fix: typo in mockk generator (cardeois@landr.com) - fix: use casual instead of faker (cardeois@landr.com) - feat: use spread operator instead of mock builder (cardeois@landr.com) #### Authors: 2 - Corentin Ardeois (cardeois@landr.com) - Corentin Ardeois (corentin.ardeois@gmail.com)