chore: move modules from alpha to index

Signed-off-by: djamaile <rdjamaile@gmail.com>
This commit is contained in:
djamaile
2025-04-15 09:37:16 +02:00
parent 317ceb71c0
commit ab2ace84ad
8 changed files with 25 additions and 56 deletions
+1 -1
View File
@@ -3,4 +3,4 @@
'@backstage/plugin-events-backend-module-gitlab': minor
---
**BREAKING ALPHA**: Modules from `events-backend-module-github` and `events-backend-module-gitlab` are now exported as `default` instead of being a named export.
**BREAKING ALPHA**: Modules from `events-backend-module-github` and `events-backend-module-gitlab` are now exported as `default` instead of being a named export. In addition, they have been moved from `aplha` to `public`.
@@ -1,26 +0,0 @@
/*
* Copyright 2023 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.
*/
import { createBackendFeatureLoader } from '@backstage/backend-plugin-api';
export default createBackendFeatureLoader({
loader() {
return [
import('./service/eventsModuleGithubEventRouter'),
import('./service/eventsModuleGithubWebhook'),
];
},
});
@@ -20,6 +20,16 @@
*
* @packageDocumentation
*/
import { createBackendFeatureLoader } from '@backstage/backend-plugin-api';
export default createBackendFeatureLoader({
loader() {
return [
import('./service/eventsModuleGithubEventRouter'),
import('./service/eventsModuleGithubWebhook'),
];
},
});
export { createGithubSignatureValidator } from './http/createGithubSignatureValidator';
export { GithubEventRouter } from './router/GithubEventRouter';
@@ -23,7 +23,7 @@ import { GithubEventRouter } from '../router/GithubEventRouter';
*
* Registers the `GithubEventRouter`.
*
* @alpha
* @public
*/
export default createBackendModule({
pluginId: 'events',
@@ -1,26 +0,0 @@
/*
* Copyright 2023 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.
*/
import { createBackendFeatureLoader } from '@backstage/backend-plugin-api';
export default createBackendFeatureLoader({
loader() {
return [
import('./service/eventsModuleGitlabEventRouter'),
import('./service/eventsModuleGitlabWebhook'),
];
},
});
@@ -21,5 +21,16 @@
* @packageDocumentation
*/
import { createBackendFeatureLoader } from '@backstage/backend-plugin-api';
export default createBackendFeatureLoader({
loader() {
return [
import('./service/eventsModuleGitlabEventRouter'),
import('./service/eventsModuleGitlabWebhook'),
];
},
});
export { createGitlabTokenValidator } from './http/createGitlabTokenValidator';
export { GitlabEventRouter } from './router/GitlabEventRouter';
@@ -23,7 +23,7 @@ import { GitlabEventRouter } from '../router/GitlabEventRouter';
*
* Registers the `GitlabEventRouter`.
*
* @alpha
* @public
*/
export default createBackendModule({
pluginId: 'events',
@@ -28,7 +28,7 @@ import { createGitlabTokenValidator } from '../http/createGitlabTokenValidator';
*
* Registers the `GitlabEventRouter`.
*
* @alpha
* @public
*/
export default createBackendModule({
pluginId: 'events',