@secustor/backstage-plugin-renovate-backend 0.9.3 → 0.9.5
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 +22 -0
- package/config.d.ts +61 -0
- package/package.json +15 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @secustor/backstage-plugin-renovate-backend
|
|
2
2
|
|
|
3
|
+
## 0.9.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#336](https://github.com/secustor/backstage-plugins/pull/336) [`0393e94`](https://github.com/secustor/backstage-plugins/commit/0393e94bf3e322306217e2b157cc5893bd7bc06f) Thanks [@secustor](https://github.com/secustor)! - Add config schemas
|
|
8
|
+
|
|
9
|
+
- [#333](https://github.com/secustor/backstage-plugins/pull/333) [`28e1ff6`](https://github.com/secustor/backstage-plugins/commit/28e1ff60fa1630f9be80add8951566bc2a2ca4f8) Thanks [@secustor](https://github.com/secustor)! - Upgrade Backstage to 1.30.4
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`48ca691`](https://github.com/secustor/backstage-plugins/commit/48ca691ab1b66c7622d1b5ff67ea73922f9cf563), [`28e1ff6`](https://github.com/secustor/backstage-plugins/commit/28e1ff60fa1630f9be80add8951566bc2a2ca4f8)]:
|
|
12
|
+
- @secustor/backstage-plugin-renovate-common@0.5.5
|
|
13
|
+
- @secustor/backstage-plugin-renovate-node@0.3.5
|
|
14
|
+
|
|
15
|
+
## 0.9.4
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [#279](https://github.com/secustor/backstage-plugins/pull/279) [`e9cee4f`](https://github.com/secustor/backstage-plugins/commit/e9cee4f6af7e472bc864ec374b8df0e48ca68a5f) Thanks [@secustor](https://github.com/secustor)! - Update to release Backstage 1.29.1
|
|
20
|
+
|
|
21
|
+
- Updated dependencies [[`e9cee4f`](https://github.com/secustor/backstage-plugins/commit/e9cee4f6af7e472bc864ec374b8df0e48ca68a5f)]:
|
|
22
|
+
- @secustor/backstage-plugin-renovate-common@0.5.4
|
|
23
|
+
- @secustor/backstage-plugin-renovate-node@0.3.4
|
|
24
|
+
|
|
3
25
|
## 0.9.3
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
package/config.d.ts
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { SchedulerServiceTaskScheduleDefinition } from '@backstage/backend-plugin-api';
|
|
2
|
+
import { JsonObject } from '@backstage/types';
|
|
3
|
+
|
|
4
|
+
export interface Config {
|
|
5
|
+
renovate: {
|
|
6
|
+
cache: {
|
|
7
|
+
/**
|
|
8
|
+
* Allows turning off cache injection. You can still manually supply caches using the Renovate config
|
|
9
|
+
*/
|
|
10
|
+
enabled: boolean;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
cleanup: {
|
|
14
|
+
/**
|
|
15
|
+
* How many reports to keep in the database during cleanup tasks
|
|
16
|
+
* -1 translates to never delete reports during maintenance tasks
|
|
17
|
+
* x > 0 number of reports to maintain
|
|
18
|
+
*/
|
|
19
|
+
minimumReports: number;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
schedules: {
|
|
23
|
+
/**
|
|
24
|
+
* Schedule for the cleanup task
|
|
25
|
+
*/
|
|
26
|
+
cleanup: SchedulerServiceTaskScheduleDefinition;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Schedule when a renovation of all repositories should be triggered
|
|
30
|
+
*/
|
|
31
|
+
renovation: SchedulerServiceTaskScheduleDefinition;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Config for the renovate runtime
|
|
36
|
+
*/
|
|
37
|
+
runtime: {
|
|
38
|
+
/**
|
|
39
|
+
* The runtime to use. The value references id of a runtime supplied by a module
|
|
40
|
+
* For module-specific configuration sees the relevant module
|
|
41
|
+
*/
|
|
42
|
+
type: string;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Config for queues
|
|
47
|
+
*/
|
|
48
|
+
queues: {
|
|
49
|
+
/**
|
|
50
|
+
* The queue to use. The value references id of a queue supplied by a module
|
|
51
|
+
* For module-specific configuration sees the relevant module
|
|
52
|
+
*/
|
|
53
|
+
type: string;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Config for Renovate itself
|
|
58
|
+
*/
|
|
59
|
+
config: JsonObject;
|
|
60
|
+
};
|
|
61
|
+
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@secustor/backstage-plugin-renovate-backend",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.5",
|
|
4
4
|
"main": "dist/index.cjs.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"type": "commonjs",
|
|
7
7
|
"license": "LGPL-3.0-or-later",
|
|
8
|
+
"configSchema": "config.d.ts",
|
|
8
9
|
"publishConfig": {
|
|
9
10
|
"access": "public",
|
|
10
11
|
"main": "dist/index.cjs.js",
|
|
@@ -47,18 +48,18 @@
|
|
|
47
48
|
"postpack": "backstage-cli package postpack"
|
|
48
49
|
},
|
|
49
50
|
"dependencies": {
|
|
50
|
-
"@backstage/backend-defaults": "^0.
|
|
51
|
-
"@backstage/backend-openapi-utils": "^0.1.
|
|
52
|
-
"@backstage/backend-plugin-api": "^0.
|
|
53
|
-
"@backstage/backend-tasks": "^0.
|
|
54
|
-
"@backstage/catalog-client": "^1.6.
|
|
55
|
-
"@backstage/catalog-model": "^1.
|
|
51
|
+
"@backstage/backend-defaults": "^0.4.4",
|
|
52
|
+
"@backstage/backend-openapi-utils": "^0.1.17",
|
|
53
|
+
"@backstage/backend-plugin-api": "^0.8.1",
|
|
54
|
+
"@backstage/backend-tasks": "^0.6.1",
|
|
55
|
+
"@backstage/catalog-client": "^1.6.6",
|
|
56
|
+
"@backstage/catalog-model": "^1.6.0",
|
|
56
57
|
"@backstage/config": "^1.2.0",
|
|
57
58
|
"@backstage/errors": "^1.2.4",
|
|
58
|
-
"@backstage/integration": "^1.
|
|
59
|
+
"@backstage/integration": "^1.14.0",
|
|
59
60
|
"@backstage/types": "^1.1.1",
|
|
60
|
-
"@secustor/backstage-plugin-renovate-common": "^0.5.
|
|
61
|
-
"@secustor/backstage-plugin-renovate-node": "^0.3.
|
|
61
|
+
"@secustor/backstage-plugin-renovate-common": "^0.5.5",
|
|
62
|
+
"@secustor/backstage-plugin-renovate-node": "^0.3.5",
|
|
62
63
|
"@sindresorhus/is": "^4.6.0",
|
|
63
64
|
"@types/express": "*",
|
|
64
65
|
"express": "^4.17.1",
|
|
@@ -72,10 +73,10 @@
|
|
|
72
73
|
"zod": "^3.22.4"
|
|
73
74
|
},
|
|
74
75
|
"devDependencies": {
|
|
75
|
-
"@backstage/backend-test-utils": "^0.
|
|
76
|
-
"@backstage/cli": "^0.
|
|
77
|
-
"@backstage/repo-tools": "^0.9.
|
|
78
|
-
"@backstage/test-utils": "^1.5.
|
|
76
|
+
"@backstage/backend-test-utils": "^0.5.1",
|
|
77
|
+
"@backstage/cli": "^0.27.0",
|
|
78
|
+
"@backstage/repo-tools": "^0.9.6",
|
|
79
|
+
"@backstage/test-utils": "^1.5.10",
|
|
79
80
|
"@types/supertest": "^6.0.0",
|
|
80
81
|
"msw": "^2.0.0",
|
|
81
82
|
"supertest": "^7.0.0"
|