message: fix: use entityClient in create-app package
diff: @@ -11,7 +11,9 @@ import {
  CreateReactAppTemplater,
  Templaters,
  RepoVisibilityOptions,
  + CatalogEntityClient,
  } from '@backstage/plugin-scaffolder-backend';
  +import { SingleHostDiscovery } from '@backstage/backend-common';
  import { Octokit } from '@octokit/rest';
  import { Gitlab } from '@gitbeaker/node';
  import type { PluginEnvironment } from '../types';
  @@ -97,6 +99,10 @@ export default async function createPlugin({
  }
  const dockerClient = new Docker();
  +
  + const discovery = SingleHostDiscovery.fromConfig(config);
  + const entityClient = new CatalogEntityClient({ discovery });
  +
  return await createRouter({
  preparers,
  templaters,
  @@ -104,5 +110,6 @@ export default async function createPlugin({
  logger,
  config,
  dockerClient,
  + entityClient,
  });
  }
  