70fc178697
Split the path resolution API in @backstage/cli-common into targetPaths (cwd-based singleton) and findOwnPaths (package-relative). Migrate all consumers across the repo away from the deprecated findPaths. Rename TargetPaths/OwnPaths properties to resolve/resolveRoot, removing the redundant type prefix from property names. Make findOwnPaths calls lazy in modules - called inside functions rather than at module scope. Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com>
@backstage/cli-node
This library provides utilities for building CLI tools for Backstage.
The difference between this library and @backstage/cli-common is that this library is more feature rich with a larger dependency tree, with less concern for bundle size and installation speed. The @backstage/cli-common package on the other hand is intended to be extremely slim and only provide minimal features for use in tools like @backstage/create-app.