From 446dba2323bcc09522521e655be887ed38d869b4 Mon Sep 17 00:00:00 2001 From: cmoulliard Date: Thu, 15 Feb 2024 16:36:07 +0100 Subject: [PATCH] Only export index.ts and not alpha.ts Signed-off-by: cmoulliard --- .../scaffolder-backend-module-gitea/package.json | 4 ---- .../scaffolder-backend-module-gitea/src/alpha.ts | 16 ---------------- .../scaffolder-backend-module-gitea/src/index.ts | 1 + 3 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 plugins/scaffolder-backend-module-gitea/src/alpha.ts diff --git a/plugins/scaffolder-backend-module-gitea/package.json b/plugins/scaffolder-backend-module-gitea/package.json index 13e57c9337..f2623cc58e 100644 --- a/plugins/scaffolder-backend-module-gitea/package.json +++ b/plugins/scaffolder-backend-module-gitea/package.json @@ -15,14 +15,10 @@ }, "exports": { ".": "./src/index.ts", - "./alpha": "./src/alpha.ts", "./package.json": "./package.json" }, "typesVersions": { "*": { - "alpha": [ - "src/alpha.ts" - ], "package.json": [ "package.json" ] diff --git a/plugins/scaffolder-backend-module-gitea/src/alpha.ts b/plugins/scaffolder-backend-module-gitea/src/alpha.ts deleted file mode 100644 index 7c5ee49afa..0000000000 --- a/plugins/scaffolder-backend-module-gitea/src/alpha.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Copyright 2024 The Backstage Authors - * - * 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. - */ -export { giteaModule as default } from './module'; diff --git a/plugins/scaffolder-backend-module-gitea/src/index.ts b/plugins/scaffolder-backend-module-gitea/src/index.ts index 026da0735a..0b68069178 100644 --- a/plugins/scaffolder-backend-module-gitea/src/index.ts +++ b/plugins/scaffolder-backend-module-gitea/src/index.ts @@ -21,3 +21,4 @@ */ export * from './actions'; +export { giteaModule as default } from './module';