@backstage/plugin-events-backend-module-github 0.0.0-nightly-20250424023952 → 0.0.0-nightly-20250426023532
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -3
- package/README.md +5 -16
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
# @backstage/plugin-events-backend-module-github
|
|
2
2
|
|
|
3
|
-
## 0.0.0-nightly-
|
|
3
|
+
## 0.0.0-nightly-20250426023532
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
+
- c7ef81c: Correct README installation instructions.
|
|
7
8
|
- Updated dependencies
|
|
8
|
-
- @backstage/backend-plugin-api@0.0.0-nightly-
|
|
9
|
-
- @backstage/plugin-events-node@0.0.0-nightly-
|
|
9
|
+
- @backstage/backend-plugin-api@0.0.0-nightly-20250426023532
|
|
10
|
+
- @backstage/plugin-events-node@0.0.0-nightly-20250426023532
|
|
10
11
|
- @backstage/config@1.3.2
|
|
11
12
|
|
|
12
13
|
## 0.3.1-next.0
|
package/README.md
CHANGED
|
@@ -27,16 +27,14 @@ Please find all possible webhook event types at the
|
|
|
27
27
|
yarn --cwd packages/backend add @backstage/plugin-events-backend-module-github
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
### Event Router
|
|
31
|
-
|
|
32
30
|
```ts
|
|
33
31
|
// packages/backend/src/index.ts
|
|
34
|
-
import
|
|
35
|
-
// ...
|
|
36
|
-
backend.add(eventsModuleGithubEventRouter);
|
|
32
|
+
backend.add(import('@backstage/plugin-events-backend-module-github'));
|
|
37
33
|
```
|
|
38
34
|
|
|
39
|
-
|
|
35
|
+
### Legacy Backend System
|
|
36
|
+
|
|
37
|
+
#### Event Router
|
|
40
38
|
|
|
41
39
|
```ts
|
|
42
40
|
// packages/backend/src/plugins/events.ts
|
|
@@ -44,16 +42,7 @@ const eventRouter = new GithubEventRouter({ events: env.events });
|
|
|
44
42
|
await eventRouter.subscribe();
|
|
45
43
|
```
|
|
46
44
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
```ts
|
|
50
|
-
// packages/backend/src/index.ts
|
|
51
|
-
import { eventsModuleGithubWebhook } from '@backstage/plugin-events-backend-module-github/alpha';
|
|
52
|
-
// ...
|
|
53
|
-
backend.add(eventsModuleGithubWebhook);
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
#### Legacy Backend System
|
|
45
|
+
#### Signature Validator
|
|
57
46
|
|
|
58
47
|
Add the signature validator for the topic `github`:
|
|
59
48
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-events-backend-module-github",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20250426023532",
|
|
4
4
|
"backstage": {
|
|
5
5
|
"role": "backend-plugin-module",
|
|
6
6
|
"pluginId": "events",
|
|
@@ -51,15 +51,15 @@
|
|
|
51
51
|
"test": "backstage-cli package test"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@backstage/backend-plugin-api": "0.0.0-nightly-
|
|
54
|
+
"@backstage/backend-plugin-api": "0.0.0-nightly-20250426023532",
|
|
55
55
|
"@backstage/config": "1.3.2",
|
|
56
|
-
"@backstage/plugin-events-node": "0.0.0-nightly-
|
|
56
|
+
"@backstage/plugin-events-node": "0.0.0-nightly-20250426023532",
|
|
57
57
|
"@octokit/webhooks-methods": "^3.0.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@backstage/backend-test-utils": "0.0.0-nightly-
|
|
61
|
-
"@backstage/cli": "0.0.0-nightly-
|
|
62
|
-
"@backstage/plugin-events-backend-test-utils": "0.0.0-nightly-
|
|
60
|
+
"@backstage/backend-test-utils": "0.0.0-nightly-20250426023532",
|
|
61
|
+
"@backstage/cli": "0.0.0-nightly-20250426023532",
|
|
62
|
+
"@backstage/plugin-events-backend-test-utils": "0.0.0-nightly-20250426023532"
|
|
63
63
|
},
|
|
64
64
|
"configSchema": "config.d.ts"
|
|
65
65
|
}
|