@secustor/backstage-plugin-renovate-backend 0.1.0

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/README.md +38 -0
  2. package/package.json +63 -0
package/README.md ADDED
@@ -0,0 +1,38 @@
1
+ # renovate
2
+
3
+ This plugin allows running [Renovate](https://github.com/renovatebot/renovate/) against repositories
4
+ and extract reports from it.
5
+
6
+ Supported platforms:
7
+
8
+ - Github
9
+ - Gitlab
10
+
11
+ ## Getting started
12
+
13
+ The configurations are derived from integrations.
14
+
15
+ ```yaml
16
+ integrations:
17
+ github:
18
+ - host: github.com
19
+ token: ${GITHUB_TOKEN}
20
+
21
+ renovate:
22
+ runtime:
23
+ # ID of the runtime provided via extension point. This option is required as the backend comes with no runtime by default.
24
+ type: docker
25
+
26
+ # defines a list of allowed hosts to which the report is sent to if a callBackURL is provided with the run request.
27
+ # If the list is not set, localhost is allowed.
28
+ # In case you want to forbid all callbacks, set it to an empty array '[]'
29
+ callBacks:
30
+ allowedHosts:
31
+ - my.endpoint.local
32
+ config:
33
+ # all global (bot) configuration options are available here,
34
+ # but be careful if self-hosted options are used as they can interfere with the operations
35
+ # https://docs.renovatebot.com/self-hosted-configuration/#redisurl
36
+ redisUrl: redis://[[username]:[password]]@localhost:6379/0
37
+ redisPrefix: renovate
38
+ ```
package/package.json ADDED
@@ -0,0 +1,63 @@
1
+ {
2
+ "name": "@secustor/backstage-plugin-renovate-backend",
3
+ "version": "0.1.0",
4
+ "main": "dist/index.cjs.js",
5
+ "types": "dist/index.d.ts",
6
+ "type": "commonjs",
7
+ "license": "LGPL-3.0-or-later",
8
+ "publishConfig": {
9
+ "access": "public",
10
+ "main": "dist/index.cjs.js",
11
+ "types": "dist/index.d.ts"
12
+ },
13
+ "backstage": {
14
+ "role": "backend-plugin"
15
+ },
16
+ "scripts": {
17
+ "start": "backstage-cli package start",
18
+ "build": "backstage-cli package build",
19
+ "generate": "yarn generate-openapi-server && yarn generate-openapi-client",
20
+ "generate-openapi-server": "backstage-repo-tools package schema openapi generate --server",
21
+ "generate-openapi-client": "backstage-repo-tools package schema openapi generate --client-package plugins/renovate-client",
22
+ "lint": "backstage-cli package lint",
23
+ "test": "backstage-cli package test",
24
+ "clean": "backstage-cli package clean",
25
+ "prepack": "backstage-cli package prepack",
26
+ "postpack": "backstage-cli package postpack"
27
+ },
28
+ "dependencies": {
29
+ "@backstage/backend-common": "^0.21.6",
30
+ "@backstage/backend-openapi-utils": "^0.1.9",
31
+ "@backstage/backend-plugin-api": "^0.6.16",
32
+ "@backstage/backend-tasks": "^0.5.21",
33
+ "@backstage/catalog-client": "^1.6.3",
34
+ "@backstage/catalog-model": "^1.4.5",
35
+ "@backstage/config": "^1.2.0",
36
+ "@backstage/integration": "^1.9.1",
37
+ "@backstage/types": "^1.1.1",
38
+ "@secustor/backstage-plugin-renovate-common": "^0.1.0",
39
+ "@sindresorhus/is": "^4.6.0",
40
+ "@types/express": "*",
41
+ "express": "^4.17.1",
42
+ "express-promise-router": "^4.1.0",
43
+ "jest-mock-extended": "^3.0.5",
44
+ "knex": "^3.1.0",
45
+ "nanoid": "^5.0.6",
46
+ "node-fetch": "^2.6.7",
47
+ "winston": "^3.2.1",
48
+ "yn": "^4.0.0",
49
+ "zod": "^3.22.4"
50
+ },
51
+ "devDependencies": {
52
+ "@backstage/backend-test-utils": "^0.3.6",
53
+ "@backstage/cli": "^0.26.2",
54
+ "@backstage/repo-tools": "^0.7.2",
55
+ "@backstage/test-utils": "1.5.3",
56
+ "@types/supertest": "^6.0.0",
57
+ "msw": "^2.0.0",
58
+ "supertest": "^6.2.4"
59
+ },
60
+ "files": [
61
+ "dist"
62
+ ]
63
+ }