@backstage/plugin-catalog-backend-module-github 0.0.0-nightly-20260227031022 → 0.0.0-nightly-20260304030634
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 +53 -5
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-backend-module-github
|
|
2
2
|
|
|
3
|
-
## 0.0.0-nightly-
|
|
3
|
+
## 0.0.0-nightly-20260304030634
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -39,15 +39,63 @@
|
|
|
39
39
|
|
|
40
40
|
- 6738cf0: build(deps): bump `minimatch` from 9.0.5 to 10.2.1
|
|
41
41
|
- Updated dependencies
|
|
42
|
-
- @backstage/integration@0.0.0-nightly-
|
|
43
|
-
- @backstage/plugin-catalog-node@0.0.0-nightly-
|
|
44
|
-
- @backstage/backend-plugin-api@0.0.0-nightly-
|
|
42
|
+
- @backstage/integration@0.0.0-nightly-20260304030634
|
|
43
|
+
- @backstage/plugin-catalog-node@0.0.0-nightly-20260304030634
|
|
44
|
+
- @backstage/backend-plugin-api@0.0.0-nightly-20260304030634
|
|
45
45
|
- @backstage/catalog-model@1.7.6
|
|
46
46
|
- @backstage/config@1.3.6
|
|
47
47
|
- @backstage/errors@1.2.7
|
|
48
48
|
- @backstage/types@1.2.2
|
|
49
49
|
- @backstage/plugin-catalog-common@1.1.8
|
|
50
|
-
- @backstage/plugin-events-node@0.0.0-nightly-
|
|
50
|
+
- @backstage/plugin-events-node@0.0.0-nightly-20260304030634
|
|
51
|
+
|
|
52
|
+
## 0.13.0-next.1
|
|
53
|
+
|
|
54
|
+
### Minor Changes
|
|
55
|
+
|
|
56
|
+
- b11c2cd: The default user transformer now prefers organization verified domain emails over the user's public GitHub email when populating the user entity profile. It also strips plus-addressed routing tags that GitHub adds to these emails.
|
|
57
|
+
|
|
58
|
+
If you want to retain the old behavior, you can do so with a custom user transformer using the `githubOrgEntityProviderTransformsExtensionPoint`:
|
|
59
|
+
|
|
60
|
+
```ts
|
|
61
|
+
import { createBackendModule } from '@backstage/backend-plugin-api';
|
|
62
|
+
import { githubOrgEntityProviderTransformsExtensionPoint } from '@backstage/plugin-catalog-backend-module-github-org';
|
|
63
|
+
import { defaultUserTransformer } from '@backstage/plugin-catalog-backend-module-github';
|
|
64
|
+
|
|
65
|
+
export default createBackendModule({
|
|
66
|
+
pluginId: 'catalog',
|
|
67
|
+
moduleId: 'github-org-custom-transforms',
|
|
68
|
+
register(env) {
|
|
69
|
+
env.registerInit({
|
|
70
|
+
deps: {
|
|
71
|
+
transforms: githubOrgEntityProviderTransformsExtensionPoint,
|
|
72
|
+
},
|
|
73
|
+
async init({ transforms }) {
|
|
74
|
+
transforms.setUserTransformer(async (item, ctx) => {
|
|
75
|
+
const entity = await defaultUserTransformer(item, ctx);
|
|
76
|
+
if (entity && item.email) {
|
|
77
|
+
entity.spec.profile!.email = item.email;
|
|
78
|
+
}
|
|
79
|
+
return entity;
|
|
80
|
+
});
|
|
81
|
+
},
|
|
82
|
+
});
|
|
83
|
+
},
|
|
84
|
+
});
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
### Patch Changes
|
|
88
|
+
|
|
89
|
+
- Updated dependencies
|
|
90
|
+
- @backstage/integration@2.0.0-next.1
|
|
91
|
+
- @backstage/plugin-catalog-node@2.1.0-next.1
|
|
92
|
+
- @backstage/backend-plugin-api@1.7.1-next.0
|
|
93
|
+
- @backstage/catalog-model@1.7.6
|
|
94
|
+
- @backstage/config@1.3.6
|
|
95
|
+
- @backstage/errors@1.2.7
|
|
96
|
+
- @backstage/types@1.2.2
|
|
97
|
+
- @backstage/plugin-catalog-common@1.1.8
|
|
98
|
+
- @backstage/plugin-events-node@0.4.20-next.0
|
|
51
99
|
|
|
52
100
|
## 0.12.3-next.0
|
|
53
101
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-catalog-backend-module-github",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20260304030634",
|
|
4
4
|
"description": "A Backstage catalog backend module that helps integrate towards GitHub",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "backend-plugin-module",
|
|
@@ -65,14 +65,14 @@
|
|
|
65
65
|
"test": "backstage-cli package test"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"@backstage/backend-plugin-api": "0.0.0-nightly-
|
|
68
|
+
"@backstage/backend-plugin-api": "0.0.0-nightly-20260304030634",
|
|
69
69
|
"@backstage/catalog-model": "1.7.6",
|
|
70
70
|
"@backstage/config": "1.3.6",
|
|
71
71
|
"@backstage/errors": "1.2.7",
|
|
72
|
-
"@backstage/integration": "0.0.0-nightly-
|
|
72
|
+
"@backstage/integration": "0.0.0-nightly-20260304030634",
|
|
73
73
|
"@backstage/plugin-catalog-common": "1.1.8",
|
|
74
|
-
"@backstage/plugin-catalog-node": "0.0.0-nightly-
|
|
75
|
-
"@backstage/plugin-events-node": "0.0.0-nightly-
|
|
74
|
+
"@backstage/plugin-catalog-node": "0.0.0-nightly-20260304030634",
|
|
75
|
+
"@backstage/plugin-events-node": "0.0.0-nightly-20260304030634",
|
|
76
76
|
"@backstage/types": "1.2.2",
|
|
77
77
|
"@octokit/auth-callback": "^5.0.0",
|
|
78
78
|
"@octokit/core": "^5.2.0",
|
|
@@ -87,13 +87,13 @@
|
|
|
87
87
|
"uuid": "^11.0.0"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|
|
90
|
-
"@backstage/backend-defaults": "0.0.0-nightly-
|
|
91
|
-
"@backstage/backend-test-utils": "0.0.0-nightly-
|
|
92
|
-
"@backstage/cli": "0.0.0-nightly-
|
|
93
|
-
"@backstage/plugin-catalog-backend": "0.0.0-nightly-
|
|
94
|
-
"@backstage/plugin-events-backend": "0.0.0-nightly-
|
|
95
|
-
"@backstage/plugin-events-backend-module-github": "0.0.0-nightly-
|
|
96
|
-
"@backstage/plugin-events-backend-module-google-pubsub": "0.0.0-nightly-
|
|
90
|
+
"@backstage/backend-defaults": "0.0.0-nightly-20260304030634",
|
|
91
|
+
"@backstage/backend-test-utils": "0.0.0-nightly-20260304030634",
|
|
92
|
+
"@backstage/cli": "0.0.0-nightly-20260304030634",
|
|
93
|
+
"@backstage/plugin-catalog-backend": "0.0.0-nightly-20260304030634",
|
|
94
|
+
"@backstage/plugin-events-backend": "0.0.0-nightly-20260304030634",
|
|
95
|
+
"@backstage/plugin-events-backend-module-github": "0.0.0-nightly-20260304030634",
|
|
96
|
+
"@backstage/plugin-events-backend-module-google-pubsub": "0.0.0-nightly-20260304030634",
|
|
97
97
|
"@types/lodash": "^4.14.151",
|
|
98
98
|
"msw": "^2.0.0",
|
|
99
99
|
"type-fest": "^4.41.0"
|