Skip to content

Commit

Permalink
release-2021-11-18 packages/core-app-api/src/app/createApp.tsx:23,32
Browse files Browse the repository at this point in the history
Signed-off-by: Colton Padden <colton.padden@fastmail.com>
  • Loading branch information
cmpadden committed Dec 17, 2021
1 parent 5d6684f commit b3605da
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 45 deletions.
5 changes: 5 additions & 0 deletions .changeset/new-waves-rule.md
@@ -0,0 +1,5 @@
---
'@backstage/core-app-api': patch
---

Remove deprecated `@backstage/core-app-api@createApp` which has been replaced by `@backstage/app-defaults#createApp`
12 changes: 6 additions & 6 deletions packages/core-app-api/api-report.md
Expand Up @@ -26,7 +26,6 @@ import { bitbucketAuthApiRef } from '@backstage/core-plugin-api';
import { ComponentType } from 'react';
import { Config } from '@backstage/config';
import { ConfigReader } from '@backstage/config';
import { createApp as createApp_2 } from '@backstage/app-defaults';
import { DiscoveryApi } from '@backstage/core-plugin-api';
import { ErrorApi } from '@backstage/core-plugin-api';
import { ErrorApiError } from '@backstage/core-plugin-api';
Expand Down Expand Up @@ -201,6 +200,8 @@ export type AppIcons = {
warning: IconComponent;
};

// Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@backstage/core-app-api" does not have an export "createApp"
//
// @public
export type AppOptions = {
apis?: Iterable<AnyApiFactory>;
Expand All @@ -222,6 +223,8 @@ export type AppOptions = {
bindRoutes?(context: { bind: AppRouteBinder }): void;
};

// Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@backstage/core-app-api" does not have an export "createApp"
//
// @public
export type AppRouteBinder = <
ExternalRoutes extends {
Expand Down Expand Up @@ -269,6 +272,8 @@ export type AuthApiCreateOptions = {
provider?: AuthProviderInfo;
};

// Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@backstage/core-app-api" does not have an export "createApp"
//
// @public
export type BackstageApp = {
getPlugins(): BackstagePlugin<any, any>[];
Expand Down Expand Up @@ -315,11 +320,6 @@ export type BootErrorPageProps = {

export { ConfigReader };

// @public @deprecated
export function createApp(
options?: Parameters<typeof createApp_2>[0],
): BackstageApp & AppContext;

// @public
export function createFetchApi(options: {
baseImplementation?: typeof fetch | undefined;
Expand Down
38 changes: 0 additions & 38 deletions packages/core-app-api/src/app/createApp.tsx

This file was deleted.

1 change: 0 additions & 1 deletion packages/core-app-api/src/app/index.ts
Expand Up @@ -14,7 +14,6 @@
* limitations under the License.
*/

export { createApp } from './createApp';
export { createSpecializedApp } from './createSpecializedApp';
export { defaultConfigLoader } from './defaultConfigLoader';
export * from './types';

0 comments on commit b3605da

Please sign in to comment.