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/stackstorm/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/errors": "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 change to @backstage/theme from workspace:^ to 0.1.1 in package.json breaks monorepo dependency consistency. This can lead to runtime version conflicts with other @backstage/* packages. Revert @backstage/theme to workspace:^.

🤖 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/stackstorm/package.json
Line: 40

Problem: The dependency `@backstage/theme` has been changed from `workspace:^` to a pinned version `0.1.1`, which is inconsistent with all other `@backstage/*` dependencies in this package that use the workspace protocol.

Fix Instructions:
1. Revert the change to use `workspace:^` instead of `0.1.1`
2. If there's a specific reason for pinning this version (e.g., breaking changes in newer versions), document it in a comment or commit message
3. Verify that the workspace version of `@backstage/theme` is compatible with this plugin
4. Ensure all `@backstage/*` dependencies follow the same versioning strategy for maintainability
✨ 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",
"dependencies": {
"@backstage/core-components": "workspace:^",
"@backstage/core-plugin-api": "workspace:^",
"@backstage/errors": "workspace:^",
"@backstage/theme": "workspace:^",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"@types/react": "^16.13.1 || ^17.0.0",

"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"@types/react": "^16.13.1 || ^17.0.0",
Expand Down
Loading