@beastmode-develeap/beastmode 0.1.318 → 0.1.320

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -6426,6 +6426,9 @@ function getBoardRoutes(factoryDir) {
6426
6426
  throw new Error("Missing required field: provide either `path` (local) or `github_url` (clone)");
6427
6427
  }
6428
6428
  const projectName = basename5(resolvedPath);
6429
+ if (existsSync16(join14(projectsDir, projectName, "project.json"))) {
6430
+ throw new HttpError(409, { error: `Project already exists: ${projectName}` });
6431
+ }
6429
6432
  const stack = detectStack(resolvedPath);
6430
6433
  let verifyPort = 3001;
6431
6434
  for (const existing of listProjectRecords(projectsDir)) {