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:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user