Parfuemerie-Douglas / scaffolder-backend-module-azure-repositories

A collection of Backstage scaffolder backend modules for Azure repositories.
https://www.npmjs.com/package/@parfuemerie-douglas/scaffolder-backend-module-azure-repositories
Apache License 2.0
9 stars 21 forks source link

Type 'ScmIntegrations' is not assignable to type 'ScmIntegrationRegistry'. #30

Open brataaaan opened 2 months ago

brataaaan commented 2 months ago

There is a type error because of type incompatibility between the current version of @backstage/integration and the one you are using.

When initializing the scaffolder router in backend it can be patched with:

cloneAzureRepoAction({ integrations: integrations as any }),
pushAzureRepoAction({
  integrations: integrations as any,
  config: env.config,
}),
pullRequestAzureRepoAction({ integrations: integrations as any }),

To insure type-safety and future compatibility the packages should be updated.