Merge pull request #5779 from thefrontside/jbolda/resolve-config-from-cwd

config-loader resolve config from cwd
This commit is contained in:
Patrik Oldsberg
2021-05-26 17:49:37 +02:00
committed by GitHub
2 changed files with 8 additions and 1 deletions
+5
View File
@@ -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);