1
0
mirror of synced 2025-12-21 19:06:49 -05:00

Restructure GraphQL automated content scripts (#34308)

This commit is contained in:
Rachael Sewell
2023-02-10 16:38:27 -08:00
committed by GitHub
parent b66f4e731a
commit fe8482408b
38 changed files with 62 additions and 62 deletions

View File

@@ -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.'