Skip to content

Commit 31ac763

Browse files
committed
publish files
1 parent cae8295 commit 31ac763

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ $ npm install gtl-node -S or yarn add gtl-node -S
3232
const playground = require('graphql-playground-middleware-express')
3333
const express = require('express')
3434
// import module like this
35-
const { gtl } = require('gtl')
35+
const { gtl } = require('gtl-node')
3636

3737
// change with your graphql schema location folder
3838
const typeDefs = gtl({ directory: 'graphql/typeDefs', pattern: '**/*', extension: 'graphql' })
@@ -65,7 +65,7 @@ $ npm install gtl-node -S or yarn add gtl-node -S
6565
import playground from 'graphql-playground-middleware-express'
6666
import express from 'express'
6767
// import module like this
68-
import { gtl } from 'gtl'
68+
import { gtl } from 'gtl-node'
6969
7070
// change with your graphql schema location folder
7171
const typeDefs = gtl({ directory: 'graphql/typeDefs', pattern: '**/*', extension: 'graphql' })
@@ -99,7 +99,7 @@ $ npm install gtl-node -S or yarn add gtl-node -S
9999
const playground = require('graphql-playground-middleware-express')
100100
const express = require('express')
101101
// import module like this
102-
const { gtl } = require('gtl')
102+
const { gtl } = require('gtl-node')
103103
104104
// change with your graphql schema location folder
105105
const typeDefs = gtl({ pattern: '**/*', extension: 'graphql' })
@@ -132,7 +132,7 @@ $ npm install gtl-node -S or yarn add gtl-node -S
132132
import playground from 'graphql-playground-middleware-express'
133133
import express from 'express'
134134
// import module like this
135-
import { gtl } from 'gtl'
135+
import { gtl } from 'gtl-node'
136136
137137
// change with your graphql schema location folder
138138
const typeDefs = gtl({ pattern: '**/*', extension: 'graphql' })
@@ -167,7 +167,7 @@ $ npm install gtl-node -S or yarn add gtl-node -S
167167
const playground = require('graphql-playground-middleware-express')
168168
const express = require('express')
169169
// import module like this
170-
const { gtl } = require('gtl')
170+
const { gtl } = require('gtl-node')
171171
172172
// change with your graphql schema location folder
173173
const typeDefs = gtl({ directory: 'graphql/typedefs' , fileName: 'schema.graphql' })
@@ -200,7 +200,7 @@ $ npm install gtl-node -S or yarn add gtl-node -S
200200
import playground from 'graphql-playground-middleware-express'
201201
import express from 'express'
202202
// import module like this
203-
import { gtl } from 'gtl'
203+
import { gtl } from 'gtl-node'
204204
205205
// change with your graphql schema location folder
206206
const typeDefs = gtl({ directory: 'graphql/typedefs' , fileName: 'schema.graphql' })
@@ -235,7 +235,7 @@ $ npm install gtl-node -S or yarn add gtl-node -S
235235
const playground = require('graphql-playground-middleware-express')
236236
const express = require('express')
237237
// import module like this
238-
const { gtl } = require('gtl')
238+
const { gtl } = require('gtl-node')
239239
240240
// change with your graphql schema location folder
241241
const typeDefs = gtl({ fileName: 'schema.graphql' })
@@ -268,7 +268,7 @@ $ npm install gtl-node -S or yarn add gtl-node -S
268268
import playground from 'graphql-playground-middleware-express'
269269
import express from 'express'
270270
// import module like this
271-
import { gtl } from 'gtl'
271+
import { gtl } from 'gtl-node'
272272
273273
// change with your graphql schema location folder
274274
const typeDefs = gtl({ fileName: 'schema.graphql' })

0 commit comments

Comments
 (0)