Skip to content
Closed
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/circleci/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",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "4.0.0-alpha.61",
Comment on lines 37 to 43
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Correctness: Line 6: Changing @backstage/theme from workspace:^ to 0.1.1 breaks monorepo workspace resolution, causing duplicate installations and type mismatches with other workspace packages. Revert to workspace:^ to match all other @backstage/* dependencies.

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

Problem: The `@backstage/theme` dependency was changed from `workspace:^` to a hardcoded version `0.1.1`, breaking consistency with other Backstage dependencies in this monorepo.

Fix Instructions:
1. Revert the dependency back to `workspace:^` to match the pattern used by all other `@backstage/*` packages in this file
2. If version 0.1.1 was intentionally pinned due to a breaking change, document the reason in a comment and verify compatibility with the workspace version
3. Run `yarn install` or `pnpm install` to ensure workspace resolution works correctly
4. Test the plugin to confirm no type errors or runtime issues occur with the workspace version
✨ Committable Code Suggestion

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

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

Expand Down
Loading