fix: backend-plugin-module role

Signed-off-by: Jack Palmer <jackpalmer@spotify.com>
This commit is contained in:
Jack Palmer
2023-08-30 11:31:00 +01:00
parent 65c7c64666
commit eaba7ba1bd
2 changed files with 2 additions and 2 deletions
@@ -65,7 +65,7 @@ describe('featureDiscoveryServiceFactory', () => {
name: 'detected-module',
main: 'index.js',
backstage: {
role: 'backend-module',
role: 'backend-plugin-module',
},
}),
'index.js': `
@@ -28,7 +28,7 @@ import { resolve as resolvePath, dirname } from 'path';
import fs from 'fs-extra';
import { BackstagePackageJson } from '@backstage/cli-node';
const LOADED_PACKAGE_ROLES = ['backend-plugin', 'backend-module'];
const LOADED_PACKAGE_ROLES = ['backend-plugin', 'backend-plugin-module'];
/** @internal */
async function findClosestPackageDir(