Restructure GraphQL automated content scripts (#34308)
This commit is contained in:
@@ -12,11 +12,11 @@ import { program } from 'commander'
|
||||
import mkdirp from 'mkdirp'
|
||||
import { allVersions } from '../../lib/all-versions.js'
|
||||
|
||||
const graphqlStaticDir = path.join(process.cwd(), 'lib/graphql/static')
|
||||
const graphqlStaticDir = path.join(process.cwd(), 'src/graphql/data')
|
||||
const graphqlDataDir = path.join(process.cwd(), 'data/graphql')
|
||||
|
||||
program
|
||||
.description('Create GraphQL files in lib/graphql/static based on an existing version.')
|
||||
.description('Create GraphQL files in src/graphql/data based on an existing version.')
|
||||
.option(
|
||||
'-n, --newVersion <version>',
|
||||
'The version to copy the files to. Must be in <plan@release> format.'
|
||||
|
||||
Reference in New Issue
Block a user