зеркало из https://github.com/github/docs.git
Merge branch 'main' into repo-sync
This commit is contained in:
Коммит
84ec2fb38d
|
@ -3,7 +3,7 @@ const { parse, buildASTSchema } = require('graphql')
|
|||
const helpers = require('./schema-helpers')
|
||||
const fs = require('fs')
|
||||
|
||||
const externalScalars = JSON.parse(fs.readFileSync('../../../lib/graphql/non-schema-scalars.json'))
|
||||
const externalScalars = JSON.parse(fs.readFileSync('./lib/graphql/non-schema-scalars.json'))
|
||||
.map(scalar => {
|
||||
scalar.id = helpers.getId(scalar.name)
|
||||
scalar.href = helpers.getFullLink('scalars', scalar.id)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
const renderContent = require('../../../lib/render-content')
|
||||
const fs = require('fs')
|
||||
const graphqlTypes = JSON.parse(fs.readFileSync('../../../lib/graphql/types.json'))
|
||||
const graphqlTypes = JSON.parse(fs.readFileSync('./lib/graphql/types.json'))
|
||||
const {
|
||||
isScalarType,
|
||||
isObjectType,
|
||||
|
|
Загрузка…
Ссылка в новой задаче