Détail du package

@gql.tada/internal

0no-co1.2mMIT1.0.8

Internal logic for gql.tada’s CLI tool and GraphQLSP.

readme

@gql.tada/internal

@gql.tada/internal is a support package for gql.tada and @0no-co/graphqlsp that contains shared logic for both.

There is no documentation available for this package.

[!NOTE] Use this package at your own risk! This package's exported API is only considered stable in the context of it being consumed by either @gql.tada/cli-utils or @0no-co/graphqlsp!

changelog

@gql.tada/internal

1.0.8

Patch Changes

  • Update the tsconfig resolver to better handle an array of "extends" values in tsconfig.json files when trying to locate the GraphQLSP plugin entry. Before, if you were using an array for "extends", e.g. "extends: ["./file1.json", "./file2.json"], the first file loaded that did not have a GraphQLSP plugin entry defined would throw an error and prevent subsequent files from being loaded and evaluated. The implemented change now allows for the resolver to continue iterating over extends values trying to locate a GraphQLSP plugin entry Submitted by @aweber1 (See #386)

1.0.7

Patch Changes

1.0.6

Patch Changes

  • Add per-package readme files Submitted by @kitten (See #363)

1.0.5

Patch Changes

  • Output introspection type separately in d.ts output typings file. This avoids a serialization error in composite TypeScript projects Submitted by @kitten (See #350)

1.0.4

Patch Changes

  • ⚠️ Fix SDL-file schema watcher missing changed file events on macOS under certain write conditions Submitted by @kitten (See #340)

1.0.3

Patch Changes

  • Add types for field-usage tracking and checking for co-located fragments Submitted by @JoviDeCroock (See #334)

1.0.2

Patch Changes

  • Add gql.tada/ts-plugin alias for @0no-co/graphqlsp Submitted by @kitten (See #62)

1.0.1

Patch Changes

  • Derive supported GraphQL features from introspection result, when the introspection support query fails. This works around issues for APIs that block __type unintentionally, but do allow for __schema introspection Submitted by @kitten (See #317)

1.0.0

Major Changes

  • Bump to v1.0.0 (Stable Release) Submitted by @kitten (See #296)

Patch Changes

  • ⚠️ Fix regression causing schema.url to not be recognized Submitted by @kitten (See #295)

0.4.0

Minor Changes

  • Add support for querying isOneOf in the introspection Submitted by @JoviDeCroock (See #284)

Patch Changes

  • Update CLI and @gql.tada/internal to variably support graphql ^15.5.0 in addition to the preferred v16, and include future support for v17 Submitted by @kitten (See #282)

0.3.3

Patch Changes

  • Improve error message when config.schemas is missing tadaOutputLocation entries or when unique values are compared Submitted by @kitten (See #270)

0.3.2

Patch Changes

  • ⚠️ Fix declare module not being added to tada output in some cases Submitted by @kitten (See #268)

0.3.1

Patch Changes

0.3.0

Minor Changes

  • Add multi-schema config format and schema loading Submitted by @kitten (See #257)

Patch Changes

  • Update loadRef to reflect tada* options to result types Submitted by @kitten (See #259)

0.2.4

Patch Changes

  • Upgrade @urql/core in @gql.tada/internal Submitted by @kitten (See #255)

0.2.3

Patch Changes

  • ⚠️ Fix ESM build output file to be properly loadable Submitted by @kitten (See #247)
  • ⚠️ Fix resolving tsconfig.json' extends option Submitted by @kitten (See #251)

0.2.2

Patch Changes

  • Add support for ${configDir} to directory path configs Submitted by @kitten (See #239)

0.2.1

Patch Changes

  • ⚠️ Fix config parser not being able to handle schema.headers object Submitted by @kitten (See #222)
  • Remove null cases from schema loaders, simplifying error handling in the CLI Submitted by @kitten (See #214)

0.2.0

Read the full release announcement post at: https://gql-tada.0no.co/devlog/2024-04-15

Minor Changes

  • Add check as a way to run the GraphQLSP diagnostics as part of our CLI Submitted by @JoviDeCroock (See #170)
  • Implement new config resolution helpers Submitted by @kitten (See #200)

Patch Changes

  • Allow GraphQL enum types to be remapped with the scalars configuration option Submitted by @kitten (See #184)
  • Add bundled licenses of internalized modules Submitted by @kitten (See #175)
  • Support opting out of includeDeprecated on __Directive and __Field in accordance with the October 2021 spec Submitted by @JoviDeCroock (See #192)
  • Replace minifyIntrospectionQuery utility with a version that sorts fields and types by name Submitted by @kitten (See #185)

0.1.3

Patch Changes

  • ⚠️ Fix subscriptionType not being fetched during introspection Submitted by @kitten (See #172)

0.1.2

Patch Changes

  • Add loadFromSDL and loadFromURL schema loader utilities Submitted by @kitten (See #163)
  • Upgrade @0no-co/graphql.web to 1.0.5 Submitted by @kitten (See #168)
  • Update internal loader to merge them into one and incorporate SchemaOrigin parsing Submitted by @kitten (See #165)

0.1.1

Patch Changes

  • Add typescript to peerDependencies Submitted by @kitten (See #156)

0.1.0

Minor Changes

  • Expose introspection output format generation from @gql.tada/internal and implement a new pre-processed output format, which pre-computes the output of the mapIntrospection type Submitted by @kitten (See #150)
  • Add @gql.tada/internal package to extract common logic between the CLI and the LSP Submitted by @JoviDeCroock (See #149)