diff --git a/.changeset/unlucky-maps-shake.md b/.changeset/unlucky-maps-shake.md new file mode 100644 index 000000000..02eb73471 --- /dev/null +++ b/.changeset/unlucky-maps-shake.md @@ -0,0 +1,5 @@ +--- +'@roadiehq/plugin-wiz-backend': patch +--- + +Remove uneeded dependency from backend plugin diff --git a/plugins/backend/wiz-backend/dev/index.ts b/plugins/backend/wiz-backend/dev/index.ts deleted file mode 100644 index 0c1531f8f..000000000 --- a/plugins/backend/wiz-backend/dev/index.ts +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright 2024 Larder Software Limited - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { createBackend } from '@backstage/backend-defaults'; - -const backend = createBackend(); - -backend.add(import('@backstage/plugin-auth-backend')); -backend.add(import('../src')); - -backend.start(); diff --git a/plugins/backend/wiz-backend/package.json b/plugins/backend/wiz-backend/package.json index d70778823..b53a34ed9 100644 --- a/plugins/backend/wiz-backend/package.json +++ b/plugins/backend/wiz-backend/package.json @@ -4,7 +4,6 @@ "main": "src/index.ts", "types": "src/index.ts", "license": "Apache-2.0", - "private": true, "publishConfig": { "access": "public", "main": "dist/index.cjs.js", diff --git a/plugins/backend/wiz-backend/src/plugin.ts b/plugins/backend/wiz-backend/src/plugin.ts index 5da004350..a801bf6b6 100644 --- a/plugins/backend/wiz-backend/src/plugin.ts +++ b/plugins/backend/wiz-backend/src/plugin.ts @@ -25,7 +25,7 @@ import { createRouter } from './service/router'; * @public */ export const wizBackendPlugin = createBackendPlugin({ - pluginId: 'wiz-backend', + pluginId: 'plugin-wiz-backend', register(env) { env.registerInit({ deps: {