From 6bc692c5584a4c38d6db26809d86f995aa85d893 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath <2+defunkt@users.noreply.github.com> Date: Mon, 20 Oct 2025 15:19:08 -0700 Subject: [PATCH] also root --- src/project.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/project.ts b/src/project.ts index 91f3d2d..37a961f 100644 --- a/src/project.ts +++ b/src/project.ts @@ -37,5 +37,5 @@ export function projectFiles(name = projectName()): Dirent[] { } function isProject(path: string): boolean { - return isFile(join(path, "index.ts")) || isFile(join(path, "index.tsx")) || isDir(join(path, "pub")) + return join(NOSE_DIR, "root") === path || isFile(join(path, "index.ts")) || isFile(join(path, "index.tsx")) || isDir(join(path, "pub")) } \ No newline at end of file