config-loader resolve config from cwd
Signed-off-by: Jacob Bolda <me@jacobbolda.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/config-loader': patch
|
||||
---
|
||||
|
||||
Resolve the path to app-config.yaml from the current working directory. This will allow use of `yarn link` or running the CLI in other directories and improve the experience for local backstage development.
|
||||
@@ -124,7 +124,9 @@ export async function collectConfigSchemas(
|
||||
);
|
||||
}
|
||||
|
||||
await Promise.all(packageNames.map(name => processItem({ name })));
|
||||
await Promise.all(
|
||||
packageNames.map(name => processItem({ name, parentPath: currentDir })),
|
||||
);
|
||||
|
||||
const tsSchemas = compileTsSchemas(tsSchemaPaths);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user