chore(create-payload-app): lint and format

This commit is contained in:
Elliot DeNolf
2023-10-12 18:57:37 -04:00
parent 7767679caa
commit 5fd3d43000
16 changed files with 164 additions and 178 deletions

View File

@@ -1,4 +1,5 @@
import prompts from 'prompts'
import type { CliArgs } from '../types'
export async function parseProjectName(args: CliArgs): Promise<string> {
@@ -7,9 +8,9 @@ export async function parseProjectName(args: CliArgs): Promise<string> {
const response = await prompts(
{
type: 'text',
name: 'value',
message: 'Project name?',
type: 'text',
validate: (value: string) => !!value.length,
},
{