Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins/airbrake/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@backstage/dev-utils": "workspace:^",
"@backstage/plugin-catalog-react": "workspace:^",
"@backstage/test-utils": "workspace:^",
"@backstage/theme": "workspace:^",
"@backstage/theme": "0.1.1",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correctness: Pinning @backstage/theme to 0.1.1 breaks monorepo consistency. This introduces version drift and will cause runtime incompatibilities with other workspace:^ Backstage packages.

🤖 AI Agent Prompt for Cursor/Windsurf

📋 Copy this prompt to your AI coding assistant (Cursor, Windsurf, etc.) to get help fixing this issue

File: plugins/airbrake/package.json
Line: 31

Problem: The dependency `@backstage/theme` has been changed from `workspace:^` to a pinned version `0.1.1`, which breaks the monorepo workspace pattern used by all other Backstage dependencies in this package.

Fix Instructions:
1. Revert the version specifier for `@backstage/theme` from `"0.1.1"` back to `"workspace:^"`
2. Ensure this aligns with the workspace dependency pattern used for all other `@backstage/*` packages in the dependencies section
3. If a specific version is required, document the reason and consider whether this should apply to other Backstage dependencies as well
✨ Committable Code Suggestion

💡 This is a one-click fix! Click "Commit suggestion" to apply this change directly to your branch.

Suggested change
"@backstage/theme": "0.1.1",
"@backstage/core-plugin-api": "workspace:^",
"@backstage/dev-utils": "workspace:^",
"@backstage/plugin-catalog-react": "workspace:^",
"@backstage/test-utils": "workspace:^",
"@backstage/theme": "workspace:^",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "4.0.0-alpha.61",

"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "4.0.0-alpha.61",
Expand Down
Loading