fix(plugins/scaffolder-backend): expose fs:readdir correctly

Signed-off-by: secustor <sebastian@poxhofer.at>
This commit is contained in:
secustor
2024-11-20 17:13:35 +01:00
parent 04362c14fe
commit 8f59dc52d9
3 changed files with 8 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder-backend': patch
---
Add fs:readdir to scaffolder startup
+1 -1
View File
@@ -354,7 +354,7 @@ export const createPublishGitlabMergeRequestAction: (options: {
sourcePath?: string | undefined;
targetPath?: string | undefined;
token?: string | undefined;
commitAction?: 'auto' | 'update' | 'delete' | 'create' | 'skip' | undefined;
commitAction?: 'auto' | 'update' | 'skip' | 'create' | 'delete' | undefined;
projectid?: string | undefined;
removeSourceBranch?: boolean | undefined;
assignee?: string | undefined;
@@ -47,6 +47,7 @@ import {
createFetchTemplateFileAction,
createFilesystemDeleteAction,
createFilesystemRenameAction,
createFilesystemReadDirAction,
createWaitAction,
} from './scaffolder';
import { createRouter } from './service/router';
@@ -164,6 +165,7 @@ export const scaffolderPlugin = createBackendPlugin({
createCatalogWriteAction(),
createFilesystemDeleteAction(),
createFilesystemRenameAction(),
createFilesystemReadDirAction(),
];
const actionIds = actions.map(action => action.id).join(', ');