@backstage/plugin-catalog-backend-module-github 0.0.0-nightly-20220510022953 → 0.0.0-nightly-20220513024945

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +40 -6
  2. package/package.json +9 -9
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @backstage/plugin-catalog-backend-module-github
2
2
 
3
- ## 0.0.0-nightly-20220510022953
3
+ ## 0.0.0-nightly-20220513024945
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -26,11 +26,45 @@
26
26
  ```
27
27
 
28
28
  - Updated dependencies
29
- - @backstage/backend-common@0.0.0-nightly-20220510022953
30
- - @backstage/plugin-catalog-backend@0.0.0-nightly-20220510022953
31
- - @backstage/backend-tasks@0.0.0-nightly-20220510022953
32
- - @backstage/integration@0.0.0-nightly-20220510022953
33
- - @backstage/config@0.0.0-nightly-20220510022953
29
+ - @backstage/backend-common@0.0.0-nightly-20220513024945
30
+ - @backstage/plugin-catalog-backend@0.0.0-nightly-20220513024945
31
+ - @backstage/backend-tasks@0.0.0-nightly-20220513024945
32
+ - @backstage/integration@0.0.0-nightly-20220513024945
33
+ - @backstage/config@0.0.0-nightly-20220513024945
34
+ - @backstage/catalog-model@0.0.0-nightly-20220513024945
35
+
36
+ ## 0.1.3-next.1
37
+
38
+ ### Patch Changes
39
+
40
+ - a7de43f648: `GitHubOrgEntityProvider.fromConfig` now supports a `schedule` option like other
41
+ entity providers, that makes it more convenient to leverage using the common
42
+ task scheduler.
43
+
44
+ If you want to use this in your own project, it is used something like the following:
45
+
46
+ ```ts
47
+ // In packages/backend/src/plugins/catalog.ts
48
+ builder.addEntityProvider(
49
+ GitHubOrgEntityProvider.fromConfig(env.config, {
50
+ id: 'production',
51
+ orgUrl: 'https://github.com/backstage',
52
+ schedule: env.scheduler.createScheduledTaskRunner({
53
+ frequency: { cron: '*/30 * * * *' },
54
+ timeout: { minutes: 10 },
55
+ }),
56
+ logger: env.logger,
57
+ }),
58
+ );
59
+ ```
60
+
61
+ - Updated dependencies
62
+ - @backstage/backend-common@0.13.3-next.2
63
+ - @backstage/plugin-catalog-backend@1.1.2-next.2
64
+ - @backstage/backend-tasks@0.3.1-next.1
65
+ - @backstage/config@1.0.1-next.0
66
+ - @backstage/catalog-model@1.0.2-next.0
67
+ - @backstage/integration@1.2.0-next.1
34
68
 
35
69
  ## 0.1.3-next.0
36
70
 
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.0.0-nightly-20220510022953",
4
+ "version": "0.0.0-nightly-20220513024945",
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.0.0-nightly-20220510022953",
37
- "@backstage/backend-tasks": "^0.0.0-nightly-20220510022953",
38
- "@backstage/catalog-model": "^1.0.1",
39
- "@backstage/config": "^0.0.0-nightly-20220510022953",
36
+ "@backstage/backend-common": "^0.0.0-nightly-20220513024945",
37
+ "@backstage/backend-tasks": "^0.0.0-nightly-20220513024945",
38
+ "@backstage/catalog-model": "^0.0.0-nightly-20220513024945",
39
+ "@backstage/config": "^0.0.0-nightly-20220513024945",
40
40
  "@backstage/errors": "^1.0.0",
41
- "@backstage/integration": "^0.0.0-nightly-20220510022953",
42
- "@backstage/plugin-catalog-backend": "^0.0.0-nightly-20220510022953",
41
+ "@backstage/integration": "^0.0.0-nightly-20220513024945",
42
+ "@backstage/plugin-catalog-backend": "^0.0.0-nightly-20220513024945",
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.0.0-nightly-20220510022953",
53
- "@backstage/cli": "^0.0.0-nightly-20220510022953",
52
+ "@backstage/backend-test-utils": "^0.0.0-nightly-20220513024945",
53
+ "@backstage/cli": "^0.0.0-nightly-20220513024945",
54
54
  "@types/lodash": "^4.14.151"
55
55
  },
56
56
  "files": [