@backstage/plugin-catalog-backend-module-gitlab 0.0.0-nightly-20230728021812 → 0.0.0-nightly-20230730021726

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 CHANGED
@@ -1,20 +1,21 @@
1
1
  # @backstage/plugin-catalog-backend-module-gitlab
2
2
 
3
- ## 0.0.0-nightly-20230728021812
3
+ ## 0.0.0-nightly-20230730021726
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - e6c721439f37: Added option to skip forked repos in GitlabDiscoveryEntityProvider
8
+ - 4b82382ed8c2: Fixed invalid configuration schema. The configuration schema may be more strict as a result.
8
9
  - Updated dependencies
9
- - @backstage/backend-common@0.0.0-nightly-20230728021812
10
- - @backstage/backend-plugin-api@0.0.0-nightly-20230728021812
11
- - @backstage/backend-tasks@0.0.0-nightly-20230728021812
10
+ - @backstage/plugin-catalog-node@0.0.0-nightly-20230730021726
11
+ - @backstage/backend-common@0.0.0-nightly-20230730021726
12
+ - @backstage/integration@1.5.1
13
+ - @backstage/backend-plugin-api@0.0.0-nightly-20230730021726
14
+ - @backstage/backend-tasks@0.0.0-nightly-20230730021726
12
15
  - @backstage/catalog-model@1.4.1
13
16
  - @backstage/config@1.0.8
14
17
  - @backstage/errors@1.2.1
15
- - @backstage/integration@1.5.1
16
18
  - @backstage/types@1.1.0
17
- - @backstage/plugin-catalog-node@0.0.0-nightly-20230728021812
18
19
 
19
20
  ## 0.2.4-next.0
20
21
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend-module-gitlab",
3
- "version": "0.0.0-nightly-20230728021812",
3
+ "version": "0.0.0-nightly-20230730021726",
4
4
  "main": "../dist/alpha.cjs.js",
5
5
  "types": "../dist/alpha.d.ts"
6
6
  }
package/config.d.ts CHANGED
@@ -22,9 +22,8 @@ export interface Config {
22
22
  /**
23
23
  * GitlabDiscoveryEntityProvider configuration
24
24
  */
25
- gitlab?: Record<
26
- string,
27
- {
25
+ gitlab?: {
26
+ [name: string]: {
28
27
  /**
29
28
  * (Required) Gitlab's host name.
30
29
  */
@@ -51,21 +50,21 @@ export interface Config {
51
50
  /**
52
51
  * (Optional) RegExp for the Project Name Pattern
53
52
  */
54
- projectPattern?: RegExp;
53
+ projectPattern?: string;
55
54
  /**
56
55
  * (Optional) RegExp for the User Name Pattern
57
56
  */
58
- userPattern?: RegExp;
57
+ userPattern?: string;
59
58
  /**
60
59
  * (Optional) RegExp for the Group Name Pattern
61
60
  */
62
- groupPattern?: RegExp;
61
+ groupPattern?: string;
63
62
  /**
64
63
  * (Optional) Skip forked repository
65
64
  */
66
65
  skipForkedRepos?: boolean;
67
- }
68
- >;
66
+ };
67
+ };
69
68
  };
70
69
  };
71
70
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend-module-gitlab",
3
3
  "description": "A Backstage catalog backend module that helps integrate towards GitLab",
4
- "version": "0.0.0-nightly-20230728021812",
4
+ "version": "0.0.0-nightly-20230730021726",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -43,14 +43,14 @@
43
43
  "clean": "backstage-cli package clean"
44
44
  },
45
45
  "dependencies": {
46
- "@backstage/backend-common": "^0.0.0-nightly-20230728021812",
47
- "@backstage/backend-plugin-api": "^0.0.0-nightly-20230728021812",
48
- "@backstage/backend-tasks": "^0.0.0-nightly-20230728021812",
46
+ "@backstage/backend-common": "^0.0.0-nightly-20230730021726",
47
+ "@backstage/backend-plugin-api": "^0.0.0-nightly-20230730021726",
48
+ "@backstage/backend-tasks": "^0.0.0-nightly-20230730021726",
49
49
  "@backstage/catalog-model": "^1.4.1",
50
50
  "@backstage/config": "^1.0.8",
51
51
  "@backstage/errors": "^1.2.1",
52
52
  "@backstage/integration": "^1.5.1",
53
- "@backstage/plugin-catalog-node": "^0.0.0-nightly-20230728021812",
53
+ "@backstage/plugin-catalog-node": "^0.0.0-nightly-20230730021726",
54
54
  "@backstage/types": "^1.1.0",
55
55
  "lodash": "^4.17.21",
56
56
  "node-fetch": "^2.6.7",
@@ -58,8 +58,8 @@
58
58
  "winston": "^3.2.1"
59
59
  },
60
60
  "devDependencies": {
61
- "@backstage/backend-test-utils": "^0.0.0-nightly-20230728021812",
62
- "@backstage/cli": "^0.0.0-nightly-20230728021812",
61
+ "@backstage/backend-test-utils": "^0.0.0-nightly-20230730021726",
62
+ "@backstage/cli": "^0.0.0-nightly-20230730021726",
63
63
  "@types/lodash": "^4.14.151",
64
64
  "@types/uuid": "^8.0.0",
65
65
  "luxon": "^3.0.0",