mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
Squash merge beta into main
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
import * as path from "node:path";
|
||||
import type { ProjectApi, ProjectConfig } from "../types";
|
||||
import type { ProjectConfig } from "../types";
|
||||
import { addPackageDependency } from "../utils/add-package-deps";
|
||||
|
||||
export async function setupApi(config: ProjectConfig): Promise<void> {
|
||||
if (config.api === "none") return;
|
||||
const { api, projectName } = config;
|
||||
const projectDir = path.resolve(process.cwd(), projectName);
|
||||
const webDir = path.join(projectDir, "apps/web");
|
||||
|
||||
Reference in New Issue
Block a user