From c7eb58261dc2e77be372661b91303783099302d5 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Tue, 24 Feb 2026 23:55:15 +0100 Subject: [PATCH] Update .changeset/clean-up-own-root-dir.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Patrik Oldsberg --- .changeset/clean-up-own-root-dir.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/clean-up-own-root-dir.md b/.changeset/clean-up-own-root-dir.md index e702330140..c668073688 100644 --- a/.changeset/clean-up-own-root-dir.md +++ b/.changeset/clean-up-own-root-dir.md @@ -2,4 +2,4 @@ '@backstage/cli-common': patch --- -The `findOwnRootDir` utility now searches for the monorepo root by traversing up the directory tree looking for a `package.json` with `workspaces`, instead of assuming a fixed `../..` relative path. +The `findOwnRootDir` utility now searches for the monorepo root by traversing up the directory tree looking for a `package.json` with `workspaces`, instead of assuming a fixed `../..` relative path. If no workspaces root is found during this traversal, `findOwnRootDir` now throws to enforce stricter validation of the repository layout.