gateway: add gateway-backend plugin

Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
This commit is contained in:
Vincenzo Scamporlino
2025-03-21 11:39:04 +01:00
parent 64278020b4
commit 918ecfd03b
8 changed files with 342 additions and 0 deletions
+49
View File
@@ -0,0 +1,49 @@
{
"name": "@backstage/plugin-gateway-backend",
"version": "1.0.0",
"backstage": {
"role": "backend-plugin"
},
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
"types": "dist/index.d.ts"
},
"private": true,
"license": "Apache-2.0",
"main": "src/index.ts",
"types": "src/index.ts",
"files": [
"dist"
],
"scripts": {
"build": "backstage-cli package build",
"clean": "backstage-cli package clean",
"lint": "backstage-cli package lint",
"prepack": "backstage-cli package prepack",
"postpack": "backstage-cli package postpack",
"start": "backstage-cli package start",
"test": "backstage-cli package test"
},
"dependencies": {
"@backstage/backend-defaults": "workspace:^",
"@backstage/backend-plugin-api": "workspace:^",
"@backstage/catalog-client": "workspace:^",
"@backstage/errors": "workspace:^",
"@backstage/plugin-catalog-node": "workspace:^",
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/core": "^2.0.0",
"express": "^4.17.1",
"express-promise-router": "^4.1.0",
"http-proxy-middleware": "^3.0.3",
"zod": "^3.22.4"
},
"devDependencies": {
"@backstage/backend-app-api": "workspace:^",
"@backstage/backend-test-utils": "workspace:^",
"@backstage/cli": "workspace:^",
"@types/express": "^4.17.6",
"@types/supertest": "^2.0.8",
"supertest": "^6.2.4"
}
}