fix: add changeset

Signed-off-by: ElaineDeMattosSilvaB <elaine.de-mattos-silva-bezerra@deutschebahn.com>
This commit is contained in:
ElaineDeMattosSilvaB
2025-11-15 08:01:40 +01:00
parent 3acce8c969
commit e7db2904fd
+16
View File
@@ -0,0 +1,16 @@
---
'@backstage/cli': patch
---
Add missing peer/dev dependencies to the frontend plugin template.
`react-dom` was not declared as a peer dependency, causing module resolution
errors when generating plugins outside a Backstage monorepo. This adds
`react-dom` to `peerDependencies` (for consuming apps) and `devDependencies`
(for local development). `react-router-dom` is also added to `devDependencies`
to support routing during plugin development.
Fixes:
- Module not found: Can't resolve 'react-dom'
- Module not found: Can't resolve 'react-router-dom'