graphql-config-extension-graphcool
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -58,3 +58,3 @@ "use strict"; | ||
newConfig = __assign({}, config); | ||
env = new graphcool_yml_1.Environment(path.join(os.homedir(), '.graphcoolrc')); | ||
env = new graphcool_yml_1.Environment(path.join(os.homedir(), '.graphcool')); | ||
return [4 /*yield*/, env.load({})]; | ||
@@ -61,0 +61,0 @@ case 1: |
{ | ||
"name": "graphql-config-extension-graphcool", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
# graphql-config-extension-graphcool | ||
Injects endpoints and headers into a GraphQL Config instance based on a given graphcool.yml | ||
## Usage | ||
## Usage in `.graphqlconfig.yml` | ||
```yml | ||
projects: | ||
database: | ||
extensions: | ||
graphcool: graphcool.yml | ||
``` | ||
## Usage in Node.js | ||
```ts | ||
@@ -7,0 +15,0 @@ import {patchEndpointsToConfig} from 'graphql-config-extension-graphcool' |
Sorry, the diff of this file is not supported yet
17797
21