8148621999
Move @backstage/backend-defaults from dependencies to devDependencies in all backend plugins that had it as a production dependency. None of these plugins use it in their production source code - it's only needed for dev servers (dev/index.ts) and test files. Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com>
DevTools Backend
Welcome to the DevTools backend plugin! This plugin provides data for the DevTools frontend features.
Setup
Here's how to get the DevTools Backend up and running in the new backend system:
-
First we need to add the
@backstage/plugin-devtools-backendpackage to your backend:# From the Backstage root directory yarn --cwd packages/backend add @backstage/plugin-devtools-backend -
Then add the plugin to your backend index file:
// In packages/backend/src/index.ts const backend = createBackend(); // ... other feature additions backend.add(import('@backstage/plugin-devtools-backend')); -
Now run
yarn start-backendfrom the repo root -
Finally open
http://localhost:7007/api/devtools/healthin a browser and it should return{"status":"ok"}