@backstage/plugin-catalog-backend-module-github 0.0.0-nightly-20220316022902 → 0.0.0-nightly-20220317022557

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 (3) hide show
  1. package/CHANGELOG.md +9 -8
  2. package/config.d.ts +49 -0
  3. package/package.json +14 -12
package/CHANGELOG.md CHANGED
@@ -1,18 +1,19 @@
1
1
  # @backstage/plugin-catalog-backend-module-github
2
2
 
3
- ## 0.0.0-nightly-20220316022902
3
+ ## 0.0.0-nightly-20220317022557
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - 132189e466: Updated the code to handle User kind `spec.memberOf` now being optional.
8
+ - e949d68059: Made sure to move the catalog-related github and ldap config into their right places
8
9
  - Updated dependencies
9
- - @backstage/plugin-catalog-backend@0.0.0-nightly-20220316022902
10
- - @backstage/backend-common@0.0.0-nightly-20220316022902
11
- - @backstage/catalog-model@0.0.0-nightly-20220316022902
12
- - @backstage/integration@0.0.0-nightly-20220316022902
13
- - @backstage/config@0.0.0-nightly-20220316022902
14
- - @backstage/errors@0.0.0-nightly-20220316022902
15
- - @backstage/types@0.0.0-nightly-20220316022902
10
+ - @backstage/plugin-catalog-backend@0.0.0-nightly-20220317022557
11
+ - @backstage/backend-common@0.0.0-nightly-20220317022557
12
+ - @backstage/catalog-model@0.0.0-nightly-20220317022557
13
+ - @backstage/integration@0.0.0-nightly-20220317022557
14
+ - @backstage/config@0.0.0-nightly-20220317022557
15
+ - @backstage/errors@0.0.0-nightly-20220317022557
16
+ - @backstage/types@0.0.0-nightly-20220317022557
16
17
 
17
18
  ## 0.1.0
18
19
 
package/config.d.ts ADDED
@@ -0,0 +1,49 @@
1
+ /*
2
+ * Copyright 2020 The Backstage Authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ export interface Config {
18
+ catalog?: {
19
+ processors?: {
20
+ /**
21
+ * GithubMultiOrgReaderProcessor configuration
22
+ */
23
+ githubMultiOrg?: {
24
+ /**
25
+ * The configuration parameters for each GitHub org to process.
26
+ */
27
+ orgs: Array<{
28
+ /**
29
+ * The name of the GitHub org to process.
30
+ */
31
+ name: string;
32
+ /**
33
+ * The namespace of the group created for this org.
34
+ *
35
+ * Defaults to org name if omitted.
36
+ */
37
+ groupNamespace?: string;
38
+
39
+ /**
40
+ * The namespace of the users created from this org.
41
+ *
42
+ * Defaults to empty string if omitted.
43
+ */
44
+ userNamespace?: string;
45
+ }>;
46
+ };
47
+ };
48
+ };
49
+ }
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-20220316022902",
4
+ "version": "0.0.0-nightly-20220317022557",
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-20220316022902",
37
- "@backstage/catalog-model": "^0.0.0-nightly-20220316022902",
38
- "@backstage/config": "^0.0.0-nightly-20220316022902",
39
- "@backstage/errors": "^0.0.0-nightly-20220316022902",
40
- "@backstage/integration": "^0.0.0-nightly-20220316022902",
41
- "@backstage/plugin-catalog-backend": "^0.0.0-nightly-20220316022902",
42
- "@backstage/types": "^0.0.0-nightly-20220316022902",
36
+ "@backstage/backend-common": "^0.0.0-nightly-20220317022557",
37
+ "@backstage/catalog-model": "^0.0.0-nightly-20220317022557",
38
+ "@backstage/config": "^0.0.0-nightly-20220317022557",
39
+ "@backstage/errors": "^0.0.0-nightly-20220317022557",
40
+ "@backstage/integration": "^0.0.0-nightly-20220317022557",
41
+ "@backstage/plugin-catalog-backend": "^0.0.0-nightly-20220317022557",
42
+ "@backstage/types": "^0.0.0-nightly-20220317022557",
43
43
  "@octokit/graphql": "^4.5.8",
44
44
  "lodash": "^4.17.21",
45
45
  "msw": "^0.35.0",
@@ -47,11 +47,13 @@
47
47
  "winston": "^3.2.1"
48
48
  },
49
49
  "devDependencies": {
50
- "@backstage/backend-test-utils": "^0.0.0-nightly-20220316022902",
51
- "@backstage/cli": "^0.0.0-nightly-20220316022902",
50
+ "@backstage/backend-test-utils": "^0.0.0-nightly-20220317022557",
51
+ "@backstage/cli": "^0.0.0-nightly-20220317022557",
52
52
  "@types/lodash": "^4.14.151"
53
53
  },
54
54
  "files": [
55
- "dist"
56
- ]
55
+ "dist",
56
+ "config.d.ts"
57
+ ],
58
+ "configSchema": "config.d.ts"
57
59
  }