Skip to content

Commit 62571c9

Browse files
committed
Update GraphQL/ApolloServer project info
1 parent 0acc724 commit 62571c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ mkdirp(path.resolve(argv.output)).then(function () {
496496
console.log(` - Sample graphql schema ${outputSchema}`);
497497
const infoName = path.join(__dirname, 'templates', '.projectInfo.json')
498498
const projectInfo = path.resolve(argv.output, '.projectInfo.json')
499-
fs.writeFileSync(projectInfo, argv.simple ? JSON.stringify({ Project: "GraphQL" }, null, 4) : fs.readFileSync(infoName, 'utf8'), 'utf8')
499+
fs.writeFileSync(projectInfo, argv.simple ? JSON.stringify({ ProjectType: "GraphQL/ApolloServer", CreatedDate: new Date().toISOString() }, null, 4) : fs.readFileSync(infoName, 'utf8'), 'utf8')
500500
console.log(` - Sample project config ${projectInfo}`);
501501
process.exit(0)
502502
} else {

0 commit comments

Comments
 (0)