Files
backstage/.changeset/pink-ads-shave.md
T
Johan Haals fe2823307f chore: fix typos
Co-authored-by: blam<ben@blam.sh>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-03-02 10:22:04 +01:00

836 B

@backstage/plugin-scaffolder, @backstage/plugin-scaffolder-backend
@backstage/plugin-scaffolder @backstage/plugin-scaffolder-backend
minor minor

The scaffolder has been updated to support the new v1beta2 template schema which allows for custom template actions!

See documentation for more information how to create and register new template actions.

Breaking changes

The backend scaffolder plugin now needs a UrlReader which can be pulled from the PluginEnvironment.

The following change is required in backend/src/plugins/scaffolder.ts

 export default async function createPlugin({
   logger,
   config,
   database,
+  reader,
 }: PluginEnvironment): Promise<Router> {

  // omitted code

  return await createRouter({
    preparers,
    templaters,
    publishers,
    logger,
    config,
    dockerClient,
    database,
    catalogClient,
+   reader,
  });