Merge pull request #7326 from backstage/rugvip/root

cli,config-loader: allow config schema to be defined in root package.json
This commit is contained in:
Patrik Oldsberg
2021-09-27 22:50:50 +02:00
committed by GitHub
8 changed files with 116 additions and 49 deletions
+2
View File
@@ -39,6 +39,8 @@ export async function loadCliConfig(options: Options) {
const schema = await loadConfigSchema({
dependencies: localPackageNames,
// Include the package.json in the project root if it exists
packagePaths: [paths.resolveTargetRoot('package.json')],
});
const appConfigs = await loadConfig({