chore(scaffolder): Remove the old storage API's as the catalog api is now in charge of thestorage of templkates

This commit is contained in:
blam
2020-06-17 10:49:26 +02:00
parent 23d43f572c
commit bbef36c91a
9 changed files with 28 additions and 292 deletions
+1 -3
View File
@@ -17,13 +17,11 @@
import {
CookieCutter,
createRouter,
DiskStorage,
} from '@backstage/plugin-scaffolder-backend';
import type { PluginEnvironment } from '../types';
export default async function createPlugin({ logger }: PluginEnvironment) {
const storage = new DiskStorage({ logger });
const templater = new CookieCutter();
return await createRouter({ storage, templater, logger });
return await createRouter({ storage: null, templater, logger });
}