chore(app-defaults): create app-defaults modules and move implementation and extensions from app-react#3447
Conversation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Christoph Jerolimov <jerolimov+git@redhat.com>
Missing ChangesetsThe following package(s) are changed by this PR but do not have a changeset:
See CONTRIBUTING.md for more information about how to add changesets. Changed Packages
|
PR Summary by QodoCreate app-defaults module and move drawer wiring out of app-react Description
Diagram
High-Level Assessment
Files changed (25)
|
Code Review by Qodo
1.
|
Move ApplicationDrawer and DrawerPanel components into app-defaults and re-export appDrawerExtensions from the new module. The app-react package now only exposes the public API surface (hooks, blueprints, data refs, types) while app-defaults owns the concrete extension wiring. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Christoph Jerolimov <jerolimov+git@redhat.com>
db9990d to
d1f7395
Compare
|
| "@backstage/cli": "^0.36.0", | ||
| "@testing-library/jest-dom": "^6.0.0", | ||
| "@testing-library/react": "^16.0.0" | ||
| }, |
There was a problem hiding this comment.
"scalprum": {
"name": "red-hat-developer-hub.backstage-plugin-app-defaults",
"exposedModules": {
"PluginRoot": "./src/index.ts"
}
}The scalprum field is required by the RHDH CLI to build Module Federation assets for both the legacy Scalprum mode (dist-scalprum/) and the new NFS standard module federation mode (dist/). Without it, this plugin cannot be packaged as a dynamic plugin in either mode.



Hey, I just made a Pull Request!
✔️ Checklist