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/sentry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@backstage/core-components": "workspace:^",
"@backstage/core-plugin-api": "workspace:^",
"@backstage/plugin-catalog-react": "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: The dependency @backstage/theme: "0.1.1" will cause a version mismatch with other workspace:^ Backstage dependencies. This forces an outdated version, leading to build failures or runtime errors due to API incompatibility.

🤖 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/sentry/package.json
Lines: 40

Problem: The dependency `@backstage/theme` has been changed from `workspace:^` to a pinned version `0.1.1`. This breaks the monorepo workspace protocol used by all other `@backstage/*` dependencies in this package (lines 37-39), causing the package manager to fetch from an external registry instead of using the local workspace version.

Fix: Revert the change to use `workspace:^` protocol to maintain consistency with the monorepo structure and ensure proper local dependency resolution.

Replace line 40:
    "@backstage/theme": "0.1.1",
With:
    "@backstage/theme": "workspace:^",

This ensures the package continues to use the local workspace version of @backstage/theme, maintaining version consistency across the monorepo.
✨ 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/catalog-model": "workspace:^",
"@backstage/core-components": "workspace:^",
"@backstage/core-plugin-api": "workspace:^",
"@backstage/plugin-catalog-react": "workspace:^",
"@backstage/theme": "workspace:^",
"@date-io/core": "^1.3.13",
"@material-table/core": "^3.1.0",
"@material-ui/core": "^4.12.2",

"@date-io/core": "^1.3.13",
"@material-table/core": "^3.1.0",
"@material-ui/core": "^4.12.2",
Expand Down
Loading