mercurius-typescript

TypeScript usage examples and "mercurius-codegen" for Mercurius

MIT License

Downloads
13.8K
Stars
71
Committers
9

Bot releases are visible (Hide)

mercurius-typescript - [email protected] Latest Release

Published by PabloSzx 9 months ago

5.0.4

Patch Changes

  • Include mercurius v13 as supported peer dependency
mercurius-typescript - [email protected]

Published by github-actions[bot] over 1 year ago

5.0.3

Patch Changes

  • a2d5a6b: Add support for addUnderscoreToArgsType codegen config
mercurius-typescript - [email protected]

Published by github-actions[bot] over 1 year ago

5.0.2

Patch Changes

  • 14a45fd: Allow peer dependency to mercurius v12
mercurius-typescript - [email protected]

Published by github-actions[bot] almost 2 years ago

5.0.1

Patch Changes

  • 532a891: Export CodegenMercuriusOptions interface
mercurius-typescript - [email protected]

Published by github-actions[bot] almost 2 years ago

5.0.0

Major Changes

  • 2655e45: Update for mercurius v11
mercurius-typescript - [email protected]

Published by github-actions[bot] about 2 years ago

4.0.1

Patch Changes

  • c3f8aa9: Fix @graphql-codegen/typescript-resolvers types import
mercurius-typescript - [email protected]

Published by github-actions[bot] over 2 years ago

4.0.0

Major Changes

mercurius-typescript - [email protected]

Published by github-actions[bot] over 2 years ago

3.3.1

Patch Changes

  • 82fa1ad: Export custom Loader types from generated TS #180 (thanks to @luke88jones)
mercurius-typescript - [email protected]

Published by github-actions[bot] almost 3 years ago

3.3.0

Minor Changes

  • 43701ff: Support mercurius@^9.0.0 & graphql-js v16
mercurius-typescript - [email protected]

Published by github-actions[bot] about 3 years ago

3.2.0

Minor Changes

  • ad1303c: Disable pre-built schema generation for loadSchemaFiles if "targetPath" is set to null
mercurius-typescript - [email protected]

Published by github-actions[bot] about 3 years ago

3.1.1

Patch Changes

  • 42301d7: Update @graphql-tools/load-files
mercurius-typescript - [email protected]

Published by PabloSzx about 3 years ago

closes #19

  • Allow customize prebuilt schema path:
loadSchemaFiles("**/*.gql", {  prebuild: { targetPath: "./mercurius-prebuilt-schema.json" } })
mercurius-typescript - [email protected]

Published by PabloSzx about 3 years ago

  • Update dependencies
  • [Breaking change] Move prettier as peer dependency, if you don't have manually installed, you will need to do it
mercurius-typescript - [email protected]

Published by PabloSzx about 3 years ago

  • Add loaders configuration loadersCustomParentTypes?: Record<string, string> to customize parent types of loaders
  • Update dependencies (including major update graphql-codegen v2)
mercurius-typescript - [email protected]

Published by PabloSzx about 3 years ago

  • Update dependencies
mercurius-typescript - [email protected]

Published by PabloSzx over 3 years ago

  • Update dependencies
  • Accept mercurius v8 in peerDependencies
mercurius-typescript - [email protected]

Published by PabloSzx over 3 years ago

  • update deps
  • allow override internalResolversPrefix
mercurius-typescript - [email protected]

Published by PabloSzx over 3 years ago

  • set MercuriusContext as default context with "contextType"
  • enable "useTypeImports" by default
mercurius-typescript - [email protected]

Published by PabloSzx over 3 years ago

  • Update dependencies
  • use improved custom PLazy class instead of library
mercurius-typescript - [email protected]

Published by PabloSzx over 3 years ago

  • add outputSchema feature