@backstage/plugin-catalog-backend-module-github 0.1.3-next.1 → 0.1.3
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 +33 -0
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-backend-module-github
|
|
2
2
|
|
|
3
|
+
## 0.1.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- a7de43f648: `GitHubOrgEntityProvider.fromConfig` now supports a `schedule` option like other
|
|
8
|
+
entity providers, that makes it more convenient to leverage using the common
|
|
9
|
+
task scheduler.
|
|
10
|
+
|
|
11
|
+
If you want to use this in your own project, it is used something like the following:
|
|
12
|
+
|
|
13
|
+
```ts
|
|
14
|
+
// In packages/backend/src/plugins/catalog.ts
|
|
15
|
+
builder.addEntityProvider(
|
|
16
|
+
GitHubOrgEntityProvider.fromConfig(env.config, {
|
|
17
|
+
id: 'production',
|
|
18
|
+
orgUrl: 'https://github.com/backstage',
|
|
19
|
+
schedule: env.scheduler.createScheduledTaskRunner({
|
|
20
|
+
frequency: { cron: '*/30 * * * *' },
|
|
21
|
+
timeout: { minutes: 10 },
|
|
22
|
+
}),
|
|
23
|
+
logger: env.logger,
|
|
24
|
+
}),
|
|
25
|
+
);
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
- Updated dependencies
|
|
29
|
+
- @backstage/backend-common@0.13.3
|
|
30
|
+
- @backstage/plugin-catalog-backend@1.1.2
|
|
31
|
+
- @backstage/backend-tasks@0.3.1
|
|
32
|
+
- @backstage/integration@1.2.0
|
|
33
|
+
- @backstage/config@1.0.1
|
|
34
|
+
- @backstage/catalog-model@1.0.2
|
|
35
|
+
|
|
3
36
|
## 0.1.3-next.1
|
|
4
37
|
|
|
5
38
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-catalog-backend-module-github",
|
|
3
3
|
"description": "A Backstage catalog backend module that helps integrate towards GitHub",
|
|
4
|
-
"version": "0.1.3
|
|
4
|
+
"version": "0.1.3",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"start": "backstage-cli package start"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@backstage/backend-common": "^0.13.3
|
|
37
|
-
"@backstage/backend-tasks": "^0.3.1
|
|
38
|
-
"@backstage/catalog-model": "^1.0.2
|
|
39
|
-
"@backstage/config": "^1.0.1
|
|
36
|
+
"@backstage/backend-common": "^0.13.3",
|
|
37
|
+
"@backstage/backend-tasks": "^0.3.1",
|
|
38
|
+
"@backstage/catalog-model": "^1.0.2",
|
|
39
|
+
"@backstage/config": "^1.0.1",
|
|
40
40
|
"@backstage/errors": "^1.0.0",
|
|
41
|
-
"@backstage/integration": "^1.2.0
|
|
42
|
-
"@backstage/plugin-catalog-backend": "^1.1.2
|
|
41
|
+
"@backstage/integration": "^1.2.0",
|
|
42
|
+
"@backstage/plugin-catalog-backend": "^1.1.2",
|
|
43
43
|
"@backstage/types": "^1.0.0",
|
|
44
44
|
"@octokit/graphql": "^4.5.8",
|
|
45
45
|
"lodash": "^4.17.21",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"winston": "^3.2.1"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@backstage/backend-test-utils": "^0.1.24
|
|
53
|
-
"@backstage/cli": "^0.17.1
|
|
52
|
+
"@backstage/backend-test-utils": "^0.1.24",
|
|
53
|
+
"@backstage/cli": "^0.17.1",
|
|
54
54
|
"@types/lodash": "^4.14.151"
|
|
55
55
|
},
|
|
56
56
|
"files": [
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"config.d.ts"
|
|
59
59
|
],
|
|
60
60
|
"configSchema": "config.d.ts",
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "96323f280ba32ee526c5b151cda42260aee927c9"
|
|
62
62
|
}
|