graphql-config-extension-graphcool
Injects endpoints and headers into a GraphQL Config instance based on a given graphcool.yml
Last updated 7 years ago by timsuchanek .
Apache-2.0 · Original npm · Tarball · package.json
$ npm install graphql-config-extension-graphcool 
SYNC missed versions from official npm registry.

graphql-config-extension-graphcool

CircleCI npm version

Injects endpoints and headers into a GraphQL Config instance based on a given graphcool.yml

Usage in .graphqlconfig.yml

projects:
  database:
    extensions:
      graphcool: graphcool.yml

Usage in Node.js

import {patchEndpointsToConfig} from 'graphql-config-extension-graphcool'
import {getGraphQLConfig, GraphQLConfigData} from 'graphql-config'

const config: GraphQLConfigData = getGraphQLConfig().config
const patchedConfig: GraphQLConfigData = patchEndpointsToConfig(config, process.cwd())

Current Usages

This is currently being used in the graphql-playground-html and graphql-playground-electron.

Current Tags

  • 0.0.0-alpha.7                                ...           alpha (7 years ago)
  • 1.0.11                                ...           latest (6 years ago)

37 Versions

  • 1.0.11                                ...           6 years ago
  • 1.0.10                                ...           6 years ago
  • 1.0.9                                ...           6 years ago
  • 1.0.8                                ...           7 years ago
  • 1.0.7                                ...           7 years ago
  • 1.0.6                                ...           7 years ago
  • 1.0.5                                ...           7 years ago
  • 1.0.4                                ...           7 years ago
  • 1.0.3                                ...           7 years ago
  • 1.0.2                                ...           7 years ago
  • 1.0.1                                ...           7 years ago
  • 1.0.0                                ...           7 years ago
  • 0.3.2                                ...           7 years ago
  • 0.3.1                                ...           7 years ago
  • 0.3.0                                ...           7 years ago
  • 0.2.0                                ...           7 years ago
  • 0.1.8                                ...           7 years ago
  • 0.1.7                                ...           7 years ago
  • 0.1.6                                ...           7 years ago
  • 0.1.5                                ...           7 years ago
  • 0.1.4                                ...           7 years ago
  • 0.1.3                                ...           7 years ago
  • 0.1.2                                ...           7 years ago
  • 0.1.1                                ...           7 years ago
  • 0.1.0                                ...           7 years ago
  • 0.0.5                                ...           7 years ago
  • 0.0.4                                ...           7 years ago
  • 0.0.3                                ...           7 years ago
  • 0.0.2                                ...           7 years ago
  • 0.0.1                                ...           7 years ago
  • 0.0.0-alpha.7                                ...           7 years ago
  • 0.0.0-alpha.6                                ...           7 years ago
  • 0.0.0-alpha.5                                ...           7 years ago
  • 0.0.0-alpha.4                                ...           7 years ago
  • 0.0.0-alpha.3                                ...           7 years ago
  • 0.0.0-alpha.2                                ...           7 years ago
  • 0.0.0-alpha.1                                ...           7 years ago
Maintainers (1)
Downloads
Total 1
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE