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
8 changes: 4 additions & 4 deletions plugins/config-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
"@backstage/config": "workspace:^",
"@backstage/core-components": "workspace:^",
"@backstage/core-plugin-api": "workspace:^",
"@backstage/config": "0.1.1",
"@backstage/core-components": "0.1.0",
"@backstage/core-plugin-api": "0.1.0",
"@backstage/errors": "workspace:^",
"@backstage/theme": "workspace:^",
"@backstage/theme": "0.1.1",
"@backstage/types": "workspace:^",
Comment on lines +26 to 31
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The dependency management approach in this PR is inconsistent and potentially problematic. Some Backstage dependencies are being pinned to specific versions (@backstage/config: 0.1.1, @backstage/core-components: 0.1.0, etc.) while others remain as workspace references (@backstage/errors: workspace:^, @backstage/types: workspace:^).

This mixed approach could lead to version compatibility issues between the Backstage packages. For proper dependency resolution, either:

  1. Pin all Backstage dependencies to specific versions, or
  2. Keep all Backstage dependencies as workspace references

Additionally, the PR description contains a warning that the yarn.lock update failed, which suggests these dependency changes may not be properly resolved in the lockfile. This should be addressed before merging to ensure the vulnerability fix is properly implemented without introducing new issues.

Suggested change
"@backstage/config": "0.1.1",
"@backstage/core-components": "0.1.0",
"@backstage/core-plugin-api": "0.1.0",
"@backstage/errors": "workspace:^",
"@backstage/theme": "workspace:^",
"@backstage/theme": "0.1.1",
"@backstage/types": "workspace:^",
"@backstage/config": "workspace:^",
"@backstage/core-components": "workspace:^",
"@backstage/core-plugin-api": "workspace:^",
"@backstage/errors": "workspace:^",
"@backstage/theme": "workspace:^",
"@backstage/types": "workspace:^",

Spotted by Diamond

Is this helpful? React 👍 or 👎 to let us know.

"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
Expand Down
Loading