mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
fix types
This commit is contained in:
@@ -2,15 +2,7 @@ import { execa } from "execa";
|
||||
import fs from "fs-extra";
|
||||
import ora from "ora";
|
||||
import path from "node:path";
|
||||
|
||||
interface ProjectOptions {
|
||||
projectName: string;
|
||||
typescript: boolean;
|
||||
git: boolean;
|
||||
database: "libsql" | "postgres";
|
||||
auth: boolean;
|
||||
features: string[];
|
||||
}
|
||||
import type { ProjectOptions } from "./types";
|
||||
|
||||
export async function createProject(options: ProjectOptions) {
|
||||
const spinner = ora("Creating project directory...").start();
|
||||
|
||||
Reference in New Issue
Block a user